From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 53B88384C005 for ; Thu, 21 Jan 2021 17:06:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 53B88384C005 Received: from vapier (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5616D3410B8; Thu, 21 Jan 2021 17:06:33 +0000 (UTC) Date: Thu, 21 Jan 2021 12:06:32 -0500 From: Mike Frysinger To: Carlos O'Donell Cc: Joseph Myers , libc-alpha Subject: Re: Rename "master" branch to "main"? Message-ID: Mail-Followup-To: Carlos O'Donell , Joseph Myers , libc-alpha References: <20210114092156.GK6938@vapier> <5727ea36-898b-6127-bcde-d6bfe2540c23@redhat.com> <20210114214223.GM6938@vapier> <3a4f5a34-3711-19ea-2b06-75b3a98c6246@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2021 17:06:36 -0000 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. > 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 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 ;). -mike