Thunderbird/ISPDB: Difference between revisions
Line 13: | Line 13: | ||
<br> | <br> | ||
<ul> | |||
< | <li>Why do you sometimes need a soft link called ispdb pointing back at itself?</li> | ||
When you run a python manage.py <cmd>, django automatically adds the current directory to your sys.path. Since ../ is in the current directory ispdb will look like a package (because it has a __init__.py file). If your folder name is NOT ispdb, then the softlink is necessary to resolve all the references (i.e ispdb.config) | <li>When you run a python manage.py <cmd>, django automatically adds the current directory to your sys.path. Since ../ is in the current directory ispdb will look like a package (because it has a __init__.py file). If your folder name is NOT ispdb, then the softlink is necessary to resolve all the references (i.e ispdb.config)</li> | ||
== Making a patch == | == Making a patch == |
Revision as of 06:55, 1 October 2009
Django Info
For dumping the DB data:
http://code.djangoproject.com/wiki/Fixtures
Setup Issues
- Problem running python manage.py test (Template Error). Make sure you run python manage.py test --settings=local_settings
- Why do you sometimes need a soft link called ispdb pointing back at itself?
- When you run a python manage.py <cmd>, django automatically adds the current directory to your sys.path. Since ../ is in the current directory ispdb will look like a package (because it has a __init__.py file). If your folder name is NOT ispdb, then the softlink is necessary to resolve all the references (i.e ispdb.config)
Making a patch
0. Learn about pbranch view change logs(w/ tortoise) - At what point did you split off from the trunk? hg glog - (command line)
1. Do a diff against the default branch's latest revision unit_tests 29:b2f44b76b47e settings_py_fix 25:fe8eba0966f0 (inactive) default 24:cd0edcf228c7 (inactive) <-- default branch i.e hg diff -r 24 > diffout
2. Look at diff to make sure only your changes of interest are included.
3. bugzilla.mozilla.org
4. hit File a Bug --> Other Products --> Mozilla Messaging
5. component = ispdb, hwplatform = all, os = all
6. Fill in summary with bug you're fixing
7. Hit Submit
8. Hit add attachment and attach the diff file
9. Fill description (WIP for work in progress)
10. First review should be pointed at blake's email
11. Review flag should be ?
12. Wait till you get 2 +'s from reviewers
13. Go to keywords and type in checkin-needed
QA
Links
For status meeting information see the status meeting page
Mibbit is a web-based irc client.