aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorEric S. Raymond2014-10-31 11:03:23 +0200
committerEli Zaretskii2014-10-31 11:03:23 +0200
commitcac77f92e3861e81d5fe96b4b857fd9d243032e2 (patch)
treea8a9ae3aebf4c4c2be2957a06a76730b31a879bd /admin
parent792faabe7a17a8f2fc2dd21076b69de2fc3edb65 (diff)
downloademacs-cac77f92e3861e81d5fe96b4b857fd9d243032e2.tar.gz
emacs-cac77f92e3861e81d5fe96b4b857fd9d243032e2.zip
Backport changes in preparation for git migration from trunk.
admin: Changes in several documents. autogen.sh: Neutralize language specific to a repository type. doc/misc/efaq-w32.texi: Neutralized language specific to a repository type. doc/misc/gnus-coding.txt: Neutralized language specific to a repository type. lisp/Makefile.in: Change some production names so they're neutral about the repository type.
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/check-doc-strings2
-rw-r--r--admin/notes/BRANCH32
-rw-r--r--admin/notes/copyright10
-rw-r--r--admin/notes/hydra2
-rw-r--r--admin/notes/repo (renamed from admin/notes/bzr)38
-rw-r--r--admin/notes/years2
-rwxr-xr-xadmin/update-copyright5
7 files changed, 48 insertions, 43 deletions
diff --git a/admin/check-doc-strings b/admin/check-doc-strings
index a0b5acb623f..13e8b0cd8e7 100755
--- a/admin/check-doc-strings
+++ b/admin/check-doc-strings
@@ -18,7 +18,7 @@ formal parameters, docstrings, and lispref texi.
18This program is in the public domain.\n"; 18This program is in the public domain.\n";
19 19
20die $usage if @ARGV; 20die $usage if @ARGV;
21die $usage unless -r "src/alloc.c" && -d ".bzr" && -d "lisp"; 21die $usage unless -r "src/alloc.c" && -d "lisp";
22 22
23my %texi_funtype; 23my %texi_funtype;
24my %texi_arglist; 24my %texi_arglist;
diff --git a/admin/notes/BRANCH b/admin/notes/BRANCH
deleted file mode 100644
index 9f09135f206..00000000000
--- a/admin/notes/BRANCH
+++ /dev/null
@@ -1,32 +0,0 @@
1You can view the available Emacs branches at
2
3http://bzr.savannah.gnu.org/r/emacs/
4
5Development normally takes places on the trunk.
6Sometimes specialized features are developed on separate branches
7before possibly being merged to the trunk.
8
9Development is discussed on the emacs-devel mailing list.
10
11Sometime before the release of a new major version of Emacs (eg 23.2),
12a "feature freeze" is imposed on the trunk. No new features may be
13added after this point. This is usually some months before the release.
14
15Shortly before the release, a release branch is created, and the
16trunk is then free for development.
17For example, "emacs-23" for Emacs 23.2 and later, "EMACS_23_1_RC" for
1823.1, "EMACS_22_BASE" for 22.x, and "EMACS_21_1_RC" for 21.x.
19
20Consult emacs-devel for exactly what kinds of changes are allowed
21on what branch at any time.
22
23If you are looking at this file in a branch other than the trunk,
24there may be some branch-specific documentation below this line.
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/copyright b/admin/notes/copyright
index a54bcb6108b..74aa73b0394 100644
--- a/admin/notes/copyright
+++ b/admin/notes/copyright
@@ -24,7 +24,7 @@ the file.
24 24
252. When installing code written by someone else, the ChangeLog entry 252. When installing code written by someone else, the ChangeLog entry
26should be in the name of the author of the code, not the person who 26should be in the name of the author of the code, not the person who
27installs it. Also use bzr commit's "--author" option. 27installs it. Also use commit's "--author" option.
28Do not install any of your own changes in the same commit. 28Do not install any of your own changes in the same commit.
29 29
303. With images, add the legal info to a README file in the directory 303. With images, add the legal info to a README file in the directory
@@ -493,10 +493,10 @@ system)
493 obviously good): 493 obviously good):
494 494
495 495
496Is it OK to just `bzr remove' a file for legal reasons, or is 496Is it OK to just remove a file for legal reasons, or is something more
497something more drastic needed? A removed file is still available from 497drastic (excision from the entire repository history) needed? A
498the repository, if suitable options are applied. (This issue obviously 498removed file is still available from the repository, if suitable
499does not affect a release). 499options are applied. (This issue obviously does not affect a release).
500 rms: will ask lawyer 500 rms: will ask lawyer
501 501
502 502
diff --git a/admin/notes/hydra b/admin/notes/hydra
index 3b6bc87a2f6..ce2047480d2 100644
--- a/admin/notes/hydra
+++ b/admin/notes/hydra
@@ -26,7 +26,7 @@ http://lists.gnu.org/mailman/listinfo/emacs-buildstatus
26* The Emacs jobset consists of the following jobs: 26* The Emacs jobset consists of the following jobs:
27 27
28** The `tarball' job 28** The `tarball' job
29which gets a checkout from bzr, and does a bootstrap followed 29which gets a checkout from the repository, and does a bootstrap followed
30by running make-dist to create a tarball. If this job fails, all the 30by running make-dist to create a tarball. If this job fails, all the
31others will too (because they use the tarball as input). 31others will too (because they use the tarball as input).
32 32
diff --git a/admin/notes/bzr b/admin/notes/repo
index a1ef8f64133..c398d3a4ae2 100644
--- a/admin/notes/bzr
+++ b/admin/notes/repo
@@ -1,6 +1,39 @@
1NOTES ON COMMITTING TO EMACS'S BAZAAR REPO -*- outline -*- 1NOTES ON COMMITTING TO EMACS'S REPOSITORY -*- outline -*-
2
3* Commit to the right branch
4
5You can view the available Emacs branches at
6
7http://bzr.savannah.gnu.org/r/emacs/
8
9Development normally takes places on the trunk.
10Sometimes specialized features are developed on separate branches
11before possibly being merged to the trunk.
12
13Development is discussed on the emacs-devel mailing list.
14
15Sometime before the release of a new major version of Emacs
16a "feature freeze" is imposed on the trunk. No new features may be
17added after this point. This is usually some months before the release.
18
19Shortly before the release, a release branch is created, and the
20trunk is then free for development.
21
22For example, "emacs-23" for Emacs 23.2 and later, "EMACS_23_1_RC" for
2323.1, "EMACS_22_BASE" for 22.x, and "EMACS_21_1_RC" for 21.x.
24
25Consult emacs-devel for exactly what kinds of changes are allowed
26on what branch at any time.
27
28** elpa
29
30This branch does not contain a copy of Emacs, but of the Emacs Lisp
31package archive (elpa.gnu.org). See admin/notes/elpa for further
32explanation, and the README file in the branch for usage
33instructions.
2 34
3* Install changes only on one branch, let them get merged elsewhere if needed. 35* Install changes only on one branch, let them get merged elsewhere if needed.
36
4In particular, install bug-fixes only on the release branch (if there 37In particular, install bug-fixes only on the release branch (if there
5is one) and let them get synced to the trunk; do not install them by 38is one) and let them get synced to the trunk; do not install them by
6hand on the trunk as well. E.g. if there is an active "emacs-24" branch 39hand on the trunk as well. E.g. if there is an active "emacs-24" branch
@@ -19,6 +52,7 @@ and branch yourself (when committing the branch change, indicate
19in the commit log that it should not be merged to the trunk; see below). 52in the commit log that it should not be merged to the trunk; see below).
20 53
21* Backporting a bug-fix from the trunk to a branch (e.g. "emacs-24"). 54* Backporting a bug-fix from the trunk to a branch (e.g. "emacs-24").
55
22Indicate in the commit log that there is no need to merge the commit 56Indicate in the commit log that there is no need to merge the commit
23to the trunk. Anything that matches `bzrmerge-skip-regexp' will do; 57to the trunk. Anything that matches `bzrmerge-skip-regexp' will do;
24eg start the commit message with "Backport:". This is helpful for the 58eg start the commit message with "Backport:". This is helpful for the
@@ -27,6 +61,7 @@ person merging the release branch to the trunk.
27http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00262.html 61http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00262.html
28 62
29* Installing changes from your personal branches. 63* Installing changes from your personal branches.
64
30If your branch has only a single commit, or many different real 65If your branch has only a single commit, or many different real
31commits, it is fine to do a merge. If your branch has only a very 66commits, it is fine to do a merge. If your branch has only a very
32small number of "real" commits, but several "merge from trunks", it is 67small number of "real" commits, but several "merge from trunks", it is
@@ -47,6 +82,7 @@ yet another fun excursion into the exciting world of version control.
47http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00086.html 82http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00086.html
48 83
49* Installing changes from gnulib 84* Installing changes from gnulib
85
50Some of the files in Emacs are copied from gnulib. To synchronize 86Some of the files in Emacs are copied from gnulib. To synchronize
51these files from the version of gnulib that you have checked out into 87these files from the version of gnulib that you have checked out into
52a sibling directory of your branch, type "admin/merge-gnulib"; this 88a sibling directory of your branch, type "admin/merge-gnulib"; this
diff --git a/admin/notes/years b/admin/notes/years
index 342fe9e2307..c0db1854e30 100644
--- a/admin/notes/years
+++ b/admin/notes/years
@@ -2,7 +2,7 @@ HOW TO MAINTAIN COPYRIGHT YEARS FOR GNU EMACS
2 2
3Maintaining copyright years is now very simple: every time a new year 3Maintaining copyright years is now very simple: every time a new year
4rolls around, add that year to every FSF (and AIST) copyright notice. 4rolls around, add that year to every FSF (and AIST) copyright notice.
5Do this by running the 'admin/update-copyright' script on a fresh bzr 5Do this by running the 'admin/update-copyright' script on a fresh repo
6checkout. Inspect the results for plausibility, then commit them. 6checkout. Inspect the results for plausibility, then commit them.
7 7
8There's no need to worry about whether an individual file has changed 8There's no need to worry about whether an individual file has changed
diff --git a/admin/update-copyright b/admin/update-copyright
index 2b33506f9c1..ce58168684e 100755
--- a/admin/update-copyright
+++ b/admin/update-copyright
@@ -45,14 +45,15 @@ sed 's/\\def\\year[{][0-9]*[}]/\\def\\year{'"$UPDATE_COPYRIGHT_YEAR"'}'/g \
45} && 45} &&
46rm $emacsver.aux && 46rm $emacsver.aux &&
47 47
48bzr_files=$(bzr ls -RV --kind file) && 48# FIXME: command will soon need to be replaced with "git ls-files"
49repo_files=$(bzr ls -RV --kind file) &&
49 50
50# Do not update the copyright of files that have one or more of the 51# Do not update the copyright of files that have one or more of the
51# following problems: 52# following problems:
52# . They are license files, maintained by the FSF, with their own dates. 53# . They are license files, maintained by the FSF, with their own dates.
53# . Their format cannot withstand changing the contents of copyright strings. 54# . Their format cannot withstand changing the contents of copyright strings.
54 55
55updatable_files=$(find $bzr_files \ 56updatable_files=$(find $repo_files \
56 ! -name COPYING \ 57 ! -name COPYING \
57 ! -name doclicense.texi \ 58 ! -name doclicense.texi \
58 ! -name gpl.texi \ 59 ! -name gpl.texi \