Age | Commit message (Expand) | Author |
2020-02-11 | describe: Remove dependency on (guix scripts pull)....Until now, 'guix describe' would perform ~3K stat calls and ~1K openat
calls because it was pulling (guix scripts pull), which in turn pulls in
many (gnu packages …) modules.
* guix/scripts/pull.scm (display-profile-content, %vcs-web-views)
(channel-commit-hyperlink): Move to...
* guix/scripts/describe.scm: ... here. Remove import of (guix scripts
pull).
| Ludovic Courtès |
2019-08-16 | channels: Add 'profile-channels'....* guix/channels.scm (profile-channels): New procedure.
* guix/scripts/describe.scm (display-profile-info)[channels]: Define in
terms of 'profile-channels'.
| Ludovic Courtès |
2019-04-28 | describe: Provide a hint when origin detection fails....* guix/scripts/describe.scm (display-checkout-info): Add call to
'display-hint' in the error case.
| Ludovic Courtès |
2019-03-18 | describe: Warn about 'GUIX_PACKAGE_PATH' in json and recutils format....Fixes <https://bugs.gnu.org/34884>.
Reported by Pierre Neidhardt <mail@ambrevar.xyz>.
* guix/scripts/describe.scm (display-package-search-path): Add catch-all
case for FMT.
| Ludovic Courtès |
2018-12-07 | describe: In 'channels' format, quote the channel name....Fixes a regression introduced in
commit 8548f995494d8d6358e6a8d7bc3b3bb5a0cbecb5.
* guix/scripts/describe.scm (channel->sexp): Quote the channel name.
| Ludovic Courtès |
2018-11-27 | describe: Delete 'directory' argument from 'display-checkout-info'....This commit follows 1255400faabfcf0ca1666d17f2f34ea0d49f6b1f.
* guix/scripts/describe.scm (display-checkout-info): Delete 'directory'
argument.
| Oleg Pykhalov |
2018-11-22 | describe: Add recutils format....* guix/scripts/describe.scm (channel->recutils): New procedure.
(display-checkout-info, display-profile-info): Use this.
(%options): Add 'recutils' option.
* doc/guix.texi (Invoking guix describe): Document this.
| Oleg Pykhalov |
2018-11-22 | describe: Add json format....* guix/scripts/describe.scm (channel->json): New procedure.
(display-checkout-info, display-profile-info): Use this.
(%options): Add 'json' option.
* doc/guix.texi (Invoking guix describe): Document this.
| Oleg Pykhalov |
2018-11-22 | describe: Use a procedure to format output....* guix/scripts/describe.scm (channel->sexp): New procedure.
(display-checkout-info, display-profile-info): Use this.
| Oleg Pykhalov |
2018-11-21 | describe: Add profile option....* guix/scripts/describe.scm (%options): Add profile option.
(show-help): Document this.
(display-checkout-info): Check for profile argument.
* doc/guix.texi (Invoking guix describe): Document this.
| Oleg Pykhalov |
2018-11-21 | describe: Fix 'format' option....Fix ‘guix describe’ ignores ‘--format=FORMAT’ option.
* guix/scripts/describe.scm (%options): Fix 'format' option.
| Oleg Pykhalov |
2018-10-14 | describe: Canonicalize the profile....Fixes a regression introduced in
795d430d90e41eb172315bfccf79c9f13fc0ebfa whereby 'guix describe' would
no longer display the generation number of ~/.config/guix/current.
* guix/scripts/describe.scm (guix-describe): Call 'canonicalize-profile'.
| Ludovic Courtès |
2018-09-18 | describe: Work correctly on generation-less profiles....Previously a command like:
$(readlink -f ~/.config/guix/current)/bin/guix describe
would succeed without printing anything.
* guix/scripts/describe.scm (display-profile-info): Don't call
'generation-file-name' when NUMBER is zero.
* guix/scripts/pull.scm (display-profile-content): Likewise.
| Ludovic Courtès |
2018-09-07 | guix describe: Display information about the current generation....* guix/scripts/describe.scm (display-profile-info)[number]: Use the
current generation number instead of the last generation number.
| Ludovic Courtès |
2018-09-07 | Add 'guix describe'....* guix/scripts/describe.scm: New file.
* Makefile.am (MODULES): Add it.
(SH_TESTS): Add tests/guix-describe.sh.
* po/guix/POTFILES.in: Add it.
* guix/scripts/pull.scm (display-profile-content): Export.
* guix/describe.scm (current-profile, current-profile-entries): Export.
* tests/guix-describe.sh: New file.
* doc/guix.texi (Features): Mention 'guix pull' and provenance tracking.
(Invoking guix pull): Link to 'guix describe'.
(Channels): Likewise.
(Invoking guix describe): New node.
| Ludovic Courtès |