Patchwork v2.0.0 Available

Aaron Conole aconole at redhat.com
Tue Aug 29 03:37:18 AEST 2017


David Miller <davem at davemloft.net> writes:

> From: Michael Ellerman <mpe at ellerman.id.au>
> Date: Mon, 28 Aug 2017 20:12:49 +1000
>
>> Jeremy Kerr <jk at ozlabs.org> writes:
>> 
>>> Hi all,
>>>
>>>> Just an update: the database migration for v2.0.0 is taking a *long*
>>>> time, so we'll be out for more than that one hour. I'll get things
>>>> back up and running as soon as possible, but we're dependent on this
>>>> migration completing first.
>>>
>>> OK, we're back up now. Please let me know if anything looks amiss.
>> 
>> Thanks jk.
>> 
>> The series support and the clickable patch ids are big time savers for
>> me. :beers:
>
> Agreed.
>
> Why not take the series support a step further?  Make it like a
> virtual bundle, have the "download mbox" button and everything else
> there as well.
>
> As it is designed now, I still have to create a dummy bundle just to
> get that mbox file for applying the patches.
>
> You should be able to eliminate that step entirely.  I should be able
> to do everything I can do from a bundle page, from the series page.
>
> Once something like that is in place, I'll be using bundles very
> infrequently.  Because capturing a patch series was my primary use for
> them.

I think there exists a way to do this.

Something like you ask (a series mbox) exists:

  http://patchwork.ozlabs.org/series/<id>/mbox

For example, get all 7 patches of the linuxppc-dev 'Add RSS to DPAA 1.x
Ethernet driver' series at:
  http://patchwork.ozlabs.org/series/21/mbox

You can find the series url with any patch (for example, in the linked
series, I clicked on the first patch at
http://patchwork.ozlabs.org/patch/806240/ and in the 3 boxes in the
righthand corner saw |diff|mbox|series| - the |series| box will show the
URL).

There's also a project for interacting with pw called git-pw
(http://github.com/getpatchwork/git-pw) and it can be used to download
and apply all the patches in a series.

As an example:

  $ git pw \
    --server http://patchwork.ozlabs.org/ \
    --project netdev --username myusername \
    --password mypassword \
    series show 21
  +------------+----------------------------------------------------------------+
  | Property   | Value                                                          |
  |------------+----------------------------------------------------------------|
  | ID         | 21                                                             |
  | Date       | 2017-08-27T13:13:36                                            |
  | Name       | Add RSS to DPAA 1.x Ethernet driver                            |
  | Submitter  | Madalin Bucur (madalin.bucur at nxp.com)                          |
  | Project    | Linux PPC development                                          |
  | Version    | 4                                                              |
  | Received   | 7 of 7                                                         |
  | Complete   | True                                                           |
  | Cover      | 806235 [v4,0/7] Add RSS to DPAA 1.x Ethernet driver            |
  | Patches    | 806240 [v4,1/7] fsl/fman: move struct fman to header file      |
  |            | 806242 [v4,2/7] fsl/fman: enable FMan Keygen                   |
  |            | 806241 [v4,3/7] dpaa_eth: use multiple Rx frame queues         |
  |            | 806243 [v4,4/7] dpaa_eth: enable Rx hashing control            |
  |            | 806244 [v4,5/7] dpaa_eth: add NETIF_F_RXHASH                   |
  |            | 806245 [v4,6/7] Documentation: networking: add RSS information |
  |            | 806246 [v4,7/7] dpaa_eth: check allocation result              |
  +------------+----------------------------------------------------------------+
  $ git pw \
    --server http://patchwork.ozlabs.org/ \
    --project netdev --username myusername \
    --password mypassword \
    series apply 21
  Applying: fsl/fman: move struct fman to header file
  Applying: fsl/fman: enable FMan Keygen
  Applying: dpaa_eth: use multiple Rx frame queues
  Applying: dpaa_eth: enable Rx hashing control
  Applying: dpaa_eth: add NETIF_F_RXHASH
  Applying: Documentation: networking: add RSS information
  Applying: dpaa_eth: check allocation result

Hopefully I didn't misunderstand the question.


More information about the Patchwork mailing list