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