[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50359] [PATCH 2/3] tests: git: Make 'tag' directive non-interactive
From: |
Ludovic Courtès |
Subject: |
[bug#50359] [PATCH 2/3] tests: git: Make 'tag' directive non-interactive. |
Date: |
Mon, 13 Sep 2021 10:03:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
Xinglu Chen <public@yoctocell.xyz> 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’.
- [bug#50359] [PATCH] import: Add 'generic-git' updater., (continued)
- [bug#50359] [PATCH] import: Add 'generic-git' updater., Xinglu Chen, 2021/09/06
- [bug#50359] [PATCH] import: Add 'generic-git' updater., Sarah Morgensen, 2021/09/06
- [bug#50359] [PATCH] import: Add 'generic-git' updater., Xinglu Chen, 2021/09/07
- [bug#50359] [PATCH] import: Add 'generic-git' updater., Xinglu Chen, 2021/09/08
- [bug#50359] [PATCH] import: Add 'generic-git' updater., Ludovic Courtès, 2021/09/10
- [bug#50359] [PATCH] import: Add 'generic-git' updater., Xinglu Chen, 2021/09/10
[bug#50359] [PATCH] import: Add 'generic-git' updater., Xinglu Chen, 2021/09/05
[bug#50359] [PATCH 0/3] Add 'generic-git' updater., Xinglu Chen, 2021/09/10
- [bug#50359] [PATCH 2/3] tests: git: Make 'tag' directive non-interactive., Xinglu Chen, 2021/09/10
- [bug#50359] [PATCH 2/3] tests: git: Make 'tag' directive non-interactive.,
Ludovic Courtès <=
- [bug#50359] [PATCH 3/3] import: Add 'generic-git' updater., Xinglu Chen, 2021/09/10
- [bug#50359] [PATCH 3/3] import: Add 'generic-git' updater., Ludovic Courtès, 2021/09/13
- [bug#50359] [PATCH 3/3] import: Add 'generic-git' updater., Sarah Morgensen, 2021/09/16
- [bug#50359] [PATCH 3/3] import: Add 'generic-git' updater., Xinglu Chen, 2021/09/16
- [bug#50359] [PATCH 3/3] import: Add 'generic-git' updater., Sarah Morgensen, 2021/09/16
- [bug#50359] [PATCH 3/3] import: Add 'generic-git' updater., Xinglu Chen, 2021/09/17
[bug#50359] [PATCH 1/3] tests: git: Don't read from the users global Git config file., Xinglu Chen, 2021/09/10
[bug#50359] [PATCH v3 0/3] Add 'generic-git' updater, Xinglu Chen, 2021/09/17