- Create a Github issue in the relevant repository relating to the feature/bug if it has not been created already. You will see it appear on our scrum board in the backlog. You can also create issues directly in Waffle, just make sure they belong to the correct repo.
- When you are ready to work on the story (normally as part of a sprint - it will be moved in the to-do column during the sprint kick-off meeting), create a branch that begins with the issue number and then explains the task at hand, e.g.
295-dates-on-apply-page
. Note if you now push your new branch to origin, waffle will automatically mark it as in progress - When you are done, create a pull request from your branch to
develop
- put the ticket number in the PR comment, e.g. "closes #295" so Waffle will know to link it to the appropriate ticket. - Get another member of the team to review your PR - when reviewing CSS changes they should check out the branch onto their own computer and check both on desktop and mobile that it looks ok. If it is a major change check it looks OK on other browsers (particularly IE 9 which is the crappiest browser we support) on browserstack
- When you get a thumbs-up or even better a
, merge your PR.
- When you're happy, rebase/merge onto
master
and push to origin immediately. CI will deploy automatically. - Do some QA on the live site.
- Highfive someone/something.
An example command line workflow using hub to create pull requests on the command line, the headers correspond to the stage the story will automatically move to in waffle
git checkout -b 295-dates-on-apply-page
git push -u origin 295-dates-on-apply-page
git checkout 295-dates-on-apply-page
git commit -am "Adds dates on apply page. Closes #295"
git push
git pull-request -b develop
Once you've got the thumbs up:
git checkout develop
git merge 295-dates-on-apply-page
git push
git push staging develop:master
git checkout master
git merge develop
git push