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?

  • git pw does a job quite nicely. – 0andriy Mar 18 '19 at 9:29

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
  • Not all patchworks provides a "front page" to it. OTOH the address should be constant for every patchwork. And you could append curl 'https://patchwork.linuxtv.org/project/linux-media/pwclientrc/' | sed '7,8s/^#//g' > ~/.pwclientrc && to that to make everything straightforward. – mirh Mar 28 '18 at 19:09

One way I can think of is to access gmane.linux.drivers.video-input-infrastructure mailing list using Gmane NNTP interface with a client and download all messages. For example, you can use a command-line client called slrn. There are also many GUI clients available. Many of them are capable of downloading multiple messages in mbox format.


In addition to Ian-Arkver's answer, if your mailing list supports at least patchwork 2.0 you can also use git-pw. Which can handle series directly (for the moment only ozlabs seems to have updated though, so I'll just make an artificial example)

git-pw --server https://patchwork.ozlabs.org --project linux-imx series apply 34215

Please take note, you'll also need to provide authentication with either their api token or your account credentials.

  • FDO and kernel.org are using 2.0+ versions of patchwork. – 0andriy Mar 18 '19 at 9:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.