From: Junio C Hamano Date: Fri, 16 Jan 2009 02:41:04 GMT Subject: Re: 'mail' link on http://repo.or.cz/w/git.git no workee? Message-ID: <7vd4eootvj.fsf@gitster.siamese.dyndns.org> In-Reply-To: <8c9a060901151832l71464185qf9f88afede6f550d@mail.gmail.com> "Jacob Helwig" writes: > On Thu, Jan 15, 2009 at 18:24, Petr Baudis wrote: >> >> IIRC I found no way to actually make a gmane link since it requires POST >> query for the searches or something. >> > > $ cat bin/gmane-links.pl > #!/usr/bin/perl > > use strict; > use warnings; > > use Mail::Summary::Tools::ArchiveLink::Gmane; > > unless ($ARGV[0]) { > print STDERR "Must provide a message-id.\n"; > exit 1; > } > > my $link = Mail::Summary::Tools::ArchiveLink::Gmane->new(message_id => > $ARGV[0]); > > print "Thread: " . $link->thread_uri() . "\n"; > print "Message: " . $link->message_uri() . "\n"; Not quite, if message_id means what I think it means. Pasky searches for the title of the message, and he does not have the Message-ID header of the original message.