Cohorted courseware - #5942
Conversation
576684f to
61fbc97
Compare
61fbc97 to
2987c91
Compare
|
rebased |
e7dd8f4 to
8e020e0
Compare
|
@jzoldak any chance of getting testeng's review of the 3 files changed in common/test/db_cache in the next 24h or so? we are looking to merge this branch to master asap to reduce any further drift. |
|
👍 for the test db schema changes. |
|
thanks @jzoldak |
194ece6 to
3fd07d9
Compare
|
@cahrens @jimabramson I've rebased this branch and squashed in the change to hide the user_partitions advanced property again. We now have a clean build so I think we just need to handle the migration issue and send the email, and then we can merge this back to master. Please re-review as you see fit. |
|
@andy-armstrong Needs a rebase. I'd also recommend a CHANGELOG entry (stating that the implementation is not complete). |
|
Wow, it was fully rebased last night! I guess this is why we need to get this merged asap. Good suggestion about the CHANGELOG entry. |
JIRA: TNL-710 IMPORTANT: this commit converts the course_groups package to using migrations. When deploying to an existing openedx instance, migration 0001 may fail with an error indicating that the CourseUserGroup table already exists. If this happens, running the 0001 migration first, with the --fake option, is recommended. After performing this step, remaining migrations should work as expected.
3fd07d9 to
eced849
Compare
|
I don't like naming the new common directory "openedx". This makes it look like Open edX is a subset of the code in this repo, when it is actually a superset. Can we talk about picking a different name? "apps"? "lib"? "common2"? |
|
@nedbat The name was originally 'edx' which @cpennington suggested, but then @singingwolfboy suggested that it should be 'openedx' as this was not unique to edX. I agree with you that it doesn't encompass all of openedx, and it will never become that, so I can see that the name is less than ideal. I'm open to a different name if we can come up with an acceptable one (but most definitely not 'common2' or 'common-new'... I hate names that become obsolete). How about "shared"? @cahrens @jimabramson, do you guys have opinions? |
|
I was just about to suggest "shared" as well. Or perhaps lib/shared.
|
|
The reason I suggested |
avoid errors when forward-migrating course_groups after south conversion
|
based on that logic I agree with using "edx", if @singingwolfboy + @nedbat On Mon, Dec 8, 2014 at 8:50 AM, Calen Pennington notifications@github.com
|
|
"edx_shared"? I'm not sure a namespace package is worth it. |
|
Thanks @cpennington. I had forgotten that you were thinking of it as a namespace, and not as a package name. I wonder if we still need an extra layer in there to distinguish these apps from all the other edx apps. It also implies that eventually everything will live in this 'edx' directory since by definition everything here is in the edx namespace. Would you see lms and cms eventually moving in here too? One avenue of thinking I was exploring on my way to work is what should this be called once we have the LMS/CMS split. If we make an edx-cms (or edx-studio) repo and have a clean separation, then what's left? Would we want to split out lms too, and then edx-platform really does become the platform? Or would we leave LMS in platform? With that way of looking at things, it might make sense to name this new folder 'platform' with an eye to it being all of the platform code. Does it make sense that these are edX platform Django apps, compared to LMS or CMS Django apps? One final thought: the long import names seem a little odd compared to all the other imports in the code: Do you think that having this very explicit namespacing is the right way to go? Should all our code look like this? |
a2a704c to
1371ac6
Compare
|
@cahrens @jimabramson I'm going to merge this back to master in a couple of hours, once it is clear that the namespace name is going to stick. I have the email about pip install ready to go. |
1371ac6 to
50e4416
Compare
This directory was created as part of an idea [1] to create top-level openedx namespace which every Open edX package would nest itself under. The README was written with that in mind. That never panned out, so openedx is really just another "common" directory. Non-common code should not be added to it. This update clarifies that. [1] #5942 (comment)
This directory was created as part of an idea [1] to create top-level openedx namespace which every Open edX package would nest itself under. The README was written with that in mind. That never panned out, so openedx is really just another "common" directory. Non-common code should not be added to it. This update clarifies that. [1] #5942 (comment)
TNL-648