branch: elpa-admin
commit 1761424cbc17d4a58b6bba3a8c56ea0122d69da0
Author: Chong Yidong <[email protected]>
Commit: Chong Yidong <[email protected]>
Use archive-contents.el script.
Remove archive-contents and readme files from pacakges/ subdir.
---
README | 23 +----------------------
admin/archive-contents.el | 2 +-
2 files changed, 2 insertions(+), 23 deletions(-)
diff --git a/README b/README
index 65a6ae2..c8a4fd4 100644
--- a/README
+++ b/README
@@ -14,7 +14,7 @@ for testing purposes).
** admin/ -- scripts for deploying the package archive.
See the DEPLOYMENT section for details.
-** html/ -- HTML for the elp.gnu.org website.
+** html/ -- HTML for the elpa.gnu.org website.
** packages/ -- source code for the packages.
@@ -26,37 +26,16 @@ This directory holds the package sources. Unlike the
deployed package
archive, multi-file packages are present here as directories, not tar
files. So, edits to the sources can be easily managed by Bzr.
-*** archive-contents
-This file contains a Lisp form recording the hosted package names and
-their attributes. Once the archive is deployed, Emacs learns the
-archive contents by reading this file (normally via HTTP).
-
-In the future, we'll remove this file from the repository, and
-generate it automatically during deployment.
-
*** Package sources
In the form of *.el files for simple (1-file) packages, or
subdirectories for multi-file packages.
-*** Readme files
-When the archive is deployed, Emacs retrieves the package descriptions
-by reading these files (normally via HTTP).
-
-In the future, we'll remove these files from the repository, and
-generate them during deployment.
-
** To add a package:
*** Add a simple (1-file) package as packages/NAME-VERSION.el.
*** Add a multi-file package a directory, packages/NAME-VERSION.
-*** Add a readme file, packages/NAME-readme.txt. This should be a
-copy of the commentary section for a simple package, or the README
-file for a multi-file package.
-
-*** Edit archive-contents and add an entry for the new package.
-
*** Commit your changes
This is done the usual way ("bzr add", "bzr commit", etc).
diff --git a/admin/archive-contents.el b/admin/archive-contents.el
index 5254fbe..a26e2cc 100644
--- a/admin/archive-contents.el
+++ b/admin/archive-contents.el
@@ -24,7 +24,7 @@
(require 'lisp-mnt)
(defun batch-make-archive-contents ()
- (let ((packages '(1))) ;I think this is the format-version.
+ (let ((packages '(1))) ; format-version.
(dolist (file (directory-files default-directory))
(pcase file
((or `"." `".." `"elpa.rss" `"archive-contents") nil)