diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2014-11-05 12:10:28 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-12 15:25:17 +0000 |
commit | 7587877e5d683a30c2bd5e1ac1c4e327fac1ee1c (patch) | |
tree | 46be36149f9f63ce1a0a47268c8bcdaba318f65d /meta/classes/base.bbclass | |
parent | 95c7b399518d102cd748c19017c564a53375c58c (diff) | |
download | poky-7587877e5d683a30c2bd5e1ac1c4e327fac1ee1c.tar.gz |
bitbake: fetch/git: Add latest_versionstring method
Being able to generate a version string representing the most recent git commit
given git is useful, not least for the package reporting system.
This adds in a latest_versionstring method to the git fetcher
which allows users to query the latest version using ls-remote
and filtering the responses.
The patch also adds unittests for this function so that if
improvements are made, the original test urls can be used
to evaulate the those changes.
This is based on code from Irina Patru <irina.patru@intel.com>.
(Bitbake rev: f71c8c0354e87fed80bc845db6728e6e18ce9c4d)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
0 files changed, 0 insertions, 0 deletions