[ovs-dev] [PATCH v2] faq: Add information about git-pw.

David Marchand david.marchand at redhat.com
Thu Mar 28 16:32:43 UTC 2019


On Thu, Mar 28, 2019 at 5:02 PM Kevin Traynor <ktraynor at redhat.com> wrote:

> git-pw is similar to pwclient but it can apply series directly.
>
> Signed-off-by: Kevin Traynor <ktraynor at redhat.com>
> ---
>
> v2: fix block indent
>
>  Documentation/faq/contributing.rst | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>
> diff --git a/Documentation/faq/contributing.rst
> b/Documentation/faq/contributing.rst
> index d8de9a49e..9f7ea121d 100644
> --- a/Documentation/faq/contributing.rst
> +++ b/Documentation/faq/contributing.rst
> @@ -171,2 +171,21 @@ Q: How do I apply patches from email?
>     certain patches that contain form-feeds, due to a limitation of the
> protocol
>     underlying ``pwclient``.)
> +
> +   Another way to apply patches directly from patchwork which supports
> applying
> +   patch series is to use the ``git-pw`` program. It can be obtained with
> +   ``pip install git-pw``. Alternative installation instructions and
> general
> +   documentation can be found at
> +   https://patchwork.readthedocs.io/projects/git-pw/en/latest/. You need
> to
> +   use your openvswitch patchwork login or create one at
> +   https://patchwork.ozlabs.org/register/. The following can then be set
> on
> +   the command line with ``git config`` or through a ``.gitconfig`` like
> this::
> +
> +     [pw]
> +     server=https://patchwork.ozlabs.org/api/1.0
> +     project=openvswitch
> +     username=<username>
> +     password=<password>
> +
> +   Patch series can be listed with ``git-pw series list`` and applied with
> +   ``git-pw series apply #``, where # is the series number. Individual
> patches
> +   can be applied with ``git-pw patch apply #``, where # is the patch
> number.
> --
> 2.20.1
>
>
I have been using git-pw for quite some time for ovs and dpdk.
I personnally use an API token for auth, but apart from that it looks good.

Reviewed-by: David Marchand <david.marchand at redhat.com>

-- 
David Marchand


More information about the dev mailing list