This Change will move Fedora git repositories to use "main" as the default git branch instead of "master". Specific repositories will be manually moved and default git branch for new projects will be set to use "main".
The Fedora Community strives to be open and welcoming. Some language around our git repositories is dated and could be more inclusive. Many git repositories currently use "master" as the default branch. This Change will move many repositories (see below) to use a "main" branch as default. This small bit of naming adjustment is in-line with Fedora's vision for free and open source software built by inclusive, welcoming, and open-minded communities.
I think there was pretty broad concensus that - at least for the rpms namespace on src.fpo - the master branch should be renamed to "rawhide" instead of main, because that actually carries meaning in this context, instead of changing one generic term to another. Will this feedback be incorporated into the Proposal?
I already added to the change that for src.fedoraproject.org we will symref rawhide and main... if we want to prefer rawhide in our docs that should be fine as well as allowing people used to main to use that if they want.
Why would somebody be used to "main" if it has never been "main"? I don't get it. This sounds like "consistency for consistency's sake" to me :(
Pagure 5.12 will support doing branch aliases via API, so we should be able to do whatever as soon as we're ready. That said, I favor using rawhide instead of main because the former is more meaningful.
rawhide
main
Because github and many other places are moving to main... so if you are a developer that works in those spaces and start contributing to fedora you might well assume our development branch is 'main' ?
I prefer rawhide too for dist-git.
+1
Oh, I forgot to vote. I would prefer "rawhide" over "main", but my vote is still +1 and weak +1, respectively.
My +1 is with the proviso that Dist-Git default branch changes to rawhide. I have not seen a compelling reason to do something else.
It doesn't have to be either or. We can make a symref and have the best of both. Is there any reason not to just have the symref for main and rawhide?
I don't mind symrefs for main and master, but having the real branch be rawhide means that things that don't know what to do with symrefs will use rawhide branch name.
master
I'm strongly against a symref to 'master'. Doing that basically defeats the purpose of this change.
I am not sure there is anything that doesn't know what to do with a symref? pagure can handle them, git client does. Is there something you are aware of that wouldn't ?
I wonder whether libgit2 handles them transparently, which would affect fedpkg via GitPython and python libgit2 bindings.
Since we're all over the place with this discussion, I'm adding this to the meeting agenda for tomorrow.
My personal opinion:
I think 'rawhide' is a much more descriptive choice. However, I've heard suggestions that this too may have negative cultural associations (such as with cultures that revere cows). That said, I don't want to get into a naming debate about what to call our development branch at this time; I think it's a distraction from solving the original problem around "master".
I think changing the name of the development branch to "main" creates more problems than it solves. The primary argument in favor of this name is that it would align to the emerging industry standard for the default git branch, which makes sense: many tools will be designed or adapted to assume the presence of a branch with this name. However, this also potentially borrows trouble from the future: suppose that Fedora decides to merge its dist-git with another distribution (CentOS Stream, for example). Now we have to determine which "main" branch keeps the name.
I don't like the idea of a symref between "main" and "rawhide". I would much prefer to see them remain as separate branches, with "main" containing just a README describing the branch structure.
I very much dislike the idea of a symref between "master" and "main" and/or "rawhide". While it would ease the transition by allowing other consumers to continue using the old name, the reality is that we would end up retaining this symlink forever, thus keeping the offensive name alive and usable.
Metadata Update from @sgallagh: - Issue tagged with: meeting
I'm on PTO this week and a 7am meeting doesn't sound very restfull, but I can try and make it. ;(
My personal opinion: I think 'rawhide' is a much more descriptive choice. However, I've heard suggestions that this too may have negative cultural associations (such as with cultures that revere cows). That said, I don't want to get into a naming debate about what to call our development branch at this time; I think it's a distraction from solving the original problem around "master".
Yeah, I think we all want to avoid a bikeshed naming discussion.
CentOS stream doesn't use 'main' or 'master'. It only uses the c* namespace (c8, c8-beta, etc)
I'm not sure why thats better... checkout, get main, try and look at source and see a README, grumble, check out the rawhide branch. Or just 'checkout main' and done.
yep. I am in agreement with that.
+1 with using rawhide name.
I won't be able to make it to the meeting, so my summary of opinions and votes:
We discussed this during today's meeting: I made the following proposal, which we voted on:
Proposal: Approve Change proposal to rename branch names from "master" to "main", except in dist-git-like repositories with branches matching fedora releases, where "rawhide" is preferred. Where the new default branch will be "rawhide", create symbolic refs from "main" to "rawhide".
The votes cast were (+5, 0, -0), and seeing that @churchyard 's comment above aligns with this, his vote was counted as +1 as well, resulting in a (+6, 0, -0) vote tally.
Metadata Update from @decathorpe: - Issue untagged with: meeting - Issue tagged with: pending announcement
Announced: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/Z36LGFF4VNPE23EWI2EW6CNNF72AIRSP/
Metadata Update from @decathorpe: - Issue close_status updated to: Accepted - Issue status updated to: Closed (was: Open)
I ack my vote.
Log in to comment on this ticket.