From owner-freebsd-git@freebsd.org Sun Dec 27 17:16:34 2020 Return-Path: Delivered-To: freebsd-git@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5BF1A4C0878 for ; Sun, 27 Dec 2020 17:16:34 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4D3nQp250fz4r4S for ; Sun, 27 Dec 2020 17:16:34 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 45C684C0877; Sun, 27 Dec 2020 17:16:34 +0000 (UTC) Delivered-To: git@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 458A14C0876 for ; Sun, 27 Dec 2020 17:16:34 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (glebi.us [162.251.186.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "cell.glebi.us", Issuer "cell.glebi.us" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D3nQn6BBqz4r7P; Sun, 27 Dec 2020 17:16:33 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (localhost [127.0.0.1]) by cell.glebi.us (8.16.1/8.16.1) with ESMTPS id 0BRHGPcY001373 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 27 Dec 2020 09:16:25 -0800 (PST) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.glebi.us (8.16.1/8.16.1/Submit) id 0BRHGPrM001372; Sun, 27 Dec 2020 09:16:25 -0800 (PST) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.glebi.us: glebius set sender to glebius@freebsd.org using -f Date: Sun, 27 Dec 2020 09:16:25 -0800 From: Gleb Smirnoff To: Ulrich =?iso-8859-1?Q?Sp=F6rlein?= Cc: git@freebsd.org Subject: Re: Please review: suggested final merge commit on the legacy repo Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="VP4tQn3aA4IokocB" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 4D3nQn6BBqz4r7P X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:27348, ipnet:162.251.186.0/24, country:US] X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Dec 2020 17:16:34 -0000 --VP4tQn3aA4IokocB Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Ulrich, On Sat, Dec 26, 2020 at 01:38:10PM +0100, Ulrich Spörlein wrote: U> Hi folks, U> please have a look at the suggested merge commit, that merges master and U> main, which should allow folks that have significant work on the old U> hashes to: U> U> git remote add freebsd-legacy https://github.com/freebsd/freebsd-legacy.git && git fetch freebsd-legacy U> U> git merge freebsd-legacy/master (this should work mostly conflict free U> git merge 3cc0c0d66a065554459bd2f9b4f80cc07426464a (this is the main at the state of what legacy master is) U> U> and then they have a shared ancestry (though twice the commits). U> U> For rebase based workflows, rebasing onto legacy master should similarly U> work mostly conflict free, then they should be able to rebase onto U> 3cc0c0d66a065554459bd2f9b4f80cc07426464a sans any conflicts and finally U> rebase onto freebsd/main with the usual set of newly introduced U> conflicts. U> U> The wiki still needs updates to the final hashes now, something I'll do U> at some point. U> U> Ideally, we can push this final commit to master before New Years and U> then we can start mirroring the new main/stable/releng into GH. master U> will be garbage collected at some future date. Here is suggested text. -- Gleb Smirnoff --VP4tQn3aA4IokocB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="11f284b67940-commit.txt" commit 11f284b67940bcacb2f618858b901e9254ef5992 Merge: 9e4440ca5ba7 3cc0c0d66a06 Author: Gleb Smirnoff AuthorDate: Wed Dec 23 22:44:48 2020 -0800 Commit: Gleb Smirnoff CommitDate: Sun Dec 27 09:15:53 2020 -0800 !!! IMPORTANT ANNOUNCEMENT !!! This commit is the last commit to the legacy FreeBSD github mirror, that used to import data from official FreeBSD subversion and resided at https://github.com/freebsd/freebsd.git. The new FreeBSD github mirror imports data from official FreeBSD git. The history in the new git tree is different to the legacy one. Thus, if you were using the legacy tree to base your work on, you need to migrate. This commit merges the legacy tree and the new tree together. This will allow you to migrate without rebasing. Once you pulled in this commit and merged it to your tree, you need to switch to the new remote and from now on merge from it. The following example assumes your current remote for FreeBSD is named 'FreeBSD': % git remote rename FreeBSD legacy % git remote add FreeBSD anongit@git.freebsd.org:src.git % git fetch legacy/master % git rev-parse legacy/master # shall return this commit! % git merge legacy/master # the last merge from legacy % git remote delete legacy % git fetch FreeBSD/main % git merge FreeBSD/main # the way to merge from now on % git gc # you may want to run this once after the first merge Please consult with https://github.com/freebsd/git_conv/wiki/Migrating-merge-based-project-from-legacy-git-tree for any changes for the above instructions in the future. --VP4tQn3aA4IokocB--