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

refactor: Completely remove Blockstore #34739

Merged
merged 4 commits into from
May 13, 2024

Conversation

kdmccormick
Copy link
Member

@kdmccormick kdmccormick commented May 8, 2024

Description / Supporting Info

Implements openedx/public-engineering#238

Note: This also removes the copy_library_from_v1_to_v2 management command, which has been broken ever since we switched from Blockstore to Learning Core.

Testing

Mostly, I'm counting on linting and unit tests to confirm that this is a clean removal.

Dave, can you confirm with this branch that you can still create and use Learning-Core-Backed Content Libraries locally (to the same extent that you were able to before)?

Merge Deadline

Before the Redwood cut, if possible.

Not a huge deal if it misses the cut, but it might muddy the waters to still have Blockstore references floating around in Redwood.

@kdmccormick kdmccormick requested a review from a team as a code owner May 8, 2024 16:58
@kdmccormick kdmccormick force-pushed the kdmccormick/rm-blockstore branch 2 times, most recently from b05b57d to e4aea09 Compare May 8, 2024 18:15
@kdmccormick kdmccormick requested a review from ormsbee May 8, 2024 18:26
# In the future, we need a way to use file_wrapper.chunks() to read
# the file in chunks and stream that to Blockstore, but Blockstore
# currently lacks an API for streaming file uploads.
# Ref: https://github.com/openedx/edx-platform/issues/34737
Copy link
Contributor

Choose a reason for hiding this comment

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

We'll still need some kind of base checking to make sure it's not over our size limit, and we'll probably want to support streaming at some point.

@kdmccormick kdmccormick force-pushed the kdmccormick/rm-blockstore branch 2 times, most recently from 8e2b40c to ba152fc Compare May 9, 2024 19:44
kdmccormick and others added 4 commits May 10, 2024 17:18
Commit generated by workflow `kdmccormick/edx-platform/.github/workflows/compile-python-requirements.yml@refs/heads/master`

Co-authored-by: Kyle McCormick <[email protected]>
@kdmccormick kdmccormick merged commit 15caa97 into openedx:master May 13, 2024
80 checks passed
@kdmccormick kdmccormick deleted the kdmccormick/rm-blockstore branch May 13, 2024 13:48
@kdmccormick kdmccormick changed the title Completely remove Blockstore refactor: Completely remove Blockstore May 13, 2024
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

ormsbee added a commit to ormsbee/openedx-tutor-plugins that referenced this pull request May 16, 2024
Blockstore was completely removed from edx-platform in:
  openedx/edx-platform#34739

As a follow-on to that work, this commit removes the entirety of two
blockstore-related plugins (tutor-contrib-blockstore-filesystem and
tutor-contrib-blockstore-minio), as well as the blockstore configuration
present in tutor-contrib-library-authoring-mfe.
ormsbee added a commit to openedx/openedx-tutor-plugins that referenced this pull request May 17, 2024
Blockstore was completely removed from edx-platform in:
  openedx/edx-platform#34739

As a follow-on to that work, this commit removes the entirety of two
blockstore-related plugins (tutor-contrib-blockstore-filesystem and
tutor-contrib-blockstore-minio), as well most blockstore references
present in tutor-contrib-library-authoring-mfe.

The BLOCKSTORE_COLLECTION_UUID configuration value was left in place
because it's expected by the Library Authoring MFE and currently
required by the Django view that creates Libraries (even though the
value is never used). We will remove those references in a later PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants