Development

Differences between revisions 1 and 2
Revision 1 as of 2010-09-06 08:32:59
Size: 984
Editor: p57909EA6
Comment:
Revision 2 as of 2010-09-06 08:35:26
Size: 988
Editor: p57909EA6
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
 * if a fix needs changes to the database models, please use the tag `schema-change`  * if a fix needs changes to the database models, please use the bug tag `schema-change`

Please share your favourite tips and tricks here.

Release

  • our release process

  • if a fix gets merged,
    • mark bug as 'fix committed'
    • assign to whoever fixed it
    • milestone to current milestone

Schema changes

  • if a fix needs changes to the database models, please use the bug tag schema-change

  • when writing migration scripts, make sure you use python-django-south 0.6, if necessary set up a lucid chroot (DebootstrapChroot)

  • to test migrations, test them back and forth:

    ./manage.py migrate <app>; ./manage.py migrate <app> zero
  • because we set the database table name in the teams models (we shouldn't have done that, but it's too late to fix it), you might have to use the following runes in migrations scripts to make them work:

    db.current_orm.models['teams'] = db.current_orm.models['teams.team']


CategoryLoco

LoCoTeamPortal/Development (last edited 2011-11-17 02:48:43 by ip72-196-101-83)