diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-02-02 09:37:33 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-02-04 09:23:39 +0100 |
commit | 29009fdb2d3636eafa77b406da2430b08a22d47e (patch) | |
tree | ecc24688dab77692813434501162dd7e69dddabe /gnu/packages/python-check.scm | |
parent | 8ecc265c5c6519986758567682726647850d5d03 (diff) |
channels: Consider the current channel commit as authentic.
Fixes <https://bugs.gnu.org/45895>.
When the ~/.cache/guix/authentication is empty, this change allows
authentication to start at the current commit, as shown by 'guix
describe', instead of starting from the introductory commit, which would
take more and more time (there's currently 18K commits per year).
* guix/git-authenticate.scm (authenticate-repository): Add #:authentic-commits.
[authenticated-commits]: Append it.
* guix/channels.scm (authenticate-channel)[authentic-commits]: New
variable. Pass it to 'authenticate-repository'.
Diffstat (limited to 'gnu/packages/python-check.scm')
0 files changed, 0 insertions, 0 deletions