Linux – How download complete patch series from patchwork

gitlinux-kernelpatch

I want to download the patch series RFC PATCH 00/26 i.MX5/6 IPUv3 CSI/IC

In patchwork I can get access to individual patches https://patchwork.linuxtv.org/patch/24331/. But downloading 26 patches and then applying them one by one gets tedious. Is there a way to download the complete patch series with patchwork or by other means?

The question How do I get a linux kernel patch set from the mailing list? suggests marc.info and lkml.org for downloading individual patches but I want the whole series at once. How do I do that?

Best Answer

The patchwork project information page at https://patchwork.linuxtv.org/project/linux-media/ has a couple of links at the bottom to pwclient and a sample .pwclientrc

Once you set these up, you can use pwclient list to search for patches and pwclient git-am to apply them. The awkward part is that there's apparently no single command to search and apply in one go. I used a combination of the two to get (for example) Philipp Zabel's recent IPU CSI patch series like this...

pwclient list -w "Philipp Zabel" -s New v2 -f %{id} | egrep '^[0-9]' | xargs pwclient git-am
Related Question