Skip to content

Remove Discussion and Advanced Components Interface From Libraries (SOL-120) (WIP) - #6177

Merged
antoviaque merged 1 commit into
openedx:content-librariesfrom
open-craft:content_libraries/12-remove-discussion
Dec 16, 2014
Merged

Remove Discussion and Advanced Components Interface From Libraries (SOL-120) (WIP)#6177
antoviaque merged 1 commit into
openedx:content-librariesfrom
open-craft:content_libraries/12-remove-discussion

Conversation

@Kelketek

@Kelketek Kelketek commented Dec 8, 2014

Copy link
Copy Markdown
Contributor

@openedx-webhooks

Copy link
Copy Markdown

Thanks for the pull request, @Kelketek! I've created OSPR-273 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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No newline at the end of file. :) I'm going to become pylint myself soon :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That does it. I need to find the setting in my IDE to automate this.

@antoviaque

Copy link
Copy Markdown
Contributor

@Kelketek Created a sandbox based on the current contents of the branch:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This comment is misleading -- this test is actually testing that the UI to add a discussion block to a library doesn't appear. If you want to write a test to check that we cannot add a discussion block to a library, the test should make an HTTP request attempting to add the discussion block, and should verify that the HTTP response had a status code in the 4XX range and that the database hasn't changed.

@bradenmacdonald
bradenmacdonald force-pushed the content-libraries branch 2 times, most recently from c87b2ac to 72e0c2c Compare December 10, 2014 06:59
@Kelketek
Kelketek force-pushed the content_libraries/12-remove-discussion branch from 48e57a1 to 8b3a9aa Compare December 11, 2014 22:21
@Kelketek

Copy link
Copy Markdown
Contributor Author

@singingwolfboy @antoviaque Fixes have been pushed. I've decided that, even though, from my understanding, this limitation is intended to be temporary, I've gone ahead and made it more robust in the latest push, with better tests. You may want to make a new sandbox, though, visually, no changes have been made in the latest revision.

@Kelketek

Copy link
Copy Markdown
Contributor Author

@cahrens @explorerleslie @antoviaque This should be ready for review. Jenkins is failing the quality test, but its failures are unreproducible locally, and are dealing with an unrelated file. Is this a known issue?

@antoviaque

Copy link
Copy Markdown
Contributor

Updated the sandbox with the latest code: http://sandbox3.opencraft.com:18010/

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It would be helpful to include the requested category in the error message.

And if this message could be shown to the user, translate it.

@cahrens

cahrens commented Dec 14, 2014

Copy link
Copy Markdown

👍 Just a couple small suggestions (I don't need to re-review).

@Kelketek
Kelketek force-pushed the content_libraries/12-remove-discussion branch from 8b3a9aa to 2e8f1df Compare December 15, 2014 13:17
@Kelketek

Copy link
Copy Markdown
Contributor Author

Commenting, just because it seems Jenkins doesn't run again if I don't after a rebase, but it should be good to go. Implemented your suggestions.

@antoviaque

Copy link
Copy Markdown
Contributor

@Kelketek Jenkins can take some time to be triggered - it's now running FYI.

@antoviaque

Copy link
Copy Markdown
Contributor

@Kelketek Besides the quality failure from earlier, there seem to be two unit tests failing on the build - before merging this PR it would be good to get those passing. @bradenmacdonald I saw you have a similar issue on https://github.com/edx/edx-platform/pull/6155 with https://jenkins.testeng.edx.org/job/edx-all-tests-auto-pr/19742/SHARD=1,TEST_SUITE=unit/console -- any idea what is causing it? The similarity could point to an issue with the content-library branch, or a flappy test?

@Kelketek

Copy link
Copy Markdown
Contributor Author

@antoviaque I saw this some time ago back when the branches hadn't been approved and rebased yet. It's got something to do with the way that settings are being passed along for the tests-- that GITHUB_URL constant or whatever isn't being handled correctly. If it's affecting both of us, it may be something that slipped through the last rebase. It's just a bit odd that it wasn't caught.

@bradenmacdonald

Copy link
Copy Markdown
Contributor

@antoviaque @Kelketek I believe that issue is either a flaky test or a problem with Jenkins. If you look here you can see that most of the builds on 6155 have been passing. Also, all the tests are passing just fine on my devstack.

Edit: Just looked, and I can see other unrelated PRs with the same test failure (example).

@antoviaque

Copy link
Copy Markdown
Contributor

@Kelketek @bradenmacdonald Thanks for looking into it - sounds good then, merging.

antoviaque added a commit that referenced this pull request Dec 16, 2014
…discussion

Remove Discussion and Advanced Components Interface From Libraries (SOL-120) (WIP)
@antoviaque
antoviaque merged commit 043202f into openedx:content-libraries Dec 16, 2014
@sarina sarina added the open-source-contribution PR author is not from Axim or 2U label Apr 7, 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.

8 participants