[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa-admin 60ecd84 351/357: * admin/archive-contents.el: Fix cons
From: |
Stefan Monnier |
Subject: |
[elpa] elpa-admin 60ecd84 351/357: * admin/archive-contents.el: Fix construction of index.html |
Date: |
Thu, 10 Dec 2020 18:07:13 -0500 (EST) |
branch: elpa-admin
commit 60ecd84ad84f490ecd0e8d81762d9980109a3623
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* admin/archive-contents.el: Fix construction of index.html
(archive--make-one-package): Don't set the -devel name when building the
non-devel tarball.
(archive--make-one-package): Pass the right version number when
building the "last-release".
---
admin/archive-contents.el | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/admin/archive-contents.el b/admin/archive-contents.el
index ac27d9d..9e63798 100644
--- a/admin/archive-contents.el
+++ b/admin/archive-contents.el
@@ -364,13 +364,13 @@ Return non-nil if a new tarball was created."
"0." date-version))
(tarball (concat archive--devel-subdir
(format "%s-%s.tar" pkgname devel-vers)))
- (archive--name (concat archive--name "-devel"))
(new
- ;; Build the archive-devel tarball.
- (archive--make-one-tarball tarball
- dir pkgname
- `(nil ,devel-vers
- . ,(nthcdr 2 metadata)))))
+ (let ((archive--name (concat archive--name "-devel")))
+ ;; Build the archive-devel tarball.
+ (archive--make-one-tarball tarball
+ dir pkgname
+ `(nil ,devel-vers
+ . ,(nthcdr 2 metadata))))))
;; Try and build the latest release tarball.
(cond
@@ -392,7 +392,9 @@ Return non-nil if a new tarball was created."
(if (not last-rel)
(archive--message "Package %s not released yet!" pkgname)
(archive--make-one-tarball
- tarball dir pkgname metadata (lambda () (cdr
last-rel))))))))
+ tarball dir pkgname
+ `(nil ,(car last-rel) . ,(nthcdr 2 metadata))
+ (lambda () (cdr last-rel))))))))
(t
(let ((tarball (concat archive--release-subdir
(format "%s-%s.tar" pkgname vers))))
@@ -899,6 +901,7 @@ Rename DIR/ to PKG-VERS/, and return the descriptor."
(insert (format "<p>To install this package, run in Emacs:</p>
<pre>M-x <span class=\"kw\">package-install</span> RET
<span class=\"kw\">%s</span> RET</pre>"
name))
+ ;; FIXME: Use README.md for some packages (such as markdown-mode).
(let ((rm (archive--get-section
"Commentary" '("README" "README.rst"
;; Most README.md files seem to be currently
- [elpa] elpa-admin ed4d0fa 163/357: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, (continued)
- [elpa] elpa-admin ed4d0fa 163/357: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 5e1943e 157/357: Merge commit '469cd3bc117bfb8da0c03a2a2fb185e80c81d068', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 0f843a7 275/357: Merge branch 'scratch/dired-du', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin d4f5903 284/357: * README: Clarify the right fix for check_copyrights failure, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin c60a3bb 280/357: Merge branch 'scratch/which-key', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin f85cb8d 302/357: * README (PACKAGES/Externals): Clarify use, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 26a2da8 312/357: More specific externals example., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 55ff372 317/357: * admin/archive-contents.el: Improve package HTML headers, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin c90458f 329/357: Add lang attributes to the html tag, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin cdef4ce 338/357: * admin/archive-contents.el: Add preliminary support for the NonGNU archive, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 60ecd84 351/357: * admin/archive-contents.el: Fix construction of index.html,
Stefan Monnier <=
- [elpa] elpa-admin 39eb0cf 343/357: * admin/archive-contents.el (batch-generate-description-file): New function, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 311d819 357/357: * GNUmakefile: Fix `-l` args to `emacs` which require an actual file name, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin ac1e1e9 198/357: README: Fix typos., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 9db3516 274/357: Merge branch 'scratch/org-edna', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin cb72492 279/357: Merge branch 'ebdb-bits', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 7e4545d 200/357: * admin/archive-contents.el (archive--html-header): Use `title' for the H1., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 49382d4 067/357: Some tweaks to README, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin e38e391 108/357: Use lm-keywords-list instead of split-string for archive contents., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin a73fa6a 113/357: update link in README, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin a0bc800 185/357: Squashed 'packages/pinentry/' content from commit 075deb6, Stefan Monnier, 2020/12/10