[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa-admin 28819e8 192/439: Skip uninteresting elements
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa-admin 28819e8 192/439: Skip uninteresting elements |
Date: |
Sun, 17 Oct 2021 15:48:00 -0400 (EDT) |
branch: elpa-admin
commit 28819e8fe263d3cef57cb1bc0c3a2b2d958e5b7b
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
Skip uninteresting elements
(batch-html-make-index): Skip .sig files.
(archive--cleanup-packages): Skip non-plain directories.
(archive--core-package-sync): Don't use pcase pattern `t'.
---
admin/archive-contents.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/admin/archive-contents.el b/admin/archive-contents.el
index acfe34d..5ead837 100755
--- a/admin/archive-contents.el
+++ b/admin/archive-contents.el
@@ -1,6 +1,6 @@
;;; archive-contents.el --- Auto-generate an Emacs Lisp package archive. -*-
lexical-binding:t -*-
-;; Copyright (C) 2011-2014 Free Software Foundation, Inc
+;; Copyright (C) 2011-2015 Free Software Foundation, Inc
;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
@@ -531,6 +531,7 @@ Rename DIR/ to PKG-VERS/, and return the descriptor."
(cond
((member file '("." ".." "elpa.rss" "index.html" "archive-contents")))
((string-match "\\.html\\'" file))
+ ((string-match "\\.sig\\'" file))
((string-match "-readme\\.txt\\'" file)
(let ((name (substring file 0 (match-beginning 0))))
(puthash name (gethash name packages) packages)))
@@ -592,6 +593,9 @@ Rename DIR/ to PKG-VERS/, and return the descriptor."
(let ((default-directory (expand-file-name "packages/")))
(dolist (dir (directory-files "."))
(cond
+ ((or (not (file-directory-p dir)) (file-symlink-p dir))
+ ;; We only add/remove plain directories in elpa/packages (not
symlinks).
+ nil)
((member dir '("." "..")) nil)
((assoc dir externals-list) nil)
((file-directory-p (expand-file-name (format "%s/.git" dir)))
@@ -698,7 +702,7 @@ Rename DIR/ to PKG-VERS/, and return the descriptor."
(pcase file-pattern
((pred (stringp)) (cons file-pattern ""))
(`(,file ,dest . ,_) (cons file dest))
- (t (error "Unrecognized file format for package %s: %S"
+ (_ (error "Unrecognized file format for package %s: %S"
name file-pattern))))
(if (stringp file-patterns)
;; Files may be just a string, normalize.
- [nongnu] elpa-admin 3038d13 151/439: README: Use remote.origin.url to avoid loosing write access and save some typing., (continued)
- [nongnu] elpa-admin 3038d13 151/439: README: Use remote.origin.url to avoid loosing write access and save some typing., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 548b0ee 164/439: Remove version.texi from the repo, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 0b918e3 191/439: Merge ack master from github.com:leoliu/ack-el, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 2970d75 176/439: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin c8403d5 175/439: Add 'packages/loc-changes/' from commit 'efbe022eaeef0ccc54ffe219216974a786c3301c', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 3a129d5 190/439: Add support to build packages from Emacs repo, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 788c439 170/439: Merge commit 'fea2a8b1c10f9f29ba6924b17892de670b650756', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 5a1a2bc 184/439: Merge commit '32b1944d5f0a65aa10c6768f4865f7ed1de8eb49' as 'packages/pinentry', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 4d58120 179/439: * GNUmakefile: Fix autoloads generation for aggressive-indent, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin aec5d97 172/439: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 28819e8 192/439: Skip uninteresting elements,
Philip Kaludercic <=
- [nongnu] elpa-admin cb8a04b 195/439: * admin/archive-contents.el: Improve docstrings, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin ac1e1e9 198/439: README: Fix typos., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin f936e1e 180/439: Merge dummy commit to add the gnorb subtree metadata., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 3a394c3 188/439: Merge commit 'd76bcd7c0dcecb33e6955e25963028600c371588', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 5e9fdd4 197/439: * README: Revert change about package.el headers, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 9731033 204/439: Use symbolic links for core packages, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 7edd6ff 205/439: Dereference symlinks when creating tarballs, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin df09582 201/439: * README: Add submission guideline, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 7fa1dbd 214/439: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 5571ea8 211/439: Add symlink to README, Philip Kaludercic, 2021/10/17