generic-poky/bitbake/lib/bb/tests
Aníbal Limón 6bb241a278 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>
2014-11-12 15:25:17 +00:00
..
__init__.py bitbake: Fixup bitbake-selftest 2012-05-04 17:41:47 +01:00
codeparser.py bitbake: codeparser: Fix var_execs to append to execs, not references 2014-03-02 17:25:29 +00:00
cow.py bitbake: fetch2: Add editor modelines for bb.tests.* 2013-02-17 22:32:05 +00:00
data.py bitbake: data_smart: Fix remove operator and its interaction with data expansion 2014-09-13 08:52:49 +01:00
fetch.py bitbake: fetch/wget: Add latest_versionstring method 2014-11-12 15:25:17 +00:00
utils.py bitbake: fetch2: Add editor modelines for bb.tests.* 2013-02-17 22:32:05 +00:00