Skip to content

Rollback Django Debug Toolbar from 1.0.1 to 0.9.4 - #2640

Merged
singingwolfboy merged 1 commit into
masterfrom
db/rollback-djdt-again
Feb 19, 2014
Merged

Rollback Django Debug Toolbar from 1.0.1 to 0.9.4#2640
singingwolfboy merged 1 commit into
masterfrom
db/rollback-djdt-again

Conversation

@singingwolfboy

Copy link
Copy Markdown
Contributor

We recently tried to update our version of Django Debug Toolbar from 0.9.4 to 1.0.1 (#2391). Doing so caused a lot of problems -- at first, being unable to run the codebase at all due to backwards-incompatible changes in the toolbar's Python code, and then when that was resolved, broken Javascript due to the interaction between DDT's Javascript and ours. Since DDT is still figuring out how to move forward with their Javascript changes, we're going to rollback to 0.9.4 for now. I'm also adding a note to the codebase explaining the situation, so we don't run into this again, and once again get bitten by insufficient testing.

@cpennington @cahrens @yarko Can you verify that this is what we want?

Sorry for the instability in the project, everyone. 😓

Comment thread lms/envs/devstack.py

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is this comment no longer helpful? Are these not the versions we are on?

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.

I've added it back in. Thanks for the catch.

@cpennington

Copy link
Copy Markdown
Contributor

👍

@cahrens

cahrens commented Feb 19, 2014

Copy link
Copy Markdown

Can you link to the PR you are reverting?

@davestgermain

Copy link
Copy Markdown
Contributor

You need to revert https://github.com/edx/edx-platform/pull/2627 as well. 🍞

@singingwolfboy

Copy link
Copy Markdown
Contributor Author

This pull request reverts #2391, #2627, and #2634. @davestgermain, thanks for reminding me about #2627 -- I've added that revert to this pull request now.

Comment thread requirements/edx/base.txt Outdated

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.

  • devstack should run the same as dev

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.

Added that, as well. Thanks!

@cahrens

cahrens commented Feb 19, 2014

Copy link
Copy Markdown

👍

Due to issues with require.js and the latest version of the toolbar.
Also included a note in the requirements file explaining the situation, and what
needs to happen before this can be upgrade properly.
singingwolfboy added a commit that referenced this pull request Feb 19, 2014
Rollback Django Debug Toolbar from 1.0.1 to 0.9.4
@singingwolfboy
singingwolfboy merged commit 0deb47a into master Feb 19, 2014
@yarko

yarko commented Feb 19, 2014

Copy link
Copy Markdown
Contributor

a belated 👍 - the changes / PR I made was strictly in response to an early (and incomplete) change to toolbar 1.*, a "... if you're going to do that, then you should do all of the updates here...";

Other than that, I have no dog in this fight - and as you mention DDT is still figuring out... this makes sense.

@singingwolfboy
singingwolfboy deleted the db/rollback-djdt-again branch May 5, 2014 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants