Old git refs moved?

I have a mirror of https://perl5.git.perl.org/perl5.git that stopped
updating at some point, partly because this branch was unexpectedly
rebased:

     ! [rejected]              maint-5.004 -> maint-5.004 (non-fast-forward)

and these tags moved:

     ! [rejected]              GitLive-blead -> GitLive-blead (already exists)
     ! [rejected]              GitLive-maint-5.004 -> GitLive-maint-5.004 (already exists)
     ! [rejected]              perl-5.004_04 -> perl-5.004_04 (already exists)
     ! [rejected]              perl-5.004_05 -> perl-5.004_05 (already exists)
     ! [rejected]              perl-5.7.3 -> perl-5.7.3 (already exists)
     ! [rejected]              perl-5.9.0 -> perl-5.9.0 (already exists)
     ! [rejected]              perl-5.9.1 -> perl-5.9.1 (already exists)
     ! [rejected]              perl-5.9.2 -> perl-5.9.2 (already exists)
     ! [rejected]              perl-5.9.3 -> perl-5.9.3 (already exists)
     ! [rejected]              perl-5.9.4 -> perl-5.9.4 (already exists)
     ! [rejected]              perl-5.9.5 -> perl-5.9.5 (already exists)
     ! [rejected]              the_answer -> the_answer (already exists)
     ! [rejected]              timinator -> timinator (already exists)
     ! [rejected]              timinatorII -> timinatorII (already exists)

All the references now point to commits with the same tree as
previously but different history.  For example, with the old perl-5.9.0 
tag:

$ git rev-parse perl-5.9.0
ea4fd6daa1f959fe03730a32d225d60585be9797
$ git cat-file commit perl-5.9.0 | head -1
tree 1cc3cfcb9af77981e5ef3082ad3724b081844e32
$ git rev-list blead..perl-5.9.0 | wc -l
0

i.e. perl-5.9.0 is an ancestor of blead as expected.  However with the
current tag:

$ git rev-parse perl-5.9.0
61bbcc3435c16cf27be37b015ff0520ae1cb770b
$ git cat-file commit perl-5.9.0 | head -1
tree 1cc3cfcb9af77981e5ef3082ad3724b081844e32
$ git rev-list blead..perl-5.9.0 | wc -l
17931

i.e. its history is almost entirely different.

Is this a known problem?  What happened?

Ben.

-- 
Ben Hutchings, Software Developer                         Codethink Ltd
https://www.codethink.co.uk/                 Dale House, 35 Dale Street
                                     Manchester, M1 2HF, United Kingdom
0
ben
9/16/2020 3:40:43 PM
perl.perl5.porters 48205 articles. 1 followers. Follow

3 Replies
2 Views

Similar Articles

[PageSpeed] 6

--000000000000240f1605af702a8e
Content-Type: text/plain; charset="UTF-8"

On Wed, Sep 16, 2020 at 11:40 AM Ben Hutchings <
ben.hutchings@codethink.co.uk> wrote:

