Labs/Jetpack/FlightDeck/Contribution: Difference between revisions
< Labs | Jetpack | FlightDeck
Jump to navigation
Jump to search
m (→How to commit) |
m (→How to start) |
||
Line 18: | Line 18: | ||
#Fork [http://github.com/mozillalabs/FlightDeck Main repository] (it's temporarily on [http://github.com/zalun/FlightDeck zalun's account]) | #Fork [http://github.com/mozillalabs/FlightDeck Main repository] (it's temporarily on [http://github.com/zalun/FlightDeck zalun's account]) | ||
#Install FlightDeck on your machine - [http://github.com/zalun/FlightDeck/INSTALL Install instruction] | #Install FlightDeck on your machine - [http://github.com/zalun/FlightDeck/INSTALL Install instruction] | ||
#Add main repository to remote repositories <pre>git remote add main git://github.com/zalun/FlightDeck.git</pre> | |||
= How to commit = | = How to commit = |
Revision as of 00:02, 22 July 2010
Overview
- Changes should follow Style Guide
- All changes should be accompanied with test (no front-end tests yet)
- Development should be done on Github
- Every change should have a corresponding bug in bugzilla
- Every change should be developed in a specific branch named bug-12345-human_readable where 123245 is a number of the bug
- There is a number of developers who are able to merge and push from the private branch to the main repository
- Production branch is for production only and it is merged from devel only
If you have questions, ask in #jetpack on IRC or on the Jetpack mailing list. You may also like to read the Code Workflow document.
How to start
- Create github account
- Fork Main repository (it's temporarily on zalun's account)
- Install FlightDeck on your machine - Install instruction
- Add main repository to remote repositories
git remote add main git://github.com/zalun/FlightDeck.git
How to commit
- Findor create bug in bugzilla
- check if the bug branch is already created, if so - use it to create your branch
git checkout -b bug-12345-name_of_the_feature main/ug-12345-name_of_the_feature
else create a new branchgit checkout -b bug-12345-name_of_the_feature
- code
- commit changes
- push to your repository
git push origin bug-12345-name_of_the_feature
- provide the link to the commit in bugzilla
Merging
Please always add --no-ff
if using git merge