[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
210/233: snippets: Add a 'remove' snippet.
From: |
guix-commits |
Subject: |
210/233: snippets: Add a 'remove' snippet. |
Date: |
Sun, 24 Apr 2022 23:40:07 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 07241aa59969a055fe25baa339d845e3330a4d4a
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.
- 185/233: gnu: python-multipart: Fix build with PyYAML 6., (continued)
- 185/233: gnu: python-multipart: Fix build with PyYAML 6., guix-commits, 2022/04/24
- 188/233: gnu: python-ghp-import: Update to 2.0.2., guix-commits, 2022/04/24
- 191/233: gnu: Add python-crccheck., guix-commits, 2022/04/24
- 196/233: gnu: python-miio: Update to 0.5.11., guix-commits, 2022/04/24
- 198/233: gnu: Add python-pydyf., guix-commits, 2022/04/24
- 202/233: gnu: libgrss: Use libsoup-minimal-2 to fix build., guix-commits, 2022/04/24
- 200/233: gnu: seed: Use webkitgtk-with-libsoup2., guix-commits, 2022/04/24
- 201/233: gnu: markets: Add python-wrapper to fix build., guix-commits, 2022/04/24
- 205/233: gnu: python-keyring: Fix test suite., guix-commits, 2022/04/24
- 206/233: gnu: Remove python2-keyring., guix-commits, 2022/04/24
- 210/233: snippets: Add a 'remove' snippet.,
guix-commits <=
- 211/233: gnu: python2-sqlalchemy: Skip a failing test., guix-commits, 2022/04/24
- 212/233: gnu: dynaconf: Fix build following python-click upgrade., guix-commits, 2022/04/24
- 213/233: gnu: python-numpydoc: Update to 1.2.1., guix-commits, 2022/04/24
- 214/233: gnu: python-sphinx: Update to 4.5.0., guix-commits, 2022/04/24
- 217/233: gnu: python-sphinx-click: Update to 4.0.3 and enable tests., guix-commits, 2022/04/24
- 220/233: gnu: python-sphinx-argparse: Update to 0.3.1., guix-commits, 2022/04/24
- 221/233: gnu: python-sphinx-cloud-sptheme: Update to 1.10.1 [still broken]., guix-commits, 2022/04/24
- 224/233: gnu: python-sphinx-autodoc-typehints: Update to 1.18.1., guix-commits, 2022/04/24
- 222/233: gnu: Add python-beartype., guix-commits, 2022/04/24
- 228/233: gnu: Add python-ipdb., guix-commits, 2022/04/24