r-lib / bit64

An R package with an S3 Class for Vectors of 64bit Integers
32 stars 8 forks source link

Rename master branch to main? #104

Closed hadley closed 1 month ago

MichaelChirico commented 1 month ago

Sure, I think you have a good workflow for making the transition if you want to make the change yourself? Otherwise I'll try and look up how to do so after the next release.

hadley commented 1 month ago

You can just call usethis::git_default_branch_rename(). It will break existing PRs though.

MichaelChirico commented 1 month ago

Hmm, now's a good time to do it -- queue is basically clear.

MichaelChirico commented 1 month ago
Error in `usethis::git_default_branch_rename()`:
✖ You don't seem to have admin permissions for the source repo "r-lib/bit64", which is required to rename the default branch.
Run `rlang::last_trace()` to see where the error occurred.
hadley commented 1 month ago

Done!

hadley commented 1 month ago

(I'm also happy to give you admin permission if you want them)

MichaelChirico commented 1 month ago

(I'm also happy to give you admin permission if you want them)

I think that makes sense. ditto for {bit}

hadley commented 1 month ago

Done!

MichaelChirico commented 1 month ago

@hadley IIUC I need you to update the default branch that appears on codecov.io as well.

You should see a 'Configuration > General > Branch Context' flow here: https://app.codecov.io/gh/r-lib/bit64 (ditto for {bit}).

Please and thanks!

hadley commented 1 month ago

Done!