* [bug#49141] [PATCH] etc: snippets: Use ‘hg-file-name’ when origin uses ‘hg-fetch’.
@ 2021-06-20 16:30 Xinglu Chen
2021-06-20 18:44 ` [bug#49141] [PATCH v2] " Xinglu Chen
0 siblings, 1 reply; 3+ messages in thread
From: Xinglu Chen @ 2021-06-20 16:30 UTC (permalink / raw)
To: 49141
Adjust to changes in commit aaafd19bd1e37265de07e246286a6819792c25b4.
* etc/snippets/scheme-mode/guix-origin: Use ‘hg-file-name’ instead of
‘string-append’ when ‘method’ for origin is ‘hg-fetch’.
---
etc/snippets/scheme-mode/guix-origin | 2 ++
1 file changed, 2 insertions(+)
diff --git a/etc/snippets/scheme-mode/guix-origin b/etc/snippets/scheme-mode/guix-origin
index 2820a369f3..b763a32926 100644
--- a/etc/snippets/scheme-mode/guix-origin
+++ b/etc/snippets/scheme-mode/guix-origin
@@ -19,6 +19,8 @@
(t "(string-append \\"https://\\" version \\".tar.gz\\")"))}$0)
${1:$(cond ((equal yas-text "git-fetch")
"(file-name (git-file-name name version))")
+ ((equal yas-text "hg-fetch")
+ "(file-name (hg-file-name name version))")
((member yas-text '("svn-fetch" "hg-fetch" "cvs-fetch" "bzr-fetch"))
"(file-name (string-append name \\"-\\" version \\"-checkout\\"))")
(t ""))}
base-commit: a211078f992bc5a26eaf787c6b01caa41de67597
--
2.32.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#49141] [PATCH v2] etc: snippets: Use ‘hg-file-name’ when origin uses ‘hg-fetch’
2021-06-20 16:30 [bug#49141] [PATCH] etc: snippets: Use ‘hg-file-name’ when origin uses ‘hg-fetch’ Xinglu Chen
@ 2021-06-20 18:44 ` Xinglu Chen
2021-06-26 20:45 ` bug#49141: [PATCH] " Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Xinglu Chen @ 2021-06-20 18:44 UTC (permalink / raw)
To: 49141
Adjust to changes in commit aaafd19bd1e37265de07e246286a6819792c25b4.
* etc/snippets/scheme-mode/guix-origin: Use ‘hg-file-name’ instead of
‘string-append’ when ‘method’ for origin is ‘hg-fetch’.
---
Changes since v1:
* Remove ‘hg-fetch’ from the line below
etc/snippets/scheme-mode/guix-origin | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/etc/snippets/scheme-mode/guix-origin b/etc/snippets/scheme-mode/guix-origin
index 2820a369f3..eb0cdc8242 100644
--- a/etc/snippets/scheme-mode/guix-origin
+++ b/etc/snippets/scheme-mode/guix-origin
@@ -19,7 +19,9 @@
(t "(string-append \\"https://\\" version \\".tar.gz\\")"))}$0)
${1:$(cond ((equal yas-text "git-fetch")
"(file-name (git-file-name name version))")
- ((member yas-text '("svn-fetch" "hg-fetch" "cvs-fetch" "bzr-fetch"))
+ ((equal yas-text "hg-fetch")
+ "(file-name (hg-file-name name version))")
+ ((member yas-text '("svn-fetch" "cvs-fetch" "bzr-fetch"))
"(file-name (string-append name \\"-\\" version \\"-checkout\\"))")
(t ""))}
(sha256
base-commit: a211078f992bc5a26eaf787c6b01caa41de67597
--
2.32.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#49141: [PATCH] etc: snippets: Use ‘hg-file-name’ when origin uses ‘hg-fetch’.
2021-06-20 18:44 ` [bug#49141] [PATCH v2] " Xinglu Chen
@ 2021-06-26 20:45 ` Ludovic Courtès
0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2021-06-26 20:45 UTC (permalink / raw)
To: Xinglu Chen; +Cc: 49141-done
Hi,
Xinglu Chen <public@yoctocell.xyz> skribis:
> Adjust to changes in commit aaafd19bd1e37265de07e246286a6819792c25b4.
>
> * etc/snippets/scheme-mode/guix-origin: Use ‘hg-file-name’ instead of
> ‘string-append’ when ‘method’ for origin is ‘hg-fetch’.
Applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-06-26 20:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-20 16:30 [bug#49141] [PATCH] etc: snippets: Use ‘hg-file-name’ when origin uses ‘hg-fetch’ Xinglu Chen
2021-06-20 18:44 ` [bug#49141] [PATCH v2] " Xinglu Chen
2021-06-26 20:45 ` bug#49141: [PATCH] " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).