[oe-commits] [openembedded-core] 04/20: mirrors.bbclass: provide git repo fallbacks using the https protocol

git at git.openembedded.org git at git.openembedded.org
Thu Jul 27 14:07:23 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 9e3130615db027362f7b819c3e20230fa567ef4b
Author: Andre McCurdy <armccurdy at gmail.com>
AuthorDate: Tue Jul 25 17:18:36 2017 -0700

    mirrors.bbclass: provide git repo fallbacks using the https protocol
    
    Use MIRRORS to provide git repo fallbacks using the https protocol,
    for cases where git native protocol fetches may fail due to local
    firewall rules, etc.
    
    These rules should cover all git native repos used by recipes within
    oe-core, with the exception of mtd-utils, for which there's currently
    no upstream alternative to the git native protocol for anonymous
    access ( see http://git.infradead.org/mtd-utils.git ).
    
    Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/mirrors.bbclass | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
index 9b72473..b98684f 100644
--- a/meta/classes/mirrors.bbclass
+++ b/meta/classes/mirrors.bbclass
@@ -62,3 +62,14 @@ npm://.*/.*     http://sources.openembedded.org/ \n \
 ${CPAN_MIRROR}  http://cpan.metacpan.org/ \n \
 ${CPAN_MIRROR}  http://search.cpan.org/CPAN/ \n \
 "
+
+# Use MIRRORS to provide git repo fallbacks using the https protocol, for cases
+# where git native protocol fetches may fail due to local firewall rules, etc.
+
+MIRRORS += "\
+git://anonscm.debian.org/.*   git://anonscm.debian.org/git/PATH;protocol=https \n \
+git://git.gnome.org/.*        git://git.gnome.org/browse/PATH;protocol=https \n \
+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 \
+"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list