From: Olof Johansson <olof.johansson@axis.com>
To: fabien.proriolpatch@kazoe.org
Cc: bitbake-devel@lists.openembedded.org
Subject: Re: [PATCH] bb.fetch.git: add a way to avoid git protocol, and force http or https mirrors
Date: Tue, 31 May 2016 15:39:14 +0200 [thread overview]
Message-ID: <20160531133914.GC2814@axis.com> (raw)
In-Reply-To: <1464700684-24169-1-git-send-email-fabien.proriolpatch@kazoe.org>
On 16-05-31 15:18 +0200, fabien.proriolpatch@kazoe.org wrote:
> From: Fabien Proriol <fabien.proriol@jdsu.com>
>
> This patch add the possibility to bitbake to avoid git protocol to fetch sources.
> This is usefull in some network with firewall blocking git port.
>
> When BB_GIT_PROTOCOL_FIREWALL is set, the PROTOCOL_MIRRORS table is used to find the new protocol (http or https) and the new host (if different) to used.
>
> BB_GIT_PROTOCOL_FIREWALL can also contains a list of host accepted. This is usefull for exemple, if we use local git repository inside the network.
Can't you use PREMIRRORS instead? Something along the lines:
PREMIRRORS = "git://.*/.* https://mirrorhost.example.com/"
There's even a variable, BB_FETCH_PREMIRRORONLY, for when the
original host shouldn't be contacted at all.
--
olofjn
next prev parent reply other threads:[~2016-05-31 13:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-31 13:18 [PATCH] bb.fetch.git: add a way to avoid git protocol, and force http or https mirrors fabien.proriolpatch
2016-05-31 13:39 ` Olof Johansson [this message]
2016-05-31 13:50 ` Richard Purdie
2017-07-24 21:04 ` Andre McCurdy
2017-07-25 14:43 ` Mark Hatle
2017-07-25 19:30 ` Andre McCurdy
2017-07-25 22:19 ` Richard Purdie
2017-07-26 12:58 ` Mark Hatle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160531133914.GC2814@axis.com \
--to=olof.johansson@axis.com \
--cc=bitbake-devel@lists.openembedded.org \
--cc=fabien.proriolpatch@kazoe.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox