public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Carlos O'Donell <carlos@redhat.com>
To: Joseph Myers <joseph@codesourcery.com>,
	libc-alpha <libc-alpha@sourceware.org>
Subject: Re: Rename "master" branch to "main"?
Date: Thu, 21 Jan 2021 14:37:30 -0500	[thread overview]
Message-ID: <7b395b7f-c0ed-1603-883b-d9599ccc4ce9@redhat.com> (raw)
In-Reply-To: <YAm0mPVzN2XLvzMf@vapier>

On 1/21/21 12:06 PM, Mike Frysinger wrote:
> On 21 Jan 2021 08:30, Carlos O'Donell via Libc-alpha wrote:
>> On 1/20/21 7:23 PM, Mike Frysinger wrote:
>>> On 20 Jan 2021 08:49, Carlos O'Donell via Libc-alpha wrote:
>>>> Having said that, I don't know how to do
>>>> a redirect to keep old branches working (though I've seen it done in
>>>> Fedora when we wholesale moved from /foo to /rpms/foo).
>>>
>>> what branches are you thinking of ?  the old release branches ?  tbh, i
>>> think we should just look forward.  lets focus on refs/heads/master ->
>>> refs/heads/main.  changing that branch requires updating hooks and such,
>>> but no other branches should break.
>>
>> I am only thinking of master->main. Consensus was not to change any release
>> branches.
>>
>> I would like the master->main transition be possible to do with a redirection
>> so we don't break existing checkouts and scripts.
>>
>> I think that transition can be done with redirection because I saw something
>> like this done in Fedora, but I haven't reviewed the solution.
> 
> i noted earlier that i was able to set up a redirect on my server:
> 	$ cat refs/heads/master
> 	ref: refs/heads/main
> 
> setting up a redirect to ease people/scripts over to "main" sounds great,
> but imo, we shouldn't leave it there forever.  scripts will need to change.
> if the point is to bury master, leaving it as a perm symlink defeats that.

I think Fedora left the link there for a year. That's fine with me. We also
announce it far and wide that it's changing. When the link was in place in
Fedora git kept issuing an annoying message reminding you it was doing
a redirect and that was useful to remind you to update your repo.
 
>> The problem of redirecting one branch, or all branches is effectively the
>> same problem just solved once (and then solved later again if we want).
> 
> right, i just wanted to make sure we weren't going to stall waiting for a
> complete solution for everything when we have a path for refs/heads/master.
> 
> for the wiki page, doesn't seem like we've been great at organizing into
> namespaces.  we do have "GlibcGit" though, so maybe the page would be:
> 	https://sourceware.org/glibc/wiki/GlibcGit/MigrationToMain

Sure.
 
> if that sounds fine, i can populate it with the content we've already
> produced in these threads.  obviously the real work is left to an admin
> (i.e. you) as the rest of can only backseat drive ;).

Having a checklist is *immensely* helpful.

-- 
Cheers,
Carlos.


  reply	other threads:[~2021-01-21 19:37 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-30 18:10 Carlos O'Donell
2020-06-30 18:35 ` Paul Eggert
2020-06-30 20:16   ` Carlos O'Donell
2020-06-30 21:08     ` Paul Eggert
2020-06-30 18:59 ` Florian Weimer
2020-06-30 20:14   ` Carlos O'Donell
2020-07-01  9:38     ` Florian Weimer
2020-07-03 15:26   ` Richard Earnshaw
2020-07-03 15:33     ` Carlos O'Donell
2020-06-30 21:24 ` Joseph Myers
2020-06-30 21:44   ` Carlos O'Donell
2020-06-30 22:56     ` Joseph Myers
2020-06-30 22:59 ` DJ Delorie
2020-07-01  7:17   ` Andreas Schwab
2020-07-01 15:42     ` Carlos O'Donell
2020-07-01 12:29   ` Adhemerval Zanella
2020-07-01 12:49     ` Carlos O'Donell
2020-07-01 13:41       ` Adhemerval Zanella
2020-07-01 16:15   ` Carlos O'Donell
2020-07-01 17:45     ` DJ Delorie
2020-07-01 18:29       ` Paul Eggert
2020-07-01 18:43         ` DJ Delorie
2020-07-02 15:40 ` Zack Weinberg
2020-07-02 16:00   ` Florian Weimer
2020-07-02 16:36   ` Joseph Myers
2020-07-02 20:46     ` Paul Eggert
2020-07-04 16:43     ` Zack Weinberg
2020-07-02 20:58   ` Michael Kerrisk
2020-07-03 15:20     ` Carlos O'Donell
2020-07-04 16:52     ` Pseudoterminal terminology (was Re: Rename "master" branch to "main"?) Zack Weinberg
2020-07-05 14:54       ` J William Piggott
2020-07-06  9:18         ` Michael Kerrisk (man-pages)
2020-07-06  9:13       ` Michael Kerrisk (man-pages)
2020-07-27 20:32         ` Michael Kerrisk (man-pages)
2020-07-27 20:52           ` enh
2020-07-27 20:55             ` enh
2020-07-27 20:59               ` Florian Weimer
2020-07-27 22:48                 ` enh
2020-07-28 15:26             ` Michael Kerrisk (man-pages)
2020-07-28 15:32               ` Florian Weimer
2020-07-28 15:44                 ` enh
2020-07-28 19:16                 ` Michael Kerrisk (man-pages)
2020-07-28 19:18                   ` enh
2020-07-28 18:47               ` enh
2020-07-28 19:27                 ` Michael Kerrisk (man-pages)
2020-07-28 19:33                   ` enh
2020-07-03 15:22 ` Rename "master" branch to "main"? Richard Earnshaw
2020-07-03 15:37   ` Carlos O'Donell
2020-07-13 15:14 ` Carlos O'Donell
2021-01-14  9:21 ` Mike Frysinger
2021-01-14 11:17   ` Siddhesh Poyarekar
2021-01-14 17:54   ` Joseph Myers
2021-01-14 20:56     ` Carlos O'Donell
2021-01-14 21:42       ` Mike Frysinger
2021-01-20 13:49         ` Carlos O'Donell
2021-01-21  0:23           ` Mike Frysinger
2021-01-21 13:30             ` Carlos O'Donell
2021-01-21 13:57               ` Andreas Schwab
2021-01-21 17:06               ` Mike Frysinger
2021-01-21 19:37                 ` Carlos O'Donell [this message]
2021-01-21 20:19                   ` Andreas Schwab
2021-01-22  2:32                   ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7b395b7f-c0ed-1603-883b-d9599ccc4ce9@redhat.com \
    --to=carlos@redhat.com \
    --cc=joseph@codesourcery.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).