threads / discuss / 16691

Saving patches from this list

Subject: Saving patches from this list

## tl;dr

6 messages between Dec 12, 2008 and Dec 13, 2008.

replies: 5people: 4as markdown or json

Stefan Näwe· Dec 12, 2008, 07:27 UTC · lore
I have some kind of a 'meta question' not exactly regarding git.

What's the best way to get patches sent to this list in a form suitable for 'git am' without subscribing to this list ?

TIA
   Stefan
Johannes Sixt· Dec 12, 2008, 08:03 UTC · re: Stefan Näwe · lore

Re: Saving patches from this list

Stefan Näwe schrieb:
> What's the best way to get patches sent to this list in a form suitable
> for 'git am' without subscribing to this list ?

Subscribe to gmane.comp.version-control.git on news.gmane.org with your favorite news reader and browse the list whenever you feel like it.

-- Hannes
Stefan Näwe· Dec 12, 2008, 08:28 UTC · re: Johannes Sixt · lore

Re: Saving patches from this list

Johannes Sixt <j.sixt <at> viscovery.net> writes:
Show 7 quoted lines
> 
> Stefan Näwe schrieb:
> > What's the best way to get patches sent to this list in a form suitable
> > for 'git am' without subscribing to this list ?
> 
> Subscribe to gmane.comp.version-control.git on news.gmane.org with your
> favorite news reader and browse the list whenever you feel like it.
Do you know how stubborn firewall administrators can be ?
IOW, that's unfortunately not an option for me.
Regards,
  Stefan
Mike Ralphson· Dec 12, 2008, 09:07 UTC · re: Stefan Näwe · lore

Re: Saving patches from this list

2008/12/12 Stefan Näwe <stefan.naewe+git@gmail.com>
Show 14 quoted lines
>
> Johannes Sixt <j.sixt <at> viscovery.net> writes:
>
> >
> > Stefan Näwe schrieb:
> > > What's the best way to get patches sent to this list in a form suitable
> > > for 'git am' without subscribing to this list ?
> >
> > Subscribe to gmane.comp.version-control.git on news.gmane.org with your
> > favorite news reader and browse the list whenever you feel like it.
>
> Do you know how stubborn firewall administrators can be ?
>
> IOW, that's unfortunately not an option for me.

If it's only the occasional patch - (I see you're on gmail too), show original and copy-and-paste into an editor with tabs set up appropriately. Works for me.

Junio's blog[1] shows he's looking at patchwork. Personally I think it would be fantastic to have a public patchwork server available. It might avoid the chicken and egg problem in that it's currently easier (for some people) to get hold of a patch to play with / review only after it's accepted.

That said, I think including a link to a repo/branch from which the current version of a patch series could be fetched would be an amazingly useful addition to most [PATCH 0/n] cover-letters...

Mike
[1] http://gitster.livejournal.com/18696.html
Shawn O. Pearce· Dec 12, 2008, 15:14 UTC · re: Mike Ralphson · lore

Re: Saving patches from this list

Mike Ralphson <mike.ralphson@gmail.com> wrote:
> 2008/12/12 Stefan Näwe <stefan.naewe+git@gmail.com>
> > > Stefan Näwe schrieb:
> > > > What's the best way to get patches sent to this list in a form suitable
> > > > for 'git am' without subscribing to this list ?

If you find the article on the web with gmane, add '/raw' onto the end of direct link URL. E.g. to get:

  http://article.gmane.org/gmane.comp.version-control.git/102874
use:
  curl http://article.gmane.org/gmane.comp.version-control.git/102874/raw | git am 
 
Show 5 quoted lines
> Junio's blog[1] shows he's looking at patchwork. Personally I think it
> would be fantastic to have a public patchwork server available. It
> might avoid the chicken and egg problem in that it's currently easier
> (for some people) to get hold of a patch to play with / review only
> after it's accepted.

One of the things I want to do with Gerrit 2 is teach it to read a mailing list and convert patches it receives into temporary branches that can be fetched over git://, and also create records in its web database so reviews can be done on the web interface, then let it CC the list back with a proper In-Reply-To when comments are posted on the web to a change it received by email.

IOW, I want to make Gerrit 2 useful to the git community to monitor patch state without changing our current email based workflow. But I'm still a good two or three months from being able to do that. Android's workflow is higher priority to me right now.

-- 
Shawn.
Stefan Näwe· Dec 13, 2008, 13:28 UTC · re: Shawn O. Pearce · lore

Re: Saving patches from this list

Shawn O. Pearce <spearce <at> spearce.org> writes:
Show 11 quoted lines
> > > > > What's the best way to get patches sent to this list in a form suitable
> > > > > for 'git am' without subscribing to this list ?
> 
> If you find the article on the web with gmane, add '/raw' onto the
> end of direct link URL.  E.g. to get:
> 
>   http://article.gmane.org/gmane.comp.version-control.git/102874
> 
> use:
> 
>   curl http://article.gmane.org/gmane.comp.version-control.git/102874/raw |
git am 

Now that was helpful! Exactly what I was looking for!

Thanks, Stefan

← back to recent threads