git.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="generator" content="pandoc">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
  7. <title>QTAU – Information about sending patches for review</title>
  8. <link rel="stylesheet" href="/global.css">
  9. <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/feed.xml"/>
  10. </head>
  11. <body>
  12. <header>
  13. <h1 class="title">Information about sending patches for review</h1>
  14. </header>
  15. <strong><a href='/git.html#editing-the-website-and-documentation-wiki-style'>Edit this page</a></strong> -- <a href='./'>Back to previous index</a>
  16. <nav id="TOC">
  17. <ul>
  18. <li><a href="#editing-the-website-and-documentation-wiki-style">Editing the website and documentation, wiki-style</a></li>
  19. <li><a href="#general-guidelines-for-submitting-patches">General guidelines for submitting patches</a></li>
  20. <li><a href="#general-code-review-guidelines">General code review guidelines</a></li>
  21. <li><a href="#how-to-download-qtau-from-the-git-repository">How to download QTAU from the Git repository</a></li>
  22. <li><a href="#how-to-submit-your-patches-via-pull-requests">How to submit your patches (via pull requests)</a></li>
  23. </ul>
  24. </nav>
  25. <p>Download QTAU from the Git repository like so:</p>
  26. <pre><code>$ git clone https://notabug.org/isengaara/qtau.git</code></pre>
  27. <p>You can submit your patches via <a href="#how-to-submit-your-patches-via-pull-requests">Notabug pull requests</a>.</p>
  28. <div class="h"><h2 id="editing-the-website-and-documentation-wiki-style">Editing the website and documentation, wiki-style</h2><a aria-hidden="true" href="#editing-the-website-and-documentation-wiki-style">[link]</a></div>
  29. <p>The website and documentation is inside the <code>www</code> directory in the <a href="#how-to-download-qtau-from-the-git-repository">Git repository</a>, in Pandoc flavoured Markdown. The website is generated into static HTML via Pandoc with the following scripts in that directory:</p>
  30. <ul>
  31. <li>index.sh: generates the news feed (on the News section of the website)</li>
  32. <li>publish.sh: converts an .md file to an .html file</li>
  33. <li>Makefile: with calls to index.sh and publish.sh, compiles the entire QTAU website</li>
  34. </ul>
  35. <p>Use any standard text editor (e.g. Geany, Vim, Emacs, Nano, Gedit) to edit the files, commit the changes and <a href="#how-to-submit-your-patches-via-pull-requests">send patches</a>.</p>
  36. <p>Optionally, you can install a web server (e.g. lighttpd, nginx) locally and set the document root to the <em>www</em> directory in your local Git repository. With this configuration, you can then generate your local version of the website and view it by typing <code>localhost</code> in your browser’s URL bar.</p>
  37. <div class="h"><h2 id="general-guidelines-for-submitting-patches">General guidelines for submitting patches</h2><a aria-hidden="true" href="#general-guidelines-for-submitting-patches">[link]</a></div>
  38. <p>We require all patches to be submitted under a free license: <a href="https://www.gnu.org/licenses/license-list.html" class="uri">https://www.gnu.org/licenses/license-list.html</a>.</p>
  39. <ul>
  40. <li>GNU General Public License v3 (or any later version) is highly recommended</li>
  41. <li>For documentation, we require GNU Free Documentation License v1.3 or higher</li>
  42. </ul>
  43. <p><em>Always</em> declare a license on your work! Not declaring a license means that the default, restrictive copyright laws apply, which would make your work non-free.</p>
  44. <p>GNU+Linux is generally recommended as the OS of choice, for QTAU development.</p>
  45. <div class="h"><h2 id="general-code-review-guidelines">General code review guidelines</h2><a aria-hidden="true" href="#general-code-review-guidelines">[link]</a></div>
  46. <p>Any member of the public can <a href="#how-to-submit-your-patches-via-pull-requests">submit a patch</a>. Members with push access must <em>never</em> push directly to the master branch; issue a Pull Request, and wait for someone else to merge. Never merge your own work!</p>
  47. <p>Your patch will be reviewed for quality assurance, and merged if accepted.</p>
  48. <div class="h"><h2 id="how-to-download-qtau-from-the-git-repository">How to download QTAU from the Git repository</h2><a aria-hidden="true" href="#how-to-download-qtau-from-the-git-repository">[link]</a></div>
  49. <p>In your terminal:</p>
  50. <pre><code>$ git clone https://notabug.org/isengaara/qtau.git</code></pre>
  51. <p>A new directory named <code>qtau</code> will have been created, containing qtau.</p>
  52. <div class="h"><h2 id="how-to-submit-your-patches-via-pull-requests">How to submit your patches (via pull requests)</h2><a aria-hidden="true" href="#how-to-submit-your-patches-via-pull-requests">[link]</a></div>
  53. <p>Make an account on <a href="https://notabug.org/" class="uri">https://notabug.org/</a> and navigate (while logged in) to <a href="https://notabug.org/isengaara/qtau" class="uri">https://notabug.org/isengaara/qtau</a>. Click <em>Fork</em> and in your account, you will have your own repository of QTAU. Clone your repository, make whatever changes you like to it and then push to your repository, in your account on NotABug.</p>
  54. <p>Now, navigate to <a href="https://notabug.org/isengaara/qtau/pulls" class="uri">https://notabug.org/isengaara/qtau/pulls</a> and click <em>New Pull Request</em>.</p>
  55. <p>You can submit your patches there.</p>
  56. <p>Once you have issued a Pull Request, the QTAU maintainer(s) will be notified via email.</p>
  57. <p><strong><a href="/git.html#editing-the-website-and-documentation-wiki-style">Edit this page</a></strong> – <a href="/docs/fdl-1.3.html">License</a> – <a href="/license.html">Template</a> – <a href="/contrib.html">Authors</a></p>
  58. </body>
  59. </html>