abseil-cpp icon indicating copy to clipboard operation
abseil-cpp copied to clipboard

Consider changing the name of the default branch from 'master' -> 'default'

Open devjgm opened this issue 4 years ago • 6 comments

... or 'main' or something else. FWIW, we're changing the master to default for the google-cloud-cpp repo https://github.com/googleapis/google-cloud-cpp/issues/4393

devjgm avatar Jun 12 '20 18:06 devjgm

+100, thanks for the reminder.

On Fri, Jun 12, 2020 at 2:44 PM Greg Miller [email protected] wrote:

... or 'main' or something else. FWIW, we're changing the master to default for the google-cloud-cpp repo googleapis/google-cloud-cpp#4393 https://github.com/googleapis/google-cloud-cpp/issues/4393

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/abseil/abseil-cpp/issues/711, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7CRX7AJ6CNQD5ZCTEDW6LRWJZSTANCNFSM4N4R5IOQ .

-- *If you get an email from me outside of the 9-5 it is not because I'm always on or expect an immediate response from you; it is because of work flexibility http://www.inc.com/john-boitnott/how-flexible-hours-can-create-a-better-work-life-balance.html . Evening and weekend emails are a sign I allocated some regular working hours for other things (such as family, gym, friends,...). And I encourage you to feel free to do the same.

tituswinters avatar Jun 12 '20 18:06 tituswinters

FWIW, GitHub is working on some changes to make renaming the master branch easier with better support for redirects, etc. More details here: https://github.com/github/renaming/

From that page:

If you haven’t moved yet, we recommend not moving right now, and waiting until later this year. We’re investing in tools to make the renaming the default branch of an existing repository a seamless experience for both maintainers and contributors.

devjgm avatar Aug 03 '20 18:08 devjgm

Friendly ping :)

Btw, looks like the Github tooling Greg mentioned (hi Greg! 👋) is live since January.

katzdm avatar Oct 13 '21 19:10 katzdm

Hey Dan!

As I'm sure you know, this probably isn't as simple as clicking a button or running a few commands. I'm guessing this will break our export workflow in some way.

Fortunately, @dinord is also looking into making some other updates to our export workflow. This is probably a good opportunity to tackle this one as well.

derekmauro avatar Oct 13 '21 21:10 derekmauro

Also, don't use 'default', use main, which seems to be the new "default" :-)

devjgm avatar Oct 13 '21 21:10 devjgm

As far as I can tell, renaming the default branch would only trivially break our internal import workflow. And the fix is a one liner.
Feel free to proceed with the change and notify me and the release manager.

dinord avatar Oct 25 '21 18:10 dinord