aboutsummaryrefslogtreecommitdiff
path: root/guix/scripts/describe.scm
Commit message (Expand)AuthorAge
* 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ès2018-09-18
* 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ès2018-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ès2018-09-07