Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 2020 11:51:06 +0200
From:      =?UTF-8?Q?Ulrich_Sp=C3=B6rlein?= <uqs@freebsd.org>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Please check the current beta git conversions
Message-ID:  <CAJ9axoSX6Ht7wi6kO3SeCS_qxnPNBddVZnE-nES5o66ha2opdg@mail.gmail.com>
In-Reply-To: <20201005172121.R1j6h%steffen@sdaoden.eu>
References:  <20200903191410.sgjUQ%steffen@sdaoden.eu> <20200926195056.1QqEB%steffen@sdaoden.eu> <20201003221407.ZnssQ%steffen@sdaoden.eu> <EFE45CBF-74EC-47E0-98B9-6C52B2E6E338@iitbombay.org> <CAJ9axoRBTz89y6v%2BLVjdM-FgfEbk8GHVy=TeK0xKNCY089Oaxg@mail.gmail.com> <20201005172121.R1j6h%steffen@sdaoden.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 5, 2020 at 7:21 PM Steffen Nurpmeso <steffen@sdaoden.eu> wrote:

> Ulrich Sp=C3=B6rlein wrote in
>  <CAJ9axoRBTz89y6v+LVjdM-FgfEbk8GHVy=3DTeK0xKNCY089Oaxg@mail.gmail.com>:
>  |On Sun, Oct 4, 2020 at 1:53 AM Bakul Shah <bakul@iitbombay.org> wrote:
>  |> git clone --bare https://cgit-beta.freebsd.org/src.git
>  |> cd src.git
>  |> git fetch origin 'refs/notes/*:refs/notes/origin/*' # <<< not sure
> about
>  |> this....
>  |>         # don't recall if I manually added the second fetch line in t=
he
>  |> config file.
>  |>         # but notes get fetched fine; though I don't understand why \
>  |>         100MB+
>  |> get
>  |>         # downloaded every time even though only a few files change.
>  |
>  |This is a quirk of the conversion. We have to patch up several tags
>  |post-conversion, which patches up their notes, but that happens after t=
he
>  |full conversion is done. Notes are just 1 long linear branch, which ...
>  |well, is unfortunate. So essentially every update to the repo changes t=
he
>  |last couple hundred of hashes for the commit notes
> objects/tree/DAG/linear
>  |train. They always need to get force-pushed upstream and you always hav=
e
> to
>  |re-fetch quite a bunch of them.
>
> I was astonished to see third-to-last commit on my notes is from
> Dag-Erling Sm=C3=B8rgrav "+svn path=3D/vendor-crypto/openssh/5.8p2/;
> revision=3D221485; tag=3Dvendor/openssh/5.8p2".
>
>  |This will all cease with the final transition, obviously.
>
> I guess they will simply vanish and i could remove the reference
> from my config already today?
>
>
They will not vanish. They are there to map git commits back to SVN
revisions.
What will change is that they'll never change again and are just a static,
eternal record
of that mapping.

Of course, freebsd committers can then in the future push their own notes
(but not force-push them) , but it's not clear what you would want to put
into them?

If you don't have a need to ever map git <-> svn commits, then you don't
need to fetch
them indeed.

hth
Uli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ9axoSX6Ht7wi6kO3SeCS_qxnPNBddVZnE-nES5o66ha2opdg>