guix-devel/guix/scripts
Ludovic Courtès f1de676ea8
guix build: Re-purpose '--verbosity' and add '--debug'.
The previous '--verbosity' option was misleading and rarely what users
were looking for.  The new option provides a consistent way to choose
whether or not to display the build log.

* guix/scripts/build.scm (show-build-options-help): Remove "--verbosity"
and add "--debug".
(set-build-options-from-command-line): Use the 'debug key of OPTS for
 #:verbosity.
(%standard-build-options): Change "verbosity" to "debug".  Use
'string->number*' instead of 'string->number'.
(%default-options): Change 'verbosity to 'debug and add a 'verbosity
key.
(show-help): Add '--verbosity'.
(%options): Likewise, and change '--quiet' to set the 'verbosity key of
RESULT.
(guix-build): Use 'with-status-verbosity' instead of parameterizing
CURRENT-BUILD-OUTPUT-PORT, honor the 'verbosity key of OPTS, and remove
'quiet?'.
* guix/scripts/environment.scm (show-help, %options): Add '--verbosity'.
(%default-options): Add 'debug'.
(guix-environment): Honor the 'verbosity key of OPTS.
* guix/scripts/pack.scm (%default-options): Add 'debug.
(%options, show-help): Add '--verbosity'.
(guix-pack): Honor the 'verbosity key of OPTS.
* guix/scripts/package.scm (%default-options): Add 'debug.
(show-help, %options): Add '--verbosity'.  Mark '--verbose' as
deprecated and change it to set 'verbosity.
(guix-package): Honor the 'verbosity key of OPTS and remove 'verbose?'.
* guix/scripts/pull.scm (%default-options): Add 'debug.
(show-help, %options): Add '--verbosity'.
(guix-pull): Honor the 'verbosity key of OPTS.
* guix/scripts/system.scm (show-help, %options): Add '--verbosity'.
(%default-options): Add 'debug.
(guix-system): Honor the 'verbosity key of OPTS.
* guix/scripts/archive.scm (%default-options): Add 'debug,
'print-build-trace?, 'print-extended-build-trace?, and
'multiplexed-build-output?.
(show-help, %options): Add '--verbosity'.
(export-from-store): Remove call to 'set-build-options-from-command-line'.
(guix-archive): Wrap body in 'with-status-verbosity'. Add call to
'set-build-options-from-command-line.
* doc/guix.texi (Common Build Options): Document '--verbosity' and
'--debug'.
(Additional Build Options): Adjust description of '--quiet'.
2019-01-11 12:14:38 +01:00
..
container ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
import import: opam: Add recursive option. 2019-01-07 22:05:43 +01:00
system guix system: search: Display all provision names as 'shepherdnames'. 2018-05-01 23:29:03 +02:00
archive.scm guix build: Re-purpose '--verbosity' and add '--debug'. 2019-01-11 12:14:38 +01:00
authenticate.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
build.scm guix build: Re-purpose '--verbosity' and add '--debug'. 2019-01-11 12:14:38 +01:00
challenge.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
container.scm scripts: Add missing -V option to commands that document it. 2018-07-07 18:10:31 +02:00
copy.scm scripts: All commands enable build hooks by default. 2017-12-07 23:12:37 +01:00
describe.scm describe: In 'channels' format, quote the channel name. 2018-12-07 15:14:12 +01:00
download.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
edit.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
environment.scm guix build: Re-purpose '--verbosity' and add '--debug'. 2019-01-11 12:14:38 +01:00
gc.scm scripts: gc: Report size in MiBs instead of bytes. 2018-06-28 00:29:46 +02:00
graph.scm graph: Add '--system'. 2018-09-16 23:00:44 +02:00
hash.scm guix hash: Fix version and help messages 2018-11-28 10:39:58 +01:00
import.scm guix: Add opam importer. 2018-07-10 10:11:01 +02:00
lint.scm guix: lint: Warn only if GitHub URI is not same as the package URI. 2019-01-10 15:39:35 +05:30
offload.scm offload: Remove unnecessary locking on machine slots. 2018-12-26 18:40:49 +01:00
pack.scm guix build: Re-purpose '--verbosity' and add '--debug'. 2019-01-11 12:14:38 +01:00
package.scm guix build: Re-purpose '--verbosity' and add '--debug'. 2019-01-11 12:14:38 +01:00
perform-download.scm perform-download: Optionally report a "download-progress" trace. 2018-09-27 23:21:53 +02:00
processes.scm Add 'guix processes'. 2018-10-29 00:13:38 +01:00
publish.scm publish: Add a 'Cache-Control' header on /nar responses. 2018-12-17 23:33:42 +01:00
pull.scm guix build: Re-purpose '--verbosity' and add '--debug'. 2019-01-11 12:14:38 +01:00
refresh.scm refresh: Turn on warnings when '--manifest' is used. 2019-01-11 12:14:38 +01:00
repl.scm repl: Load user's initialization file. 2018-12-03 08:04:51 +03:00
size.scm Remove most references to hydra.gnu.org. 2018-12-04 10:57:56 +01:00
substitute.scm Remove most uses of the _IO*F constants. 2019-01-09 14:47:53 +01:00
system.scm guix build: Re-purpose '--verbosity' and add '--debug'. 2019-01-11 12:14:38 +01:00
weather.scm weather: Fix pasto in --version output. 2018-07-07 18:10:31 +02:00