[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/14: etc: Default to variables in tempel's git-reference... et al.
From: |
guix-commits |
Subject: |
14/14: etc: Default to variables in tempel's git-reference... et al. |
Date: |
Sun, 5 Mar 2023 03:44:41 -0500 (EST) |
lilyp pushed a commit to branch master
in repository guix.
commit d92ec2f2812c76b23aab778e26708cf353542ae9
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sun Feb 26 21:56:33 2023 +0100
etc: Default to variables in tempel's git-reference... et al.
Since we encourage using variables rather than magic hashes in the commit
fields, e.g. (commit version) and (commit commit), the default for
tempel to use quoted strings is rather off. Thus, let the placeholder
reflect
actual usage.
* etc/snippets/tempel/scheme-mode (git-reference...)[commit]: Use field name
as placeholder and don't quote value.
(svn-reference..., bzr-reference...)[revision]: Likewise.
(hg-reference...)[changeset]: Likewise.
---
etc/snippets/tempel/scheme-mode | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/etc/snippets/tempel/scheme-mode b/etc/snippets/tempel/scheme-mode
index 54cb8e40a9..ef73a1e595 100644
--- a/etc/snippets/tempel/scheme-mode
+++ b/etc/snippets/tempel/scheme-mode
@@ -56,12 +56,12 @@ scheme-mode
(git-reference...
"(git-reference"
n> "(url \"" p "\")"
- n> "(commit \"" p "\"))")
+ n> "(commit " (p "commit") "))")
(svn-reference...
"(svn-reference"
n> "(url \"" p "\")"
- n> "(revision \"" p "\"))")
+ n> "(revision " (p "revision") "))")
(cvs-reference...
"(cvs-reference"
@@ -72,12 +72,12 @@ scheme-mode
(hg-reference...
"(hg-reference"
n> "(url \"" p "\")"
- n> "(changeset \"" p "\"))")
+ n> "(changeset " (p "changeset") "))")
(bzr-reference...
"(bzr-reference"
n> "(url \"" p "\")"
- n> "(revision \"" p "\"))")
+ n> "(revision " (p "revision") "))")
(:phases\ "#:phases (modify-phases %standard-phases"
n> p ")")
- branch master updated (a4fca7884c -> d92ec2f281), guix-commits, 2023/03/05
- 02/14: gnu: meld: Use new package style., guix-commits, 2023/03/05
- 04/14: gnu: tracker: Use G-Expressions in arguments., guix-commits, 2023/03/05
- 05/14: gnu: tracker: Update to 3.4.2., guix-commits, 2023/03/05
- 08/14: gnu: Add yices., guix-commits, 2023/03/05
- 10/14: gnu: Add boolector., guix-commits, 2023/03/05
- 14/14: etc: Default to variables in tempel's git-reference... et al.,
guix-commits <=
- 03/14: gnu: tracker: Don't wrap binaries in libexec/tracker3 directory., guix-commits, 2023/03/05
- 01/14: gnu: meld: Update to 3.22.0, guix-commits, 2023/03/05
- 06/14: gnu: Add cudd., guix-commits, 2023/03/05
- 09/14: gnu: Add btor2tools., guix-commits, 2023/03/05
- 12/14: gnu: komikku: Update to 1.12.1., guix-commits, 2023/03/05
- 13/14: gnu: Add tenacity., guix-commits, 2023/03/05
- 07/14: gnu: Add libpoly., guix-commits, 2023/03/05
- 11/14: gnu: Add java-smtinterpol., guix-commits, 2023/03/05