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

Backport of enhancements for invite only courses #4

Conversation

tecoholic
Copy link
Member

@tecoholic tecoholic commented May 25, 2023

Description

This is the backport of the enhancements added to edx-enterprise in openedx#1748

Testing Instructions

Follow the testing instructions from openedx#1745 and openedx#1748 to test things in a local devstack with the following changes:

  1. Checkout to the open-release/nutmeg.master of the destack and set OPENEDX_RELEASE envvar as well.
  2. Delete any docker artifacts like containers, volumes already associated with the enterprise-catalog service and apply the following patch and recreate them
    catalog_devstack_nutmeg.master.patch.txt

Expected outcome

The errors seen for invite only course enrollments via the manage learner page shouldn't happen anymore and enrollments should go through.

@tecoholic tecoholic marked this pull request as draft May 25, 2023 16:43
@tecoholic tecoholic marked this pull request as ready for review May 26, 2023 09:51
@tecoholic tecoholic force-pushed the tecoholic/backport-of-invite-only-course-enrollment branch from 72ab43a to 6e74b8b Compare May 26, 2023 16:59
Copy link
Member

@Agrendalath Agrendalath left a comment

Choose a reason for hiding this comment

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

@tecoholic, could we remove this line to run all tests in our fork? We could also upstream this, as it doesn't match the behavior from other repositories (and doesn't make much sense, TBH).

enterprise/admin/forms.py Outdated Show resolved Hide resolved
@tecoholic
Copy link
Member Author

tecoholic commented May 28, 2023

@Agrendalath I have removed the 'master' gate for the CI. But I think the dependencies are a little outdated. Erroring out at

 ERROR: Could not find a version that satisfies the requirement codecov==2.1.12 (from versions: 2.1.13)
ERROR: No matching distribution found for codecov==2.1.12

So, I removed updated the codecov from requirements/ci.in and recompiled the requirements/ci.txt locally. The tests are running now.

Copy link
Member

@Agrendalath Agrendalath left a comment

Choose a reason for hiding this comment

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

👍

  • I tested this: I didn't test this, but the diff matches the upstream PR
  • I read through the code
  • I checked for accessibility issues: n/a
  • Includes documentation: n/a
  • I made sure any change in configuration variables is reflected in the corresponding client's configuration-secure repository: n/a

requirements/ci.txt Show resolved Hide resolved
.github/workflows/ci.yml Show resolved Hide resolved
@tecoholic tecoholic merged commit 8c499ec into opencraft-release/nutmeg.2 May 30, 2023
@Agrendalath Agrendalath deleted the tecoholic/backport-of-invite-only-course-enrollment branch May 30, 2023 09:09
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.

2 participants