From patchwork Wed Dec 25 05:48:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brett Gilio X-Patchwork-Id: 19438 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 99B5B17981; Wed, 25 Dec 2019 05:49:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 56BB617978 for ; Wed, 25 Dec 2019 05:49:10 +0000 (GMT) Received: from localhost ([::1]:44112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ijzXh-00082v-Oa for patchwork@mira.cbaines.net; Wed, 25 Dec 2019 00:49:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40750) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ijzXc-00081b-3k for guix-patches@gnu.org; Wed, 25 Dec 2019 00:49:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ijzXb-0001nD-3y for guix-patches@gnu.org; Wed, 25 Dec 2019 00:49:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47247) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ijzXa-0001mb-8Y for guix-patches@gnu.org; Wed, 25 Dec 2019 00:49:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ijzXa-0002ab-66 for guix-patches@gnu.org; Wed, 25 Dec 2019 00:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38738] [PATCH WIP] etc: Add "tarball" snippet. Resent-From: Brett Gilio Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Dec 2019 05:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38738 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38738@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15772528979902 (code B ref -1); Wed, 25 Dec 2019 05:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Dec 2019 05:48:17 +0000 Received: from localhost ([127.0.0.1]:53220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ijzWr-0002Ze-IS for submit@debbugs.gnu.org; Wed, 25 Dec 2019 00:48:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:53180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ijzWp-0002ZW-8Y for submit@debbugs.gnu.org; Wed, 25 Dec 2019 00:48:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40119) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ijzWo-0007Za-24 for guix-patches@gnu.org; Wed, 25 Dec 2019 00:48:14 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ijzWn-0000rl-T0 for guix-patches@gnu.org; Wed, 25 Dec 2019 00:48:13 -0500 Received: from [2605:6000:1a0d:6320::6a8] (port=39206 helo=oryx) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ijzWn-0007PJ-54 for guix-patches@gnu.org; Wed, 25 Dec 2019 00:48:13 -0500 From: Brett Gilio Date: Tue, 24 Dec 2019 23:48:16 -0600 Message-ID: <87h81pymzj.fsf@gnu.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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. From f4b14a47e3741c107ea83e2717674c8a032f8dba Mon Sep 17 00:00:00 2001 From: Brett Gilio 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