*** empty log message ***
[bpt/guile.git] / RELEASE
CommitLineData
2732830a 1This is a checklist for making Guile releases.
251ca7ab
JB
2It's specific to the FSF's development environment; please don't put
3it in the distribution.
2732830a 4
f8c9d497
JB
5Maybe we should name Guile releases after entertaining poisons:
6absinthe, etc. However, the first release containing the module
7system should be called Godot: "This is the one you've been waiting
8for."
f7677ff2 9
c7b6388d
DH
10Before releasing the next version of libguile which is not binary compatible
11with the one released with 1.4:
12- remove struct members system_transformer and top_level_lookup_closure_var
13 from struct scm_root_state in root.h.
14
04914986
DH
15After signal handling and threading have been fixed:
16- remove the code corresponding to GUILE_OLD_ASYNC_CLICK and the corresponding
17 GUILE_OLD_ASYNC_CLICK macro.
18
7c1e0b12 19In release 1.5:
3a33a9b1
MD
20- remove deprecated variables:
21 scm_top_level_lookup_closure_var
22- remove deprecated functions:
23 eval.c: scm_eval2, scm_eval_3
24 load.c: scm_read_and_eval_x
25- remove deprecated procedures:
26 boot-9.scm:eval-in-module
894a712b
DH
27- remove deprecated macros: SCM_INPORTP, SCM_OUTPORTP, SCM_CRDY, SCM_ICHRP,
28 SCM_ICHR, SCM_MAKICHR, SCM_SETJMPBUF, SCM_NSTRINGP, SCM_NRWSTRINGP,
29 SCM_NVECTORP
820920e6 30- remove gc-thunk (It has been replaced by after-gc-hook.)
894a712b
DH
31- remove scm_sysmissing
32- remove gh_int2scmb (replaced by gh_bool2scm)
33- remove scm_fseek (replaced by scm_seek)
34- remove scm_tag
e11f8b42
DH
35- remove code related to the name property of hooks. Also, check init.c,
36 since the dependency between hooks and objprop will then be eliminated.
0a9e521f
MD
37- remove deprecated function scm_list_star/list* (use SRFI-1 compliant
38 scm_cons_star/cons* instead.)
39- remove scm_tc16_flo, scm_tc_flo (guile always uses doubles to represent
40 inexact real numbers)
41- remove scm_tc_dblr (replaced by scm_tc16_real)
42- remove scm_tc_dblc (replaced by scm_tc16_complex)
43- remove deprecated types, functions and macros from numbers.h: scm_dblproc,
44 SCM_UNEGFIXABLE, SCM_FLOBUFLEN, SCM_INEXP, SCM_CPLXP, SCM_REAL, SCM_IMAG,
45 SCM_REALPART, scm_makdbl, SCM_SINGP, SCM_NUM2DBL, SCM_NO_BIGDIG
7c1e0b12 46
b63a956d
DH
47In release 1.6:
48- remove deprecated macros: SCM_OUTOFRANGE, SCM_NALLOC, SCM_HUP_SIGNAL,
49 SCM_INT_SIGNAL, SCM_FPE_SIGNAL, SCM_BUS_SIGNAL, SCM_SEGV_SIGNAL,
50 SCM_ALRM_SIGNAL, SCM_GC_SIGNAL, SCM_TICK_SIGNAL, SCM_SIG_ORD,
51 SCM_ORD_SIG, SCM_NUM_SIGS
cc4feeca
DH
52- remove function scm_call_catching_errors
53 (replaced by catch functions from throw.[ch])
b63a956d
DH
54
55
ed8c8636
MD
56Modules sort.c and random.c should be factored out into separate
57modules (but still be distributed with guile-core) when we get a new
58module system.
59
cc914709
JB
60Platforms for test builds:
61SunOS (gcc and pcc) --- galapas.ai.mit.edu
62Solaris (gcc and SUN cc) --- saturn.ai.mit.edu
63NetBSD (gcc) --- repo-man.ai.mit.edu (use /home/repo/jimb)
64HP/UX (gcc, HP cc) --- nutrimat.gnu.ai.mit.edu
65
422b92d2 66These gentlemen have kindly offered to do pre-release testing:
99ac53b9
MD
67
68Tom Tromey <tromey@cygnus.com>:
69
70 alphaev5-unknown-linux-gnu
71 hppa1.1-hp-hpux10.20
72 hppa1.1-hp-hpux11.00
73 mips-sgi-irix5.3
74 powerpc-ibm-aix4.2.0.0
75 powerpc-unknown-linux-gnu
76 sparc-sun-solaris2.6
77 i686-pc-linux-gnu
78 mips-sgi-irix6.3
79 sparc-sun-sunos4.1.4
80
81Ian Grant <I.A.N.Grant@damtp.cam.ac.uk>:
82
83 alpha-dec-osf4.0e
84
85Julian Satchell <satchell@merry.dra.hmg.gb>:
86
87 dec-mips-ultrix
cc914709 88
d4c83f63
JB
89Perry Metzger <perry@piermont.com>
90
91 NetBSD
92
3f686b10
JB
93
94Release Checklists ===================================================
95
96There are basically two phases to doing a release:
97
98* "SPIFFING": Updating NEWS, README, INSTALL. Running tests. Getting
99 people to try builds on various machines. Getting everything
100 straightened up.
101
102* "PUNTING": Updating the version numbers. Tagging the sources. Asking
103 the FSF to put the disty on ftp.gnu.org. Posting announcements.
104
105The "Spiffing" phase you might go through several times as you
106discover problems. The "Punting" phase you do only once.
107
108
109Spiffing checklist:
110
111* Do a `cvs update -A', to get rid of any sticky tags in your working
112 directory.
113* Check for files that have changed a lot, but do not have up-to-date
fba33ff1 114 copyright notices. This can be as simple as doing:
341f78c9 115 grep 'Copyright' * | grep -v 1999
fba33ff1 116 and looking for files you know you've worked on a lot.
3f686b10
JB
117* Make sure NEWS, INSTALL and the docs are up to date:
118 + Scan the ChangeLogs for user-visible changes, marked with an asterisk
119 at the left margin.
120 + Update NEWS and the Texinfo documentation as appropriate.
121 + Remove the user-visible markers from the log entries once they're
122 documented.
123 + Check for any [[incomplete]] sections of NEWS.
124 + Fact-check INSTALL.
e4445210 125* Make sure the downloading addresses and filenames in README are
340a8770 126 current. (But don't bump the version number yet. We do that below.)
3f686b10 127* Check that the versions of aclocal, automake, autoconf, and autoheader
f43aac9a 128 in your PATH match those given in HACKING. Note that the `make
3f686b10
JB
129 dist' process always invokes these tools, even when all the
130 generated files are up to date.
131* Rebuild all generated files in the source tree:
132 + Install the .m4 files where aclocal will find them.
133 + Run aclocal.
3f686b10
JB
134 + Run autoconf.
135 + Run autoheader.
14a7a25d 136 + Run automake.
3f686b10 137* Verify that Guile builds and runs in your working directory.
f43aac9a 138* Run the test suite, in guile-core/test-suite.
3f686b10
JB
139* Commit all changes to the CVS repository.
140* Build a test distribution.
141 + BEFORE doing 'make dist', configure the source tree for build
9a8a1e8a
MD
142 in the same tree with configuration options
143 --enable-maintainer-mode --enable-debug-malloc --with-threads.
24e720c8
JB
144 + Make sure that readline was enabled correctly.
145 + Build the tree.
146 (If the above steps are not done, the dependencies won't be properly
147 included in the generated Makefile.in files.)
3f686b10 148 + Then do 'make dist'.
b5074b23
MD
149 + Check that the dependencies in guile-readline/Makefile look OK.
150 (We currently use a kludge which edits the dependencies generated
151 by automake so that Guile can be built in a directory separate
152 from the source tree also with non-GNU make programs.)
3f686b10
JB
153* Give the test disty to various people to try. Here's what you should do:
154 + Unset GUILE_LOAD_PATH.
155 + Remove automake and autoconf from your path, or turn off their
156 execute bits, or something. (Users must be able to build the
157 disty without installing those tools.)
158 + Configure, make, and install.
159 + Make sure LD_LIBRARY_PATH doesn't include anything unnecessary.
160 + Run the test suite on the installed version.
161 + You might try the example code in the doc directory.
162
163Once you've got a disty that seems pretty solid:
164
165* Choose new interface numbers for shared libraries.
166* Update the version numbers in GUILE-VERSION and README. (There are
167 many places in README that need updating!) The Guile version
168 number should have one of the following forms:
169 N.M - a major release
170 N.M.L, where L is even - a minor release
171 N.M.L, where L is odd - sources from CVS or nightly snapshot
172* Reformat the names in THANKS.
173* Do a `cvs update -A' of the whole tree, to look for any stray
174 uncommitted or accidental changes.
175* Commit your changes.
176* Make one last test distribution.
177
178Punting checklist:
179
180* Add "Guile N.M released." entry to the top-level ChangeLog, and commit it.
181* Tag the entire source tree with a tag of the form "release_N_M"
182 or "release_N_M_L".
bab4e1cc 183* Do a 'make dist'.
3f686b10
JB
184* Put the distribution up for FTP somewhere, and send mail to
185 ftp-upload@gnu.org, asking them to put it on prep.
186* Send an announcement message to gnu-announce@gnu.org. Put a brief
187 summary of the changes in this release first, then "Obtaining
188 Guile", "Thanks", "About This Distribution," and "Nightly
189 Snapshots." If I remember correctly, the moderator will delay it
190 until the distribution appears on ftp.gnu.org. The announcement
191 text should be mostly taken from Guile's README file.
192* Notify freshmeat.net, although they're probably watching anyway.
193 (They got the 1.3 release just fine.) I have no idea if
194 www.bowerbird.com.au will be something anyone refers to, but Guile
195 does have an entry there.
196* Tweak the version numbers in GUILE-VERSION, and README to indicate
197 that the sources are a snapshot again. Snapshots should have
198 version numbers of the form "N.M.L", where L is odd.
199* Start a new section of the NEWS file.
200* Start a new THANKS file.