Skip to content
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

Upgrade to Sumac #1139

Merged
merged 70 commits into from
Dec 16, 2024
Merged

Upgrade to Sumac #1139

merged 70 commits into from
Dec 16, 2024

Conversation

DawoudSheraz
Copy link
Contributor

@DawoudSheraz DawoudSheraz commented Oct 17, 2024

v19.0.0 sumac release

Todos before merge

  • Ensure changelog entry exists for v19
  • Ensure CI/Tests are working as expected
  • Ensure sumac branch is up-to-date with main (updated as of December 11 5:30 PM Pakistan time)
  • Ensure OPENEDX_COMMON_VERSION is pointing to correct tag open-release/sumac.1

Merge Option

  • Ensure "Merge Commit" option is used to merge the branch into master (Responsible: @DawoudSheraz ). This is needed to ensure the commit history when master is merged back to nightly

regisb and others added 30 commits June 20, 2024 00:14
This is required when upgrading from Tutor v15 to v18 directly
MySQL does not allow direct upgrades from v5.7 to v8.4
Content Libraries will store asset files like images, transcripts, and
PDFs using Learning Core–which in turn uses django-storages and expects
some backing file store. These files should NOT be directly accessible
via the browser, both because of access policies and the fact that the
filenames will not be meaningful by themselves and must be translated by
app logic. For details see:

* https://github.com/openedx/openedx-learning/blob/main/docs/decisions/0015-serving-static-assets.rst
* https://github.com/openedx/openedx-learning/blob/main/openedx_learning/apps/authoring/contents/models.py
* https://github.com/openedx/openedx-learning/blob/main/openedx_learning/apps/authoring/components/models.py

The existing /data/openedx-media -> /openedx/media mount is publicly
accessible by browser, and so is not appropriate for this purpose. This
commit creates a parallel /data/openedx-media-private ->
/openedx/media-private volume mapping instead.

This commit also creates configuration needed for openedx-learning to
point to this new directory.

This commit does NOT currently add support for this in k8s, as that will
require changes to the minio plugin.
Overhang.IO and others added 14 commits December 6, 2024 16:38
With this change, we get rid of Elasticsearch across all of Tutor.
Instead, we run Meilisearch, which is much more lightweight in terms of
memory usage. Obviously, this is a (very) breaking change. Indexing
commands will be run during init, such that search should work as
before.

After the edx-search PR is merged and the dependency is upgraded in
edx-platform, we should remove the manual `RUN pip install ...` command.
In Sumac, it was decided that we would not automatically migrating data
from mongodb to mysql. Instead, we encourage users to do so manually, in
the tutor-forum README.
This filter was used only by Elasticsearch, so we no longer need to
include it in Tutor.
When upgrading to Sumac, forcefully enable the Learning MFE's navigation
sidebar.
@DawoudSheraz DawoudSheraz merged commit 8a09339 into release Dec 16, 2024
2 checks passed
@regisb regisb deleted the sumac branch December 16, 2024 19:18
@regisb
Copy link
Contributor

regisb commented Dec 16, 2024

🥳

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

Successfully merging this pull request may close these issues.

10 participants