elixir/elixir
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
..
filters Restructure Elixir to avoid Python path hacks 2024-08-27 11:33:18 +02:00
__init__.py Restructure Elixir to avoid Python path hacks 2024-08-27 11:33:18 +02:00
api.py api, web.py: Move validators, validate API URLs 2024-08-27 11:33:19 +02:00
autocomplete.py Migrate from bsddb3 to berkeleydb 2024-11-07 16:55:14 +01:00
data.py data: add definitions-cache-[FAMILY].db databases 2024-12-25 03:55:22 +01:00
lib.py web: Display Elixir commit hash in footer 2024-11-06 17:18:07 +01:00
query.py script/query: don't restrict ./script.sh get-latest to a single tag 2025-01-03 11:44:22 +01:00
web.py web: Link to current commit from the footer 2024-11-06 17:18:07 +01:00
web_utils.py web: Link to current commit from the footer 2024-11-06 17:18:07 +01:00