diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-09-02 21:12:59 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-09-02 21:12:59 +0200 |
commit | ef8993e2dc90fd5d63d016fc45912ad451bf787c (patch) | |
tree | 704a6fb13d942006779a36c7fa43cf8f1a7587fc /srfi | |
parent | fa747b27fc972240ca3f00a1a4d36e6601d0450e (diff) | |
download | guix-ef8993e2dc90fd5d63d016fc45912ad451bf787c.tar guix-ef8993e2dc90fd5d63d016fc45912ad451bf787c.tar.gz |
profiles: Report the old and new version number in upgrades.
* guix/profiles.scm (manifest-lookup): New procedure.
(manifest-installed?): Use it.
(manifest-transaction-effects): Return a pair of entries for upgrades.
(right-arrow): New procedure.
(manifest-show-transaction)[upgrade-string, →]: New variables.
Report upgrades using 'upgrade-string'.
* tests/profiles.scm ("manifest-show-transaction"): New test.
("manifest-transaction-effects"): Match UPGRADE against a pair.
Diffstat (limited to 'srfi')
0 files changed, 0 insertions, 0 deletions