-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Fix master only merges #2376
Fix master only merges #2376
Conversation
By the way, why the project needs separate develop branch? People are confused by that, as most of other projects use master branch to track the recent commits. |
It doesn't "need" it, it's just a convenient workflow. We roughly follow a git flow-type model. |
I mean... What is exactly you find convenient in having develop branch instead of master? |
We're making the choice that master represents the latest stable/released state (notionally it will always be production-ready), while develop represents the unstable development state. The names are fairly arbitrary, we're going with the original git-flow names as linked above. |
Hm, I thought that there are some practical reasons rather than historical |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks
It is a practical reason @Fak3. You can read the post inclement shared above https://nvie.com/posts/a-successful-git-branching-model/ |
What is "it"? I skimmed through this article and only left with impression that the naming is completely arbitrary. The kivy, plyer and dozens of other projects call the most recent branch as "master" instead of "develop". And use branch called "stable" or "vX.X" for latest stable code |
Thanks @AndreMiras @Fak3 The naming is indeed arbitrary, except insofar as we selected this choice because we like it. |
Thanks for merging this. @Fak3 it sounds like you have personal experience that would give good reasons to do it another way. The devs would need to know of these reasons to consider them. It sounds like the lower the barriers to understanding the project are, the more small fixes can come in from other projects. Changing things like this is usually something that would happen slowly with discussion, because many people have been working with it this way for a long time. |
The reason I asked is because this issue revealed to me that I was not the only one surprised by branch naming. If this becomes a significant enough annoyance for new contributors, then it may be worth to consider aligning the branch naming with kivy and most other projects. Another related issue is that git, github and many other projects are changing the "master" to "main", which is covered here: https://github.com/github/renaming. So if the p4a project going to align the naming with the rest of the world, then i would suggest to use "main" for the most recent stuff and "stable" for latest stable release. |
Thanks for explaining. |
Merge master into develop, to pull in the couple of PRs that have been made straight to master.
I know it's easy to miss, but PRs should go to develop. Not sure if we can protect master more, maybe non-core-devs can be blocked from making PRs to master.