]> _ Git - alire.git/commit
Script to migrate indexes to per-release files (#478)
authorAlejandro R Mosteo <alejandro@mosteo.com>
Fri, 7 Aug 2020 12:17:44 +0000 (14:17 +0200)
committerAlejandro R. Mosteo <amosteo@unizar.es>
Tue, 1 Sep 2020 18:56:45 +0000 (20:56 +0200)
commitdef51b7025103068124b93b5aa8ade203c69d018
tree03360fccd47be0822b1cb2f90afd51fd73d6c887
parent9527eaf3217014ede863e911ac4d39ca86e5805c
Script to migrate indexes to per-release files (#478)

* Ignore JetBrains IDE config folders and virtualenvs

* s/libhello/li (index subfolder improper name)

* Fix invalid semantic version in some test crates

s/_/-/, turns out only hyphens are allowed in the pre-release portion.

* Script to split crate files into releases

It applies the foreseeable needed transformations: one release per file, one
file for external definitions; dependencies moved to an array; added name and
version keys.

Fix relative paths during migration
.gitignore
deps/semantic_versioning
scripts/split-crates.py [new file with mode: 0755]
testsuite/fixtures/native_index/li/libhello.toml
testsuite/tests/get/system-hint/test.py
testsuite/tests/setenv/with-external/test.py
testsuite/tests/show/system-hint/test.py
testsuite/tests/with/pin-dir/my_index/index/li/libhello.toml [new file with mode: 0644]
testsuite/tests/with/pin-dir/my_index/index/libhello/libhello.toml [deleted file]