Development Process
Let's suppose that there are some tickets assigned to you in trac. Then:
- Change the status of your trac ticket to in_work (basically, choose the action start).
- Create a new branch in your local repo from origin/master (Follow the naming conventions: http://indico-software.org/wiki/Dev/Collaboration#Sometips). If the trac ticket milestone is a production version, then create the branch from that one instead of origin/master.
- Think before coding.
- Develop your module.
- Write tests using Indicop.
- Update the user documentation Dev/Doc.
- Write technical information in this wiki if needed.
- Make sure that every commit you do is PEP8 compliant. To ensure this you can use our pre-commit hook: http://indico-software.org/wiki/Dev/GettingStarted#a3.Addingthepre-commithook
- Make sure that the commit closing the trac ticket has something like closes #1234 in the description.
- When finished, pull changes from origin, rebase and push.
- Change the status of your trac ticket to awaiting_merge (basically, choose the action request merge).
Every friday is WIP Friday! Therefore:
- At least once a week (latest on Friday morning) you should commit your Work in Progress or Already Finished (but not integrated) tickets to your personal GitHub. Use our git push-wip alias: https://gist.github.com/pferreir/6193091
- Every Friday afternoon, everybody should spend at least 30 minutes reviewing other developers' WIP code and commenting in-line all the possible improvements and bugs. Do comment directly on GitHub. Here you can find the list of Indico Team Members: https://github.com/indico?tab=members
Last modified 2 years ago
Last modified on 08/23/13 11:09:01