diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-09-06 22:28:12 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-09-06 23:22:10 +0200 |
commit | 5239f3d90841de767c86d0f3a7975b8d799d583d (patch) | |
tree | 0b785fe2d906e867bf25002d82ce2d0f89c24504 /HACKING | |
parent | c8c25704aeb2e5fa4feb6a86235f9565738eea99 (diff) | |
download | guix-5239f3d90841de767c86d0f3a7975b8d799d583d.tar guix-5239f3d90841de767c86d0f3a7975b8d799d583d.tar.gz |
guix package: Build up the transaction incrementally.
* guix/scripts/package.scm (upgraded-manifest-entry): Rename to...
(transaction-upgrade-entry): ... this. Add 'transaction' parameter and
return a transaction.
(options->installable): Likewise.
[to-upgrade]: Rename to...
[upgraded]: ... this, and change to be a transaction. Return a
transaction.
(options->removable): Likewise.
(process-actions): Adjust accordingly.
* tests/packages.scm ("transaction-upgrade-entry, zero upgrades")
("transaction-upgrade-entry, one upgrade"): New tests.
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions