Yocto Project Discussions
 help / color / mirror / Atom feed
* Add redirect git.y.o/git/... -> /...
@ 2026-06-30  6:30 Jörg Sommer
  2026-06-30  6:42 ` [yocto] " Marko, Peter
  2026-07-10  9:16 ` Carlos Alberto Lopez Perez
  0 siblings, 2 replies; 6+ messages in thread
From: Jörg Sommer @ 2026-06-30  6:30 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 569 bytes --]

Hi,

would it be possible to set up a permanent redirect from
https://git.yoctoproject.org/git/(.*) to https://git.yoctoproject.org/$1? We
have some older releases that can no longer be built because the /git/
repositories can no longer be found. It would be great if such a redirect
could be set up.


Best regards, Jörg

-- 
Navimatix GmbH           T: 03641 - 327 99 0
Tatzendpromenade 2       F: 03641 - 526 306
07745 Jena               www.navimatix.de

Geschäftsführer: Steffen Späthe, Jan Rommeley
Registergericht: Amtsgericht Jena, HRB 501480

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5000 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [yocto] Add redirect git.y.o/git/... -> /...
  2026-06-30  6:30 Add redirect git.y.o/git/... -> / Jörg Sommer
@ 2026-06-30  6:42 ` Marko, Peter
  2026-07-10  9:16 ` Carlos Alberto Lopez Perez
  1 sibling, 0 replies; 6+ messages in thread
From: Marko, Peter @ 2026-06-30  6:42 UTC (permalink / raw)
  To: yocto@lists.yoctoproject.org, joerg.sommer@navimatix.de

You could possibly locally use git feature insteadOf to overcome this.

Something like (untested):
git config --global url."https://git.yoctoproject.org/".insteadOf "https://git.yoctoproject.org/git/"

Peter

> -----Original Message-----
> From: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org> On Behalf Of
> Jörg Sommer via lists.yoctoproject.org
> Sent: Tuesday, June 30, 2026 8:31 AM
> To: yocto@lists.yoctoproject.org
> Subject: [yocto] Add redirect git.y.o/git/... -> /...
> 
> Hi,
> 
> would it be possible to set up a permanent redirect from
> https://git.yoctoproject.org/git/(.*) to https://git.yoctoproject.org/$1? We
> have some older releases that can no longer be built because the /git/
> repositories can no longer be found. It would be great if such a redirect
> could be set up.
> 
> 
> Best regards, Jörg
> 
> --
> Navimatix GmbH           T: 03641 - 327 99 0
> Tatzendpromenade 2       F: 03641 - 526 306
> 07745 Jena               www.navimatix.de
> 
> Geschäftsführer: Steffen Späthe, Jan Rommeley
> Registergericht: Amtsgericht Jena, HRB 501480


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [yocto] Add redirect git.y.o/git/... -> /...
  2026-06-30  6:30 Add redirect git.y.o/git/... -> / Jörg Sommer
  2026-06-30  6:42 ` [yocto] " Marko, Peter
@ 2026-07-10  9:16 ` Carlos Alberto Lopez Perez
  2026-07-10 14:04   ` Duane Ellis
  1 sibling, 1 reply; 6+ messages in thread
From: Carlos Alberto Lopez Perez @ 2026-07-10  9:16 UTC (permalink / raw)
  To: yocto, joerg.sommer

On 30/06/2026 08:30, Jörg Sommer via lists.yoctoproject.org wrote:
> Hi,
> 
> would it be possible to set up a permanent redirect from
> https://git.yoctoproject.org/git/(.*) to https://git.yoctoproject.org/$1? We
> have some older releases that can no longer be built because the /git/
> repositories can no longer be found. It would be great if such a redirect
> could be set up.
> 
> 
> Best regards, Jörg
> 
+1

We have been also bitten by this [1]

I usually don't complain in public, but this time I have to voice my
frustration about how git.yoctoproject.org is handled.

First it was the removal of the git:// access, and now the path to the
repositories changes (/$repo instead of /git/$repo) without a redirect
in place.

There are CIs, automated process and repos everywhere than depends on
this URIs, please when doing changes like this try to do an extra effort
to keep the old URIs also working if possible.

Thanks.


[1] https://bugs.webkit.org/show_bug.cgi?id=319082


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [yocto] Add redirect git.y.o/git/... -> /...
  2026-07-10  9:16 ` Carlos Alberto Lopez Perez
@ 2026-07-10 14:04   ` Duane Ellis
  2026-07-10 15:16     ` Carlos Alberto Lopez Perez
  0 siblings, 1 reply; 6+ messages in thread
From: Duane Ellis @ 2026-07-10 14:04 UTC (permalink / raw)
  To: yocto@lists.yoctoproject.org, clopez@igalia.com,
	joerg.sommer@navimatix.de

