Skip to content

Conversation

@mbertrand
Copy link
Member

What are the relevant tickets?

Related to https://github.com/mitodl/hq/issues/4949

Description (What does it do?)

Allows for specifying separate datafiles for courses vs programs in the following mgmt commands:

extract_openedx_data
backpopulate_mit_edx_data

How can this be tested?

Copy the values for EDX_ from heroku RC to your local backend .env file.

Run the following commands, they should all work:

./manage.py extract_openedx_data --etl_source mit_edx --output edx_courses.json

./manage.py extract_openedx_data --etl_source mit_edx_programs --output edx_programs.json

./manage.py backpopulate_mitx_data --api_course_datafile edx_courses.json --api_program_datafile edx_programs.json

./manage.py backpopulate_mitx_data

@mbertrand mbertrand added the Needs Review An open Pull Request that is ready for review label Sep 20, 2024
@mbertrand mbertrand merged commit 1a1f5a8 into main Sep 20, 2024
@odlbot odlbot mentioned this pull request Sep 23, 2024
3 tasks
jonkafton added a commit that referenced this pull request Sep 25, 2024
* Codespace opensearch service fix (#1582)

* testing codespace fix

* testing fix

* Release 0.19.2

* Fix extract_openedx_data and backpopulate_mit_edx_data commands to work with course/program datafiles (#1587)

* follow/unfollow popover (#1589)

* adding success variant

* adding working version

* adding working version

* fixing text and adding margin to buttons

* lint fixes

* lint fix

* fixing test cases

* closing popup before posting data

* removing redundancy

* removing redundancy

* removing empty test

* updating styles

* updating styles

* changes to match design

* changes to match design

* Make search mode defaults settable env variables (#1590)

* Release date for 0.19.2

* Release 0.19.3

* Release date for 0.19.3

* Pace and format fields for learning resources (#1588)

* Migrate search settings #5527

---------

Co-authored-by: Shankar Ambady <shanbady@gmail.com>
Co-authored-by: Doof <mitx-devops@mit.edu>
Co-authored-by: Matt Bertrand <mrbertrand@gmail.com>
Co-authored-by: Anastasia Beglova <abeglova@mit.edu>
@mbertrand mbertrand deleted the mb/mitx_fix_datafile branch October 23, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review An open Pull Request that is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants