Line 12: |
Line 12: |
| | | |
| <pre><nowiki> | | <pre><nowiki> |
− | git clone https://github.com/xemul/criu | + | git clone https://github.com/xemul/criu criu |
| + | cd criu |
| git checkout criu-dev | | git checkout criu-dev |
| </nowiki></pre> | | </nowiki></pre> |
Line 22: |
Line 23: |
| To compile CRIU, run: | | To compile CRIU, run: |
| | | |
− | cd criu
| |
| make | | make |
| | | |
− | This should make the <code>./criu</code> executable. | + | This should create the <code>./criu/criu</code> executable. |
| | | |
| == Edit the source code == | | == Edit the source code == |
Line 75: |
Line 75: |
| can certify the below: | | can certify the below: |
| | | |
− | <div class="toccolours mw-collapsible mw-collapsed" style="width: 64em;"> | + | <div class="toccolours mw-collapsible mw-collapsed" style="width: 46em;"> |
| '''Developer's Certificate of Origin 1.1''' | | '''Developer's Certificate of Origin 1.1''' |
| <div class="mw-collapsible-content"> | | <div class="mw-collapsible-content"> |
Line 113: |
Line 113: |
| <code>git commit --amend -s</code>. | | <code>git commit --amend -s</code>. |
| | | |
− | <div class="toccolours mw-collapsible mw-collapsed" style="width: 64em;"> | + | <div class="toccolours mw-collapsible mw-collapsed" style="width: 46em;"> |
| '''Example patch message''' | | '''Example patch message''' |
| <div class="mw-collapsible-content"> | | <div class="mw-collapsible-content"> |
Line 130: |
Line 130: |
| == Mail patches == | | == Mail patches == |
| | | |
− | The patches should be sent to [CRIU development mailing list which is located at https://openvz.org/mailman/listinfo/criu]. | + | The patches should be sent to CRIU development mailing list, <code>criu AT openvz.org</code>. Note that you need to be subscribed first in order to post. The list web interface is available at https://openvz.org/mailman/listinfo/criu; you can also use standard mailman aliases to work with it. |
| | | |
| Please make sure the email client you're using doesn't screw your patch (line wrapping and so on). | | Please make sure the email client you're using doesn't screw your patch (line wrapping and so on). |
Line 140: |
Line 140: |
| sometimes a patch may fly around a week before it gets reviewed. | | sometimes a patch may fly around a week before it gets reviewed. |
| | | |
− | == Continuous Integration == | + | == Continuous integration == |
− | CRIU tests are run for each series. If you get a message from our patchwork that patches haven't pass tests, you have to investigate what is wrong. We recommend to use https://travis-ci.org/ to check patches before sending them into the mailing list. | + | |
| + | ''Main article: [[Continuous integration]]'' |
| + | |
| + | CRIU tests are run for each series sent to the mailing list. If you get a message from our patchwork that patches failed to pass the tests, you have to investigate what is wrong. |
| + | |
| + | We also recommend you to [[Continuous integration#Enable Travis CI for your repo|enable Travis CI for your repo]] to check patches in your git branch, before sending them to the mailing list. |
| | | |
| [[Category:Development]] | | [[Category:Development]] |