poky/bitbake/lib/bb/fetch2
Robert Yang 64c21baf63 bitbake: fetch2: Unify BB_FETCH_PREMIRRORONLY
The fetch2/__init__.py checks whether "BB_FETCH_PREMIRRORONLY" == "1", but
fetch2/git.py and hg.py checks whether it is None, this makes it discontinuous,
and BB_FETCH_PREMIRRORONLY = "0" doens't work as expected in the later case,
so unify it to the previous one. (As BB_NO_NETWORK does).

And also use bb.utils.to_boolean() to make them consistent.

(Bitbake rev: 85a0d22835588e9ad8ec29d88a8115227e88420c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-26 14:02:28 +00:00
..
__init__.py bitbake: fetch2: Unify BB_FETCH_PREMIRRORONLY 2019-03-26 14:02:28 +00:00
bzr.py bitbake: fetch2: unify the way fetchers determine DL_DIR and FETCHCMD 2018-06-15 17:57:30 +01:00
clearcase.py bitbake: fetch2: fix import error for Python 3.6.5 2018-05-29 21:07:46 +01:00
cvs.py bitbake: fetch2: unify the way fetchers determine DL_DIR and FETCHCMD 2018-06-15 17:57:30 +01:00
git.py bitbake: fetch2: Unify BB_FETCH_PREMIRRORONLY 2019-03-26 14:02:28 +00:00
gitannex.py bitbake: fetch/gitannex: add support for shallow mirror tarballs 2017-06-02 13:36:57 +01:00
gitsm.py bitbake: gitsm: The fetcher did not process some recursive submodules properly. 2019-01-28 23:14:27 +00:00
hg.py bitbake: fetch2: Unify BB_FETCH_PREMIRRORONLY 2019-03-26 14:02:28 +00:00
local.py bitbake: fetch/local: Drop FILESDIR 2017-04-05 23:20:03 +01:00
npm.py bitbake: fetch2/npm.py: Allow shrinkwrap resolved relative URL which startswith 'http' (e.g http-proxy) 2018-11-21 11:54:47 +00:00
osc.py bitbake: fetch2: unify the way fetchers determine DL_DIR and FETCHCMD 2018-06-15 17:57:30 +01:00
perforce.py bitbake: fetch2: unify the way fetchers determine DL_DIR and FETCHCMD 2018-06-15 17:57:30 +01:00
repo.py bitbake: fetch2: unify the way fetchers determine DL_DIR and FETCHCMD 2018-06-15 17:57:30 +01:00
s3.py bitbake: s3.py: Remove hardcoded aws 2017-03-30 10:42:18 +01:00
sftp.py bitbake: fetch2: don't use deprecated bb.data APIs 2017-03-01 11:16:07 +00:00
ssh.py bitbake: fetch2: don't use deprecated bb.data APIs 2017-03-01 11:16:07 +00:00
svn.py bitbake: fetch2/svn: Fix SVN repository concurrent update race 2018-12-01 11:32:08 +00:00
wget.py bitbake: fetch2/wget: Remove pointless lambda function 2019-03-19 23:54:41 +00:00