add initial bb.fetch2 code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | fetch2: copy bb.fetch to bb.fetch2 as initial code basebitbake/ bitbake/ bitbake/ +10 more | +2633 | 0 replies | |
| 2/7 | bb.fetch2: replace bb.fetch with bb.fetch2 in the bb.fetch2bitbake/ bitbake/ bitbake/ +9 more | +43 | 0 replies | |
| 3/7 | bb: add bb.fetcher as dynamic fetch module instance for fetch/fetch2bitbake/ | +26 | 9 replies | |
| 4/7 | BBHandler: remove bb.fetch referrencebitbake/ | +1 | 0 replies | |
| 5/7 | bb.cooker: remove bb.fetch.persistent_database_connection referrencebitbake/ | +0 | 0 replies | |
| 6/7 | bb: replace bb.fetch referrence with bb.fetcher instancebitbake/ bitbake/ | +4 | 0 replies | |
| 7/7 | bbclass: replace the bb.fetch referrence with bb.fetcher instancemeta/ meta/ meta/ +3 more | +33 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] add initial bb.fetch2 code
this patchset add bb.fetch2 as initiaial code base for fetcher overhaul, and bb.fetcher.instance is introduced to swtich between bb.fetch and bb.fetch2.
The purpose of this patchset is to provide a place holder for fetcher overhaul. currently the bb.fetch2 code is mostly the same as bb.fetch. In the future, fetcher overhaul change will come to bb.fetch2, and this allow us to conduct fetcher change without impacting the existing fetcher bb.fetch.
there is no functional change with this patchset, the bb.fetcher.instance is set to bb.fetch by default.
Thanks Richard for the suggestion.
this patchset has been teseted by
- qemux86 poky-image-sato with empty $DL_DIR
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: kyu3/fetch2-initial
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kyu3/fetch2-initial
Thanks,
Yu Ke <[email protected]>
---
Yu Ke (7):
fetch2: copy bb.fetch to bb.fetch2 as initial code base bb.fetch2: replace bb.fetch with bb.fetch2 in the bb.fetch2
bb: add bb.fetcher as dynamic fetch module instance for fetch/fetch2
BBHandler: remove bb.fetch referrence
bb.cooker: remove bb.fetch.persistent_database_connection referrence
bb: replace bb.fetch referrence with bb.fetcher instance
bbclass: replace the bb.fetch referrence with bb.fetcher instance
bitbake/lib/bb/command.py | 3 +- bitbake/lib/bb/cooker.py | 10 +- bitbake/lib/bb/fetch2/__init__.py | 833 ++++++++++++++++++++++++++++ bitbake/lib/bb/fetch2/bzr.py | 148 +++++ bitbake/lib/bb/fetch2/cvs.py | 172 ++++++ bitbake/lib/bb/fetch2/git.py | 261 +++++++++ bitbake/lib/bb/fetch2/hg.py | 180 ++++++ bitbake/lib/bb/fetch2/local.py | 73 +++ bitbake/lib/bb/fetch2/osc.py | 143 +++++ bitbake/lib/bb/fetch2/perforce.py | 206 +++++++ bitbake/lib/bb/fetch2/repo.py | 98 ++++ bitbake/lib/bb/fetch2/ssh.py | 118 ++++ bitbake/lib/bb/fetch2/svk.py | 104 ++++ bitbake/lib/bb/fetch2/svn.py | 204 +++++++ bitbake/lib/bb/fetch2/wget.py | 93 +++ bitbake/lib/bb/fetcher.py | 26 + bitbake/lib/bb/parse/parse_py/BBHandler.py | 2 +- meta/classes/base.bbclass | 20 +- meta/classes/distrodata.bbclass | 18 +- meta/classes/patch.bbclass | 4 +- meta/classes/sstate.bbclass | 10 +- meta/classes/utility-tasks.bbclass | 12 +- meta/classes/utils.bbclass | 2 +- 23 files changed, 2697 insertions(+), 43 deletions(-) create mode 100644 bitbake/lib/bb/fetch2/__init__.py create mode 100644 bitbake/lib/bb/fetch2/bzr.py create mode 100644 bitbake/lib/bb/fetch2/cvs.py create mode 100644 bitbake/lib/bb/fetch2/git.py create mode 100644 bitbake/lib/bb/fetch2/hg.py create mode 100644 bitbake/lib/bb/fetch2/local.py create mode 100644 bitbake/lib/bb/fetch2/osc.py create mode 100644 bitbake/lib/bb/fetch2/perforce.py create mode 100644 bitbake/lib/bb/fetch2/repo.py create mode 100644 bitbake/lib/bb/fetch2/ssh.py create mode 100644 bitbake/lib/bb/fetch2/svk.py create mode 100644 bitbake/lib/bb/fetch2/svn.py create mode 100644 bitbake/lib/bb/fetch2/wget.py create mode 100644 bitbake/lib/bb/fetcher.py