Subject: [bug#41653] [PATCH 0/4] Add (guix git-authenticate) with tests

From: Ludovic Courtès <[email-masked]>
Date: Mon, 1 Jun 2020 23:29:57 +0200

Hello Guix!

This series moves code from ‘build-aux/git-authenticate.scm’ to a proper
module in preparation of integration with (guix channels), as discussed
at <https://issues.guix.gnu.org/22883>.

More importantly, it adds tests.  I hope those tests are readable and
I would welcome feedback on all this!

Ludo’.

Ludovic Courtès (4):
  Add (guix git-authenticate).
  git-authenticate: Don't hard-code "origin/" for keyring reference.
  git-authenticate: Raise proper SRFI-35 conditions.
  git-authenticate: Add tests.

 .dir-locals.el                 |   2 +
 Makefile.am                    |   9 +-
 build-aux/git-authenticate.scm | 203 +----------------------
 guix/git-authenticate.scm      | 282 ++++++++++++++++++++++++++++++++
 guix/tests/git.scm             |  26 +--
 guix/tests/gnupg.scm           |  72 +++++++++
 tests/ed25519bis.key           |  10 ++
 tests/ed25519bis.sec           |  10 ++
 tests/git-authenticate.scm     | 286 +++++++++++++++++++++++++++++++++
 9 files changed, 684 insertions(+), 216 deletions(-)
 create mode 100644 guix/git-authenticate.scm
 create mode 100644 guix/tests/gnupg.scm
 create mode 100644 tests/ed25519bis.key
 create mode 100644 tests/ed25519bis.sec
 create mode 100644 tests/git-authenticate.scm

-- 
2.26.2