-
Notifications
You must be signed in to change notification settings - Fork 0
OpenFOAM branching strategy
Pete Bachant edited this page May 5, 2016
·
3 revisions
- Use a single repo.
- Are commits even cherry-picked e.g. from
dev
into3.0.x
, or are they copy/pasted? Hashes are not the same.
- Are commits even cherry-picked e.g. from
- Stop patching old versions. These should be tags in the main repo. They could be branches, and commits from
master
could be cherry-picked. - User dir could be simply called
$USER-foam
? Using a single repo would make it harder to use multiple versions simultaneously. Or would it? Users could name the repos whatever they wanted, and source the appropriaterc
, but the$WM_PROJECT_USER_DIR
may be ambiguous. It could go in$HOME/OpenFOAM/$USER-$(git describe)
or something, but this would make things difficult if only changing commits in$WM_PROJECT_DIR
, rather than hopping from tag to tag.
Copyright 2015–2024 Pete Bachant. Licensed under CC-BY-4.0.