Rasa: Rename `master` branch to a neutral term

Created on 16 Jun 2020  路  5Comments  路  Source: RasaHQ/rasa

Proposed Change
To reflect the values of Rasa and our community, we should rename the master branch to a neutral term. Other projects have undertaken similar efforts.

Useful source
https://github.com/github/renaming

Things to change

  • [ ] rename branch. Potential candidates are main, default
  • [ ] adapt CI pipeline checks to test for this new branch name instead of master
  • [ ] check codebase for problematic naming (such as whitelisting, blacklisting)
  • [ ] adapt links in docs / changelog / readme to master tree
  • [ ] adapt badges in Readme.md to use new branch name
  • [ ] adapt required checks in GitHub settings to match new branch name
  • [ ] ?? the docs currently refer to master as well as to the tagged version. Do we have to change something here?
  • [ ] Any other candidates which we have to check?

Things which should be fine

  • our Docker builds since they are running as part of the CI now (we are not longer using dockercloud)
area area type type

Most helpful comment

Be advised that renaming the branch actually deletes it, so I'm pretty sure all the pull requests associated with the current main "master" will get closed if you do so! This has happened on other open source projects that took this step a little too impulsively.

I'm not sure you'll be able to associate them to the new branch easily, I guess you could script that with the github api though.

Just throwing some ideas: Maybe it would help instead of renaming "master", create a (new) "main" branch, associate the "master" pull requests to that branch and then delete "master". It would need testing through, i get the feeling you will still loose the discussions ongoing on said pull requests/reviews .

image

All 5 comments

Be advised that renaming the branch actually deletes it, so I'm pretty sure all the pull requests associated with the current main "master" will get closed if you do so! This has happened on other open source projects that took this step a little too impulsively.

I'm not sure you'll be able to associate them to the new branch easily, I guess you could script that with the github api though.

Just throwing some ideas: Maybe it would help instead of renaming "master", create a (new) "main" branch, associate the "master" pull requests to that branch and then delete "master". It would need testing through, i get the feeling you will still loose the discussions ongoing on said pull requests/reviews .

image

Hey @karen-pal ,

thanks for your support and helpful insights! 馃檹

@ricwo I was you added the discussion label. What is missing to move forward with this?

@wochinge mainly the choice of a new branch name - main, default - something else?

Or development or stable?

Was this page helpful?
0 / 5 - 0 ratings