[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa-admin e3ca730 420/439: Support LibreJS
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa-admin e3ca730 420/439: Support LibreJS |
Date: |
Sun, 17 Oct 2021 15:48:49 -0400 (EDT) |
branch: elpa-admin
commit e3ca730fef58a6f2a592a3ab5323549799eb914a
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
Support LibreJS
* elpa-admin.el (elpaa--html-make-pkg): Break out footer...
(elpaa--html-footer): ...to this new function. Add LibreJS link.
Automatically update copyright year. (Bug#47152)
(elpaa--html-make-pkg): Add footer to package pages.
---
elpa-admin.el | 37 +++++++++++++++++++++----------------
1 file changed, 21 insertions(+), 16 deletions(-)
diff --git a/elpa-admin.el b/elpa-admin.el
index bb3c8f4..4619de3 100644
--- a/elpa-admin.el
+++ b/elpa-admin.el
@@ -961,6 +961,24 @@ Rename DIR/ to PKG-VERS/, and return the descriptor."
<div class=\"container\">\n"
title (or header title)))
+(defun elpaa--html-footer ()
+ (format "\n
+ <div class=\"footer\">
+ <div class=\"container\">
+ <p>Copyright 2016-%s <a href=\"https://fsf.org\">Free Software
Foundation</a>, Inc.</p>
+ <p>Design provided by <a
href=\"http://nicolas.petton.fr\">Nicolas Petton</a></p>
+ <p>
+ This website is licensed under the
+ <a
href=\"https://creativecommons.org/licenses/by-nd/3.0/us/\">CC BY-ND 3.0</a>
+ US License.
+ </p>
+ <p><a href=\"/jslicense.html\">JavaScript Licenses</a></p>
+ </div>
+ </div>
+
+</body>\n"
+ (format-time-string "%Y")))
+
(defun elpaa--html-bytes-format (bytes) ;Aka memory-usage-format.
(if (null bytes)
"??KiB"
@@ -1149,7 +1167,7 @@ Rename DIR/ to PKG-VERS/, and return the descriptor."
(let ((news (elpaa--get-NEWS pkg-spec srcdir)))
(when news
(insert "<h2>News</h2><pre>\n" (elpaa--html-quote news)
"\n</pre>\n")))
- (insert "</body>\n")
+ (insert (elpaa--html-footer))
(write-region (point-min) (point-max) (concat name ".html")))))
(defun elpaa--html-make-index (pkgs)
@@ -1165,21 +1183,8 @@ Rename DIR/ to PKG-VERS/, and return the descriptor."
(insert " </table>
</div>
<div class=\"push\"></div>
- </div>
-
- <div class=\"footer\">
- <div class=\"container\">
- <p>Copyright 2016 <a href=\"https://fsf.org\">Free Software
Foundation</a>, Inc.</p>
- <p>Design provided by <a
href=\"http://nicolas.petton.fr\">Nicolas Petton</a></p>
- <p>
- This website is licensed under the
- <a
href=\"https://creativecommons.org/licenses/by-nd/3.0/us/\">CC BY-ND 3.0</a>
- US License.
- </p>
- </div>
- </div>
-
-</body>\n")
+ </div>")
+ (insert (elpaa--html-footer))
(write-region (point-min) (point-max) "index.html")))
(defun elpaa--pull (dirname)
- [nongnu] elpa-admin ee591c2 379/439: * elpa-admin.el (elpaa--release-email): Cc maintainer, (continued)
- [nongnu] elpa-admin ee591c2 379/439: * elpa-admin.el (elpaa--release-email): Cc maintainer, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin d19a5b8 341/439: * README.org: New file, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 5eab162 377/439: * elpa-admin.el: Give read access to Git in `:make`, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 040972d 342/439: * README.org: Describe how to build the archive and add a package, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 6dcc26f 378/439: * elpa-admin.el (elpaa--make): Fix last change, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 26d341c 391/439: * elpa-admin.el (elpaa--make): Add support for non-make command, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin fd06277 384/439: * elpa-admin.el (elpaa--core-package-sync): Don't presume shape of plist, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin f3fd8c5 387/439: * GNUmakefile (%.tar): New target, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 221c427 350/439: * admin/archive-contents.el: Improve handling of snapshot version numbers, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin c84575d 411/439: * elpa-admin.el (elpaa--get-release-revision): Fix code for :core pkgs, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin e3ca730 420/439: Support LibreJS,
Philip Kaludercic <=
- [nongnu] elpa-admin 9e01d93 406/439: * elpa-admin.el (elpaa--prune-old-tarballs): Return resulting oldtarballs, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin fae2e2e 412/439: * elpa-admin.el (elpaa--prune-old-tarballs): Fix computation of .sig name, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 0783750 417/439: * elpa-admin.el (elpaa--sandbox-extra-ro-dirs): New var, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin d10026f 419/439: * elpa-admin.el: Preserve release tarballs at least 2 years, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 97ebbd5 405/439: * elpa-admin.el (elpaa--prune-old-tarballs): "(Re)move" the non-kept files, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 8ed7b88 354/439: Rename vars and functions with `elpaa-` prefix, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin d8903b6 358/439: * elpa-admin.el: Add some of the support needed to build Org packages, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 7e5b75b 359/439: * elpa-admin.el: Add support for checking copyright notices, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin c26df96 392/439: * elpa-admin.el: Allow `:doc` to specify several doc files, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 396a74b 421/439: Bump license for package pages to CC BY-ND 4.0, Philip Kaludercic, 2021/10/17