[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/09: gnu-maintenance: GNU updater handles gnu.org-hosted Emacs package
From: |
Ludovic Courtès |
Subject: |
02/09: gnu-maintenance: GNU updater handles gnu.org-hosted Emacs packages. |
Date: |
Fri, 27 Jan 2017 23:38:49 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit 2e2cf9a3bd9f95c4d19f9acf9fd6c88dc48e7291
Author: Ludovic Courtès <address@hidden>
Date: Fri Jan 27 23:24:21 2017 +0100
gnu-maintenance: GNU updater handles gnu.org-hosted Emacs packages.
* guix/gnu-maintenance.scm (pure-gnu-package?): If an "emacs-" package
matches 'gnu-hosted?', return true.
(gnu-hosted?): New procedure.
---
guix/gnu-maintenance.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index 499967e..8a37ce5 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -448,8 +448,10 @@ hosted on ftp.gnu.org, or not under that name (this is the
case for
(define (pure-gnu-package? package)
"Return true if PACKAGE is a non-Emacs and non-GNOME GNU package. This
excludes AucTeX, for instance, whose releases are now uploaded to
-elpa.gnu.org, and all the GNOME packages."
- (and (not (string-prefix? "emacs-" (package-name package)))
+elpa.gnu.org, and all the GNOME packages; EMMS is included though, because its
+releases are on gnu.org."
+ (and (or (not (string-prefix? "emacs-" (package-name package)))
+ (gnu-hosted? package))
(not (gnome-package? package))
(gnu-package? package)))
@@ -471,6 +473,9 @@ source URLs starts with PREFIX."
(_ #f)))
(_ #f))))
+(define gnu-hosted?
+ (url-prefix-predicate "mirror://gnu/"))
+
(define gnome-package?
(url-prefix-predicate "mirror://gnome/"))
- branch master updated (d61b248 -> b45dbfc), Ludovic Courtès, 2017/01/27
- 03/09: gnu: emacs-emms: Add 'upstream-name' property., Ludovic Courtès, 2017/01/27
- 08/09: doc: Add missing Upstart command for the binary installation., Ludovic Courtès, 2017/01/27
- 07/09: doc: Add 'cups-configuration' example with 'hplip'., Ludovic Courtès, 2017/01/27
- 09/09: tests: Adjust pypi test to recent importer change., Ludovic Courtès, 2017/01/27
- 05/09: import: github: Better tolerate unexpected file extensions., Ludovic Courtès, 2017/01/27
- 01/09: gnu-maintenance: Honor 'upstream-name' property in GNU updater., Ludovic Courtès, 2017/01/27
- 02/09: gnu-maintenance: GNU updater handles gnu.org-hosted Emacs packages.,
Ludovic Courtès <=
- 04/09: gnu-maintenance: 'gnu-package?' ignores invalid URLs., Ludovic Courtès, 2017/01/27
- 06/09: packages: Add 'package-upstream-name' and use it., Ludovic Courtès, 2017/01/27