[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
210/242: snippets: Add a 'remove' snippet.
From: |
guix-commits |
Subject: |
210/242: snippets: Add a 'remove' snippet. |
Date: |
Wed, 11 May 2022 18:03:28 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 5033f571e2187b3279d6c13db08e1cbc443323e4
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 20 01:53:31 2022 -0400
snippets: Add a 'remove' snippet.
* etc/snippets/text-mode/guix-commit-message-remove-package: New file.
---
etc/snippets/text-mode/guix-commit-message-remove-package | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/etc/snippets/text-mode/guix-commit-message-remove-package
b/etc/snippets/text-mode/guix-commit-message-remove-package
new file mode 100644
index 0000000000..0c1050f4fe
--- /dev/null
+++ b/etc/snippets/text-mode/guix-commit-message-remove-package
@@ -0,0 +1,13 @@
+# -*- mode: snippet -*-
+# name: guix-commit-message-remove-package
+# key: remove
+# condition: git-commit-mode
+# --
+gnu: Remove ${1:`(with-temp-buffer
+ (magit-git-wash #'magit-diff-wash-diffs
+ "diff" "--staged")
+ (goto-char (point-min))
+ (when (re-search-forward "\\-(define-public \\(\\S-+\\)"
nil 'noerror)
+ (match-string-no-properties 1)))`}.
+
+* `(car (magit-staged-files))` ($1): Delete variable.
- 194/242: gnu: Remove python2-jmespath., (continued)
- 194/242: gnu: Remove python2-jmespath., guix-commits, 2022/05/11
- 192/242: gnu: python-cantools: Update to 37.0.7., guix-commits, 2022/05/11
- 203/242: gnu: setzer: Add python-wrapper to fix build., guix-commits, 2022/05/11
- 205/242: gnu: python-keyring: Fix test suite., guix-commits, 2022/05/11
- 195/242: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/05/11
- 200/242: gnu: seed: Use webkitgtk-with-libsoup2., guix-commits, 2022/05/11
- 201/242: gnu: markets: Add python-wrapper to fix build., guix-commits, 2022/05/11
- 207/242: gnu: python-pingouin: Update to 0.5.1., guix-commits, 2022/05/11
- 209/242: gnu: python-flask-login: Update to 0.6.0., guix-commits, 2022/05/11
- 213/242: gnu: python-numpydoc: Update to 1.2.1., guix-commits, 2022/05/11
- 210/242: snippets: Add a 'remove' snippet.,
guix-commits <=
- 218/242: gnu: python-sphinxcontrib-websupport: Update to 1.2.4., guix-commits, 2022/05/11
- 233/242: gnu: python-qtpy: Update to 2.0.1., guix-commits, 2022/05/11
- 229/242: gnu: python-pudb: Update to 2022.1.1 and rename from pudb., guix-commits, 2022/05/11
- 219/242: gnu: python-sphinxcontrib-programoutput: Update to 0.17 and enable tests., guix-commits, 2022/05/11
- 231/242: gnu: Add texlive-underscore., guix-commits, 2022/05/11
- 216/242: gnu: python-sphinx-copybutton: Update to 0.5.0., guix-commits, 2022/05/11
- 226/242: gnu: python-sphinx-rtd-theme: Update to 1.0.0., guix-commits, 2022/05/11
- 238/242: gnu: python-multidict: Update to 5.2.0., guix-commits, 2022/05/11
- 242/242: gnu: python-sanic: Update to 21.12.1., guix-commits, 2022/05/11
- 227/242: gnu: python-numpy-documentation: Overhaul package definition., guix-commits, 2022/05/11