]> _ Git - alire.git/commit
Minimal publishing assistant (#512)
authorAlejandro R Mosteo <alejandro@mosteo.com>
Sat, 12 Sep 2020 11:29:46 +0000 (13:29 +0200)
committerGitHub <noreply@github.com>
Sat, 12 Sep 2020 11:29:46 +0000 (13:29 +0200)
commit8290679bc1aa3ea0659429ccc4ac8b39bb553bd8
tree97b581d08beac8445eaca47d57005bde89cbf725
parent4f57fa28a3197d0d6b2c16f0356ec636d00b256b
Minimal publishing assistant (#512)

* Suppress warnings on unused package at top level

* First complete minimal publishing workflow

Only for repositories, many checks still missing, like: whitelist, version
conflict, buildability...

* Also working with source archives

* Deprecate --hash, --commit

Instead, the commit is simply a second optional argument

* Give upload URL for the PR and place manifest in ...

...alire/releases

* Check if in workspace for proper file placement

and also discourage publishing a crate within an unrelated workspace.

* Disable --hash test

* Tests for publishing and fixes for detected errors

To test without resorting to actual remote sources, we use --force which allows
local (file:) URLs.

* Workaround for Windows temporary failed deletion

Something about a git repository makes Ada.Directories.Delete_Tree to fail (my
guess that this is git related).
25 files changed:
deps/aaa
src/alire/alire-directories.adb
src/alire/alire-index.ads
src/alire/alire-origins-deployers-source_archive.adb
src/alire/alire-origins.adb
src/alire/alire-origins.ads
src/alire/alire-os_lib-download.adb
src/alire/alire-publish.adb [new file with mode: 0644]
src/alire/alire-publish.ads [new file with mode: 0644]
src/alire/alire-toml_index.adb
src/alire/alire-toml_index.ads
src/alire/alire-utils-tty.ads
src/alire/alire.adb
src/alire/alire.ads
src/alr/alr-commands-publish.adb
src/alr/alr-commands-publish.ads
testsuite/disabled/publish/hash/test.py [new file with mode: 0644]
testsuite/disabled/publish/hash/test.yaml [new file with mode: 0644]
testsuite/drivers/python_script.py
testsuite/tests/publish/bad-arguments/test.py [new file with mode: 0644]
testsuite/tests/publish/bad-arguments/test.yaml [new file with mode: 0644]
testsuite/tests/publish/hash/test.py [deleted file]
testsuite/tests/publish/hash/test.yaml [deleted file]
testsuite/tests/publish/remote-origin/test.py [new file with mode: 0644]
testsuite/tests/publish/remote-origin/test.yaml [new file with mode: 0644]