Subject: [bug#50359] [PATCH 2/3] tests: git: Make 'tag' directive non-interactive.

From: Ludovic Courtès <[email-masked]>
Date: Mon, 13 Sep 2021 10:03:20 +0200

Hello,

Xinglu Chen <[email-masked]> skribis:

> When running 'git tag TAGNAME', Git will open up the user's default text
> editor to make them write a message.  This is not desirable when running
> tests.
>
> * guix/tests/git.scm (populate-git-repository): Make the 'tag' directive take
> an additional argument, and pass it to the '-m' flag.

[...]

> -      ((('tag name) rest ...)
> -       (git "tag" name)
> +      ((('tag name text) rest ...)
> +       (git "tag" "-m" text name)

LGTM, but you need to update at least tests/channels.scm accordingly.

Thanks,
Ludo’.