mitodl / mitxpro

BSD 3-Clause "New" or "Revised" License
11 stars 2 forks source link

feat: replace # with - in Emeritus courserun.courseware_id #3035

Closed asadali145 closed 1 week ago

asadali145 commented 2 weeks ago

What are the relevant tickets?

N/A

Description (What does it do?)

Replaces # with - for the Emeritus CourseRun.courseware_id. We recently worked on ingesting the Emeritus API in https://github.com/mitodl/mitxpro/pull/2998. We used the default course tag that we extracted from the API but to keep it consistent and match the regex in https://github.com/mitodl/mitxpro/pull/3023, we decided to update the courseware IDs.

This adds a command as well to fix the courseware IDs on RC.

How can this be tested?