]> _ Git - alire.git/commit
Configuration feature extras (#700)
authorAlejandro R Mosteo <alejandro@mosteo.com>
Wed, 3 Mar 2021 15:41:34 +0000 (16:41 +0100)
committerGitHub <noreply@github.com>
Wed, 3 Mar 2021 15:41:34 +0000 (16:41 +0100)
commitbc3cd19d575e4775c1a04b7e5d15d6b8aeeda615
tree42b965e46b94b42e155a66b50182bdb5d780b888
parente17f34a9de9ef0622e671058fd54853720c9d7f6
Configuration feature extras (#700)

* [configuration] as top-level table in manifests

[config_vars] and [config_settings] are now [configuration.variables] and
[configuration.settings]

* Replace stderr warnings with regular ones

* Fix YAML output

* Rename `configuration.settings` to `@.values`

This is under the rationale that `settings` makes more sense for configuring
how Alire deals with the configuration.

* Update documentation for new config tables

* Fix obsolete comment
23 files changed:
deps/ada-toml
doc/catalog-format-spec.md
doc/user-changes.md
src/alire/alire-conditional_trees.adb
src/alire/alire-conditional_trees.ads
src/alire/alire-crate_configuration.adb
src/alire/alire-properties-configurations.adb
src/alire/alire-properties-configurations.ads
src/alire/alire-properties-from_toml.adb
src/alire/alire-properties-from_toml.ads
src/alire/alire-releases.adb
src/alire/alire-releases.ads
src/alire/alire-roots-optional.adb
src/alire/alire-toml_adapters.adb
src/alire/alire-toml_adapters.ads
src/alire/alire-toml_keys.ads
testsuite/fix-text.sh [new file with mode: 0755]
testsuite/fixtures/basic_index/he/hello/hello-1.0.1.toml
testsuite/fixtures/basic_index/li/libhello/libhello-1.0.0.toml
testsuite/tests/crate_config/basic/my_index/index/li/libcrate_config/libcrate_config-1.0.0.toml
testsuite/tests/index/bad-config-vars/manifest.toml
testsuite/tests/index/bad-config-vars/test.py
testsuite/tests/show/jekyll/test.py