Files
Maxim Cournoyer d131c228dc import/utils: Allow `find-version' to match an over-specified version.
This fixes the use case of using --target-version with an exact
match (--target-version causes the partial? mode to be enabled).

* tests/import/utils.scm ("find-version, latest")
("find-version, empty versions list")
("find-version, partial, under-specified")
("find-version, partial, exact")
("find-version, partial, over-specified"): New tests.
* guix/import/utils.scm (find-version): [PARTIAL?]: Truncate VERSION to the
maximum length of VERSIONS.  Explicitly handle the empty versions case.
2026-08-25 10:07:51 +09:00
..