[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: [OE-core] [PATCH 0/2] RFC: Integrating gitpkgv functionality
From: mike.looijmans () topic ! nl (Mike Looijmans)
Date: 2015-01-31 14:06:11
Message-ID: 1422713174-18522-1-git-send-email-mike.looijmans () topic ! nl
[Download RAW message or body]
Follow-up on the discussion here:
http://lists.openembedded.org/pipermail/openembedded-core/2015-January/100345.html
This is a preliminary implementation of gitpkgv in OE-core. It modifies the
fetcher to optionally provide an incremental numbering scheme for GIT
repositories.
These two patches implement this. The change in __init__ is basically ready for
public consumption. The modification to git.py is a prototype that I've used to
test feasibility. It imitates gitpkgv perfectly for the recipes I tried.
To make this ready for production, we should provide better names and likely
a GITPKGV or similarly named variable that can be used in recipes instead of
"${@bb.fetch2.get_srcrev(d, 'gitpkgv_revision')}".
Mike Looijmans (2):
fetch2/__init__.py: Make get_srcrev output configurable
fetch2/git.py: Add gitpkgv_revision alternative version information
lib/bb/fetch2/__init__.py | 9 ++++++---
lib/bb/fetch2/git.py | 25 +++++++++++++++++++++++++
2 files changed, 31 insertions(+), 3 deletions(-)
--
1.7.9.5
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic