Skip to content

Commit

Permalink
mirrors.bbclass: provide additional rule for git repo fallbacks
Browse files Browse the repository at this point in the history
Git hosting servers that require a slightly different URL when accessing
repositories via https protocol instead of the git native protocol
are not uncommon (servers using cgit as web UI). Provide a general rule
to try HOST/git/PATH via https as git repo fallback.

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
  • Loading branch information
Daniel Wagenknecht authored and rpurdie committed Sep 3, 2021
1 parent b4364cc commit 0682697
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meta/classes/mirrors.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,5 @@ git://git.gnome.org/.* git://gitlab.gnome.org/GNOME/PATH;protocol=https \
git://git.savannah.gnu.org/.* git://git.savannah.gnu.org/git/PATH;protocol=https \n \
git://git.yoctoproject.org/.* git://git.yoctoproject.org/git/PATH;protocol=https \n \
git://.*/.* git://HOST/PATH;protocol=https \n \
git://.*/.* git://HOST/git/PATH;protocol=https \n \
"

0 comments on commit 0682697

Please sign in to comment.