docs: Commands should be on a separate line
[guilt.git] / Documentation / Contributing
blobf0f79e9bba1485800a70da80f1b83bd069402689
1 There's not much to helping develop Guilt. Most of the following has been
2 adapted, or blatantly stolen from the Linux kernel's
3 Documentation/SubmittingPatches file. :)
5 1) Hack on the code a bit
7 2) Make a patch:
9 Use "diff -up" or "diff -uprN" to create patches. Or simply use git to
10 create patches against the latest version.
12 3) Describe the changes:
14 If you generated a patch using diff, make sure you include a description of
15 your changes at the begining of the patch. If you used git, make sure the
16 git commit message contains a good description of the changes.
18 4) Send the patches to: Josef "Jeff" Sipek <jsipek@cs.sunysb.edu>, CC'ing
19 the Git mailing list (git@vger.kernel.org).
21 5) Sign your work:
23 To improve tracking of who did what, especially with patches that can
24 percolate to their final resting place in the kernel through several
25 layers of maintainers, we've introduced a "sign-off" procedure on
26 patches that are being emailed around.
28 The sign-off is a simple line at the end of the explanation for the
29 patch, which certifies that you wrote it or otherwise have the right to
30 pass it on as a open-source patch.  The rules are pretty simple: if you
31 can certify the below:
33         Developer's Certificate of Origin 1.1
35         By making a contribution to this project, I certify that:
37         (a) The contribution was created in whole or in part by me and I
38             have the right to submit it under the open source license
39             indicated in the file; or
41         (b) The contribution is based upon previous work that, to the best
42             of my knowledge, is covered under an appropriate open source
43             license and I have the right under that license to submit that
44             work with modifications, whether created in whole or in part
45             by me, under the same open source license (unless I am
46             permitted to submit under a different license), as indicated
47             in the file; or
49         (c) The contribution was provided directly to me by some other
50             person who certified (a), (b) or (c) and I have not modified
51             it.
53         (d) I understand and agree that this project and the contribution
54             are public and that a record of the contribution (including all
55             personal information I submit with it, including my sign-off) is
56             maintained indefinitely and may be redistributed consistent with
57             this project or the open source license(s) involved.
59 then you just add a line saying
61         Signed-off-by: Random J Developer <random@developer.example.org>
63 using your real name (sorry, no pseudonyms or anonymous contributions.)
65 Some people also put extra tags at the end.  They'll just be ignored for
66 now, but you can do this to mark internal company procedures or just
67 point out some special detail about the sign-off.