abseil / abseil-cpp

Abseil Common Libraries (C++)
https://abseil.io
Apache License 2.0
14.76k stars 2.58k forks source link

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

Open devjgm opened 4 years ago

devjgm commented 4 years ago

... 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

tituswinters commented 4 years ago

+100, thanks for the reminder.

On Fri, Jun 12, 2020 at 2:44 PM Greg Miller notifications@github.com 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.

devjgm commented 4 years ago

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.

katzdm commented 2 years ago

Friendly ping :)

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

derekmauro commented 2 years ago

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.

devjgm commented 2 years ago

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

dinord commented 2 years ago

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.