Re: [yocto] Add redirect git.y.o/git/... -> /...

Carlos Alberto Lopez Perez <[email protected]> Fri, 10 Jul 2026 17:16:28 +0200
Newsgroups org.yoctoproject.lists.yocto
Organization Igalia S.L.
Message-ID <[email protected]>
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.