Skip to content

Developer guidelines

Sara Cope edited this page Dec 5, 2019 · 3 revisions
  • We have three main branches on the code-gov-front-end repository that are never deleted:
    • master contains changes being prepped for a release, is always deployable
    • federalist-prod always points to the latest release
    • federalist-stag used for testing and review of new features

When introducing a change (feature, bug fix, etc.) to any @code.gov/* repository:

  1. Branch off master:

         git pull origin master
         git checkout -b feature-foo origin/master
    
  2. Name your branch pretty much anything except master, federalist-, or with the release- or hotfix- prefix. Suggested prefixes include refactor-, feature-, docs-, issue#, and patch-.

  3. File your pull request to merge into the master branch.

The following standards and guidelines are used to guide development on this project. They are a great resource for insight into the 'why' and 'what' of many of the choices we make in development. Some, such as the Accessibility Standards, are requirements that must be met in order for code to be releasable.

Clone this wiki locally