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

MIT CCX add ccx-keys as a dependency of edx #8259

Merged
merged 1 commit into from
Jun 10, 2015

Conversation

cewing
Copy link
Contributor

@cewing cewing commented May 29, 2015

This PR adds a dependency to the edx-platform repository on a newly created package ccx-keys, an implementation of opaque-keys for the Custom Course for EdX extension first accepted into edx in https://github.com/edx/edx-platform/pull/6636

History

The request to implement custom opaque keys for ccx was first brought up in an architecture review of the PR referenced above. It was felt that using such keys would allow ccx to better integrate with existing logging and analytics systems. The outcome of this conversation was captured in jazkarta#43

Work on implementing the package itself has been undertaken with attention from @cpennington. It was approved and has been managed by @pdpinch of MIT. @nedbat and @ormsbee have also been pulled into discussions around bugs and implementation details.

As this pull request adds a new dependency to the edx-platform repository, we would also like to beg the attention of @mollydb and @e0d.

Impacts

As it stands, this change will impact no-one. The keys themselves are not yet used in the CCX code in edx-platform. This PR is intended as a prelude to a coming PR where the change over to using ccx-keys will be implemented.

Once implemented the changes will be limited to the LMS. The only user-visible changes will be the presence of ccx identifiers in split-mongo compatible URLs. As ccx is only currently released to edge, the effects will only be felt there.

Testing

The only manual test possible for this change is to install the dependencies of edx-platform and verify that the package is downloaded. There should be no change whatsoever in functionality at this stage. All functions and features of EdX, both in studio and lms should continue to work exactly as before.

Urgency

As a second pull request with the changes to CCX implementing the use of ccx-keys is anticipated during the weekend (5/31/2015), it would be good to have this PR land as soon as possible to simplify the review of that work.

@openedx-webhooks
Copy link

Thanks for the pull request, @cewing! I've created OSPR-619 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams.

Feel free to add as much of the following information to the ticket:

  • supporting documentation
  • edx-code email threads
  • timeline information ('this must be merged by XX date', and why that is)
  • partner information ('this is a course on edx.org')
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will still be done via the Github pull request interface. As a reminder, our process documentation is here.

@openedx-webhooks openedx-webhooks added open-source-contribution PR author is not from Axim or 2U needs triage labels May 29, 2015
@sarina
Copy link
Contributor

sarina commented May 29, 2015

As this pull request adds a new dependency to the edx-platform repository, we would also like to beg the attention of @mollydb and @e0d.

Since you're adding a new dependency of a library that you've created yourself, and licensed with the GPL v3 license, I think we're definitely a-OK from the licensing perspective :)

@sarina
Copy link
Contributor

sarina commented May 29, 2015

@cewing - can you create and post a dummy pull request on that repo, so that reviewers can review the new package?

@sarina
Copy link
Contributor

sarina commented May 29, 2015

@cewing actually perhaps you've already done that with jazkarta/obsolete-ccx-keys#1 - yes?

@pdpinch
Copy link
Contributor

pdpinch commented May 29, 2015

This has already been done, and Cale has done some review:

jazkarta/obsolete-ccx-keys#1

On May 29, 2015, at 11:11 AM, Sarina Canelake [email protected] wrote:

@cewing - can you create and post a dummy pull request on that repo, so that reviewers can review the new package?


Reply to this email directly or view it on GitHub.

@sarina
Copy link
Contributor

sarina commented May 29, 2015

@pdpinch yeah I saw that as soon as I looked /facepalm

I'm putting this into the Platform team's work queue for them to pick up.

@cpennington
Copy link
Contributor

I still see some outstanding comments in the ccx-keys repo, but otherwise, this looks fine.

@openedx-webhooks openedx-webhooks added waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. and removed awaiting prioritization labels May 29, 2015
@pdpinch
Copy link
Contributor

pdpinch commented May 29, 2015

@cewing informed that the pull mentioned above is out of date. He'll make another PR for review purposes.

On May 29, 2015, at 12:32 PM, Calen Pennington [email protected] wrote:

I still see some outstanding comments in the ccx-keys repo, but otherwise, this looks fine.


Reply to this email directly or view it on GitHub.

@cewing
Copy link
Contributor Author

cewing commented May 29, 2015

Oddly enough @cpennington, the one remaining comment was against an outdated diff, but was not showing itself to be so. I think github lost track somehow.

I've create a new PR here:

https://github.com/jazkarta/ccx-keys/pull/2

@sarina hopefully this will address any remaining questions. Let me know what more needs to happen. I stand ready!

@sarina
Copy link
Contributor

sarina commented May 29, 2015

@cewing the review is in the platform's team backlog to balance with their other reviews and work commitments. The team will get to it as soon as they can.

@cewing
Copy link
Contributor Author

cewing commented May 29, 2015

Thanks, @sarina

@@ -28,6 +28,8 @@ git+https://github.com/mfogel/django-settings-context-processor.git@b758c3930862
git+https://github.com/pmitros/pyfs.git@96e1922348bfe6d99201b9512a9ed946c87b7e0b
# The officially released version of django-debug-toolbar-mongo doesn't support DJDT 1.x. This commit does.
git+https://github.com/hmarr/django-debug-toolbar-mongo.git@b0686a76f1ce3532088c4aee6e76b9abe61cc808
# custom opaque-key implementations for ccx
-e git+https://github.com/jazkarta/ccx-keys.git@d1c6b2e71315b6c6a45be89912e895546d422765#egg=ccx-keys
Copy link
Contributor

Choose a reason for hiding this comment

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

Needs an update since the latest changes on jazkarta/obsolete-ccx-keys#2, but e6b0370 looks good.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the reminder. Will update this afternoon my time.

@cewing
Copy link
Contributor Author

cewing commented Jun 5, 2015

@sarina, @cpennington, sorry for the delay. Updated and ready for review.

@openedx-webhooks openedx-webhooks added awaiting prioritization and removed waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. labels Jun 5, 2015
@cewing cewing mentioned this pull request Jun 5, 2015
@cewing
Copy link
Contributor Author

cewing commented Jun 8, 2015

I don't think either of the test failures showing there can be related to adding a new dependency. I'll rebase to the latest master and see if that clears up the problem.

@sarina
Copy link
Contributor

sarina commented Jun 8, 2015

@cewing yeah that's weird. Can you please squash your commits down to one and rebase atop master?

@cewing cewing force-pushed the include-ccx-key-dependency branch from 40fd578 to 0306f3d Compare June 8, 2015 18:22
@cewing cewing force-pushed the include-ccx-key-dependency branch from 0306f3d to a57cc93 Compare June 8, 2015 18:25
@cewing
Copy link
Contributor Author

cewing commented Jun 8, 2015

@sarina done. Waiting for build results

@cewing
Copy link
Contributor Author

cewing commented Jun 8, 2015

@sarina: woot! build is green!

@sarina
Copy link
Contributor

sarina commented Jun 8, 2015

@cpennington can you merge this, if it's good by you, or suggest what needs to happen? Thanks

cpennington added a commit that referenced this pull request Jun 10, 2015
MIT CCX add ccx-keys as a dependency of edx
@cpennington cpennington merged commit 3c2bfc7 into openedx:master Jun 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants