Hi Denys,

There does seem to be a branch confusingly named 'HEAD' in the official
repo on git.yoctoproject.org. It is not like this in other repos hosted on
git.yoctoproject.org, as far as I can tell, or in the arago-project repo on
git.ti.com. Could it be from some sort of CI/CD that has added it? Or is
meta-ti actually using it for something?

A branch named HEAD is listed here:

https://git.yoctoproject.org/meta-ti/refs/

Which does not exist here:

https://git.ti.com/cgit/arago-project/meta-ti/refs/

Thanks,
Kevin

On Wed, Oct 4, 2023 at 6:31 AM Boettger, Heiko <[email protected]>
wrote:

> I don't get what you want to say about the repository being old, we are 
> cloning
> from git://git.yoctoproject.org/meta-ti.
>
>
>
> ------------------------------
> *Von:* [email protected] <[email protected]> im
> Auftrag von Denys Dmytriyenko <[email protected]>
> *Gesendet:* Dienstag, 3. Oktober 2023 15:39
> *An:* Boettger, Heiko <[email protected]>
> *Cc:* [email protected] <[email protected]>
> *Betreff:* [Ext] Re: [meta-ti] Unable to mirror meta-ti due to
> branch-name HEAD forbidden in git since Nov 2019
>
> On Tue, Oct 03, 2023 at 09:23:13AM +0000, Boettger, Heiko wrote:
> > Hi,
> >
> > there was a recent change in git that doesn't allow to use `HEAD` as a
> > branch name . Is it possible to remove the branch? The ref HEAD should
> still
> > be there. No other repository seems to have such a branch and we
> currently
> > face issues mirroring the meta-ti repository where GitLab refuses to
> accept
> > `HEAD` as a valid branch name.
> >
> > See also
> >
> https://urldefense.com/v3/__https://docs.gitlab.com/ee/user/project/repository/branches/*error-ambiguous-head-branch-exists__;Iw!!Lw1uGqvHvtJ_psGG2Et-1voSwbo!cgQTL5gAfQDW2rjVe-STfnMn7ciE__hTinZmRKZOS0XG_vsvyKtq0jDMl4TUN4WQ0syNzTxUcVVfniHAMYrb$
>
> > where GitLab states that this change was introduced in git 2.16.0
> (around 4
> > years ago).
>
> meta-ti already has many official public and non-public mirrors - from
>
> https://urldefense.com/v3/__http://git.yoctoproject.org__;!!Lw1uGqvHvtJ_psGG2Et-1voSwbo!cgQTL5gAfQDW2rjVe-STfnMn7ciE__hTinZmRKZOS0XG_vsvyKtq0jDMl4TUN4WQ0syNzTxUcVVfnp3ytjCP$
> , to
> https://urldefense.com/v3/__http://git.ti.com__;!!Lw1uGqvHvtJ_psGG2Et-1voSwbo!cgQTL5gAfQDW2rjVe-STfnMn7ciE__hTinZmRKZOS0XG_vsvyKtq0jDMl4TUN4WQ0syNzTxUcVVfnkZYHCwN$
> , to internal bitbucket, etc.
>
> What you are doing is a local clone or even a fork, even if you are using
> it as a local mirror for your project. I would refrain from calling it a
> mirror in public due to possible confusion.
>
> The existing official mirrors are all push based and are always
> up-to-date.
> Where your copy is pull based and depends on how often and for how long
> you are going to update it.
>
> This has happened in the past, where people would make claims in public
> that meta-ti is dead and no longer maintained, as it hasn't been updated
> in years, linking to some obscure fork on github or gitlab that they came
> across somehow...
>
> --
> Denys
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17061): 
https://lists.yoctoproject.org/g/meta-ti/message/17061
Mute This Topic: https://lists.yoctoproject.org/mt/101730551/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to