Changes

Jump to navigation Jump to search
1,485 bytes added ,  18:50, 1 September 2016
Created page with "= Problem = We had an idea to validate patches in a mailing list. For that, we need to have a way to get a whole patch series, apply them to the clean criu repo and execute ou..."
= Problem =
We had an idea to validate patches in a mailing list. For that, we need to have a way to get a whole patch series, apply them to the clean criu repo and execute our tests. [https://patchwork.criu.org Patchwork] helps us to solve the first sub-task here.

= How does it work =
* The [https://ci.openvz.org/job/CRIU/view/All/job/criu-patchwork-list/ criu-patchwork-list] jenkins job is executed periodicaly
* It lists all new patch series and triggers [https://ci.openvz.org/job/CRIU/view/All/job/criu-patchwork criu-patchwork] jenkins job for them
* The criu-patchwork job applies a series to the clean criu repo and push it to [https://github.com/criupatchwork/criu github]
* [https://travis-ci.org/criupatchwork/criu/ Mr Travis] execute tests for all new changes on github
* The [https://ci.openvz.org/job/CRIU/view/All/job/criu-patchwork-list/ criu-patchwork-list] job set a status for the series accoding with test results and patchwork sends a notification if the status isn't positive.

= git-pw =
git-pw - a command line tool. It allows to list patches and to apply them to a local repo.

This tool can be downloaded from [https://github.com/dlespiau/patchwork/tree/master/git-pw here]. Don't forget to install dependencies from the [https://github.com/dlespiau/patchwork/blob/master/git-pw/requirements.txt requirements.txt]

And you need to add a few lines into the git config:
[patchwork "default"]
url = https://patchwork.criu.org
project = criu

Navigation menu