From: Brett Gilio <brettg@gnu.org>
To: 38738@debbugs.gnu.org
Subject: [bug#38738] [PATCH WIP] etc: Add "tarball" snippet.
Date: Tue, 24 Dec 2019 23:48:16 -0600 [thread overview]
Message-ID: <87h81pymzj.fsf@gnu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 387 bytes --]
This patch is actually a WIP. I'd ideally like it if it could also
detect the addition of `(git-file-name ...)` and add that to the
sub-header commit message portion, but I am not so talented in Yasnippet
creation :).
If anybody wants to take a crack at it, please do. But I think this
snippet will prove useful as we will almost always have unstable
tarballs coming into our sources.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: [PATCH] etc: Add "tarball" snippet. --]
[-- Type: text/x-patch, Size: 1009 bytes --]
From f4b14a47e3741c107ea83e2717674c8a032f8dba Mon Sep 17 00:00:00 2001
From: Brett Gilio <brettg@gnu.org>
Date: Tue, 24 Dec 2019 23:42:27 -0600
Subject: [PATCH] etc: Add "tarball" snippet.
* etc/snippets/text-mode/guix-commit-message-unstable-tarball: New file.
---
.../text-mode/guix-commit-message-unstable-tarball | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 etc/snippets/text-mode/guix-commit-message-unstable-tarball
diff --git a/etc/snippets/text-mode/guix-commit-message-unstable-tarball b/etc/snippets/text-mode/guix-commit-message-unstable-tarball
new file mode 100644
index 0000000000..e82f522e54
--- /dev/null
+++ b/etc/snippets/text-mode/guix-commit-message-unstable-tarball
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: guix-commit-message-unstable-tarball
+# key: tarball
+# condition: git-commit-mode
+# --
+gnu: $1: Don't use unstable tarball.
+
+* `(car (magit-staged-files))` ($1)[source]: Download using GIT-FETCH.
\ No newline at end of file
--
2.24.1
next reply other threads:[~2019-12-25 5:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-25 5:48 Brett Gilio [this message]
2019-12-25 6:42 ` [bug#38738] [PATCH WIP v2] etc: Add "tarball" snippet Brett Gilio
2020-02-27 10:14 ` Pierre Neidhardt
2022-04-12 10:40 ` [bug#38738] [PATCH WIP] " zimoun
2022-05-19 21:20 ` bug#38738: " zimoun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h81pymzj.fsf@gnu.org \
--to=brettg@gnu.org \
--cc=38738@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).