apache / arrow-rs

Official Rust implementation of Apache Arrow
https://arrow.apache.org/
Apache License 2.0
2.58k stars 779 forks source link

Switch default branch to main #2173

Open waitingkuo opened 2 years ago

waitingkuo commented 2 years ago

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

As discussed in https://lists.apache.org/thread/olhpz7mxh597t7qf5h25xpg97hy9os4t

Describe the solution you'd like

Switch the default branch from master to main Keep master branch up to date for a while, add some deprecation notification in the master branch

HaoYang670 commented 2 years ago

Maybe also do this change in Datafusion and Ballista.

assignUser commented 1 year ago

Keep master branch up to date for a while, add some deprecation notification in the master branch

This is not necessary, github will forward master to the new default branch and a bunch of other stuff (from )

  • Retarget any open pull requests
  • Update any draft releases based on the branch
  • Move any branch protection rules that explicitly reference the old the branch used to build GitHub Pages, if applicable
  • Show a notice to repository contributors, maintainers, and admins on the repository homepage with instructions to update local copies of the repository
  • Show a notice to contributors who git push to the old branch
  • Redirect web requests for the old branch name to the new branch name
  • Return a "Moved Permanently" response in API requests for the old branch name

So unless there is a bunch of tooling with master hard coded (e.g the issue over in apche/arrow) renaming should be pretty painless.

ByteBaker commented 1 month ago

@alamb @tustvold any plan around this?

alamb commented 1 month ago

I personally would appreciate having the branch changed just so it was consistent with all my other repos.

ByteBaker commented 1 month ago

Apart from hard-coded names in places like CI, I think it should be relatively straightforward.

tustvold commented 1 month ago

No objections from me if someone wishes to do the necessary legwork, although I will confess to finding this particular fad somewhat baffling

ByteBaker commented 1 month ago

I'm up for making changes that go through commits. But otherwise this exercise needs someone with admin access.

Reference

alamb commented 4 weeks ago

Looks like we need to file a request with apache Infra in JIRA.

I have filed https://issues.apache.org/jira/browse/INFRA-26183 to request the change

alamb commented 3 weeks ago

Here is a mailing list thread proposing this change https://lists.apache.org/thread/x57h0fht173c9zrb02cg6plmlnr6xcc9

alamb commented 1 day ago

We are proceeding with this process -- please see https://issues.apache.org/jira/browse/INFRA-26183 for details. I will likely delete the master branch when that is complete.