guix-play/guix
Ludovic Courtès dc0f74e5fc
Add (guix status) and use it for pretty colored output.
* guix/progress.scm (progress-reporter/trace): New procedure.
(%progress-interval): New variable.
(progress-reporter/file): Use it.
* guix/scripts/build.scm (set-build-options-from-command-line): Pass
 #:print-extended-build-trace?.
(%default-options): Add 'print-extended-build-trace?'.
(guix-build): Parameterize CURRENT-TERMINAL-COLUMNS.  Use
'build-status-updater'.
* guix/scripts/environment.scm (%default-options): Add
'print-extended-build-trace?'.
(guix-environment): Wrap body in 'with-status-report'.
* guix/scripts/pack.scm (%default-options): Add 'print-build-trace?' and
'print-extended-build-trace?'.
(guix-pack): Wrap body in 'with-status-report'.
* guix/scripts/package.scm (%default-options, guix-package): Likewise.
* guix/scripts/system.scm (%default-options, guix-system): Likewise.
* guix/scripts/pull.scm (%default-options, guix-pull): Likewise.
* guix/scripts/substitute.scm (progress-report-port): Don't call STOP
when TOTAL is zero.
(process-substitution): Add #:print-build-trace? and honor it.
(guix-substitute)[print-build-trace?]: New variable.
Pass #:print-build-trace? to 'process-substitution'.
* guix/status.scm: New file.
* guix/store.scm (set-build-options): Add #:print-extended-build-trace?;
pass it into PAIRS.
(%protocol-version): Bump.
(protocol-version, nix-server-version): New procedures.
(current-store-protocol-version): New variable.
(with-store, build-things): Parameterize it.
* guix/ui.scm (build-output-port): Remove.
(colorize-string): Export.
* po/guix/POTFILES.in: Add guix/status.scm.
* tests/status.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0x162.
* nix/libstore/build.cc (DerivationGoal::registerOutputs)
(SubstitutionGoal::finished): Print a "@ hash-mismatch" trace before
throwing.
2018-09-27 23:21:53 +02:00
..
build store-copy: Display a progress bar when copying store items. 2018-09-23 23:34:16 +02:00
build-system Adjust all users of (gnu packages ldc) to use (gnu packages dlang). 2018-09-10 15:44:32 -04:00
import Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
scripts Add (guix status) and use it for pretty colored output. 2018-09-27 23:21:53 +02:00
store database: Register each store item only once. 2018-09-23 23:34:17 +02:00
tests tests: Support multiple HTTP server instances. 2017-10-12 23:47:48 +02:00
base16.scm utils: Move base16 procedures to (guix base16). 2017-03-16 22:50:14 +01:00
base32.scm base32: Export the base32 charsets. 2017-07-21 17:03:24 +02:00
base64.scm base64: Turn into a regular Guile module. 2017-05-25 14:25:17 +02:00
build-system.scm build-system: Bags record their system and target. 2014-10-05 21:58:42 +02:00
cache.scm cache: Work around 'time-monotonic' bug in Guile 2.2.2. 2017-04-22 14:42:15 +02:00
channels.scm channels: Add 'channel-instances->derivation'. 2018-09-21 17:04:38 +02:00
ci.scm Add (guix ci). 2018-03-28 16:17:06 +02:00
combinators.scm Add (guix memoization). 2017-01-28 18:55:20 +01:00
config.scm.in build: Remove checks for 'nix-instantiate'. 2018-06-18 23:19:51 +02:00
cpio.scm linux-initrd: Produce cpio archives with zeroed timestamps, etc. 2015-06-24 18:05:03 +02:00
cve.scm cve: Update feed URL. 2018-08-26 01:47:40 +02:00
cvs-download.scm download: Download a nar when a VCS checkout fails. 2017-10-19 23:21:49 +02:00
derivations.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
describe.scm Add 'guix describe'. 2018-09-07 11:40:22 +02:00
discovery.scm discovery: Add 'scheme-modules*'. 2018-09-02 16:43:10 +02:00
docker.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
download.scm Merge branch 'master' into core-updates 2018-05-29 15:41:06 +02:00
elf.scm elf: Add missing argument in 'elf-segment'. 2015-03-30 15:21:11 +02:00
ftp-client.scm download: Pass the timeout to 'ftp-retr'. 2017-11-14 23:46:53 +01:00
gexp.scm gexp: 'file-union' accepts directory names. 2018-09-08 23:02:01 +02:00
git-download.scm git-download: Don't assume the working directory is the parent of ".git". 2018-09-26 00:33:00 +02:00
git.scm git: Choose a saner default for '%repository-cache-directory'. 2018-09-17 22:10:31 +02:00
glob.scm glob: Add an extra glob pattern compilation stage. 2018-03-18 22:57:17 +01:00
gnu-maintenance.scm gnu-maintenance: Get GNU metadata from rec files. 2018-07-11 16:07:04 +02:00
gnupg.scm gnupg: Change default keyserver. 2018-09-25 18:45:50 +02:00
grafts.scm grafts: Add (guix build debug-link) and use it. 2018-08-24 18:01:05 +02:00
graph.scm Revert "graph: Provide access to the package record in the emit functions." 2017-08-24 23:55:51 +02:00
hg-download.scm download: Download a nar when a VCS checkout fails. 2017-10-19 23:21:49 +02:00
http-client.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
i18n.scm ui: Introduce (guix i18n). 2017-11-08 22:31:58 +01:00
inferior.scm inferior: Add 'inferior-for-channels'. 2018-09-21 17:04:38 +02:00
licenses.scm Correct name and Email for ng0. 2018-03-20 17:17:58 +01:00
man-db.scm profiles: Use 'with-extensions'. 2018-06-01 15:21:28 +02:00
memoization.scm memoization: Add 'invalidate-memoization!. 2017-12-13 23:11:53 +01:00
modules.scm modules: Report the search path in &missing-dependency-error. 2018-04-08 17:41:08 +02:00
monad-repl.scm monad-repl: Close connection when leaving the monad REPL. 2016-01-13 17:43:21 +01:00
monads.scm monads: Add a template and specialization mechanism for monadic procedures. 2017-05-02 23:41:13 +02:00
nar.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
packages.scm gexp: 'imported-files' no longer creates a derivation by default. 2018-07-19 11:48:04 +02:00
pki.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
profiles.scm profiles: 'packages->manifest' now accepts inferior packages. 2018-09-21 17:04:37 +02:00
profiling.scm Add (guix profiling). 2017-12-12 18:11:22 +01:00
progress.scm Add (guix status) and use it for pretty colored output. 2018-09-27 23:21:53 +02:00
records.scm records: Adjust to test changes in 'record-abi-mismatch-error'. 2018-08-31 17:26:56 +02:00
scripts.scm pull: Install the new Guix in a profile. 2018-06-09 12:02:27 +02:00
search-paths.scm search-paths: Add 'set-search-paths'. 2018-05-10 14:53:57 +02:00
self.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
serialization.scm serialization: Remove redundancy in 'write-file'. 2018-09-23 23:34:16 +02:00
sets.scm Add (guix sets). 2015-01-11 23:50:01 +01:00
ssh.scm ssh: Display the size of the store items being sent. 2018-07-29 18:50:28 +02:00
status.scm Add (guix status) and use it for pretty colored output. 2018-09-27 23:21:53 +02:00
store.scm Add (guix status) and use it for pretty colored output. 2018-09-27 23:21:53 +02:00
svn-download.scm guix: Add download-svn-to-store. 2017-06-15 17:03:14 +02:00
tests.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
ui.scm Add (guix status) and use it for pretty colored output. 2018-09-27 23:21:53 +02:00
upstream.scm discovery: Remove dependency on (guix ui). 2018-04-08 17:48:33 +02:00
utils.scm Revert "guix: Compress and decompress xz archives in parallel." 2018-07-22 18:01:35 +02:00
workers.scm workers: Display backtrace in pre-unwind handler. 2017-11-17 10:47:56 +01:00
zlib.scm zlib: Fix race condition when closing gzip ports. 2017-11-19 23:09:01 +01:00