[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa-admin 4f4a301 104/357: * GNUmakefile: Obey a .elpaignore fil
From: |
Stefan Monnier |
Subject: |
[elpa] elpa-admin 4f4a301 104/357: * GNUmakefile: Obey a .elpaignore file in a package's root directory. |
Date: |
Thu, 10 Dec 2020 18:06:24 -0500 (EST) |
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.
- [elpa] elpa-admin da7456c 065/357: write README in markdown, (continued)
- [elpa] elpa-admin da7456c 065/357: write README in markdown, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 49fce77 070/357: Rename README to README.rst, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin cbd75c6 082/357: README.md, load-relative.el: Go over documentation. Makefile.am: add targets test and test-short, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin c497b5b 083/357: * GNUmakefile: Rename from Makefile. Add targets for in-place use., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 42c5112 084/357: * GNUmakefile (%.elc): Don't depend on $(autoloads) since that causes, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 480283a 089/357: Move check_copyright to the makefile, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin bffc4a6 090/357: Don't create local branches, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 2ebff0e 093/357: Use README.{rst,md,org}; Auto-generate foo-pkg.el., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 55c3f5d 100/357: Add YAsnippet metadata., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 21e1b0e 101/357: Sync with yasnippet/master, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 4f4a301 104/357: * GNUmakefile: Obey a .elpaignore file in a package's root directory.,
Stefan Monnier <=
- [elpa] elpa-admin 0ed260a 107/357: add :keywords to extra package properties, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 52e4af0 105/357: Add new element to the archive-contents vector, and put, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 9f93862 109/357: seems to be generally usable, added a README, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 8d5c048 169/357: Merge commit 'c876c3c62f03d7e945b049932a55496b3cdfe05d', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 134842c 174/357: Merge commit '0e1d1440e4819d76cc68b213431722884af66e89', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 401790d 168/357: Add 'packages/load-relative/' from commit '064074d7dcc8d26d59ab9ceb099b43e6870c58d1', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 0366a3f 162/357: Add packages/darkroom by merging its upstream subtree, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 1d968dc 183/357: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin faf7826 158/357: publish ada-mode 5.1.6, wisi 1.0.6, new package ada-ref-man, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin db9b5cd 155/357: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa, Stefan Monnier, 2020/12/10