> I have a mirror of https://perl5.git.perl.org/perl5.git that stopped
> updating at some point, partly because this branch was unexpectedly
> rebased:
>
>      ! [rejected]              maint-5.004 -> maint-5.004
> (non-fast-forward)
>
> and these tags moved:
>
>      ! [rejected]              GitLive-blead -> GitLive-blead (already
> exists)
>      ! [rejected]              GitLive-maint-5.004 -> GitLive-maint-5.004
> (already exists)
>      ! [rejected]              perl-5.004_04 -> perl-5.004_04 (already
> exists)
>      ! [rejected]              perl-5.004_05 -> perl-5.004_05 (already
> exists)
>      ! [rejected]              perl-5.7.3 -> perl-5.7.3 (already exists)
>      ! [rejected]              perl-5.9.0 -> perl-5.9.0 (already exists)
>      ! [rejected]              perl-5.9.1 -> perl-5.9.1 (already exists)
>      ! [rejected]              perl-5.9.2 -> perl-5.9.2 (already exists)
>      ! [rejected]              perl-5.9.3 -> perl-5.9.3 (already exists)
>      ! [rejected]              perl-5.9.4 -> perl-5.9.4 (already exists)
>      ! [rejected]              perl-5.9.5 -> perl-5.9.5 (already exists)
>      ! [rejected]              the_answer -> the_answer (already exists)
>      ! [rejected]              timinator -> timinator (already exists)
>      ! [rejected]              timinatorII -> timinatorII (already exists)
>
> All the references now point to commits with the same tree as
> previously but different history.  For example, with the old perl-5.9.0
> tag:
>
> $ git rev-parse perl-5.9.0
> ea4fd6daa1f959fe03730a32d225d60585be9797
> $ git cat-file commit perl-5.9.0 | head -1
> tree 1cc3cfcb9af77981e5ef3082ad3724b081844e32
> $ git rev-list blead..perl-5.9.0 | wc -l
> 0
>
> i.e. perl-5.9.0 is an ancestor of blead as expected.  However with the
> current tag:
>
> $ git rev-parse perl-5.9.0
> 61bbcc3435c16cf27be37b015ff0520ae1cb770b
> $ git cat-file commit perl-5.9.0 | head -1
> tree 1cc3cfcb9af77981e5ef3082ad3724b081844e32
> $ git rev-list blead..perl-5.9.0 | wc -l
> 17931
>
> i.e. its history is almost entirely different.
>
> Is this a known problem?  What happened?
>

(Resent to list)

Regarding the 5.004 branch, see
https://www.nntp.perl.org/group/perl.perl5.porters/2019/10/msg256484.html -
a corrupt commit (outside blead) was fixed so that the source could be
migrated to github.

-Dan

