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
Signature · 6 lines
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
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
Quoted 25 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Jörg Sommer via lists.yoctoproject.org
Sent: Tuesday, June 30, 2026 8:31 AM
To: [email protected]
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.deGeschäftsführer: Steffen Späthe, Jan Rommeley
Registergericht: Amtsgericht Jena, HRB 501480
Quoted 11 lines · Jörg Sommer via lists.yoctoproject.org
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.
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: [email protected] <[email protected]> on behalf of Carlos Alberto Lopez Perez via lists.yoctoproject.org <[email protected]>
Date: Friday, July 10, 2026 at 2:17 AM
To: [email protected] <[email protected]>; [email protected] <[email protected]>
Subject: Re: [yocto] Add redirect git.y.o/git/... -> /...
Quoted 11 lines · Jörg Sommer via lists.yoctoproject.org
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.
Quoted 7 lines · Duane Ellis
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.
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 [email protected] for more troubleshooting.
Quoted 38 lines · Carlos Alberto Lopez Perez via lists.yoctoproject.org
Quoted 6 lines · Duane Ellis
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.
Quoted 1 line
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: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Michael Halstead (he/him) Linux Foundation / Yocto Project Staff IT Engineer