Skip to content
Snippets Groups Projects
  • Ludovic Courtès's avatar
    872898f7
    channels: 'latest-channel-instances' guards against non-forward updates. · 872898f7
    Ludovic Courtès authored
    * 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.
    channels: 'latest-channel-instances' guards against non-forward updates.
    Ludovic Courtès authored
    * 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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.