-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
V1.3.5 branch #4575
V1.3.5 branch #4575
Conversation
I don't understand---was 1.3.5 on its own branch this whole time? |
Yep. Not cool 👎 |
😭 |
It was only on its own branch once the beta was released. That's what we On Fri, Feb 20, 2015 at 6:13 PM, bootstraponline notifications@github.com
|
There's no other way? It might be helpful to at least consider some alternatives. |
Afaik, you can't do it without multiple branches. If you have an idea,
How can I ship code that's been beta'd AND allow you to merge new features On Fri, Feb 20, 2015 at 6:37 PM, bootstraponline notifications@github.com
|
Let's look at an actual feature I implemented. This feature wasn't merged because it was assumed master was going to become the 1.3.5 release. Instead 1.3.5 was on a branch. If a new feature isn't going to be in the current release then it should wait.
I've been suggesting ideas on Slack. Maybe the current workflow is fine however clearly not everyone is on the same page. |
Your idea is fine if the beta periods are short and you don't need to use I think there some miscommunication, I think partly between the sauce team On Fri, Feb 20, 2015 at 6:50 PM, bootstraponline notifications@github.com
|
It'd be great to document the current workflow somewhere so everyone knows what to expect. |
Sure, that's a great idea. Fwiw, we're doing a very, very limited version of this: http://nvie.com/posts/a-successful-git-branching-model/, but only betas are getting their own branches. |
I prefer Google's approach of trunk based development. I disagree that PRs would pile up (they'd just be merged to master and then end up in the beta). In terms of not being able to use code from others, that's silly. It's still a branch so all the same git magic applies, the branch just happens to be called master. Anyway, if the other devs aren't in favor of TBD then I'm fine with keeping the branching model as long as it's documented so there aren't surprises. |
@bootstraponline I'm fine with the Google approach. I don't see it as a whole lot different than what I did, according to your article: |
|
I agree, it looks like the same thing. |
I'll reread your article, but so far I'm def open to it. |
@jlipps Take a look at the Trunk Based Development article @bootstraponline referenced. It's short. I think the approach it describes is better than what's been suggested so far. It's simple and it fits the GitHub workflow perfectly. Here's the basic flow:
Key points:
The only thing it doesn't do is let you tell from master what commits go with which release, but that information is in the release branches. I understand why you want master to be tidy, but I'm not convinced the benefits of tidiness outweigh the overall advantages of the TBD approach for a GH-based open source project, especially since the information you want is still available. |
:+1 for trunk based development, the only thing is to update our |
👍 for the mainline/trunk based approach. That's what we do at Opera as well. Keep a mainline/master which is of sufficient quality and branch out short-lived stablization/stable branches for releases. All fixes end up on mainline. Safe fixes are then back-ported to stable branches. We do test both stable and master though. |
👍 to trunk-based development |
No description provided.