]> _ Git - alire.git/commit
Add support for persistent configuration options (#424)
authorFabien Chouteau <Fabien-Chouteau@users.noreply.github.com>
Fri, 5 Jun 2020 16:57:32 +0000 (18:57 +0200)
committerGitHub <noreply@github.com>
Fri, 5 Jun 2020 16:57:32 +0000 (18:57 +0200)
commitfc92bfcc53d67761917653757237300fe8068564
treee6879429faa1b1f17bb7cc6917d0fa43ea9fe796
parentea8e79c67c434d80b1890f050966e6491b3de884
Add support for persistent configuration options (#424)

* Add support for persistent configuration options

The configuration options are either global or local (local overriding
the global definitions) and are stored in TOML format.

This patch also introduces a command to handle configuration options
from the command line.

* Fix circular elaboration of Alire.Config

By moving the Not_Interactive global in the User_Input package.
13 files changed:
src/alire/alire-config-edit.adb [new file with mode: 0644]
src/alire/alire-config-edit.ads [new file with mode: 0644]
src/alire/alire-config.adb
src/alire/alire-config.ads
src/alire/alire-utils-user_input.adb
src/alire/alire-utils-user_input.ads
src/alr/alr-commands-config.adb [new file with mode: 0644]
src/alr/alr-commands-config.ads [new file with mode: 0644]
src/alr/alr-commands-test.adb
src/alr/alr-commands.adb
src/alr/alr-commands.ads
testsuite/tests/config/basics/test.py [new file with mode: 0644]
testsuite/tests/config/basics/test.yaml [new file with mode: 0644]