Skip to content
Snippets Groups Projects
  • Ludovic Courtès's avatar
    43badf26
    channels: 'latest-channel-instance' authenticates Git checkouts. · 43badf26
    Ludovic Courtès authored
    Fixes <https://bugs.gnu.org/22883>.
    
    * guix/channels.scm (<channel>)[introduction]: New field.
    (<channel-introduction>): New record type.
    (%guix-channel-introduction): New variable.
    (%default-channels): Use it.
    (<channel-metadata>)[keyring-reference]: New field.
    (%default-keyring-reference): New variable.
    (read-channel-metadata, read-channel-metadata-from-source): Initialize
    the 'keyring-reference' field.
    (commit-short-id, verify-introductory-commit)
    (authenticate-channel): New procedures.
    (latest-channel-instance): Call 'authenticate-channel' when CHANNEL has
    an introduction.
    * tests/channels.scm (gpg+git-available?, commit-id-string): New
    procedures.
    ("authenticate-channel, wrong first commit signer"):
    ("authenticate-channel, .guix-authorizations"): New tests.
    * doc/guix.texi (Invoking guix pull): Mention authentication.
    43badf26
    History
    channels: 'latest-channel-instance' authenticates Git checkouts.
    Ludovic Courtès authored
    Fixes <https://bugs.gnu.org/22883>.
    
    * guix/channels.scm (<channel>)[introduction]: New field.
    (<channel-introduction>): New record type.
    (%guix-channel-introduction): New variable.
    (%default-channels): Use it.
    (<channel-metadata>)[keyring-reference]: New field.
    (%default-keyring-reference): New variable.
    (read-channel-metadata, read-channel-metadata-from-source): Initialize
    the 'keyring-reference' field.
    (commit-short-id, verify-introductory-commit)
    (authenticate-channel): New procedures.
    (latest-channel-instance): Call 'authenticate-channel' when CHANNEL has
    an introduction.
    * tests/channels.scm (gpg+git-available?, commit-id-string): New
    procedures.
    ("authenticate-channel, wrong first commit signer"):
    ("authenticate-channel, .guix-authorizations"): New tests.
    * doc/guix.texi (Invoking guix pull): Mention authentication.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.