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
Michael Opdenacker
21fdc0c3ec Fix tags for op-tee
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-11-04 12:26:40 +01:00
Michael Opdenacker
7992eb48c3 Update definition for op-tee
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-11-04 09:15:44 +01:00
Michael Opdenacker
3b20f73281 op-tee: add tags filter
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-11-04 09:08:17 +01:00
Michael Opdenacker
fc517b659d Rename op-tee project
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-11-04 09:00:46 +01:00
Renamed from projects/optee.sh (Browse further)