[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: |
Thu, 12 May 2022 14:14:37 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit e56ff456000155d8ecaf61b1a9af8ac93bda7eb4
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.
- 197/242: gnu: Remove python-orator due to being broken and unmaintained., (continued)
- 197/242: gnu: Remove python-orator due to being broken and unmaintained., guix-commits, 2022/05/12
- 161/242: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/05/12
- 194/242: gnu: Remove python2-jmespath., guix-commits, 2022/05/12
- 195/242: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/05/12
- 185/242: gnu: python-multipart: Fix build with PyYAML 6., guix-commits, 2022/05/12
- 180/242: gnu: python-celery: Update to 5.2.6 and enable tests., guix-commits, 2022/05/12
- 179/242: gnu: python-kombu: Update to 5.2.4., guix-commits, 2022/05/12
- 191/242: gnu: Add python-crccheck., guix-commits, 2022/05/12
- 203/242: gnu: setzer: Add python-wrapper to fix build., guix-commits, 2022/05/12
- 200/242: gnu: seed: Use webkitgtk-with-libsoup2., guix-commits, 2022/05/12
- 210/242: snippets: Add a 'remove' snippet.,
guix-commits <=
- 221/242: gnu: python-sphinx-cloud-sptheme: Update to 1.10.1 [still broken]., guix-commits, 2022/05/12
- 223/242: gnu: Add python-nptyping., guix-commits, 2022/05/12
- 220/242: gnu: python-sphinx-argparse: Update to 0.3.1., guix-commits, 2022/05/12
- 213/242: gnu: python-numpydoc: Update to 1.2.1., guix-commits, 2022/05/12
- 228/242: gnu: Add python-ipdb., guix-commits, 2022/05/12
- 227/242: gnu: python-numpy-documentation: Overhaul package definition., guix-commits, 2022/05/12
- 231/242: gnu: Add texlive-underscore., guix-commits, 2022/05/12
- 230/242: gnu: Add python-mpl-sphinx-theme., guix-commits, 2022/05/12
- 240/242: gnu: Add python-sanic-bootstrap., guix-commits, 2022/05/12
- 234/242: gnu: python-qtconsole: Update to 5.3.0., guix-commits, 2022/05/12