Skip to content

depr!: remove the site-configuration script #1215

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Danyal-Faheem
Copy link
Contributor

Fixes #1207.

This PR is dependent on overhangio/tutor-mfe#246 and overhangio/tutor-discovery#101.

The site-configuration script was required because we needed to utilize the custom lms.startup() call to set the site-configuration. This is no longer required as of openedx/edx-platform#36302. Therefore, we deprecate it in favour of the create_or_update_site_configuration management command provided in edx-platform.

Fixes overhangio#1207
The site-configuration script was required because we needed to utilize the custom lms.startup() call to set the site-configuration
This is no longer required as of openedx/edx-platform#36302
Therefore, we deprecate it in favour of the create_or_update_site_configuration management command provided in edx-platform
@DawoudSheraz DawoudSheraz moved this from Pending Triage to In Progress in Tutor project management Mar 25, 2025
@@ -0,0 +1 @@
- [Depreciation] Remove the unnecessary site-configuration script in favour of the create_or_update_site_configuration management command provided in edx-platform. (by @Danyal-Faheem)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • We should mark this a breaking change, just in case
  • We can add a note to use lms create_or_update_site_config mgt command as a replacement

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've already added the name of the management command in the changelog entry and mentioned its provided in edx-platform. Do you think we should add another line with a hyperlink to the command?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the link can be helpful.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the hyperlink.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants