]> _ Git - alire.git/commit
Log external detection as busy status (#385)
authorAlejandro R Mosteo <amosteo@unizar.es>
Wed, 6 May 2020 12:43:07 +0000 (14:43 +0200)
committerGitHub <noreply@github.com>
Wed, 6 May 2020 12:43:07 +0000 (14:43 +0200)
commitc2473399705a43b0b554416298a0bffcacdafe42
tree9891647f218a788918d63c2b01f573eb203a2b64
parent160836ba44c2f17268773a865915a000900eb011
Log external detection as busy status (#385)

* Log external detection as busy status

This message is generally not wanted in the final output, since it's used only
to signal alr is not dead/stuck, but busy. Also, it must be entirely removed
from some commands like `alr setenv` or the output is no longer parseable.

* Detect output redirection to adjust logging

* Switch --no-tty to disable control chars in output

* Fix tests for the changed output
13 files changed:
deps/simple_logging
src/alire/alire-externals-lists.adb
src/alire/alire_early_elaboration.adb
src/alr/alr-commands-list.adb
src/alr/alr-commands-search.adb
src/alr/alr-commands-setenv.adb
src/alr/alr-commands.adb
src/alr/alr-utils.adb
src/alr/alr-utils.ads
testsuite/tests/get/system-hint/test.py
testsuite/tests/index/external-available/test.py
testsuite/tests/index/external-hint/test.py
testsuite/tests/with/no-double-add/test.py