[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
210/232: snippets: Add a 'remove' snippet.
From: |
guix-commits |
Subject: |
210/232: snippets: Add a 'remove' snippet. |
Date: |
Sun, 24 Apr 2022 23:59:14 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 95d69c02853644692e9179ee96ff63edbf59118c
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.
- 168/232: gnu: python-jupyter-kernel-mgmt: Update to 0.5.1 and disable tests., (continued)
- 168/232: gnu: python-jupyter-kernel-mgmt: Update to 0.5.1 and disable tests., guix-commits, 2022/04/24
- 174/232: gnu: conan: Update to 1.47.0 and relax PyYAML requirement., guix-commits, 2022/04/24
- 179/232: gnu: python-kombu: Update to 5.2.4., guix-commits, 2022/04/24
- 182/232: gnu: python-bitstruct: Update to 8.14.0., guix-commits, 2022/04/24
- 187/232: gnu: Add python-pyyaml-env-tag., guix-commits, 2022/04/24
- 197/232: gnu: Remove python-orator due to being broken and unmaintained., guix-commits, 2022/04/24
- 200/232: gnu: seed: Use webkitgtk-with-libsoup2., guix-commits, 2022/04/24
- 199/232: gnu: weasyprint: Update to 54.3., guix-commits, 2022/04/24
- 203/232: gnu: setzer: Add python-wrapper to fix build., guix-commits, 2022/04/24
- 209/232: gnu: python-flask-login: Update to 0.6.0., guix-commits, 2022/04/24
- 210/232: snippets: Add a 'remove' snippet.,
guix-commits <=
- 211/232: gnu: python2-sqlalchemy: Skip a failing test., guix-commits, 2022/04/24
- 217/232: gnu: python-sphinx-click: Update to 4.0.3 and enable tests., guix-commits, 2022/04/24
- 220/232: gnu: python-sphinx-argparse: Update to 0.3.1., guix-commits, 2022/04/24
- 223/232: gnu: Add python-nptyping., guix-commits, 2022/04/24
- 225/232: gnu: python-sphinxext-opengraph: Update to 0.6.3., guix-commits, 2022/04/24
- 227/232: gnu: python-numpy-documentation: Overhaul package definition., guix-commits, 2022/04/24
- 228/232: gnu: Add python-ipdb., guix-commits, 2022/04/24
- 232/232: gnu: python-matplotlib-documentation: Fix build., guix-commits, 2022/04/24