[-- Attachment #1: Type: text/plain, Size: 1723 bytes --]

I agree with you - it is painful when things break.

Meanwhile you might check out the “git-instead-of” feature of git.
Google the term: “git url replacement” or “git insteadOf”

We do this to repoint URLS from an external un-controlled site to an internal company controlled mirror.




From: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org> on behalf of Carlos Alberto Lopez Perez via lists.yoctoproject.org <clopez=igalia.com@lists.yoctoproject.org>
Date: Friday, July 10, 2026 at 2:17 AM
To: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org>; joerg.sommer@navimatix.de <joerg.sommer@navimatix.de>
Subject: Re: [yocto] Add redirect git.y.o/git/... -> /...

On 30/06/2026 08:30, Jörg Sommer via lists.yoctoproject.org wrote:
> Hi,
>
> would it be possible to set up a permanent redirect from
> https://git.yoctoproject.org/git/(.*) to https://git.yoctoproject.org/$1? We
> have some older releases that can no longer be built because the /git/
> repositories can no longer be found. It would be great if such a redirect
> could be set up.
>
>
> Best regards, Jörg
>
+1

We have been also bitten by this [1]

I usually don't complain in public, but this time I have to voice my
frustration about how git.yoctoproject.org is handled.

First it was the removal of the git:// access, and now the path to the
repositories changes (/$repo instead of /git/$repo) without a redirect
in place.

There are CIs, automated process and repos everywhere than depends on
this URIs, please when doing changes like this try to do an extra effort
to keep the old URIs also working if possible.

Thanks.


[1] https://bugs.webkit.org/show_bug.cgi?id=319082

[-- Attachment #2: Type: text/html, Size: 4269 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [yocto] Add redirect git.y.o/git/... -> /...
  2026-07-10 14:04   ` Duane Ellis
@ 2026-07-10 15:16     ` Carlos Alberto Lopez Perez
  2026-07-10 20:35       ` Michael Halstead
  0 siblings, 1 reply; 6+ messages in thread
From: Carlos Alberto Lopez Perez @ 2026-07-10 15:16 UTC (permalink / raw)
  To: Duane Ellis, yocto@lists.yoctoproject.org,
	joerg.sommer@navimatix.de

On 10/07/2026 16:04, Duane Ellis wrote:
> I agree with you - it is painful when things break.
> 
> Meanwhile you might check out the “git-instead-of” feature of git.
> Google the term: “git url replacement” or “git insteadOf”
> 
> We do this to repoint URLS from an external un-controlled site to an internal company controlled mirror.
> 

Thanks for the suggestion.

Unfortunately that won't help for my use case, which is using the "repo"
tool with a xml manifest on a uncontrolled environment to fetch a set of
repos containing Yocto layers and then automatically build a SDK.

I already fixed it by updating the xml files to point to the new URIs,
but things were broken until I noticed the breakage and did the update.

I have worked as sysadmin in the past and is not that hard to add some
redirections on Apache or Nginx to keep the old URIs working.
By not doing that, the result is that some third-party CIs broke and
several users got annoyed. I really hope next time this can be avoided.

Thanks.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [yocto] Add redirect git.y.o/git/... -> /...
  2026-07-10 15:16     ` Carlos Alberto Lopez Perez
@ 2026-07-10 20:35       ` Michael Halstead
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Halstead @ 2026-07-10 20:35 UTC (permalink / raw)
  To: yocto, clopez; +Cc: Duane Ellis, joerg.sommer@navimatix.de

[-- Attachment #1: Type: text/plain, Size: 2205 bytes --]

Hello,

The git:// protocol is no longer available and we announced its deprecation
almost a decade ago so people had time to prepare. However the
https://git.yoctoproject.org/git/ style URIs are still supposed to work.
This is a frustrating bug. A single mirror was missing the mapping, which I
have now added. All the others were already working correctly.

If the problem persists please email helpdesk@yoctoproject.org for more
troubleshooting.

On Fri, Jul 10, 2026 at 8:16 AM Carlos Alberto Lopez Perez via
lists.yoctoproject.org <clopez=igalia.com@lists.yoctoproject.org> wrote:

> On 10/07/2026 16:04, Duane Ellis wrote:
> > I agree with you - it is painful when things break.
> >
> > Meanwhile you might check out the “git-instead-of” feature of git.
> > Google the term: “git url replacement” or “git insteadOf”
> >
> > We do this to repoint URLS from an external un-controlled site to an
> internal company controlled mirror.
> >
>
> Thanks for the suggestion.
>
> Unfortunately that won't help for my use case, which is using the "repo"
> tool with a xml manifest on a uncontrolled environment to fetch a set of
> repos containing Yocto layers and then automatically build a SDK.
>
> I already fixed it by updating the xml files to point to the new URIs,
> but things were broken until I noticed the breakage and did the update.
>
> I have worked as sysadmin in the past and is not that hard to add some
> redirections on Apache or Nginx to keep the old URIs working.
> By not doing that, the result is that some third-party CIs broke and
> several users got annoyed. I really hope next time this can be avoided.
>
> Thanks.
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#66634):
> https://lists.yoctoproject.org/g/yocto/message/66634
> Mute This Topic: https://lists.yoctoproject.org/mt/120043228/1003190
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [
> mhalstead@linuxfoundation.org]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

-- 
Michael Halstead (he/him)
Linux Foundation / Yocto Project
Staff IT Engineer

[-- Attachment #2: Type: text/html, Size: 3371 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-07-10 20:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-30  6:30 Add redirect git.y.o/git/... -> / Jörg Sommer
2026-06-30  6:42 ` [yocto] " Marko, Peter
2026-07-10  9:16 ` Carlos Alberto Lopez Perez
2026-07-10 14:04   ` Duane Ellis
2026-07-10 15:16     ` Carlos Alberto Lopez Perez
2026-07-10 20:35       ` Michael Halstead

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox