-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Move lms defaults from configration repo #21859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move lms defaults from configration repo #21859
Conversation
d174694 to
b8a31b9
Compare
|
This looks good in theory to me, but you will need to sort out why the python tests are failing. |
|
It is also possible some values were from the common config and need to be dropped into both the lms/envs/common.py and the cms/envs/common.py |
|
I can dig deeper on this if you are blocked but i assume you're still iterating so I'll leave it for now |
cms/envs/common.py
Outdated
| # 'ENABLE_CORS_HEADERS': False, | ||
| # 'ENABLE_CROSS_DOMAIN_CSRF_COOKIE': False, | ||
| # 'ENABLE_COUNTRY_ACCESS': False, | ||
| # 'ENABLE_CREDIT_API': False, |
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.
We should add these back if we can get them working with the tests passing.
cms/envs/common.py
Outdated
| # Note: Ensure 'CUSTOM_COURSE_URLS' has a matching value in lms/envs/common.py | ||
| 'CUSTOM_COURSE_URLS': False | ||
| 'CUSTOM_COURSE_URLS': False, | ||
| # 'DASHBOARD_FACEBOOK': False, |
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.
Same thing here - if they're set in configuration can we add them here or were they commented because they cause the tests to fail (Perhaps this is just a WIP?)
coryleeio
left a comment
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 see you commented a bunch of variables - I suspect this is for getting the tests passing, but we'll want to make sure they make it in here if they aren't overwritten in prod, as otherwise we'll be making configuration changes which we definitely want to avoid. In general this looks like the right idea though.
|
thumbed so you can move forward but I assume you'll keep iterating on the tests for a bit. Please keep us posted on when this will go out so we can monitor it closely. |
fafd239 to
669b8b3
Compare
d5ef191 to
bfb4137
Compare
bfb4137 to
549079b
Compare
|
Your PR has finished running tests. There were no failures. |
|
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production on Thursday, October 17, 2019. |
|
EdX Release Notice: This PR has been deployed to the production environment. |
Please consider the following when opening a pull request:
In each commit, include description that could help a developer
several months from now.
make upgrade, run as close to the time of merging as possibleto avoid accidentally downgrading someone else's package.
Put the output of
make upgradein its own separate commit,decoupled from other code changes.
automated testing isn't a substitute for manual verification.
Code that is amenable to refactoring and improvement benefits all platform developers,
especially given the size and scope of edx-platform.
Consult existing Architectural Decision Records (ADRs),
including those concerning the app(s) you are changing and
those concerning edx-platform as a whole.