Ludovic Courtès 872898f768
channels: 'latest-channel-instances' guards against non-forward updates.
* guix/channels.scm (latest-channel-instance): Add #:starting-commit and
pass it to 'update-cached-checkout'.  Return the commit relation as a
second value.
(ensure-forward-channel-update): New procedure.
(latest-channel-instances): Add #:current-channels and #:validate-pull.
[current-commit]: New procedure.
Pass #:starting-commit to 'latest-channel-instance'.  When the returned
relation is true, call VALIDATE-PULL.
(latest-channel-derivation): Add #:current-channels and #:validate-pull.
Pass them to 'latest-channel-instances*'.
* tests/channels.scm ("latest-channel-instances #:validate-pull"): New
test.
2020-05-25 00:00:28 +02:00
..
2019-12-15 00:34:05 +01:00
2020-03-31 14:55:42 +02:00
2019-05-06 23:21:33 +02:00
2020-05-16 00:34:41 +02:00
2020-04-17 23:36:47 +02:00
2020-05-11 23:30:55 +02:00
2019-09-04 13:02:27 +02:00
2020-05-22 01:30:09 +02:00
2020-05-22 01:30:10 +02:00