aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2011-03-07 19:08:03 -0500
committerChong Yidong2011-03-07 19:08:03 -0500
commiteb8694ee59c211351b55601fdc88338b9c888f81 (patch)
treeff5147c1f90ca0d0ad78f314ebe4ab06e1bbdc93
parente18c0aa3359a9339443858d9732718877ddf0d6c (diff)
downloademacs-eb8694ee59c211351b55601fdc88338b9c888f81.tar.gz
emacs-eb8694ee59c211351b55601fdc88338b9c888f81.zip
Mention elpa branch in admin/notes/BRANCH; clarify admin/notes/elpa.
-rw-r--r--admin/notes/BRANCH7
-rw-r--r--admin/notes/elpa62
2 files changed, 29 insertions, 40 deletions
diff --git a/admin/notes/BRANCH b/admin/notes/BRANCH
index 53f3d9603ca..9f09135f206 100644
--- a/admin/notes/BRANCH
+++ b/admin/notes/BRANCH
@@ -23,3 +23,10 @@ on what branch at any time.
23If you are looking at this file in a branch other than the trunk, 23If you are looking at this file in a branch other than the trunk,
24there may be some branch-specific documentation below this line. 24there may be some branch-specific documentation below this line.
25________________________________________________________________________ 25________________________________________________________________________
26
27* elpa
28
29 This branch does not contain a copy of Emacs, but of the Emacs Lisp
30 package archive (elpa.gnu.org). See admin/notes/elpa for further
31 explanation, and the README file in the branch for usage
32 instructions.
diff --git a/admin/notes/elpa b/admin/notes/elpa
index e28d81e6d6e..cbea8cc1dfa 100644
--- a/admin/notes/elpa
+++ b/admin/notes/elpa
@@ -1,42 +1,24 @@
1NOTES ON THE EMACS PACKAGE ARCHIVE 1NOTES ON THE EMACS PACKAGE ARCHIVE
2 2
3Here are instructions on uploading files to the package archive at 3The GNU Emacs package archive, at elpa.gnu.org, is managed using Bzr.
4elpa.gnu.org, for Emacs maintainers. (If you are not a maintainer, 4The Bzr branch is hosted on Savannah, and you can check it out with
5contact us if you want to submit a package.) 5
6 6 bzr branch bzr+ssh://USER@bzr.savannah.gnu.org/emacs/elpa elpa
71. You will need login access to elpa.gnu.org. You will also need to 7
8 get the FSF sysadmins to allow ssh access through the FSF firewall 8Changes made to this branch propagate to elpa.gnu.org as follows.
9 for your local machine. Ensure that your uid, USER, is in the 9There exists a copy of the elpa branch on that machine. Someone with
10 `elpa' group on elpa.gnu.org; this gives you write access to the 10access must log in, pull the latest changes from Savannah, and run a
11 bzr repository from which the packages are managed. 11"deployment" script that generates the content at the web-visible
12 12location http://elpa.gnu.org/packages.
132. Go to your bzr repository on your local machine. Of, if you don't 13
14 have one (you should, if you're tracking Emacs bzr), make one: 14The reason things are set up this way, instead of using the package
15 15upload utilities in package-x.el, is so that Emacs hackers can easily
16 cd $DEVHOME 16edit the contents of the Savannah "elpa" branch, with the aid of
17 bzr init-repo elpa/ 17version control. (For instance, multi-file packages are stored on the
18 cd elpa 18Bzr branch in source form, not as tarfiles.) Because deployment is a
19 19semi-manual process, this allows us some flexibility in making changes
20 Create a branch for elpa: 20to the branch on Savannah. Furthermore, one can use the elpa branch
21 21to deploy a "local" copy of the package archive, for testing.
22 bzr branch bzr+ssh://USER@elpa.gnu.org/home/elpa/package-repo package-repo 22
23 23For details on how to use the elpa branch, see that README file in
24 Bind the branch: 24that branch.
25
26 cd package-repo/
27 echo "public_branch = bzr+ssh://USER@elpa.gnu.org/home/elpa/package-repo" >> .bzr/branch/branch.conf
28 bzr bind bzr+ssh://USER@elpa.gnu.org/home/elpa/package-repo
29
30 Now you should be able to do `bzr up' and `bzr commit'.
31
323. Changes in bzr do not immediately propagate to the user-facing tree
33 (i.e., what users see when they do `M-x list-packages'). That tree
34 is created by a (daily) cron job that does "bzr export". If for
35 some reason you need to refresh the user-facing tree immediately,
36 run /home/elpa/bin/package-update.sh as the "elpa" user.
37
38 The Org mode dailies are not part of the repository. After the
39 package-update.sh script creates the user-facing tree, it copies
40 the daily tarfile hosted on orgmode.org directly into that tree.
41
424. FIXME: How to actually upload a package file.