--000000000000240f1605af702a8e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Wed, Sep 16, 2020 at 11:40 AM Ben Hutc=
hings &lt;<a href=3D"mailto:ben.hutchings@codethink.co.uk">ben.hutchings@co=
dethink.co.uk</a>&gt; wrote:<br></div><div class=3D"gmail_quote"><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex">I have a mirror of <a href=3D"https=
://perl5.git.perl.org/perl5.git" rel=3D"noreferrer" target=3D"_blank">https=
://perl5.git.perl.org/perl5.git</a> that stopped<br>
updating at some point, partly because this branch was unexpectedly<br>
rebased:<br>
<br>
=C2=A0 =C2=A0 =C2=A0! [rejected]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 maint-5.004 -&gt; maint-5.004 (non-fast-forward)<br>
<br>
and these tags moved:<br>
<br>
=C2=A0 =C2=A0 =C2=A0! [rejected]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 GitLive-blead -&gt; GitLive-blead (already exists)<br>
=C2=A0 =C2=A0 =C2=A0! [rejected]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 GitLive-maint-5.004 -&gt; GitLive-maint-5.004 (already exists)<br>
=C2=A0 =C2=A0 =C2=A0! [rejected]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 perl-5.004_04 -&gt; perl-5.004_04 (already exists)<br>
=C2=A0 =C2=A0 =C2=A0! [rejected]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 perl-5.004_05 -&gt; perl-5.004_05 (already exists)<br>
=C2=A0 =C2=A0 =C2=A0! [rejected]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 perl-5.7.3 -&gt; perl-5.7.3 (already exists)<br>
=C2=A0 =C2=A0 =C2=A0! [rejected]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 perl-5.9.0 -&gt; perl-5.9.0 (already exists)<br>
=C2=A0 =C2=A0 =C2=A0! [rejected]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 perl-5.9.1 -&gt; perl-5.9.1 (already exists)<br>
=C2=A0 =C2=A0 =C2=A0! [rejected]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 perl-5.9.2 -&gt; perl-5.9.2 (already exists)<br>
=C2=A0 =C2=A0 =C2=A0! [rejected]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 perl-5.9.3 -&gt; perl-5.9.3 (already exists)<br>
=C2=A0 =C2=A0 =C2=A0! [rejected]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 perl-5.9.4 -&gt; perl-5.9.4 (already exists)<br>
=C2=A0 =C2=A0 =C2=A0! [rejected]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 perl-5.9.5 -&gt; perl-5.9.5 (already exists)<br>
=C2=A0 =C2=A0 =C2=A0! [rejected]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 the_answer -&gt; the_answer (already exists)<br>
=C2=A0 =C2=A0 =C2=A0! [rejected]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 timinator -&gt; timinator (already exists)<br>
=C2=A0 =C2=A0 =C2=A0! [rejected]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 timinatorII -&gt; timinatorII (already exists)<br>
<br>
All the references now point to commits with the same tree as<br>
previously but different history.=C2=A0 For example, with the old perl-5.9.=
0 <br>
tag:<br>
<br>
$ git rev-parse perl-5.9.0<br>
ea4fd6daa1f959fe03730a32d225d60585be9797<br>
$ git cat-file commit perl-5.9.0 | head -1<br>
tree 1cc3cfcb9af77981e5ef3082ad3724b081844e32<br>
$ git rev-list blead..perl-5.9.0 | wc -l<br>
0<br>
<br>
i.e. perl-5.9.0 is an ancestor of blead as expected.=C2=A0 However with the=
<br>
current tag:<br>
<br>
$ git rev-parse perl-5.9.0<br>
61bbcc3435c16cf27be37b015ff0520ae1cb770b<br>
$ git cat-file commit perl-5.9.0 | head -1<br>
tree 1cc3cfcb9af77981e5ef3082ad3724b081844e32<br>
$ git rev-list blead..perl-5.9.0 | wc -l<br>
17931<br>
<br>
i.e. its history is almost entirely different.<br>
<br>
Is this a known problem?=C2=A0 What happened?<br></blockquote><div><br></di=
v><div>(Resent to list)</div><div><br></div><div>Regarding the=C2=A0<span c=
lass=3D"gmail-il">5.004</span>=C2=A0branch, see=C2=A0<a href=3D"https://www=
..nntp.perl.org/group/perl.perl5.porters/2019/10/msg256484.html" target=3D"_=
blank">https://www.nntp.perl.org/group/perl.perl5.porters/2019/10/msg256484=
..html</a>=C2=A0- a corrupt commit (outside blead) was fixed so that the sou=
rce could be migrated to github.</div><div><br></div><div>-Dan</div></div><=
/div>

--000000000000240f1605af702a8e--
0
grinnz
9/16/2020 3:45:47 PM
On Wed, 2020-09-16 at 11:45 -0400, Dan Book wrote:
> On Wed, Sep 16, 2020 at 11:40 AM Ben Hutchings <
> ben.hutchings@codethink.co.uk> wrote:
>
> > I have a mirror of https://perl5.git.perl.org/perl5.git that stopped
> > updating at some point, partly because this branch was unexpectedly
> > rebased:

I forgot, and should have mentioned, that I recently updated the
configuration for this mirror to pull from <
https://github.com/perl/perl5.git>.

[...]
> Regarding the 5.004 branch, see
> https://www.nntp.perl.org/group/perl.perl5.porters/2019/10/msg256484.html -
> a corrupt commit (outside blead) was fixed so that the source could be
> migrated to github.

Thanks.  So that explains the branch and at least two of the tags being
different on GitHub.  But many of the tags, including 5.7.3 and 5.9.x,
have moved in the perl5.git.perl.org repo as well.

Ben.

-- 
Ben Hutchings, Software Developer                         Codethink Ltd
https://www.codethink.co.uk/                 Dale House, 35 Dale Street
                                     Manchester, M1 2HF, United Kingdom
