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