-
Notifications
You must be signed in to change notification settings - Fork 68
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
feat!: replace old demo course with the new one #47
Conversation
a1d752b
to
65c9cea
Compare
The old demo course can still be accessed by checking out named release tags of this repo.
65c9cea
to
a2c735b
Compare
@sarina One last PR for you! With this one merged and the linked Tutor PR merged, we'll be fully prepped to switch over to the new demo course for Redwood. |
|
||
on: | ||
pull_request: | ||
branches: ["master"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be "main"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nevermind I misunderstood this PR, read more carefully now. GTG
This looks good, before I give thumbs-up I want to do a quick test of the tar.gz into my personal instance, which I'll do now Edit: I'm getting errors; I'll work with John to resolve them this week. |
This should be updated with the changes made in openedx-unsupported/openedx-demo-course-new#4 - once that's done we can go ahead and merge. |
Copied over from openedx-unsupported/openedx-demo-course-new#4 Co-Authored-By: John Swope <[email protected]>
When temporary operating-system-specific files like .DS_Store (a macOS Finder artifact) are packed into the dist/ tars, it creates version control noise and can make the source-matches-tars check fail unnecessarily. This updates `make dist` to first `git clean` away any git-ignored files. It also changes `make unpack` to work in the case where the source directories are missing, which is useful when you want to unpack the tars from scratch. Finally, this commit re-runs `make dist`, so that the dist/ tars no longer have unnecessary OS-specific files in them.
@sarina I pushed two commits, ready for your review:
I just need to address Régis's comments over on the Tutor PR, and then I think we're all set! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Kyle, merge away when ready!
Hey @kdmccormick - we merged in one more change to https://github.com/openedx/openedx-demo-course-new - it'd be good to get this updated & merged, so we can close down the openedx-demo-course-new repo and churn on this PR. Let me know the best way to proceed - should we merge this and port the changes from the last PR in a separate PR? |
@sarina I was holding off on merging this because it'll break |
This follows changes made in openedx/openedx-demo-course#47
In openedx/openedx-demo-course#47 the demo course was replaced. This includes a new course key (new name and org) and the course content being moved a few directories deeper. Changes: - `sed -i 's/course-v1:edX+DemoX+Demo_Course/course-v1:Axim+DemoX+demo_course/g'` on all files turned up by `grep -rl Demo_Course` - Updated a few other course info locations turned up with `grep -nrI DemoX | grep -x demo_course` (all in programs/discovery.py) - Updated git clone URL and checkout location in provision-lms.sh to use new repo name (not strictly needed).
This subsumes the openedx-demo-course-new into this repo, and removes the entirety of the old demo course. We will archive openedx-demo-course-new after merging this PR.
Notes for reviewers:
main
back tomaster
.Operator Impact
On its own, this PR will break the
tutor local do importdemocourse
command in Tutor Nightly. Merging this update to Tutor Nightly will fix the command again. With that PR merged:tutor local do importdemocourse
tutor local do importdemocourse demo-course/course --version master && tutor local do importdemolibraries --version master
tutor local do importdemocourse --version open-release/quince.1
tutor local do importdemocourse && tutor local do importdemolibraries