*** empty log message ***
[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
JB
7
8- Make sure your changes compile and work, at least on your own
9machine, before checking them into the main branch of the Guile
10repository. If you really need to check in untested changes, make a
11branch.
12
13- When you make a user-visible change (i.e. one that should be
14documented, and appear in NEWS, put an asterisk in column zero of the
15start of the ChangeLog entry, like so:
16
17Sat Aug 3 01:27:14 1996 Gary Houston <ghouston@actrix.gen.nz>
18
19* * fports.c (scm_open_file): don't return #f, throw error.
20
21- Include each log entry in both the ChangeLog and in the CVS logs.
22If you're using Emacs, the pcl-cvs interface to CVS has features to
23make this easier; it checks the ChangeLog, and generates good default
24CVS log entries from that.
25
30d14d55
JB
26- There's no need to keep a change log for documentation files. This
27is because documentation is not susceptible to bugs that are hard to
28fix. Documentation does not consist of parts that must interact in a
29precisely engineered fashion; to correct an error, you need not know
30the history of the erroneous passage. (This is copied from the GNU
31coding standards.)
32
795b4217
JB
33- If you add or remove files, don't forget to update the 'dist-dir'
34target in the relevant Makefile.in files, so the snapshot and
35distribution processes will work.
36
37- Make sure you have papers from people before integrating their
38changes or contributions. This is very frustrating, but very
39important to do right. From maintain.texi, "Information for
40Maintainers of GNU Software":
41
42 When incorporating changes from other people, make sure to follow the
43 correct procedures. Doing this ensures that the FSF has the legal
44 right to distribute and defend GNU software.
45
46 For the sake of registering the copyright on later versions ofthe
47 software you need to keep track of each person who makes significant
48 changes. A change of ten lines or so, or a few such changes, in a
49 large program is not significant.
50
51 *Before* incorporating significant changes, make sure that the person
52 has signed copyright papers, and that the Free Software Foundation has
53 received them.
54
55If you receive contributions you want to use from someone, let me know
56and I'll take care of the administrivia. Put the contributions aside
57until we have the necessary papers.
58
59
60
61Jim Blandy