[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] new-master 7a4e787 016/128: Update README to describe the new rep
From: |
Stefan Monnier |
Subject: |
[elpa] new-master 7a4e787 016/128: Update README to describe the new repository layout. |
Date: |
Mon, 14 Dec 2020 15:39:22 -0500 (EST) |
branch: new-master
commit 7a4e787848f483883082c20ae33310f1eb57361f
Author: Chong Yidong <cyd@stupidchicken.com>
Commit: Chong Yidong <cyd@stupidchicken.com>
Update README to describe the new repository layout.
---
README | 69 +++++++++++++++++++++++++++++-------------------------------------
1 file changed, 30 insertions(+), 39 deletions(-)
diff --git a/README b/README
index c8a4fd4..097e430 100644
--- a/README
+++ b/README
@@ -12,8 +12,7 @@ for testing purposes).
* DIRECTORY LAYOUT
-** admin/ -- scripts for deploying the package archive.
- See the DEPLOYMENT section for details.
+** admin/ -- scripts for administering the package archive.
** html/ -- HTML for the elpa.gnu.org website.
** packages/ -- source code for the packages.
@@ -21,60 +20,52 @@ for testing purposes).
* PACKAGES
** Contents of the packages/ directory:
-
-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.
-
-*** Package sources
-In the form of *.el files for simple (1-file) packages, or
-subdirectories for multi-file packages.
+This directory holds the package sources, with one subdirectory for
+each package.
** To add a package:
-*** Add a simple (1-file) package as packages/NAME-VERSION.el.
+*** Add a simple (1-file) package as packages/NAME/NAME.el.
-*** Add a multi-file package a directory, packages/NAME-VERSION.
+*** Add a multi-file package as a directory, packages/NAME.
-*** Commit your changes
-This is done the usual way ("bzr add", "bzr commit", etc).
+*** Commit your changes the usual way ("bzr add", "bzr commit", etc).
Changes in the Bzr repository do not immediately propagate to the
user-facing archive (what users see when they do `M-x list-packages').
-That is done by deploying the archive (see below).
+That is done by deploying the archive.
* DEPLOYMENT
-** The package-update.sh script
+** To use the package repository as a "site installation" of packages:
-Use the script admin/package-update.sh to deploy a partial or full
-copy of the package archive. To run a partial deployment:
+ make site
- /PATH/TO/admin/package-update.sh DEST
+This compiles and generates autoloads for all the packages in the
+packages/ directory, and creates a site/ directory containing symlinks
+to the package directories.
-This deploys the packages in packages/ to DEST/packages.
+Now you have to add this site/ directory to `package-directory-list',
+and all the packages will be available.
-To run a full deployment:
+** To deploy the package repository as a remotely-accessible archive:
- /PATH/TO/admin/package-update.sh DEST 1
+ make archive
-A full deployment additionally copies the admin scripts to DEST/admin,
-creates a full tarball in DEST/packages/emacs-packages-latest.tgz, and
-fetches externally hosted packages (currently, the Org daily builds)
-and adds them to the archive.
+or
-The package-update.sh script only works if it lives in a bzr
-repository. It uses `bzr export' to deploy from the repository to the
-destination directory. If you have uncommitted changes in the working
-copy, those changes are not deployed.
+ make archive-full
-You can view the deployment log at DEST/update-log.
+This deploys the packages to the archive/ directory. Unlike "make
+site", this makes a full copy of the packages, and tars up multi-file
+packages.
-The other scripts in the admin/ subdirectory are used for fetching the
-Org dailies.
+A full deployment also copies the admin scripts to archive/admin, and
+fetches externally hosted packages (currently, the Org daily builds)
+and adds them to the archive.
-** Accessing a deployed archive
+** To access a deployed archive
To access the archive via HTPP, have a symlink (say) /var/www/packages
pointing to DEST/packages, and set up Emacs with
@@ -94,13 +85,13 @@ logging in (login access set up by FSF admins), and
su elpa
cd ~elpa/elpa
bzr up
-./admin/package-update /home/elpa/staging/ 1
-The symlink /var/www/packages points to /home/elpa/staging/packages.
+Then make a full archive deployment, as discussed above. The symlink
+/var/www/packages points to the staging package directory under
+/home/elpa/.
-The Org mode dailies are fetched and added by the script
-admin/org-synch.sh, which is run as a cron job (we also run this
-script during deployment).
+The Org mode dailies are also fetched and added by the script
+admin/org-synch.sh, run as a cron job.
This file is part of GNU Emacs.
- [elpa] branch new-master created (now 61bd755), Stefan Monnier, 2020/12/14
- [elpa] new-master a1502c2 008/128: Track original positions in the face of possible edits. Intended use in debugging where one might edit the file but continue editing., Stefan Monnier, 2020/12/14
- [elpa] new-master 989f788 006/128: Added comment about installing with multiple emacsen., Stefan Monnier, 2020/12/14
- [elpa] new-master e33caa0 011/128: * html/index.html, html/layout.css : Initial import., Stefan Monnier, 2020/12/14
- [elpa] new-master 226da6a 007/128: Added script and documentation for installing from CVS, Stefan Monnier, 2020/12/14
- [elpa] new-master d14b47a 010/128: * COPYING, ChangeLog, README, admin/org-synch.el,, Stefan Monnier, 2020/12/14
- [elpa] new-master 385d3ec 012/128: * README: Explain how to run the repo build script., Stefan Monnier, 2020/12/14
- [elpa] new-master b83d412 013/128: README: Document usage of this repository in detail., Stefan Monnier, 2020/12/14
- [elpa] new-master 3ec9dc4 002/128: # Added comment about loading supplied classes separately., Stefan Monnier, 2020/12/14
- [elpa] new-master 7a4e787 016/128: Update README to describe the new repository layout.,
Stefan Monnier <=
- [elpa] new-master f232d97 017/128: Add full licence text (COPYING), Stefan Monnier, 2020/12/14
- [elpa] new-master 54a4cb6 018/128: Initial checkin of files. These files were initially part of the, Stefan Monnier, 2020/12/14
- [elpa] new-master c1b76ff 019/128: Rework test-unit into something even simpler., Stefan Monnier, 2020/12/14
- [elpa] new-master fd0dc42 024/128: Initial Import, Stefan Monnier, 2020/12/14
- [elpa] new-master feebdea 029/128: README.md, load-relative.el: Go over documentation. Makefile.am: add targets test and test-short, Stefan Monnier, 2020/12/14
- [elpa] new-master 74b4742 035/128: Make html/index.html be consistent with other gnu.org websites., Stefan Monnier, 2020/12/14
- [elpa] new-master da544ac 036/128: Minor cleanup., Stefan Monnier, 2020/12/14
- [elpa] new-master 8b71768 039/128: seems to be generally usable, added a README, Stefan Monnier, 2020/12/14
- [elpa] new-master f9d81bd 014/128: Use archive-contents.el script., Stefan Monnier, 2020/12/14
- [elpa] new-master 0eba547 005/128: # Updated., Stefan Monnier, 2020/12/14