0
ben
9/16/2020 6:05:22 PM
--0000000000009e13ed05af724e6f
Content-Type: text/plain; charset="UTF-8"

On Wed, Sep 16, 2020 at 2:05 PM Ben Hutchings <ben.hutchings@codethink.co.uk>
wrote:

> On Wed, 2020-09-16 at 11:45 -0400, Dan Book wrote:
> > On Wed, Sep 16, 2020 at 11:40 AM Ben Hutchings <
> > ben.hutchings@codethink.co.uk> wrote:
> >
> > > I have a mirror of https://perl5.git.perl.org/perl5.git that stopped
> > > updating at some point, partly because this branch was unexpectedly
> > > rebased:
>
> I forgot, and should have mentioned, that I recently updated the
> configuration for this mirror to pull from <
> https://github.com/perl/perl5.git>.
>
> [...]
> > Regarding the 5.004 branch, see
> >
> https://www.nntp.perl.org/group/perl.perl5.porters/2019/10/msg256484.html
> -
> > a corrupt commit (outside blead) was fixed so that the source could be
> > migrated to github.
>
> Thanks.  So that explains the branch and at least two of the tags being
> different on GitHub.  But many of the tags, including 5.7.3 and 5.9.x,
> have moved in the perl5.git.perl.org repo as well.
>

That repo is no longer canonical and is now a mirror of github.

-Dan

--0000000000009e13ed05af724e6f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Wed, Sep 16, 2020 at 2:05 PM Ben Hutch=
ings &lt;<a href=3D"mailto:ben.hutchings@codethink.co.uk">ben.hutchings@cod=
ethink.co.uk</a>&gt; wrote:<br></div><div class=3D"gmail_quote"><blockquote=
 class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so=
lid rgb(204,204,204);padding-left:1ex">On Wed, 2020-09-16 at 11:45 -0400, D=
an Book wrote:<br>
&gt; On Wed, Sep 16, 2020 at 11:40 AM Ben Hutchings &lt;<br>
&gt; <a href=3D"mailto:ben.hutchings@codethink.co.uk" target=3D"_blank">ben=
..hutchings@codethink.co.uk</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; I have a mirror of <a href=3D"https://perl5.git.perl.org/perl5.gi=
t" rel=3D"noreferrer" target=3D"_blank">https://perl5.git.perl.org/perl5.gi=
t</a> that stopped<br>
&gt; &gt; updating at some point, partly because this branch was unexpected=
ly<br>
&gt; &gt; rebased:<br>
<br>
I forgot, and should have mentioned, that I recently updated the<br>
configuration for this mirror to pull from &lt;<br>
<a href=3D"https://github.com/perl/perl5.git" rel=3D"noreferrer" target=3D"=
_blank">https://github.com/perl/perl5.git</a>&gt;.<br>
<br>
[...]<br>
&gt; Regarding the 5.004 branch, see<br>
&gt; <a href=3D"https://www.nntp.perl.org/group/perl.perl5.porters/2019/10/=
msg256484.html" rel=3D"noreferrer" target=3D"_blank">https://www.nntp.perl.=
org/group/perl.perl5.porters/2019/10/msg256484.html</a> -<br>
&gt; a corrupt commit (outside blead) was fixed so that the source could be=
<br>
&gt; migrated to github.<br>
<br>
Thanks.=C2=A0 So that explains the branch and at least two of the tags bein=
g<br>
different on GitHub.=C2=A0 But many of the tags, including 5.7.3 and 5.9.x,=
<br>
have moved in the <a href=3D"http://perl5.git.perl.org" rel=3D"noreferrer" =
target=3D"_blank">perl5.git.perl.org</a> repo as well.<br></blockquote><div=
><br></div><div>That repo is no longer canonical and is now a mirror of git=
hub.</div><div><br></div><div>-Dan=C2=A0</div></div></div>

--0000000000009e13ed05af724e6f--
0
grinnz
9/16/2020 6:19:09 PM
Reply: