Hi,
We are slowly migrating our SVN repositories to Bitbucket (GIT) and we are running into some issues.
Our core software runs at many different customers and some customers use older versions of our core software, and we cannot simply upgrade the software at those customers. This means that we have multiple (minor) versions of our software that we have to maintain (add new features or do bug fixes).
For example, we have following versions:
These versions are highly dependable, so if we fix a bug in 4.0, there is a big chance we have to merge this fix to 4.1 and 4.2 as well. Same goes for the other way (from 4.2 downwards).
What is in your opinion the best way to set up this repository in git/bitbucket?
- Do we create 1 repository and add release branches to it for each minor version?
- If we create a bugfix branch for 4.2, is there a way of seeing that its base branch is 4.2? As far as I know, all bugfixes are put together inside the bugfix/ tag. (same for features)
- I see branches as a temporary thing, but these minor versions will live very long.
- Or use separate repositories for each minor version?
- How to deal with merging between these repositories?
- Something else?
We are still quite new at git, and are still quite used to SVN, so we don't know the best practices yet.