Start new section for post-1.0 changes.
[bpt/guile.git] / HACKING
CommitLineData
795b4217
JB
1Here are some guidelines for working on the Guile source tree at GNU.
2
3- As for any part of Project GNU, changes to Guile should follow the
4GNU coding standards. The standards are available via anonymous FTP
80b4c4fc
JB
5from prep.ai.mit.edu, as /pub/gnu/standards/standards.texi and
6make-stds.texi.
795b4217 7
350294b1
JB
8- Check Makefile.in and configure files into CVS, as well as any files
9used to create them (Makefile.am, configure.in); don't check in
10Makefiles or header files generated by configuration scripts. The
11general rule is that you should be able to check out a working
12directory of Guile from CVS, and then type "configure" and "make".
13
795b4217
JB
14- Make sure your changes compile and work, at least on your own
15machine, before checking them into the main branch of the Guile
16repository. If you really need to check in untested changes, make a
17branch.
18
19- When you make a user-visible change (i.e. one that should be
20documented, and appear in NEWS, put an asterisk in column zero of the
21start of the ChangeLog entry, like so:
22
23Sat Aug 3 01:27:14 1996 Gary Houston <ghouston@actrix.gen.nz>
24
25* * fports.c (scm_open_file): don't return #f, throw error.
26
27- Include each log entry in both the ChangeLog and in the CVS logs.
28If you're using Emacs, the pcl-cvs interface to CVS has features to
29make this easier; it checks the ChangeLog, and generates good default
30CVS log entries from that.
31
30d14d55
JB
32- There's no need to keep a change log for documentation files. This
33is because documentation is not susceptible to bugs that are hard to
34fix. Documentation does not consist of parts that must interact in a
35precisely engineered fashion; to correct an error, you need not know
36the history of the erroneous passage. (This is copied from the GNU
37coding standards.)
38
733943b9
TT
39- If you add or remove files, don't forget to update the appropriate
40part of the relevant Makefile.am files, and regenerate the
41Makefile.in. If you forget this, the snapshot and distribution
42processes will not work.
795b4217
JB
43
44- Make sure you have papers from people before integrating their
45changes or contributions. This is very frustrating, but very
46important to do right. From maintain.texi, "Information for
47Maintainers of GNU Software":
48
49 When incorporating changes from other people, make sure to follow the
50 correct procedures. Doing this ensures that the FSF has the legal
51 right to distribute and defend GNU software.
52
53 For the sake of registering the copyright on later versions ofthe
54 software you need to keep track of each person who makes significant
55 changes. A change of ten lines or so, or a few such changes, in a
56 large program is not significant.
57
58 *Before* incorporating significant changes, make sure that the person
59 has signed copyright papers, and that the Free Software Foundation has
60 received them.
61
62If you receive contributions you want to use from someone, let me know
63and I'll take care of the administrivia. Put the contributions aside
64until we have the necessary papers.
65
66
67
68Jim Blandy