Replies: 6 comments 3 replies
-
Freedesktop has mostly moved away from "master" at this point, mostly to "main" (though I think there's a few projects with the "develop" and "release" branches). I'm in favor of the change, given that "main" is:
I am, however not in favor of a change in name that is not "main", I'd rather keep "master" than change to something even more confusing like "trunk". |
Beta Was this translation helpful? Give feedback.
-
I don't see how this really adds any consistency. It causes havoc with existing clones. And I actually despise the name with a godawful passion, but not for ideological reasons! It simply fails at achieving the stated goal. The name isn't semantically meaningful, but it does break tab completion with projects that have a "maint" branch. My main branch is the branch that I mainly use, which is different from the one that tracks the upstream golden state -- and the proper name to use is of course "trunk", which also semantically means the same thing that "master" semantically means. But that would be inconsistent. ;) |
Beta Was this translation helpful? Give feedback.
-
Just want to reiterate in case it gets lost in my other comment: I am strongly opposed to any project in the world changing the name of the default branch in an existing repository no matter what it used to be... Until git actually learns to handle this sanely and not break existing clones. Until then, I'm sorry. But I think it's the sign of an insane mind to change the branch name. |
Beta Was this translation helpful? Give feedback.
-
I think Meson should change to The 1.0 release seems like a good opportunity to make the switch to me (although it could be at any point of course). That way you leave a stale Heaps of projects have gone through this. It's not a big deal in practice, even if it would be nice if github/gitlab supported this better. Developers need a day to fix their muscle memory and then it's fine. New people get the new branch with checkouts. |
Beta Was this translation helpful? Give feedback.
-
The default branch name should optimally be the same everybody else uses. As that is not possilbe the next best choice is the same name that is used by most other projects. If that is "main", then so be it. |
Beta Was this translation helpful? Give feedback.
-
Since everyone else is commenting, I thought I'd chip in too. I have no preference either way on this. My annoyance level will slightly increase in the short term and reduce in the long term if the trend of moving to main continues. I think it's a goddamn shame that there has been no movement anywhere on adding support to git for branch name aliasing or changing of the default branch for a repository, but our entire profession exists to suffer due to bad tooling, so be it. |
Beta Was this translation helpful? Give feedback.
-
Many open source project decided to rename their "master" branch to "main" over the past years. For consistency with the rest of the community, it might be a good idea to do the same in the Meson project. Are there objections?
Likewise, from a quick grep, we use the term "master" project (in the context of sub-projects) in a few places in our documentation, I think we should rather use "main" project.
Note: I don't want to enter any political/ethical discussion, I personally see this mostly as consistency with the rest of the community. I might be biased, but I see most of GNOME world, GStreamer and Mesa, did that change at least. Those are probably the biggest Meson users.
Beta Was this translation helpful? Give feedback.
All reactions