Skip to content

bb.fetch2: SRCREV logic enhancement V2

Yu Ke poky 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8meta: replace bb.fetch with bb.fetcher.instancemeta/conf/bitbake.conf meta/lib/oe/patch.py+4 -40 replies
2/8bb.fetch2: add urldata_init call for Fetch classbitbake/lib/bb/fetch2/__init__.py+2 -00 replies
3/8bb.fetch2.git.py: add git urldata_initbitbake/lib/bb/fetch2/git.py+9 -40 replies
4/8bb.fetch2.svn.py: add urldata_initbitbake/lib/bb/fetch2/svn.py+5 -10 replies
5/8bb.fetch2.hg: add hg urldata_initbitbake/lib/bb/fetch2/hg.py+9 -50 replies
6/8bb.fetch2.bzr: add bzr urldata_initbitbake/lib/bb/fetch2/bzr.py+5 -20 replies
7/8Fetcher: break the "SRCREVINACTION" deadlockbitbake/lib/bb/fetch/__init__.py bitbake/lib/bb/fetch2/__init__.py bitbake/lib/bb/fetch2/bzr.py +4 more+19 -540 replies
8/8Fetcher: only set __BB_DONT_CACHE when SRCREV = "${AUTOREV}"bitbake/lib/bb/fetch2/__init__.py+3 -32 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] bb.fetch2: SRCREV logic enhancement V2

This is the V2 patch for the SRCREV logic enhancement.

there are several changes compared with the V1:
- rebase it to bb.fetch2 code, and all code are applied to bb.fetch2 instead of bb.fetch
- call urldata_init in FetchData:__init__ according to Richard's suggestion.

this patch has been tested with
- fetch world packages with DISTRO = "poky-bleeding", empty ${DL_DIR}, and null PREMIRROR, MIRROR

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: kyu3/srcrev-v2
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kyu3/srcrev-v2

Thanks,
Yu Ke <[email protected]>
---

Yu Ke (8):
meta: replace bb.fetch with bb.fetcher.instance bb.fetch2: add urldata_init call for Fetch class bb.fetch2.git.py: add git urldata_init bb.fetch2.svn.py: add urldata_init
bb.fetch2.hg: add hg urldata_init
bb.fetch2.bzr: add bzr urldata_init
Fetcher: break the "SRCREVINACTION" deadlock
Fetcher: only set __BB_DONT_CACHE when SRCREV = "${AUTOREV}"

 bitbake/lib/bb/fetch/__init__.py  |    3 ++
 bitbake/lib/bb/fetch2/__init__.py |   42 +++++++++++++-----------------------
 bitbake/lib/bb/fetch2/bzr.py      |   13 ++++-------
 bitbake/lib/bb/fetch2/git.py      |   17 +++++++--------
 bitbake/lib/bb/fetch2/hg.py       |   24 +++++++++-----------
 bitbake/lib/bb/fetch2/svn.py      |   16 ++++++--------
 meta/conf/bitbake.conf            |    4 +-
 meta/lib/oe/patch.py              |    6 ++--
 8 files changed, 54 insertions(+), 71 deletions(-)