[OE-core] [PATCH v2 0/3] RFC: Integrating gitpkgv functionality

Mike Looijmans mike.looijmans at topic.nl
Fri May 22 06:29:02 UTC 2015


Follow-up on the discussion here:
http://lists.openembedded.org/pipermail/openembedded-core/2015-January/100345.html

This is an implementation of gitpkgv in OE-core. It modifies the fetcher
to optionally provide an incremental numbering scheme for GIT repositories.

These three patches implement this, and provide the functionality in three stages.
1 __init__.py: Allows fetchers to provide alternatives to formatting a version string.
2 git.py: Implements such alternative formatting in gitpkgv style.
3 bitbake.conf: Sets GITPKGV so that it becomes backwards compatible with gitpkgv.

v2: Rebased and added bitbake.conf patch to set GITPKGV

Mike Looijmans (3):
  fetch2/__init__.py: Make get_srcrev output configurable
  fetch2/git.py: Add gitpkgv_revision alternative version information
  bitbake.conf: Set GITPKGV variable

 conf/bitbake.conf         |  1 +
 lib/bb/fetch2/__init__.py |  9 ++++++---
 lib/bb/fetch2/git.py      | 25 +++++++++++++++++++++++++
 3 files changed, 32 insertions(+), 3 deletions(-)

-- 
1.9.1



More information about the Openembedded-core mailing list