diff options
| author | Eric S. Raymond | 2014-10-31 11:03:23 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2014-10-31 11:03:23 +0200 |
| commit | cac77f92e3861e81d5fe96b4b857fd9d243032e2 (patch) | |
| tree | a8a9ae3aebf4c4c2be2957a06a76730b31a879bd /admin | |
| parent | 792faabe7a17a8f2fc2dd21076b69de2fc3edb65 (diff) | |
| download | emacs-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-x | admin/check-doc-strings | 2 | ||||
| -rw-r--r-- | admin/notes/BRANCH | 32 | ||||
| -rw-r--r-- | admin/notes/copyright | 10 | ||||
| -rw-r--r-- | admin/notes/hydra | 2 | ||||
| -rw-r--r-- | admin/notes/repo (renamed from admin/notes/bzr) | 38 | ||||
| -rw-r--r-- | admin/notes/years | 2 | ||||
| -rwxr-xr-x | admin/update-copyright | 5 |
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. | |||
| 18 | This program is in the public domain.\n"; | 18 | This program is in the public domain.\n"; |
| 19 | 19 | ||
| 20 | die $usage if @ARGV; | 20 | die $usage if @ARGV; |
| 21 | die $usage unless -r "src/alloc.c" && -d ".bzr" && -d "lisp"; | 21 | die $usage unless -r "src/alloc.c" && -d "lisp"; |
| 22 | 22 | ||
| 23 | my %texi_funtype; | 23 | my %texi_funtype; |
| 24 | my %texi_arglist; | 24 | my %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 @@ | |||
| 1 | You can view the available Emacs branches at | ||
| 2 | |||
| 3 | http://bzr.savannah.gnu.org/r/emacs/ | ||
| 4 | |||
| 5 | Development normally takes places on the trunk. | ||
| 6 | Sometimes specialized features are developed on separate branches | ||
| 7 | before possibly being merged to the trunk. | ||
| 8 | |||
| 9 | Development is discussed on the emacs-devel mailing list. | ||
| 10 | |||
| 11 | Sometime before the release of a new major version of Emacs (eg 23.2), | ||
| 12 | a "feature freeze" is imposed on the trunk. No new features may be | ||
| 13 | added after this point. This is usually some months before the release. | ||
| 14 | |||
| 15 | Shortly before the release, a release branch is created, and the | ||
| 16 | trunk is then free for development. | ||
| 17 | For example, "emacs-23" for Emacs 23.2 and later, "EMACS_23_1_RC" for | ||
| 18 | 23.1, "EMACS_22_BASE" for 22.x, and "EMACS_21_1_RC" for 21.x. | ||
| 19 | |||
| 20 | Consult emacs-devel for exactly what kinds of changes are allowed | ||
| 21 | on what branch at any time. | ||
| 22 | |||
| 23 | If you are looking at this file in a branch other than the trunk, | ||
| 24 | there 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 | ||
| 25 | 2. When installing code written by someone else, the ChangeLog entry | 25 | 2. When installing code written by someone else, the ChangeLog entry |
| 26 | should be in the name of the author of the code, not the person who | 26 | should be in the name of the author of the code, not the person who |
| 27 | installs it. Also use bzr commit's "--author" option. | 27 | installs it. Also use commit's "--author" option. |
| 28 | Do not install any of your own changes in the same commit. | 28 | Do not install any of your own changes in the same commit. |
| 29 | 29 | ||
| 30 | 3. With images, add the legal info to a README file in the directory | 30 | 3. 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 | ||
| 496 | Is it OK to just `bzr remove' a file for legal reasons, or is | 496 | Is it OK to just remove a file for legal reasons, or is something more |
| 497 | something more drastic needed? A removed file is still available from | 497 | drastic (excision from the entire repository history) needed? A |
| 498 | the repository, if suitable options are applied. (This issue obviously | 498 | removed file is still available from the repository, if suitable |
| 499 | does not affect a release). | 499 | options 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 |
| 29 | which gets a checkout from bzr, and does a bootstrap followed | 29 | which gets a checkout from the repository, and does a bootstrap followed |
| 30 | by running make-dist to create a tarball. If this job fails, all the | 30 | by running make-dist to create a tarball. If this job fails, all the |
| 31 | others will too (because they use the tarball as input). | 31 | others 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 @@ | |||
| 1 | NOTES ON COMMITTING TO EMACS'S BAZAAR REPO -*- outline -*- | 1 | NOTES ON COMMITTING TO EMACS'S REPOSITORY -*- outline -*- |
| 2 | |||
| 3 | * Commit to the right branch | ||
| 4 | |||
| 5 | You can view the available Emacs branches at | ||
| 6 | |||
| 7 | http://bzr.savannah.gnu.org/r/emacs/ | ||
| 8 | |||
| 9 | Development normally takes places on the trunk. | ||
| 10 | Sometimes specialized features are developed on separate branches | ||
| 11 | before possibly being merged to the trunk. | ||
| 12 | |||
| 13 | Development is discussed on the emacs-devel mailing list. | ||
| 14 | |||
| 15 | Sometime before the release of a new major version of Emacs | ||
| 16 | a "feature freeze" is imposed on the trunk. No new features may be | ||
| 17 | added after this point. This is usually some months before the release. | ||
| 18 | |||
| 19 | Shortly before the release, a release branch is created, and the | ||
| 20 | trunk is then free for development. | ||
| 21 | |||
| 22 | For example, "emacs-23" for Emacs 23.2 and later, "EMACS_23_1_RC" for | ||
| 23 | 23.1, "EMACS_22_BASE" for 22.x, and "EMACS_21_1_RC" for 21.x. | ||
| 24 | |||
| 25 | Consult emacs-devel for exactly what kinds of changes are allowed | ||
| 26 | on what branch at any time. | ||
| 27 | |||
| 28 | ** elpa | ||
| 29 | |||
| 30 | This branch does not contain a copy of Emacs, but of the Emacs Lisp | ||
| 31 | package archive (elpa.gnu.org). See admin/notes/elpa for further | ||
| 32 | explanation, and the README file in the branch for usage | ||
| 33 | instructions. | ||
| 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 | |||
| 4 | In particular, install bug-fixes only on the release branch (if there | 37 | In particular, install bug-fixes only on the release branch (if there |
| 5 | is one) and let them get synced to the trunk; do not install them by | 38 | is one) and let them get synced to the trunk; do not install them by |
| 6 | hand on the trunk as well. E.g. if there is an active "emacs-24" branch | 39 | hand 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 | |||
| 19 | in the commit log that it should not be merged to the trunk; see below). | 52 | in 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 | |||
| 22 | Indicate in the commit log that there is no need to merge the commit | 56 | Indicate in the commit log that there is no need to merge the commit |
| 23 | to the trunk. Anything that matches `bzrmerge-skip-regexp' will do; | 57 | to the trunk. Anything that matches `bzrmerge-skip-regexp' will do; |
| 24 | eg start the commit message with "Backport:". This is helpful for the | 58 | eg start the commit message with "Backport:". This is helpful for the |
| @@ -27,6 +61,7 @@ person merging the release branch to the trunk. | |||
| 27 | http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00262.html | 61 | http://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 | |||
| 30 | If your branch has only a single commit, or many different real | 65 | If your branch has only a single commit, or many different real |
| 31 | commits, it is fine to do a merge. If your branch has only a very | 66 | commits, it is fine to do a merge. If your branch has only a very |
| 32 | small number of "real" commits, but several "merge from trunks", it is | 67 | small 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. | |||
| 47 | http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00086.html | 82 | http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00086.html |
| 48 | 83 | ||
| 49 | * Installing changes from gnulib | 84 | * Installing changes from gnulib |
| 85 | |||
| 50 | Some of the files in Emacs are copied from gnulib. To synchronize | 86 | Some of the files in Emacs are copied from gnulib. To synchronize |
| 51 | these files from the version of gnulib that you have checked out into | 87 | these files from the version of gnulib that you have checked out into |
| 52 | a sibling directory of your branch, type "admin/merge-gnulib"; this | 88 | a 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 | ||
| 3 | Maintaining copyright years is now very simple: every time a new year | 3 | Maintaining copyright years is now very simple: every time a new year |
| 4 | rolls around, add that year to every FSF (and AIST) copyright notice. | 4 | rolls around, add that year to every FSF (and AIST) copyright notice. |
| 5 | Do this by running the 'admin/update-copyright' script on a fresh bzr | 5 | Do this by running the 'admin/update-copyright' script on a fresh repo |
| 6 | checkout. Inspect the results for plausibility, then commit them. | 6 | checkout. Inspect the results for plausibility, then commit them. |
| 7 | 7 | ||
| 8 | There's no need to worry about whether an individual file has changed | 8 | There'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 | } && |
| 46 | rm $emacsver.aux && | 46 | rm $emacsver.aux && |
| 47 | 47 | ||
| 48 | bzr_files=$(bzr ls -RV --kind file) && | 48 | # FIXME: command will soon need to be replaced with "git ls-files" |
| 49 | repo_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 | ||
| 55 | updatable_files=$(find $bzr_files \ | 56 | updatable_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 \ |