[poky] [PATCH 0/7] add initial bb.fetch2 code

Yu Ke ke.yu at intel.com
Fri Jan 7 23:14:21 PST 2011


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 <ke.yu at intel.com>
---


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




More information about the poky mailing list