diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2014-11-05 12:10:29 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-12 15:25:17 +0000 |
commit | 6bb241a278135e760d50380fd3f7b0ff52414328 (patch) | |
tree | 44a501e079b5f64d7b7e0244428218d67fff8e65 /meta/recipes-kernel/lttng | |
parent | 7587877e5d683a30c2bd5e1ac1c4e327fac1ee1c (diff) | |
download | poky-6bb241a278135e760d50380fd3f7b0ff52414328.tar.gz |
bitbake: fetch/wget: Add latest_versionstring method
Being able to query whether updated versions of a url are available
is useful, not least for the package reporting system. Since such code
is closely linked to the url type and the url itself, the fetcher
makes a locical place to contain this code.
For wget based urls this means taking upstream directory listings
and searching those for later versions, returning those that are
found.
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: a8272e22b7819e0e8afd8e291d276f5f28fc0007)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng')
0 files changed, 0 insertions, 0 deletions