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 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
