Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!

Difference between revisions of "Patchwork"

From Openembedded.org
Jump to: navigation, search
(Add description of patchwork (from Patchwork’s start page) and add information about `pwclient`.)
(Apply patches)
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[http://ozlabs.org/~jk/projects/patchwork/ Patchwork] is a web-based patch tracking system designed to facilitate the contribution and management of contributions to an open-source project.
 
[http://ozlabs.org/~jk/projects/patchwork/ 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 http://patchwork.openembedded.org. The installation is also accessible by the link in the navigation bar under ''oe services''.
+
The URL for OpenEmbedded’s Patchwork installation is http://patches.openembedded.org. The installation is also accessible by the link in the navigation bar under ''oe services''.
  
 
== Apply patches ==
 
== Apply patches ==
  
To apply a patch from the [http://patchwork.openembedded.org patchwork queue] using [[Git]], download the mbox file and apply it using
+
To apply a patch from the [http://patches.openembedded.org patchwork queue] using [[Git]], download the mbox file and apply it using
 
  git am < file
 
  git am < file
  
Line 12: Line 12:
 
to edit the commit message before you push.
 
to edit the commit message before you push.
  
You could also use the script in contrib/patchwork/pw-am.sh this script will fetch an 'mbox' patch from patchwork and git am it
+
You could also use the script in [http://cgit.openembedded.org/cgit.cgi/openembedded/tree/contrib/patchwork/pw-am.sh contrib/patchwork/pw-am.sh] this script will fetch an 'mbox' patch from patchwork and git am it
  usage: pw-am.sh <number>
+
  usage: pw-am.sh <number1> <number2> ...
  example: 'pw-am.sh 221' will get the patch from http://patchwork.openembedded.org/patch/221/
+
  example: 'pw-am.sh 12 13' will get the patch from http://patches.openembedded.org/patch/12/
 +
and http://patches.openembedded.org/patch/13/
  
 
It is desirable to update the state of the patch in the patch queue. This could also be added to the script.
 
It is desirable to update the state of the patch in the patch queue. This could also be added to the script.
Line 26: Line 27:
 
`pwclient` can be used for example to retrieve patches, search the queue or update the state.
 
`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 http://patchwork.openembedded.org/project/openembedded/. Use
+
All necessary information for `pwclient` is linked from the bottom of http://patches.openembedded.org/project/oe/. Use
  
 
  ./pwclient help
 
  ./pwclient help

Revision as of 07:59, 11 December 2010

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 http://patches.openembedded.org. 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/pw-am.sh this script will fetch an 'mbox' patch from patchwork and git am it

usage: pw-am.sh <number1> <number2> ...
example: 'pw-am.sh 12 13' will get the patch from http://patches.openembedded.org/patch/12/ 
and http://patches.openembedded.org/patch/13/

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

Update the state of patches

You have to register to be able to update the state of patches. You can use the Web interface or `pwclient`.

pwclient

`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 http://patches.openembedded.org/project/oe/. Use

./pwclient help

for an overview on how to use it.

Personal tools
Namespaces

Variants
Actions
Navigation
Categories
OE services
Toolbox