Create a Working Branch - LArSoft/larsoft_docs GitHub Wiki
{{TOC}}
- This is the most common option
- cd $MRB_SOURCE
- tagLAr start $MRB_PROJECT_VERSION
- makes a local branch: release/$MRB_PROJECT_VERSION
- Use this option to start a release with no changes except, for instance, a new version of art
- cd $MRB_SOURCE
- tagLAr patch $MRB_PROJECT_VERSION
- use LARSOFT_SUITE_vxx_yy_zz for the existing tag
- makes a local branch: release/$MRB_PROJECT_VERSION
- Use this option for release candidate and hotfix branches
- cd $MRB_SOURCE
- tagLAr branch $MRB_PROJECT_VERSION
- use LARSOFT_SUITE_vxx_yy_zz for the existing tag
- makes a local branch: $MRB_PROJECT_VERSION
- Use this option for release candidates
- cd $MRB_SOURCE
- tagLAr use
- checks out
- cd $MRB_SOURCE/
- git co feature/
- git co release/$MRB_PROJECT_VERSION
- git merge feature/
- deal with conflicts if necessary
- In some cases, you may need to ask the author for help.
- Make a clean build with these changes before proceeding
-
IMPORTANT:
- If the same branch is in several different repositories, merge all of these before starting a new build.
- Make sure you merge and test each set of feature branches one at a time. This helps sort out confusion in case of conflicts.
- If possible, also run the CI tests separately for each feature branch. If you do not do this, you may have to go back and untangle problems. See the next section.
- use mrb uv to update versions of products such as art or nutools which are not part of the larsoft suite.
- Make a clean build with these changes before proceeding