<?xml version="1.0" encoding="UTF-8"?>
<wiki>
  <body>&lt;h1&gt;Basic Guidelines&lt;/h1&gt;
&lt;p&gt;It&amp;#8217;s awesome you want to pitch in and help, there&amp;#8217;s just some few housekeeping things to take care of. The most important of these is helping make sure that patches submitted to the SnapTest project are available to everyone.&lt;/p&gt;
&lt;p&gt;The very short list of things to be a good contributor is:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Use 4 spaces for tab. Do not submit patches containing tab&lt;/li&gt;
	&lt;li&gt;Use Unix line endings (\n not \r\n)&lt;/li&gt;
	&lt;li&gt;Use K&amp;amp;R style, but do not drop braces ({ or })&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The even shorter list of things you &lt;strong&gt;&lt;span class=&quot;caps&quot;&gt;MUST&lt;/span&gt;&lt;/strong&gt; do as a contributor is:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Sign off your patches&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;4 Spaces for Tab, Unix Line Endings&lt;/strong&gt;: Being consistent in this just makes the patching process easier. There is less chance of crazy conflicts, and things will display consistently on all screens. Nobody really wants `^M` showing up in their editor all over the place.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;K&amp;amp;R Style, but do not drop braces({ or })&lt;/strong&gt;: This is done to support the widest range of editors which use folding. Things simply fold better in more editors, and while the rest of K&amp;amp;R style is solid cross-editor, this is just an annoying quirk.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Sign off your patches&lt;/strong&gt;: Okay, the other two are &amp;#8220;nice&amp;#8221; to do, but this one is a must. You simply &lt;strong&gt;&lt;span class=&quot;caps&quot;&gt;MUST&lt;/span&gt;&lt;/strong&gt; add &lt;strong&gt;Signed-off-by: Random J Developer &amp;lt;random@developer.example.org&amp;gt;&lt;/strong&gt; to a message containing a commit / patch that you wish to contribute to the project. Adding this statement is a signature agreeing to the Developer&amp;#8217;s Certificate of Origin, which is hopefully the closest this project ever gets to a &lt;span class=&quot;caps&quot;&gt;CLA&lt;/span&gt;. If you don&amp;#8217;t include one, it&amp;#8217;ll have to be gotten (likely contact via email) to get the necessary permission. If we can&amp;#8217;t get the sign off, we can&amp;#8217;t include the patch.&lt;/p&gt;
&lt;h1&gt;Developer&amp;#8217;s Certificate of Origin&lt;/h1&gt;
&lt;p&gt;By making a contribution to this project, I certify that:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or&lt;/li&gt;
	&lt;li&gt;The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or&lt;/li&gt;
	&lt;li&gt;The contribution was provided directly to me by some other person who certified (a), (b) or &amp;#169; and I have not modified it.&lt;/li&gt;
	&lt;li&gt;I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If you can certify 1, 2, 3, and 4, then you simply need to sign off your commit or the posting containing your patch with `Signed-off-by: Random J Developer &amp;lt;random@developer.example.org&amp;gt;`. If you are using git, then you can simply use the `git commit -s` command.&lt;/p&gt;
&lt;h1&gt;List of Contributors&lt;/h1&gt;
&lt;p&gt;A chronological list of contributors can be found on the [[Contributor List]].&lt;/p&gt;</body>
  <created-at type="datetime">2009-11-27T01:55:51-08:00</created-at>
  <id type="integer">266975</id>
  <permalink>contribution-guidelines</permalink>
  <repository-id type="integer">1880</repository-id>
  <title>Contribution Guidelines</title>
  <updated-at type="datetime">2009-07-19T16:52:05-07:00</updated-at>
  <user-id type="integer">1795</user-id>
</wiki>
