-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change default branch name #1881
Comments
(To be clear, we'll provide support and documentation for applying this uniformly, and with as little disruption as possible.) |
In terms of technical doo-dads, this is relatively easily to do functionally today. We'd just push a new branch called One issue though is how to deal with active PRs. Deletion of the One other perhaps minor side issue to investigate is I'm not actually sure how Cargo deals with git dependencies that don't specify a branch but don't have the default branch as [dependencies]
wasmtime = { git = 'https://github.com/bytecodealliance/wasmtime' } I think it's fine to break that, but we'll want to detect that an probably open a Cargo issue to recognize a missing |
The default branch is It seems to be possible to get the commit associated to the default branch using |
Thank you for the overview, @alexcrichton, and for the research into cargo, @bjorn3!
That Github have indicated that they're working on something here was the main reason why, in the BA Steering Group meeting today, we decided to wait until the end of next week before doing this. Clearly they can make this go much more seamless, so 🤞 they do! At the same time, we also don't want to wait indefinitely, and think the fallout of doing it without the kinds of mitigation only Github could enable is acceptable. |
Turns out it's possible to re-target PRs (by pressing the |
One aspect GitHub's official support for this feature might include is redirecting |
For the Cargo side of things, which again isn't really related to wasmtime nor should it block this transition, as a heads up I've got rust-lang/cargo#8364 cooking which should improve the state of things. |
Done in #1924! |
As a policy, the Bytecode Alliance is changing the default branch names in all repositories. We would like for all projects to change the default to
main
by June 26. (We mention June 26th because there is some suggestion that GitHub may be adding the ability to make this process more seamless. Feel free to wait for that, but only up to June 26.)Please consider this a tracking issue. It is not intended for public debate.
The text was updated successfully, but these errors were encountered: