openhatch

Issue753

Title We need to upgrade Django (security)
Milestone Priority urgent
Waiting On Status resolved
Superseder Nosy List briandant, paulproteus
Assigned To briandant Keywords bitesize

Created on 2012-07-31.05:34:27 by paulproteus, last changed 2012-10-16.17:16:59 by paulproteus.

Messages
msg3448 (view) Author: paulproteus Date: 2012-10-16.17:16:59
Closed in https://github.com/openhatch/oh-mainline/pull/75 + 
http://github.com/openhatch/oh-
mainline/commit/7e029ca709a3cbb91ac14a5105ba9c911f9470d5

Thanks!
msg3345 (view) Author: paulproteus Date: 2012-07-31.05:37:09
As a reference on this, our vendor directory works very similarly to this 
reference in "Mozilla playdoh": 
http://playdoh.readthedocs.org/en/latest/packages.html
msg3344 (view) Author: paulproteus Date: 2012-07-31.05:34:26
Hey all,

As per https://www.djangoproject.com/weblog/2012/jul/30/security-releases-
issued/ we need to upgrade the version of Django we embed.

This should actually be a fairly bitesize task. Anyone is welcome to do it. It 
requires no programming skill, just a willingness to use git.

Here's how to fix it:

1. Make sure you have a local version of oh-mainline

2. When in that, execute: "cd vendor/packages"

3. Use git to remove the entire embedded copy of Django (you might need to pass 
some special arguments to git rm to remove a the directory)

4. "cd ../.." to get back to oh-mainline/

5. pip install --no-install --build=vendor/packages --src=vendor/src -I django

6. Make sure you got a version you like

7. Use "git add" to add the new vendor/packages/Django version to git

8. run "python manage.py shell" and do "import django; print django.VERSION" to 
make sure we're on a safe version of Django

9. Submit a pull request to oh-mainline

I can be a mentor for doing any of this, as needed. Ping me on IRC if you like!

As a side note, we should write documentation in our repository for how to 
upgrade and install embeddeded dependencies.
History
Date User Action Args
2012-10-16 17:16:59paulproteussetstatus: chatting -> resolved
messages: + msg3448
2012-09-25 00:39:53briandantsetassignedto: briandant
nosy: + briandant
2012-07-31 05:37:09paulproteussetstatus: unread -> chatting
messages: + msg3345
2012-07-31 05:34:32paulproteussettitle: We need to upgrade Django (security) (good first task) -> We need to upgrade Django (security)
2012-07-31 05:34:27paulproteuscreate