All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Dietsche <olaf+list.linux-kernel@olafdietsche.de>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Matthias Andree <matthias.andree@gmx.de>,
	linux-kernel@vger.kernel.org, <samel@mail.cz>,
	<ma@dt.e-technik.uni-dortmund.de>
Subject: Re: BK-kernel-tools/shortlog update
Date: Wed, 26 Mar 2003 20:25:35 +0100	[thread overview]
Message-ID: <87brzy0w28.fsf@goat.bogus.local> (raw)
In-Reply-To: <Pine.LNX.4.44.0303260917320.15530-100000@home.transmeta.com> (Linus Torvalds's message of "Wed, 26 Mar 2003 09:21:22 -0800 (PST)")

Linus Torvalds <torvalds@transmeta.com> writes:

> On Wed, 26 Mar 2003, Matthias Andree wrote:
>> 
>> you can either use bk receive to patch this mail, you can pull from
>> bk://krusty.dt.e-technik.uni-dortmund.de  (NOTE: no trailing slash)
>> or you can apply the patch below.
>
> Btw, one feature I'd like to see in shortlog is the ability to use 
> regexps for email address matching, ie something like
>
> 	'torvalds@.*transmeta.com' => 'Linus Torvalds'
> 	... 
> 	'alan@.*swansea.linux.org.uk' => 'Alan Cox'
> 	...
> 	'bcrl@redhat.com' => 'Benjamin LaHaise',
> 	'bcrl@.*' => '?? Benjamin LaHaise',
> 	..
>
> I don't know whether you can force perl to do something like this, but if 
> somebody were to try...

if you change your list to:

@email_name_map = (
	['torvalds@.*transmeta.com' => 'Linus Torvalds'],
	... 
	['alan@.*swansea.linux.org.uk' => 'Alan Cox'],
	...
	['bcrl@redhat.com' => 'Benjamin LaHaise'],
	['bcrl@.*' => '?? Benjamin LaHaise'],
...);

something along these (untested) lines should do the trick:

sub email2name
{
	my($email) = @_;
	for my $i (@mailmap) {
		my($pattern, $name) = @$i;
		return $name if ($email =~ m/$pattern/i);
	}

	return '??';
}
      
Regards, Olaf.

  reply	other threads:[~2003-03-26 19:18 UTC|newest]

Thread overview: 124+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-26 10:30 BK-kernel-tools/shortlog update Matthias Andree
2003-03-26 17:21 ` Linus Torvalds
2003-03-26 19:25   ` Olaf Dietsche [this message]
2003-03-26 20:10   ` Matthias Andree
2003-03-26 21:15     ` Jeff Garzik
2003-03-26 21:33       ` Jauder Ho
2003-03-27  0:46         ` jw schultz
2003-03-26 21:08   ` Matti Aarnio
2003-03-26 21:14   ` Matthias Andree
  -- strict thread matches above, loose matches on Subject: below --
2003-03-26 10:33 Matthias Andree
2003-03-26 21:21 Matthias Andree
2003-03-28 11:00 Matthias Andree
2003-04-13 10:50 Matthias Andree
2003-04-27 13:24 Matthias Andree
2003-04-28 23:08 Matthias Andree
2003-05-15 14:11 Matthias Andree
2003-05-29 11:26 Matthias Andree
2003-06-04 19:04 Matthias Andree
2003-06-09 10:24 Matthias Andree
2003-06-09 10:26 Matthias Andree
2003-06-17 14:54 Matthias Andree
2003-06-17 14:57 Matthias Andree
2003-06-17 14:57 Matthias Andree
2003-06-20 23:06 Matthias Andree
2003-06-24 11:00 Matthias Andree
2003-06-30  8:32 Matthias Andree
2003-07-06 21:44 Matthias Andree
2003-07-11 12:12 Matthias Andree
2003-07-15 13:20 Matthias Andree
2003-07-21  9:17 Matthias Andree
2003-07-21  9:17 Matthias Andree
2003-07-21  9:30 John Bradford
2003-07-30  8:38 Matthias Andree
2003-08-08 22:51 Matthias Andree
2003-08-24 11:02 Matthias Andree
2003-08-28 16:29 Matthias Andree
2003-08-29 13:00 Matthias Andree
2003-08-31 14:16 Matthias Andree
2003-09-03 23:33 Matthias Andree
2003-09-04 16:05 ` Dave Jones
2003-09-04 16:09   ` Matthias Andree
2003-09-04 16:17     ` Dave Jones
2003-09-04 16:33     ` Linus Torvalds
2003-09-04 17:42       ` Matthias Andree
2003-09-04 19:49         ` Greg KH
2003-09-04 20:54           ` Matthias Andree
2003-09-04 20:32         ` Dave Dillow
2003-09-04 20:57 Matthias Andree
2003-09-11  9:18 Matthias Andree
2003-09-22 14:54 Matthias Andree
2003-10-08 21:59 Matthias Andree
2003-10-16 14:26 Matthias Andree
2003-10-27 12:09 Matthias Andree
2003-11-19 16:11 Matthias Andree
2003-11-22 15:05 Matthias Andree
2003-11-25  3:21 Matthias Andree
2003-11-27 11:03 Matthias Andree
2003-12-06 16:41 Matthias Andree
2003-12-20 23:36 Matthias Andree
2003-12-20 23:39 ` Matthias Andree
2003-12-20 23:36 Matthias Andree
2003-12-20 23:36 Matthias Andree
2003-12-21  3:19 Matthias Andree
2003-12-22  1:18 Matthias Andree
2003-12-30  2:16 Matthias Andree
2003-12-30  2:16 Matthias Andree
2004-01-07 11:29 Matthias Andree
2004-01-16 14:41 Matthias Andree
2004-01-19 17:01 Matthias Andree
2004-01-27 14:46 Matthias Andree
2004-03-04 17:09 Matthias Andree
2004-03-04 17:09 Matthias Andree
2004-03-09  0:16 Matthias Andree
2004-03-15 17:12 Matthias Andree
2004-03-23 11:51 Matthias Andree
2004-03-30  1:17 Matthias Andree
2004-03-30 14:05 Matthias Andree
2004-04-01 21:48 Matthias Andree
2004-04-15 16:10 Matthias Andree
2004-04-20 11:14 Matthias Andree
2004-04-26  8:40 Matthias Andree
2004-05-03  9:23 Matthias Andree
2004-05-14 20:08 Matthias Andree
2004-06-03  8:00 Matthias Andree
2004-06-07 11:36 Matthias Andree
2004-07-02 10:40 Matthias Andree
2004-07-12  9:06 Matthias Andree
2004-07-12  9:21 ` Matthias Andree
2004-07-16 13:51 Matthias Andree
2004-08-04  9:00 Matthias Andree
2004-08-10 12:24 Matthias Andree
2004-08-16 11:18 Matthias Andree
2004-08-23 10:43 Matthias Andree
2004-08-24 14:18 Matthias Andree
2004-08-25 16:10 Matthias Andree
2004-09-24 10:09 Matthias Andree
2004-10-06 10:48 Matthias Andree
2004-10-14  7:02 Matthias Andree
2004-10-19  1:43 Matthias Andree
2004-10-19  1:56 Matthias Andree
2004-10-21 22:38 Matthias Andree
2004-11-09  8:42 Matthias Andree
2004-11-09 10:06 ` Måns Rullgård
2004-11-12 10:10 Matthias Andree
2004-12-16 10:18 Matthias Andree
2004-12-20  9:53 Matthias Andree
2004-12-23 10:52 Matthias Andree
2005-01-05 11:58 Matthias Andree
2005-01-05 12:07 ` Matthias Andree
2005-01-08  1:38 Matthias Andree
2005-01-10 18:22 Matthias Andree
2005-01-20  9:27 Matthias Andree
2005-01-20 12:51 ` Adrian Bunk
2005-01-20 13:13   ` Matthias Andree
2005-01-21 14:30 Matthias Andree
2005-02-04 11:35 Matthias Andree
2005-02-07 12:45 Matthias Andree
2005-02-09  9:23 Matthias Andree
2005-02-23 14:43 Matthias Andree
2005-03-03 12:19 Matthias Andree
2005-03-07 13:50 Matthias Andree
2005-03-09  9:39 Matthias Andree
2005-03-11 10:21 Matthias Andree
2005-03-14  9:49 Matthias Andree

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=87brzy0w28.fsf@goat.bogus.local \
    --to=olaf+list.linux-kernel@olafdietsche.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ma@dt.e-technik.uni-dortmund.de \
    --cc=matthias.andree@gmx.de \
    --cc=samel@mail.cz \
    --cc=torvalds@transmeta.com \
    /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.