tidyverse / funs

Collection of low-level functions for working with vctrs
Other
34 stars 7 forks source link

Move `master` branch to `main` #71

Closed jennybc closed 2 years ago

jennybc commented 2 years ago

The master branch of this repository will soon be renamed to main, as part of a coordinated change across several GitHub organizations (including, but not limited to: tidyverse, r-lib, tidymodels, and sol-eng). We anticipate this will happen by the end of September 2021.

That will be preceded by a release of the usethis package, which will gain some functionality around detecting and adapting to a renamed default branch. There will also be a blog post at the time of this master --> main change.

The purpose of this issue is to:

message id: euphoric_snowdog

jennybc commented 2 years ago

This repo was selected for an early switch from master to main, to help refine our process for the larger effort. Thank you for your service!

When we scale this up to all ~350 repos, there will be a public announcement pointing to a blog post about this change, pointing out the usethis functions available to package maintainers and contributors to support default branch renaming.

In the meantime, this blog post is available in draft form and can be read here. Here's the TL;DR:

  1. Update usethis with:
    install.packages("usethis")

    Or maybe even get the dev version with:

    devtools::install_github("r-lib/usethis")

    Or with:

    pak::pkg_install("r-lib/usethis")

    since I am making a few improvements based on this pilot study and will soon do a patch release. You want usethis v2.1.0 or higher.

  2. Then do:
    usethis::git_default_branch_rediscover()

message id: sisterly_piglet