Revision as of 21:26, 24 May 2017 by Jose Lamego (talk | contribs) (Update the state of patches)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Patchwork is a web-based patch tracking system designed to facilitate the contribution and management of contributions to an open-source project.

The URL for OpenEmbedded’s Patchwork installation is The installation is also accessible by the link in the navigation bar under oe services.

Apply patches

To apply a patch from the patchwork queue using Git, download the mbox file and apply it using

git am < file

If the submitter of the patch has not written the Subject of the email according to the OpenEmbedded policy for commit messages, then use

git commit --amend

to edit the commit message before you push.

You could also use the script in contrib/patchwork/ this script will fetch an 'mbox' patch from patchwork and git am it

usage: <number1> <number2> ...
example: ' 12 13' will get the patch from 

It is desirable to update the state of the patch in the patch queue. This could also be added to the script.

Multiple layers sharing the same oe project on patchwork is populated from openembedded-devel ML and shared by multiple projects, each project usually defines prefix which should be used when sending patches to ML ([meta-layer-name] tag should be used).

In order to keep main page clean, patches are split to multiple bundles, current list is:

master-next bundle is used for meta-efl meta-gnome meta-gpe meta-multimedia meta-oe meta-ruby meta-systemd meta-xfce changes when they are moved to jenkins build for verification build (meta-oe-contrib/jansa/master branch).

When some patch is moved to bundle it's archive status is set to archived, but state is still "New". That's why you need to change default filter to see archived patches in bundles.

Update the state of patches

You have to register to be able to update the state of patches. You can use the Web interface, through an email message containing an appropriately formatted string for this purpose, or `pwclient`.

Edit patch state through a string in email message

Series submitter and project maintainers can change a patch state by including a string at the end of an email message sent as reply to either the original email message or to any message in the thread. The string must be in the following format (including square brackets):

   [Patchwork-Status: <new-state>]

where <new-state> can be any of the existing states (excepting Accepted).


`pwclient` can be used for example to retrieve patches, search the queue or update the state.

All necessary information for `pwclient` is linked from the bottom of Use

./pwclient --help

for an overview on how to use it.