[bitbake-devel] [PATCH v2 0/2] Enhance and document perforce fetcher

Andrew Bradford andrew at bradfordembedded.com
Thu Jun 9 13:44:07 UTC 2016


From: Andrew Bradford <andrew.bradford at kodakalaris.com>

Allow the perforce fetcher to act more like the other source control
fetchers so that it can use AUTOREV and the use of the p4 P4CONFIG
variable to specify many p4 settings.  Also document these changes and
how to use this new implementation of the perforce fetcher.

This series depends only on one patch from my oe-core series [1]
which enables srcrev capability for the perforce fetcher.  The other
patches in my oe-core series are not required.

[1]: http://patches.openembedded.org/patch/123523/

Changes from v1:
* Rebase on bitbake python3 changes
* Enable ability to fetch a single file from perforce, not just
  directories
* Slight cleanup of code style
* Remove some unneeded debug logging
* Set defaults for P4DIR and FETCHCMD_p4 in fetcher itself, not in
  oe-core
* Update documentation as per these changes


Andrew Bradford (2):
  fetch2/perforce: Rework to support SRCREV and P4CONFIG
  doc: Document use of Perforce fetcher

 .../bitbake-user-manual-fetching.xml               |  68 +++++-
 .../bitbake-user-manual-ref-variables.xml          |  11 +-
 lib/bb/fetch2/__init__.py                          |   3 +-
 lib/bb/fetch2/perforce.py                          | 270 +++++++++++----------
 4 files changed, 225 insertions(+), 127 deletions(-)

-- 
2.8.1




More information about the bitbake-devel mailing list