kumquat-buildroot/support
Yann E. MORIN 377c3e5f4c support/pkg-stats: support values with an equal sign in them
The heuristic to extract the various variables of interest is pretty
crude: we filter on variables ending with certain suffixes (like
'%_VERSION' to get the version strings).

However, in doing so, we may dump variables that are not actual package
versions (especially with br2-external trees), and those may contain one
or more equal sign.  And anyway, an actual package version string may
very well contain an equal sign too.

But the current situation is that the output of 'printvars' is split on
all equal signs, which will not fit in the 2-tuple we assign the result,
thus causing an exception.

Fix that by limiting to a single split.

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-11-13 15:00:26 +01:00
..
config-fragments
dependencies
docker
download
gnuconfig
kconfig
legal-info
libtool
misc
scripts support/pkg-stats: support values with an equal sign in them 2021-11-13 15:00:26 +01:00
testing support/testing/tests/package/sample_python_unittest_xml_reporting.py: fix flake8 warnings 2021-11-08 22:12:22 +01:00