All of lore.kernel.org
 help / color / mirror / Atom feed
From: moon.linux@yahoo.com (Anand Moon)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Download patch from email.
Date: Sun, 15 Feb 2015 16:48:45 +0000 (UTC)	[thread overview]
Message-ID: <1601905889.6008648.1424018925884.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: <20150215093021.GC14317@myarchbang>

Hi All,

I debug a bit more on the patchwork "pwclient" approach.


https://patchwork.kernel.org/help/pwclient/

Here are steps how to setup.

Download the ".pwclientrc" from the project dir you want to download patches from.

For example I downloaded from the following link.


https://patchwork.kernel.org/project/linux-samsung-soc/

After that I checkout the "git clone git://ozlabs.org/home/jk/git/patchwork"

ubuntu at arm:~/study/patchwork$ ./apps/patchwork/bin/pwclient list -n 4
ID      State        Name
--      -----        ----
2076111 New          [v2] ARM: dts: Add node for GMAC for exynos5440
2076251 New          ARM: S3C24XX: Remove plat-s3c24xx directory in arch/arm/
2076701 New          ARM: EXYNOS5: Fix PMU register configuration for local power blocks
2079361 New          [v3,1/5] ARM: dts: Add FIMD node to exynos4


Now if I can download the patch with respect to id's

ubuntu at arm:~/study/patchwork$ ./apps/patchwork/bin/pwclient get 2079361
Saved patch to v3-1-5-ARM-dts-Add-FIMD-node-to-exynos4.patch
ubuntu at arm:~/study/patchwork$


After this we can use git am command to apply the patch.

This seams to easy approach to me.

-Anand Moon

On Sunday, February 15, 2015 3:01 PM, Silvan Jegen <me@sillymon.ch> wrote:

On Sun, Feb 15, 2015 at 08:11:51AM +0200, Elazar Leibovich wrote:
> I use "|".
> 
>     $ cd ~/linux-source
>     $ mutt
>     (select email with patch)
>     |git am
> 
> Git applies the patch to the current directory

Ah, I knew about '|' but I did not know that git am can read from stdin
as well, nice!


> Last note, from gmail, one can use the "show original" menu item, and
> save/copy-paste the text from there. git am would understand that.

Yes, I do that when I am not on my computer... I think all webmail
clients I have used do have a 'Show original' (or similar) option whose
text you can just copy paste.


Cheers,

Silvan


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

      reply	other threads:[~2015-02-15 16:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-14  3:48 Download patch from email Anand Moon
2015-02-14  9:04 ` Silvan Jegen
2015-02-15  4:44   ` Anand Moon
2015-02-15  6:11   ` Elazar Leibovich
2015-02-15  9:30     ` Silvan Jegen
2015-02-15 16:48       ` Anand Moon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1601905889.6008648.1424018925884.JavaMail.yahoo@mail.yahoo.com \
    --to=moon.linux@yahoo.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.