aboutsummaryrefslogtreecommitdiff
# -*- mode: snippet -*-
# name: guix-vc-commit-message-rename-package
# key: rename
# --
gnu: ${1:`(when (string-match "\\-(define-public \\(\\S-+\\)" vc-patch-string)
            (match-string-no-properties 1 vc-patch-string))
            `}: Rename package to ${2:`
            (when (string-match "\\+(define-public \\(\\S-+\\)" vc-patch-string)
            (match-string-no-properties 1 vc-patch-string))`}.

* `(car (log-edit-files))` ($1): Define in terms of
'deprecated-package'.
($2): New variable, formerly known as "$1".
`(mapconcat (lambda (file) (concat "* " file)) (cdr (log-edit-files)) "\n")`
0a05'>guix: Replace 'define-public'....This is a followup to 8531997d2a1e10d574a6e9ab70bc86ade6af4733. * guix.scm: Use #:re-export-and-replace for 'define-public'. Ludovic Courtès 2021-06-29(guix) no longer pulls in (guix ftp-client)....That choice was made in 2014 and never made much sense. * guix.scm (%public-modules): Remove 'ftp-client'. Ludovic Courtès