Development Workflow - YaleSTC/reservations GitHub Wiki
Starting work
- Make sure GitHub issue exists
- Create issue branch
- naming convention:
[ISSUE NUMBER]_[ABBREVIATED NAME]
(e.g. 528_short_term_cart_fix
)
- to create remote branch with tracking run the following:
git push origin master:refs/heads/1234_branch_name
- get coding :-)
While working
- Write RSpec tests for significant functionality (see TDD LINK HERE)
- Update factories if necessary
- Commit often, write short but descriptive commit messages
- Update the GitHub issue with longer comments
Pull Request
- Ensure all tests pass
- Ensure your changes didn't break untested behavior (i.e. seed script in
db/seeds.rb
)
- [TODO] check code quality (e.g. Rubocop)
- Update Changelog (see Changelog Guidelines)
- Issue pull request
- while possible, convert issue to pull request using Hub