-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: allowing customization of notes repo and version #19
Conversation
README.rst
Outdated
@@ -33,6 +33,8 @@ Configuration | |||
- ``NOTES_HOST`` (default: ``"notes.{{ LMS_HOST }}"``) | |||
- ``NOTES_MYSQL_DATABASE`` (default: ``"notes"``) | |||
- ``NOTES_MYSQL_USERNAME`` (default: ``"notes"``) | |||
- ``NOTES_CODE_REPO`` (default: ``"https://github.com/edx/edx-notes-api"``) |
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.
To be consistent with Tutor core, these new settings should be named NOTES_REPOSITORY
and NOTES_VERSION
.
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.
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.
Good point. Can we use "NOTES_REPOSITORY_VERSION" instead please?
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.
@regisb addressed. I think this is ready to go
c94ecf9
to
76269f2
Compare
76269f2
to
069e262
Compare
069e262
to
600895c
Compare
This PR adds 2 new configurations for the plugins:
NOTES_REPOSITORY: (default: "https://github.com/openedx/edx-notes-api")
NOTES_REPOSITORY_VERSION: (default: "{{ OPENEDX_COMMON_VERSION }}")
These will allow setting custom notes code repository and notes code version to build the image, which enables adding custom features for notes service on top of the default upstream version.