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
I don't want to go into the political reasons for renaming the branch, but in my opinion there is a clear push to standardize on the new name main. I believe there was also a SC decision that all projects under the python org should eventually change to that name, although we haven't been approached about this. But CPython has switched (and the stub_uploader always used main). Selfishly, I also renamed the branches in most of my projects, with typeshed being one of the last still using master.
I have renamed the branch now. Contributors working directly from the typeshed repository will need to run the following commands locally to update their local copy:
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
Activity
AlexWaygood commentedon Oct 21, 2022
I support doing this.
srittau commentedon Oct 31, 2022
Cc @JelleZijlstra @hauntsaninja
If there are no objections, I would do the honors tomorrow (Tuesday CET).
srittau commentedon Oct 31, 2022
From what I can see, the following files need to be updated after the transition:
.github/workflows/mypy_primer.ymlREADME.mdscripts/stubsabot.pysrittau commentedon Oct 31, 2022
Also in the stub_uploader:
stub_uploader/build_wheel.pystub_uploader/get_version.pysrittau commentedon Nov 1, 2022
I have renamed the branch now. Contributors working directly from the typeshed repository will need to run the following commands locally to update their local copy:
[-]Rename "master" branch to "main"?[/-][+]"master" branch renamed to "main"[/+]Typeshed branch 'master' was renamed to 'main' (#13980)