Mercurial > emacs
annotate admin/notes/elpa @ 111397:ee55b6620594
Notes about elpa.gnu.org for maintainers.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Thu, 04 Nov 2010 13:00:43 -0400 |
parents | |
children |
rev | line source |
---|---|
111397
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
1 NOTES ON THE EMACS PACKAGE ARCHIVE |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
2 |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
3 Here are instructions on uploading files to the package archive at |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
4 elpa.gnu.org, for Emacs maintainers. (If you are not a maintainer, |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
5 contact us if you want to submit a package.) |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
6 |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
7 1. You will need login access to elpa.gnu.org. You will also need to |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
8 get the FSF sysadmins to allow ssh access through the FSF firewall |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
9 for your local machine. Ensure that your uid, USER, is in the |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
10 `elpa' group on elpa.gnu.org; this gives you write access to the |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
11 bzr repository from which the packages are managed. |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
12 |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
13 2. Go to your bzr repository on your local machine. Of, if you don't |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
14 have one (you should, if you're tracking Emacs bzr), make one: |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
15 |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
16 cd $DEVHOME |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
17 bzr init-repo elpa/ |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
18 cd elpa |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
19 |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
20 Create a branch for elpa: |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
21 |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
22 bzr branch bzr+ssh://USER@elpa.gnu.org/home/elpa/package-repo package-repo |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
23 |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
24 Bind the branch: |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
25 |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
26 cd package-repo/ |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
27 echo "public_branch = bzr+ssh://USER@elpa.gnu.org/home/elpa/package-repo" >> .bzr/branch/branch.conf |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
28 bzr bind bzr+ssh://USER@elpa.gnu.org/home/elpa/package-repo |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
29 |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
30 Now you should be able to do `bzr up' and `bzr commit'. |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
31 |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
32 3. Changes in bzr do not immediately propagate to the user-facing tree |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
33 (i.e., what users see when they do `M-x list-packages'). That tree |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
34 is created by a (daily) cron job that does "bzr export". If for |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
35 some reason you need to refresh the user-facing tree immediately, |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
36 run /home/elpa/bin/package-update.sh as the "elpa" user. |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
37 |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
38 The Org mode dailies are not part of the repository. After the |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
39 package-update.sh script creates the user-facing tree, it copies |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
40 the daily tarfile hosted on orgmode.org directly into that tree. |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
41 |
ee55b6620594
Notes about elpa.gnu.org for maintainers.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
42 4. FIXME: How to actually upload a package file. |