Commit graph

5 commits

Author SHA1 Message Date
Théo Lebrun
c6bc09ed10 script/query: don't restrict ./script.sh get-latest to a single tag
`./script.sh get-latest <offset>` gets the full list of tags, filters
it, sorts it then returns a single result. On the Python side, it gets
the first one. If that works, it uses it, else it tries the second one,
etc.

That is a weird implementation: modify get-latest to return all tags so
that Python code only has to spawn a single subprocess.

Also, rename it from `get-latest` to `get-latest-tags`. This makes
things more explicit (what latest?) and also explicits that more than
one tag is required.

Also, argument 1 is supposed to be an offset.
No custom implementation of get_latest() did implement that.

Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
2025-01-03 11:44:22 +01:00
Soenke Huster
2899eafe38
BlueZ: Use sed -E for portability 2021-10-18 11:28:00 +02:00
Soenke Huster
f77b14860e
Sort BlueZ tags 2021-10-17 13:46:16 +02:00
Soenke Huster
8b0e6722b7
Fix BlueZ tags 2021-10-17 13:05:11 +02:00
Soenke Huster
f0842f8688
Add BlueZ 2021-10-16 22:51:14 +02:00