[U-Boot] A way to change the status of the whole series on Patchwork ?

Ian Campbell ijc at hellion.org.uk
Thu Jul 24 18:38:46 EST 2014


On Thu, 2014-07-24 at 09:24 +0100, Ian Campbell wrote:
> On Thu, 2014-07-24 at 09:23 +0200, Andreas BieƟmann wrote:
> > Dear Ian Campell,
> > 
> > On 07/23/2014 10:10 AM, Ian Campbell wrote:
> > > On Tue, 2014-07-22 at 12:45 -0700, Brian Norris wrote:
> > > 
> > >> Then some sort of grepping/regex/etc. can get you the patchwork ID from
> > >> the Message-ID. e.g.:
> > >>
> > >>   pwclient list -m "$MESSAGEID" | awk '{print $1;}' | grep '[0-9][0-9]*'
> > > 
> > > Which version of pwclient do you use? The one from
> > > http://patchwork.ozlabs.org/help/pwclient/ doesn't support -m. It's also
> > > incompatible with the example .pwclientrc from
> > > http://patchwork.ozlabs.org/project/uboot/pwclientrc/
> > > 
> > > I did find an updated one (not sure where from now) which understands
> > > the newer pwclientrc syntax and seems to know the -m but neither of them
> > > seem to work fully. e.ge list -d doesn't work so
> > >         pwclient list -d 'Ian Campbell'
> > > returns an empty list for each of the 3 email addresses of mine it seems
> > > to know about, despite me currently having 3 patches delegated
> > > (including 371710 for example).
> > > 
> > > Things like "pwclient list -p uboot -s New" do work though, and includes
> > > the patches which are delegated to me in the list.
> > 
> > this is a known bug. No one cared about it for a year or so:
> > http://thread.gmane.org/gmane.comp.version-control.patchwork/706
> 
> Got it, thanks, I just won't use that feature then!

FWIW I made a local bodge. Here it is in case anyone wants to use it:

In action list under 'if delegate_str != "":'

        if delegate_str == "ME":
            f = filter
            f.add("delegate_id", "54431")
            patches = rpc.patch_list(f.d)
            list_patches(patches)
            return

Now "pwclient -d ME" does what I need.

Substitute your own ID of course (I got mine from "pwclient info" on a
patch which is delegated to me).

Ian.



More information about the Patchwork mailing list