Site updated at 2016-10-04 19:01:12 UTC
This commit is contained in:
parent
a1034e267b
commit
4f90fc8a47
23 changed files with 73 additions and 49 deletions
|
@ -89,21 +89,45 @@
|
|||
<hr class="divider">
|
||||
|
||||
|
||||
<p>Improvements, fixes, and new features to Home Assistant should be submitted one feature at a time using GitHub <a href="https://help.github.com/articles/using-pull-requests">Pull Requests</a>.</p>
|
||||
<p>Submit your improvements, fixes, and new features to Home Assistant one at a time, using GitHub <a href="https://help.github.com/articles/using-pull-requests">Pull Requests</a>. Here are the steps:</p>
|
||||
|
||||
<ol>
|
||||
<li>From your fork, create a new branch to hold your changes
|
||||
<code class="highlighter-rouge">git checkout -b some-feature</code></li>
|
||||
<li>Make the changes you want, create a <a href="/developers/add_new_platform/">new platform</a>, develop a <a href="/developers/creating_components/">new component</a>, or fix <a href="https://github.com/home-assistant/home-assistant/issues">issues</a>.</li>
|
||||
<li><a href="/developers/development_testing/">Test your changes</a> and check for style violations</li>
|
||||
<li>Commit the changes if all <a href="/developers/development_checklist/">musts</a> are covered.
|
||||
<code class="highlighter-rouge">git add .</code>
|
||||
<code class="highlighter-rouge">git commit -m "Added some-feature"</code></li>
|
||||
<li>Consider to add tests to ensure that the code works.</li>
|
||||
<li>Push your committed changes back to your fork on GitHub
|
||||
<code class="highlighter-rouge">git push origin HEAD</code></li>
|
||||
<li>Follow <a href="https://help.github.com/articles/creating-a-pull-request/">these steps</a> to create your pull request.</li>
|
||||
<li>Check for comments and suggestions on your Pull Request and keep an eye on the <a href="https://travis-ci.org/home-assistant/home-assistant/">CI output</a>.</li>
|
||||
<li>
|
||||
<p>From your fork, create a new branch to hold your changes:</p>
|
||||
|
||||
<p><code class="highlighter-rouge">git checkout -b some-feature</code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Make your changes, create a <a href="/developers/add_new_platform/">new platform</a>, develop a <a href="/developers/creating_components/">new component</a>, or fix <a href="https://github.com/home-assistant/home-assistant/issues">issues</a>.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><a href="/developers/development_testing/">Test your changes</a> and check for style violations.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>If everything looks good according to these <a href="/developers/development_checklist/">musts</a>, commit your changes:</p>
|
||||
|
||||
<p><code class="highlighter-rouge">git add .</code></p>
|
||||
|
||||
<p><code class="highlighter-rouge">git commit -m "Added some-feature"</code></p>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<ul>
|
||||
<li>Consider adding tests to ensure that your code works.</li>
|
||||
</ul>
|
||||
|
||||
<ol>
|
||||
<li>
|
||||
<p>Push your committed changes back to your fork on GitHub:</p>
|
||||
|
||||
<p><code class="highlighter-rouge">git push origin HEAD</code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Follow <a href="https://help.github.com/articles/creating-a-pull-request/">these steps</a> to create your pull request.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Check for comments and suggestions on your pull request and keep an eye on the <a href="https://travis-ci.org/home-assistant/home-assistant/">CI output</a>.</p>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue