You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
amid the global BLM protests, it seems a number of free/open-source software projects are now reconsidering the naming of their main source-code management branch, historically called master in git. Microsoft seems to be actively working on bringing out-of-the-box support for other naming schemes to GitHub.
Despite its widespread use in the contexts of software development and hardware interfaces, the term "master" may be considered offensive by some. While one could argue that this perception entirely disregards context, I would argue that nothing is lost by dropping the name. I would consider moving to a different name as a token of support for the struggles of ethnic minorities and marginalized people; and it would be a public display of some (granted, cheap, but still visible) efforts to actively embrace an inclusive community. Lastly I would argue that our Code of Conduct actually doesn't leave us much of a choice anyway, as it clearly states we vow to use "welcoming and inclusive language". Now if the master term has been identified to be non-inclusive – regardless of whether we feel that this is true or not – it should be dropped.
By all means change it if it makes people happy. GitHub will soon default to main anyway. However, I think that in this case the term master has nothing to do with master/slave (yes I know the BitKeeper background, but in a plain Git repo there is a master branch but no slave branch(es)). Same for blacklisting/whitelisting, which actually originates from the term black book (which were actual black books).
I'd only caution to wait until we know all implications of that name change. I've read that it can be non-trivial in some cases (e.g. it seems to be hard-coded for the docs), so let's do it only after GitHub releases detailed instructions how to do it.
However, I think that in this case the term master has nothing to do with master/slave (yes I know the BitKeeper background, but in a plain Git repo there is a master branch but no slave branch(es)). Same for blacklisting/whitelisting, which actually originates from the term black book (which were actual black books).
Yes I do agree, my perception is similar. But others seem to disagree, and I don't mind making a small change if that can help make them feel more welcome ☺️
I'd only caution to wait until we know all implications of that name change. I've read that it can be non-trivial in some cases (e.g. it seems to be hard-coded for the docs), so let's do it only after GitHub releases detailed instructions how to do it.
Yes absolutely, just wanted to raise this question now to get a small discussion going / get an idea of what others think.
Internally I don't think this change would be too difficult, but we should wait until GitHub makes it easy to redirect branch names to do this (last I looked it was not possible to redirect individual branches, only entire repos). Projects that rely on using https://github.com/mne-tools/mne-python/zipball/master or similar should have an opportunity to change to the new naming rather than just having things suddenly break.
The Linux kernel developers just decided the use the following terms:
+For symbol names and documentation, avoid introducing new usage of
+'master / slave' (or 'slave' independent of 'master') and 'blacklist /
+whitelist'.
+
+Recommended replacements for 'master / slave' are:
+ '{primary,main} / {secondary,replica,subordinate}'
+ '{initiator,requester} / {target,responder}'
+ '{controller,host} / {device,worker,proxy}'
+ 'leader / follower'
+ 'director / performer'
+
+Recommended replacements for 'blacklist/whitelist' are:
+ 'denylist / allowlist'
+ 'blocklist / passlist'
+
+Exceptions for introducing new usage is to maintain a userspace ABI/API,
+or when updating code for an existing (as of 2020) hardware or protocol
+specification that mandates those terms. For new specifications
+translate specification usage of the terminology to the kernel coding
+standard where possible.
I'll just speak for myself. I have tons of stuff to do and I need to
prioritize things.
Doing things like this is very low priority right now.
So if you want to do it fine. But I will try **not** to look and let you in
charge.
The GH docs specifically say that all existing references to the old branch names will continue to work:
If you rename a branch, GitHub will automatically redirect links on GitHub.com that contain the old branch name to the equivalent link on the renamed branch. GitHub will also update branch protection policies, as well as the base branch for open pull requests and draft releases.
Yes, it should work without #8758. But what if it doesn't? Are there any larger projects that have already switched? I checked numpy, matplotlib, pandas, scipy, scikit-learn - they are all still using master.
Yes, it should work without #8758. But what if it doesn't? Are there any larger projects that have already switched? I checked numpy, matplotlib, pandas, scipy, scikit-learn - they are all still using master.
If it doesn't, we just rename it back. Should this not work? I don't understand the hesitation honestly… What do we even expect to break? In the worst case only a few URIs need to be adjusted
I'd like to request that you do this next weekend instead of today, and that you announce it on the mailing list and forum first. Advance warning may avoid a lot of surprises and complaints.
Activity
cbrnr commentedon Jun 15, 2020
By all means change it if it makes people happy. GitHub will soon default to
mainanyway. However, I think that in this case the term master has nothing to do with master/slave (yes I know the BitKeeper background, but in a plain Git repo there is a master branch but no slave branch(es)). Same for blacklisting/whitelisting, which actually originates from the term black book (which were actual black books).I'd only caution to wait until we know all implications of that name change. I've read that it can be non-trivial in some cases (e.g. it seems to be hard-coded for the docs), so let's do it only after GitHub releases detailed instructions how to do it.
hoechenberger commentedon Jun 15, 2020
Hi @cbrnr
Yes I do agree, my perception is similar. But others seem to disagree, and I don't mind making a small change if that can help make them feel more welcome☺️
Yes absolutely, just wanted to raise this question now to get a small discussion going / get an idea of what others think.
larsoner commentedon Jun 15, 2020
Internally I don't think this change would be too difficult, but we should wait until GitHub makes it easy to redirect branch names to do this (last I looked it was not possible to redirect individual branches, only entire repos). Projects that rely on using
https://github.com/mne-tools/mne-python/zipball/masteror similar should have an opportunity to change to the new naming rather than just having things suddenly break.agramfort commentedon Jun 16, 2020
GuillaumeFavelier commentedon Jul 6, 2020
Not directly related but I should probably rename the
time_viewerselected as reference inLinkViewer:https://github.com/mne-tools/mne-python/blob/master/mne/viz/_brain/_timeviewer.py#L1221-L1222
hoechenberger commentedon Jul 6, 2020
Heh. Do we have a good alternative?
main, perhaps?GuillaumeFavelier commentedon Jul 6, 2020
mainor just simplyreferenceshould do the trick?hoechenberger commentedon Jul 6, 2020
How about
cbrnr commentedon Jul 6, 2020
Feel free to rename, but master without slaves should be fine (because masters can also have apprentices).
GuillaumeFavelier commentedon Jul 6, 2020
Thanks all for the suggestions, I decided to rename into
leaderbecause it suits the behaviour perfectly. And sorry for the noise on the issue.hoechenberger commentedon Jul 11, 2020
The Linux kernel developers just decided the use the following terms:
cbrnr commentedon Jul 22, 2020
See https://github.com/github/renaming/
hoechenberger commentedon Aug 29, 2020
Just for reference, the VS Code Python Extension is chiming in now, too:
microsoft/vscode-python#13645
cbrnr commentedon Jan 15, 2021
Should we go for it? https://docs.github.com/en/github/administering-a-repository/renaming-a-branch
hoechenberger commentedon Jan 16, 2021
I just came here to ask the same, so: yes, let's do that!!
agramfort commentedon Jan 16, 2021
cbrnr commentedon Jan 16, 2021
What about starting with
mne-testing-data? I've prepared all changes for this repo in #8758.agramfort commentedon Jan 16, 2021
cbrnr commentedon Jan 16, 2021
Same, this is also low priority for me. I don't want to break anything, so I'd rather not do it unless others look very carefully at the changes.
hoechenberger commentedon Jan 16, 2021
The GH docs specifically say that all existing references to the old branch names will continue to work:
cbrnr commentedon Jan 16, 2021
Yes, it should work without #8758. But what if it doesn't? Are there any larger projects that have already switched? I checked numpy, matplotlib, pandas, scipy, scikit-learn - they are all still using master.
hoechenberger commentedon Jan 16, 2021
If it doesn't, we just rename it back. Should this not work? I don't understand the hesitation honestly… What do we even expect to break? In the worst case only a few URIs need to be adjusted
hoechenberger commentedon Jan 16, 2021
vscode-python has switched: microsoft/vscode-python#13645
hoechenberger commentedon Jan 16, 2021
I just renamed
mastertomainon https://github.com/hoechenberger/questplusAfter that I had to run locally:
All working now.
This is the message that GH displays when visiting the repo:

cbrnr commentedon Jan 16, 2021
@hoechenberger and I will rename the branch this evening.
drammock commentedon Jan 16, 2021
I'd like to request that you do this next weekend instead of today, and that you announce it on the mailing list and forum first. Advance warning may avoid a lot of surprises and complaints.
cbrnr commentedon Jan 16, 2021
OK, no problem!
cbrnr commentedon Jan 17, 2021
I just renamed the master branch to main in MNELAB, everything is fine (also locally).
cbrnr commentedon Jan 23, 2021
Done - see https://mne.discourse.group/t/we-have-renamed-the-main-development-branch-on-github-to-main/2526!