[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa-admin 4f4a301 104/439: * GNUmakefile: Obey a .elpaignore f
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa-admin 4f4a301 104/439: * GNUmakefile: Obey a .elpaignore file in a package's root directory. |
Date: |
Sun, 17 Oct 2021 15:47:42 -0400 (EDT) |
branch: elpa-admin
commit 4f4a3019d24b3ba5980777dc834adb9da55f5dbe
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* GNUmakefile: Obey a .elpaignore file in a package's root directory.
* admin/update-archive.sh: Don't copy .elc files to build/packages.
* admin/archive-contents.el: Improve error message for invalid versions.
* externals-list: Change auctex to be external.
* copyright_exceptions: Update to adapt to AUCTeX-11.87.
* package/auctex: Move it to an external branch, updated to 11.87.
---
GNUmakefile | 24 +++++++++++++++---------
admin/archive-contents.el | 9 +++++----
2 files changed, 20 insertions(+), 13 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index 0fac72b..2b07767 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -42,15 +42,21 @@ process-archive:
# FIXME, we could probably speed this up significantly with
# rules like "%.tar: ../%/ChangeLog" so we only rebuild the packages
# that have indeed changed.
- cd $(ARCHIVE_TMP)/packages; \
- $(EMACS) -l $(CURDIR)/admin/archive-contents.el \
- -f batch-make-archive
- @cd $(ARCHIVE_TMP)/packages; \
- for pt in *; do \
- if [ -d $$pt ]; then \
- echo "Creating tarball $${pt}.tar" && \
- tar -cf $${pt}.tar $$pt --remove-files; \
- fi; \
+ cd $(ARCHIVE_TMP)/packages; \
+ $(EMACS) -l $(CURDIR)/admin/archive-contents.el \
+ -f batch-make-archive
+ @cd $(ARCHIVE_TMP)/packages; \
+ for pt in *; do \
+ if [ -f "$${pt}/.elpaignore" ]; then \
+ ignore="$${pt}/.elpaignore"; \
+ else \
+ ignore="/dev/null"; \
+ fi; \
+ if [ -d $$pt ]; then \
+ echo "Creating tarball $${pt}.tar" && \
+ tar -cf $${pt}.tar $$pt -X "$$ignore"; \
+ rm -r $${pt}; \
+ fi; \
done
mkdir -p archive/packages
mv archive/packages archive/packages-old
diff --git a/admin/archive-contents.el b/admin/archive-contents.el
index 2d588e9..499728e 100644
--- a/admin/archive-contents.el
+++ b/admin/archive-contents.el
@@ -36,7 +36,8 @@
(when vers
(let ((l (version-to-list vers)))
;; Signal an error for things like "1.02" which is parsed as "1.2".
- (assert (equal vers (package-version-join l)))
+ (assert (equal vers (package-version-join l)) nil
+ "Unsupported version syntax %S" vers)
l)))
(defun archive--convert-require (elt)
@@ -51,9 +52,9 @@ Otherwise return nil."
(when (string-match "\\`[ \t]*[$]Revision:[ \t]+" str)
(setq str (substring str (match-end 0))))
(condition-case nil
- (if (archive--version-to-list str)
- str)
- (error nil))))
+ (if (archive--version-to-list str)
+ str)
+ (error str))))
(defun archive--delete-elc-files (dir &optional only-orphans)
"Recursively delete all .elc files in DIR.
- [nongnu] elpa-admin dc8ca2b 072/439: Note availability of Melpa packages, (continued)
- [nongnu] elpa-admin dc8ca2b 072/439: Note availability of Melpa packages, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 518362a 073/439: Merge pull request #13 from dgutov/master, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 50b05c8 074/439: Add SML-mode., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 4eaf276 078/439: * admin/archive-contents.el (batch-make-archive): Don't demote errors., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin b7f2140 081/439: Thanks go to Lars Andersen., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 87dd559 092/439: Update infrastructure for Git., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 2ebff0e 093/439: Use README.{rst,md,org}; Auto-generate foo-pkg.el., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 55c3f5d 100/439: Add YAsnippet metadata., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 73304d8 097/439: Fix up deployment script, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin c8efad2 096/439: Fix up copyrights and the checking code, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 4f4a301 104/439: * GNUmakefile: Obey a .elpaignore file in a package's root directory.,
Philip Kaludercic <=
- [nongnu] elpa-admin e38e391 108/439: Use lm-keywords-list instead of split-string for archive contents., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 7db4e2d 112/439: small updates to README and NOTES, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin b84cae0 119/439: * archive-contents.el (archive--simple-package-p): Quote the, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 876bb45 128/439: Merge git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin e52215f 124/439: first commit, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin a0b6599 127/439: Subject: Fix up quoting of keywords. Remove leftover support for *-pkg.el., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin f5586f2 135/439: bump version to 0.1.1, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 27c180f 145/439: * README: Update for new "Version: 0" convention., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 84f4eb7 153/439: * wcheck-mode: New package., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin f08292f 152/439: * admin/archive-contents.el: Don't stop at the first incorrect version string., Philip Kaludercic, 2021/10/17