« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 933 ms

chore: rename `master` branch to `main` by nejch · Pull Request #1629 · python-gitlab/python-gitlab

Source: https://github.com/python-gitlab/python-gitlab/pull/1629

Repository navigation

chore: rename master branch to main - #1629


Merged
nejch merged 1 commit into main from chore/master-to-main Oct 12, 2021
Merged

chore: rename master branch to main #1629 nejch merged 1 commit into main from chore/master-to-main

Conversation

nejch commented Oct 9, 2021 · edited Loading



Copy link Copy Markdown
Member

BREAKING CHANGE: As of python-gitlab 3.0.0, the default branch for development
has changed from master to main.

GitHub changed on 1-10-2020, GitLab changed with 14.0.

Closes #1622 . Will switch the branch in the project first before assigning this. Switched to main and pushed master again to have an old branch in case some people relied on it.

nejch mentioned this pull request Oct 9, 2021 Breaking changes in 3.0.0 #1520 Closed 15 tasks done nejch force-pushed the chore/master-to-main branch 2 times, most recently from 86255ca to 14fb924
Compare
October 9, 2021 13:54 nejch marked this pull request as ready for review October 9, 2021 14:47 nejch assigned JohnVillalovos Oct 9, 2021 max-wittig approved these changes Oct 10, 2021
View reviewed changes
JohnVillalovos approved these changes Oct 10, 2021
View reviewed changes

JohnVillalovos left a comment



Copy link Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more .

Fine with me and would also be fine if master disappeared to remove the chance of confusion.

JohnVillalovos commented Oct 10, 2021



Copy link Copy Markdown
Member

Also a thought. If decide to keep master maybe put in a final commit which deletes everything and directs people to use the main branch. Then master branch exists but won't cause confusion for people.

nejch commented Oct 10, 2021



Copy link Copy Markdown
Member

Author

Fine with me and would also be fine if master disappeared to remove the chance of confusion.

That makes sense also, I'll see what other projects do but I think we can just remove it shortly after releasing and not keep stale branches

chore: rename master branch to main 545f8ed
BREAKING CHANGE: As of python-gitlab 3.0.0, the default branch for development
has changed from `master` to `main`.
nejch force-pushed the chore/master-to-main branch from 14fb924 to 545f8ed
Compare
October 11, 2021 20:50

nejch commented Oct 11, 2021



Copy link Copy Markdown
Member

Author

@JohnVillalovos I've removed the references to keeping an old master, I just remembered I also had some confusion while rebasing on the wrong branch with a project that kept it.. we can remove it after the release :P

nejch merged commit 63b2070 into main Oct 12, 2021 nejch deleted the chore/master-to-main branch October 12, 2021 16:37 This was referenced Oct 12, 2021 CI jobs are not running at the moment #1636 Closed [docs] Documentation bug #1637 Closed fix(docs):API delete key example #1638 Merged Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

3 participants