Branching Strategy for Nephio releases #575
Replies: 7 comments 4 replies
-
We should distinguish Catalog from the rest of the repo's. For the other repo's I suggest a branch close to the release which we use to maintain once a release is cut, or we create it when we cut it and this serves the basis to fix issues when they arise. This removes a lot of overhead of creating and maintaining code in various places. |
Beta Was this translation helpful? Give feedback.
-
on catalog you have basically 3 options:
The down side of 2 and 3 could also be seen as a good thing as you should not update things across package, anyhow the tag has to be per package. So no matter how you cut it you have to do X things, |
Beta Was this translation helpful? Give feedback.
-
Another points to consider for the branching strategy of the catalog are:
|
Beta Was this translation helpful? Give feedback.
-
Question: Do we really need separate versions per package? There could be a simple solution of having all our packages have the same version, which is tied to the Nephio release. It does mean that some packages would get a version bump even if they don't need it, but -- so what? It won't hurt anything (that I can think of). The big advantage is that we don't have to deal with any of these complications. We treat the catalog as just a normal repo, the same as other Nephio repos. It would also simply things for users, where they simply use the Nephio version and don't have to think about individual package versions. |
Beta Was this translation helpful? Give feedback.
-
in my view each package has its own lifecycle and we should manage it like this rather than putting a big sticker on it. This is how SW is managed at large and making I big dependency created huge bottlenecks. The success of a distributed system is based on this principle. |
Beta Was this translation helpful? Give feedback.
-
In sig-release meeting we decided we will go with a branch per release. However we will continue with the special branching strategy for catalog . |
Beta Was this translation helpful? Give feedback.
-
@radoslawc please add your points and details about using github sub-modules to this discussion. |
Beta Was this translation helpful? Give feedback.
-
Currently we have a single "main" branch and during the release time we tag the releases. But this has multiple issues:
Catalog repo issues
Other life cycle management issues
Hence the best way forward is to have a branching strategy for the releases.
There were two options for branching that we discussed
Branch per release
Stable Branch
Based on the above probably having "Branch per release" is the most straightforward implementation and I am leaning towards that. Please add your thoughts in this discussion.
References
https://w1.fi/releases.html
https://docs.github.com/en/repositories/releasing-projects-on-github/about-releases
Beta Was this translation helpful? Give feedback.
All reactions