<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://criu.org/index.php?action=history&amp;feed=atom&amp;title=Patchwork</id>
	<title>Patchwork - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://criu.org/index.php?action=history&amp;feed=atom&amp;title=Patchwork"/>
	<link rel="alternate" type="text/html" href="https://criu.org/index.php?title=Patchwork&amp;action=history"/>
	<updated>2026-05-13T14:58:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.6</generator>
	<entry>
		<id>https://criu.org/index.php?title=Patchwork&amp;diff=3137&amp;oldid=prev</id>
		<title>Avagin: Created page with &quot;= 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...&quot;</title>
		<link rel="alternate" type="text/html" href="https://criu.org/index.php?title=Patchwork&amp;diff=3137&amp;oldid=prev"/>
		<updated>2016-09-01T18:50:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= 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...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Problem =&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
= How does it work =&lt;br /&gt;
* The [https://ci.openvz.org/job/CRIU/view/All/job/criu-patchwork-list/ criu-patchwork-list] jenkins job is executed periodicaly&lt;br /&gt;
* 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&lt;br /&gt;
* The criu-patchwork job applies a series to the clean criu repo and push it to [https://github.com/criupatchwork/criu github]&lt;br /&gt;
* [https://travis-ci.org/criupatchwork/criu/ Mr Travis] execute tests for all new changes on github&lt;br /&gt;
* 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.&lt;br /&gt;
&lt;br /&gt;
= git-pw =&lt;br /&gt;
git-pw - a command line tool. It allows to list patches and to apply them to a local repo.&lt;br /&gt;
&lt;br /&gt;
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]&lt;br /&gt;
&lt;br /&gt;
And you need to add a few lines into the git config: &lt;br /&gt;
 [patchwork &amp;quot;default&amp;quot;]&lt;br /&gt;
        url = https://patchwork.criu.org&lt;br /&gt;
        project = criu&lt;/div&gt;</summary>
		<author><name>Avagin</name></author>
	</entry>
</feed>