-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate git branches for bug fixes and features #340
Comments
I support this idea, and think we should even consider applying this retroactively. As far as I can see, the only "feature" added since 1.0 is the Would the suggestion be to continue with Either way, this would have to be done per PR, though there may be some GH action we can use that looks for a PR label, e.g. |
Indeed, it was #339. Then there should not be too much of cherry-picking.
I support the first option. Next minor release will surely contain the bug fixes, so
I think the submitter of every PR would indicate whether the PR is a bug fix or a feature by choosing the merge target branch ( |
We just discussed this in the meeting. It sounded like there was consensus that we should at least do something to tackle this. As far as I see it, the options are either:
I would suggest that the latter makes more sense, but it leaves more work for PR reviewers to dictate whether changes should be backported (see upcoming issue on code owners). |
I think that backporting approach would need more effort that the two-branch approach. So I vote for two-branch approach. |
I suggest taking inspiration from the "semantic version model" but adjusted to better match our workflow by (i) skipping separate branches for patch versions by just keeping minor version branches and tag releases with a full (major.minor.patch) version number upon release instead, and (ii) let the main ongoing development be in 'develop' (rather than 'master' as shown in the link) and let 'master' always sit at the released version with highest version number. Hence:
The idea going forward is that:
|
@rartino's suggestion makes sense, but I'd like to avoid cherry-picking as much as possible due to the tediousness of it. Why not replace
with
This reduces amount of cherry-picks by using them for less frequent action. Edit: reformulated my suggestion. |
Maybe this is already too late for v1.0.0++, but later on it may be wise to collect bug fixes to one branch, and new features on another. This way we may in parallel develop two releases: next minor and next patch. So if at some point we decide to make a patch release (v1.0.1 as of the time of writing), there would not be a need to check whether
develop
already includes additions requiring next minor release (v1.1.0).The text was updated successfully, but these errors were encountered: