This topic covers conventions used for naming git branches during development of LabKey Server. Others developing new functionality in feature branches can benefit by following these practices.
At repository creation time, the primary development branch will be created:
trunk in the pastA new branch should be created for each story. Use an identical branch name in every repository involved in a story (often just one).
label = a short, unique description of the feature or bug
id = the issue ID or Scrumwise item ID related to the work
Other fixes, such as test fixes that have neither a spec number nor an issue number should still use the fb_ naming pattern. In this case, however, you will likely just use fb_<label>, but be sure to coordinate with other team members to avoid conflicts.
For each LabKey Server Stable release, a new branch will be created:
We have configured GitHub to disallow commits directly to develop, releaseXX.Y, and releaseXX.Y-SNAPSHOT branches. Feature Branch Workflow has more information on developing and merging features.
Following these naming conventions will ensure that branches are built and tested by TeamCity. If a branch contains changes that shouldn't or can't run on TeamCity for some reason, a descriptive but non-matching name should be used.
| previousnext |
| expand allcollapse all |