Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is the right email either -- an Open edX instance running the default configuration shouldn't be directing mail to our OSCM :)
Thing is, I can't think of any other sensible default. How about making this a required argument?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A required argument that who will supply? And where?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The caller of this function, which is generally a Django project with access to Django settings, would supply it. I believe that's what edx-platform and registrar do currently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my experience, there's very few emails because of this address (6/year?). I'm hoping to get this changed so that Axim is the point of contact rather than 2U, without having to change the calling signature. This function is called without an email argument from a number of places:
Changing this argument will be a breaking change, bumping the version number to 2.0.0, which will get upgraded to automatically, and these repos will have to change their calls.
What would you like to do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, I didn't realize this library was installed into so many services. I guess we must have put it in the cookiecutter at some point.
[email protected]
is good enough. I guess we can change it later if we get too many confused emails.