]> code.delx.au - gnu-emacs/blob - admin/release-process
Further Unicode restrictive fixups
[gnu-emacs] / admin / release-process
1 This document describes the release process used by GNU Emacs.
2
3 * RELEASE CYCLE
4
5 Each release cycle will be split into two periods.
6
7 ** Phase one: development
8
9 The first phase of the release schedule is the "heads-down" working
10 period for new features, on the `master' branch and several feature
11 branches.
12
13 ** Phase two: bugfixes
14
15 Shortly before this phase, Emacs developers will be devoted to
16 figuring out what features to include in the next release and what
17 features to defer to a later release.
18
19 At the beginning of this phase, a release branch called "emacs-NN"
20 ("NN" represents the major version number of the new Emacs release)
21 will be cut from `master'.
22
23 This phase is spent fixing bugs and eliminating undocumented new
24 features on the "emacs-NN" branch.
25
26 In parallel to this phase, `master' can receive new features, to be
27 released in the next release cycle. From time to time, the master
28 branches merges bugfix commits from the "emacs-NN" branch.
29
30 * RELEASE-CRITICAL BUGS
31
32 Emacs uses the "blocking bug(s)" feature of Debbugs for bugs need to
33 be addressed in the next release.
34
35 Currently, bug#19759 is the tracking bug for release of 25.1 and
36 bug#21966 is the tracking bug for release of 25.2. Say bug#123 needs
37 to be fixed for Emacs 25.1. Send a message to control@debbugs.gnu.org
38 that says:
39
40 block 19759 by 123
41
42 Change "block" to "unblock" to unblock the bug.
43
44 * TO BE DONE SHORTLY BEFORE RELEASE
45
46 ** Make sure the Copyright date reflects the current year in the source
47 files. See `admin/notes/years' for information about maintaining
48 copyright years for GNU Emacs.
49
50 ** Make sure the necessary sources and scripts for any generated files
51 are included in the source tarfile. (They don't need to be installed,
52 so eg admin/ is fine.)
53
54 ** Manuals
55 Check for node names using problematic characters:
56 find doc -name '*.texi' -exec grep '^@node[^,]*[:.()]' {} +
57 Sadly makeinfo does not warn about such characters.
58
59 Check for major new features added since the last release (e.g. new
60 lisp files), and add the relevant authors to the Acknowledgments in
61 doc/emacs/ack.texi and emacs.texi.
62
63 Check cross-references between the manuals (eg from emacs to elisp)
64 are correct. You can use something like the following in the info
65 directory in the Emacs build tree:
66
67 emacs -Q --eval "(progn (require 'info) (setq Info-directory-list '(\".\")))" \
68 -f info-xref-check-all
69
70 Setting Info-directory-list avoids having system info pages confuse
71 things. References to external manuals will be flagged as
72 uncheckable. You should still check these, and also that each
73 external manual has an appropriate redirect in the file manual/.htaccess
74 in the web pages repository. E.g.:
75 Redirect /software/emacs/manual/html_mono/automake.html /software/automake/manual/automake.html
76 Redirect /software/emacs/manual/html_node/automake/ /software/automake/manual/html_node/
77
78 Another tool you can use to check links is gnu.org's linc.py:
79 http://www.gnu.org/server/source/
80
81 You run this something like:
82
83 cd /path/to/cvs/emacs-www
84 linc.py -o /path/to/output-dir --url http://www.gnu.org/software/emacs/ .
85
86 Be warned that it is really, really slow (as in, can take ~ a full day
87 to check the manual/ directory). It is probably best to run it on a
88 single directory at a time from eg manual/html_node. It is very
89 inefficient, but may reveal a few things that info-xref does not.
90
91
92 make emacs.dvi, elisp.dvi, and deal with any errors (undefined
93 references etc) in the output. Break any overfull lines.
94 Underfull hboxes are not serious, but it can be nice to get rid of
95 them if a simple rephrasing or rearrangement will work.
96
97 Update the master menu and detailed menu (eg the antinews version).
98 The command texinfo-multiple-files-update can do this, but you
99 probably want to apply the results selectively (eg the current master
100 menu has better line-breaks than the automatic version). It includes
101 the menu-entry name (if there is one) as well as the node name - using
102 only the latter looks better. Also, it doesn't seem to handle nested
103 includes, so will miss edebug.texi etc.
104
105 Check for widow and orphan lines in the printed manual; make sure all
106 the pages really look ok in the manual as formatted. Orphans/widows
107 are cases where the first/last line of a paragraph is on its own at
108 the end/start of a page, or where the last word in a paragraph is on
109 its own at the start of a line. It looks better if you reword/respace
110 things to avoid these. (AFAIK, there is no way to find these except
111 paging through the whole manual.) This should be the very last thing
112 you do, since any change can alter the layout.
113 (Actually, there is probably little point in trying to do this.
114 It's only really relevant if printed versions of the manuals are going
115 to be published. End-users are not likely to print out all 1000+
116 pages of the manuals, and even if they do, the resulting page breaks
117 depend on what paper and font size they use. This also means that if
118 you _are_ going to do this, it should be done with the paper and font
119 size that the GNU Press are going to use when they print the manuals.
120 I think this is different to what you get if you just use eg 'make
121 emacs.pdf' (e.g., enable "smallbook").
122
123 ** Check the keybindings in the refcards are correct, and add any new ones.
124 What paper size are the English versions supposed to be on?
125 On Debian testing, the packages texlive-lang-czechslovak and
126 texlive-lang-polish will let you generate the cs-* and sk-* pdfs.
127 (You may need texlive-lang-cyrillic, texlive-lang-german for others.)
128 The Makefile rules did not work for me, I had to use something like:
129 csplain -output-format=pdf cs-refcard
130
131 ** Ask maintainers of refcard translations to update them.
132
133 Emacs 22 translators:
134
135 LANG Translator Status
136 cs Pavel Janík
137 de Sven Joachim
138 fr Eric Jacoboni
139 pl Włodek Bzyl
140 pt-br Rodrigo Real
141 ru Alex Ott
142 sk Miroslav Vaško
143
144 ** For a major release, add a "New in Emacs XX" section to faq.texi.
145
146 ** Remove temporary +++/--- lines in NEWS.
147
148 ** Try to reorder NEWS: most important things first, related items together.
149
150 ** Consider bumping customize-changed-options-previous-release.
151
152 ** cusver-check from admin.el can help find new defcustoms missing
153 :version tags.
154
155 ** Add a line to etc/HISTORY for the release version number and date.
156
157 * BUGS
158
159 ** Check for modes which bind M-s that conflicts with a new global binding M-s
160 and change key bindings where necessary. The current list of modes:
161
162 1. Gnus binds 'M-s' to 'gnus-summary-search-article-forward'.
163
164 2. Minibuffer binds 'M-s' to 'next-matching-history-element'
165 (not useful any more since C-s can now search in the history).
166
167 3. 'center-line' in Text mode was already moved to the text formatting
168 keymap as 'M-o M-s' (thus this binding is not necessary any more
169 in 'nroff-mode-map' too and can be removed now from the nroff mode
170 because it can now use the global key binding 'M-o M-s' 'center-line').
171
172 4. PCL-CVS binds 'M-s' to 'cvs-status', and log-edit-mode binds it to
173 'log-edit-comment-search-forward'. Perhaps search commands
174 on the global key binding 'M-s' are useless in these modes.
175
176 5. Rmail binds '\es' to 'rmail-search'/'rmail-summary-search'.
177
178
179 * DOCUMENTATION
180
181 ** Check the Emacs Tutorial.
182
183 The first line of every tutorial must begin with text ending in a
184 period (".", ASCII 0x2E) saying "Emacs Tutorial" in the respective
185 language. This should be followed by "See end for copying conditions",
186 likewise in the respective language.
187
188 After each file name, on the same line or the following line, come the
189 names of the people who have checked it.
190
191 SECTION READERS
192 ----------------------------------
193 TUTORIAL cyd
194 TUTORIAL.bg ogi
195 TUTORIAL.cn xfq
196 TUTORIAL.cs
197 TUTORIAL.de wl
198 TUTORIAL.eo
199 TUTORIAL.es
200 TUTORIAL.fr
201 TUTORIAL.he eliz
202 TUTORIAL.it
203 TUTORIAL.ja
204 TUTORIAL.ko
205 TUTORIAL.nl Pieter Schoenmakers
206 TUTORIAL.pl
207 TUTORIAL.pt_BR
208 TUTORIAL.ro
209 TUTORIAL.ru Alex Ott
210 TUTORIAL.sk
211 TUTORIAL.sl Primoz PETERLIN
212 TUTORIAL.sv Mats Lidell
213 TUTORIAL.th
214 TUTORIAL.zh
215
216 ** Check the manual.
217
218 abbrevs.texi
219 ack.texi
220 anti.texi
221 arevert-xtra.texi
222 basic.texi
223 buffers.texi
224 building.texi
225 calendar.texi
226 cal-xtra.texi
227 cmdargs.texi
228 commands.texi
229 custom.texi
230 dired.texi
231 dired-xtra.texi
232 display.texi
233 emacs.texi
234 emacs-xtra.texi
235 emerge-xtra.texi
236 entering.texi
237 files.texi
238 fixit.texi
239 fortran-xtra.texi
240 frames.texi
241 glossary.texi
242 help.texi
243 indent.texi
244 killing.texi
245 kmacro.texi
246 macos.texi
247 maintaining.texi
248 mark.texi
249 mini.texi
250 misc.texi
251 modes.texi
252 msdos.texi
253 msdos-xtra.texi
254 mule.texi
255 m-x.texi
256 package.texi
257 picture-xtra.texi
258 programs.texi
259 regs.texi
260 rmail.texi
261 screen.texi
262 search.texi
263 sending.texi
264 text.texi
265 trouble.texi
266 vc-xtra.texi
267 vc1-xtra.texi
268 windows.texi
269 xresources.texi
270
271 ** Check the Lisp manual.
272
273 abbrevs.texi
274 anti.texi
275 back.texi
276 backups.texi
277 buffers.texi
278 commands.texi
279 compile.texi
280 control.texi
281 customize.texi
282 debugging.texi
283 display.texi
284 edebug.texi
285 elisp.texi
286 errors.texi
287 eval.texi
288 files.texi
289 frames.texi
290 functions.texi
291 hash.texi
292 help.texi
293 hooks.texi
294 index.texi
295 internals.texi
296 intro.texi
297 keymaps.texi
298 lists.texi
299 loading.texi
300 macros.texi
301 maps.texi
302 markers.texi
303 minibuf.texi
304 modes.texi
305 nonascii.texi
306 numbers.texi Paul Eggert (24.4)
307 objects.texi
308 os.texi
309 package.texi
310 positions.texi
311 processes.texi
312 searching.texi
313 sequences.texi
314 streams.texi
315 strings.texi
316 symbols.texi
317 syntax.texi
318 text.texi
319 tips.texi
320 variables.texi
321 windows.texi
322
323 * OTHER INFORMATION
324
325 For Emacs's versioning scheme, see `admin/notes/versioning'.
326
327 For instructions to create pretest or release tarballs, announcements,
328 etc., see `admin/make-tarball.txt'.
329
330 \f
331 Local variables:
332 mode: outline
333 coding: utf-8
334 end: