]> _ Git - alire.git/commit
Use proper index versioning for backwards compatibility (#975)
authorAlejandro R Mosteo <amosteo@unizar.es>
Sat, 9 Apr 2022 20:07:03 +0000 (22:07 +0200)
committerGitHub <noreply@github.com>
Sat, 9 Apr 2022 20:07:03 +0000 (22:07 +0200)
commit94ea95dab4ef7e5310d068b8219d8709e264023d
tree645d994af1817295f17e7b2311cce8e7b45f6cee
parent91d76b286f07d75b0aa0f751ff8b10ad220f0ae9
Use proper index versioning for backwards compatibility (#975)

* Use index versioning for backwards compatibility

* Improvements to wording of errors

* New tests for old-compatible and old-incompatible

* Tweaks to tests due to minor changes in output

* Clean up leftover comments

Co-authored-by: GHA <actions@github.com>
12 files changed:
src/alire/alire-index.ads
src/alire/alire-toml_index.adb
src/alr/alr-commands-version.adb
testsuite/tests/index/bad-index-version/test.py
testsuite/tests/index/branch-mismatch/community/index/index.toml
testsuite/tests/index/branch-mismatch/test.py
testsuite/tests/index/old-compat-version/community/index/index.toml [new file with mode: 0644]
testsuite/tests/index/old-compat-version/test.py [new file with mode: 0644]
testsuite/tests/index/old-compat-version/test.yaml [new file with mode: 0644]
testsuite/tests/index/old-incompat-version/community/index/index.toml [new file with mode: 0644]
testsuite/tests/index/old-incompat-version/test.py [new file with mode: 0644]
testsuite/tests/index/old-incompat-version/test.yaml [new file with mode: 0644]