All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Andree <matthias.andree@gmx.de>
To: torvalds@osdl.org, marcelo.tosatti@cyclades.com.br
Cc: linux-kernel@vger.kernel.org, matthias.andree@gmx.de, samel@mail.cz
Subject: BK-kernel-tools/shortlog update
Date: Tue, 30 Mar 2004 03:17:59 +0200 (CEST)	[thread overview]
Message-ID: <20040330011759.9713BA3783@merlin.emma.line.org> (raw)

Hello Linus,

THIS IS AN IMPORTANT UPDATE FOR SHORTLOG!

you can either use "bk receive" to patch with this mail,
or you can
Pull from: bk://krusty.dt.e-technik.uni-dortmund.de/BK-kernel-tools
or in cases of dire need, you can apply the patch below.

BK: Parent repository is http://bktools.bkbits.net/bktools

Patch description:

ChangeSet@1.145, 2004-03-30 03:16:56+02:00, matthias.andree@gmx.de
  Parse From: Firstname Lastname <email@address.invalid> to credit (or
  blame) the right person.

  Add Alain Knaff's address.

Matthias

------------------------------------------------------------------------

##### DIFFSTAT #####
# shortlog |   58 +++++++++++++++++++++++++++----------------
# 1 files changed, 37 insertions(+), 21 deletions(-)

##### GNUPATCH #####
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/03/30 03:16:56+02:00 matthias.andree@gmx.de 
#   Parse From: Firstname Lastname <email@address.invalid> to credit (or
#   blame) the right person.
#   Add Alain Knaff's address.
# 
# shortlog
#   2004/03/30 03:16:56+02:00 matthias.andree@gmx.de +37 -21
#   Parse From: Firstname Lastname <email@address.invalid> to credit (or
#   blame) the right person.
#   Add Alain Knaff's address.
# 
diff -Nru a/shortlog b/shortlog
--- a/shortlog	Tue Mar 30 03:17:59 2004
+++ b/shortlog	Tue Mar 30 03:17:59 2004
@@ -8,7 +8,7 @@
 #			Tomas Szepe <szepe@pinerecords.com>
 #			Vitezslav Samel <samel@mail.cz>
 #
-# $Id: lk-changelog.pl,v 0.254 2004/03/27 13:47:02 vita Exp $
+# $Id: lk-changelog.pl,v 0.255 2004/03/30 01:16:17 emma Exp $
 # ----------------------------------------------------------------------
 # Distribution of this script is permitted under the terms of the
 # GNU General Public License (GNU GPL) v2.
@@ -192,6 +192,7 @@
 'akpm:reardensteel.com' => 'Andrew Morton',
 'akpm:zip.com.au' => 'Andrew Morton',
 'akropel1:rochester.rr.com' => 'Adam Kropelin', # lbdb
+'alain:linux.lu' => 'Alain Knaff',
 'alan:lxorguk.ukuu.org.uk' => 'Alan Cox',
 'alan:redhat.com' => 'Alan Cox',
 'albert.cahalan:ccur.com' => 'Albert Cahalan',
@@ -2061,6 +2062,34 @@
   return ();
 }
 
+sub treat_addr_name(\$\$) {
+    my ($address, $name) = @_;
+    my $havename = $$name ne $$address;
+    my $author;
+
+    if ($opt{'obfuscate'}) {
+	$$address = obfuscate $$address;
+    }
+
+    if ($havename) {
+	if ($opt{'abbreviate-names'}) {
+	    $$name = abbreviate_name($$name);
+	}
+	if ($opt{'omitaddresses'}) {
+	    $author = $$name;
+	} else {
+	    $author = $$name . ' <' . $$address . '>';
+	}
+    } else { # $havename
+	# must obfuscate name since it contains an address still
+	if ($opt{obfuscate}) {
+	    $$name = obfuscate $$name;
+	}
+	$author = '<' . $$address . '>';
+    }
+    return $author;
+}
+
 # Read a file and parse it into the %log hash.
 sub parse_file(\%$$ ) {
 # arguments: %log hash
@@ -2113,28 +2142,15 @@
       $address = lc($1);
       $address =~ s/\[[^]]+\]$//;
       $name = rmap_address($address);
-      my $havename = $name ne $address;
-      if ($opt{'obfuscate'}) {
-	$address = obfuscate $address;
-      }
-      if ($havename) {
-	if ($opt{'abbreviate-names'}) {
-	  $name = abbreviate_name($name);
-	}
-	if ($opt{'omitaddresses'}) {
-	  $author = $name;
-	} else {
-	  $author = $name . ' <' . $address . '>';
-	}
-      } else { # $havename
-	# must obfuscate name since it contains an address still
-	if ($opt{obfuscate}) {
-	    $name = obfuscate $name;
-	}
-	$author = '<' . $address . '>';
-      }
+      $author = treat_addr_name($address, $name);
+      print STDERR "AUTHOR $author\n" if $debug;
       $first = 1;
       $firstpar = 1;
+    } elsif (/^\s+From:\s*(.*)\s+\<(.*)\>\s*$/) {
+      $name = $1;
+      $address = lc $2;
+      $author = treat_addr_name($address, $name);
+      print STDERR " FROM  $author\n" if $debug;
     } elsif ($first) {
       # we have a "first" line after an address, take it, 
       # strip common redundant tags

##### BKPATCH #####
This BitKeeper patch contains the following changesets:
1.145
## Wrapped with gzip_uu ##


M'XL( ,?*:$   ]U676_:2!1]9G[%5;'DI EFQI]@0I2T2;91NDI%FS>TT6 /
M8,4>HYDQ2U7RWW=LL"$H>>C'TQK+S,>]9^XY]\AR&QXD$V$KHTK-$RHMRF/!
M&&K#IURJL#7+5E9<3D=YKJ==64C6?6*"L[3[X4[?G<VDH_(\E4@'?J$JFL.2
M"1FVB.4T*^K[@H6MT?5?#Y\O1P@-A_!Q3OF,?64*AD.D<K&D:2PO%HS/BH1;
M2E N,Z:H%>79NHE=VQC;^D=L!_M>?VWW?<];,YMY7N02.@EZ 8ML=,#G8L/C
M)8R+';N'L>.ZWEKCX0!= ;&(ZP%VN]CI.ABP$Q(_]/P3;(<8P^NH<$*@@]$'
M^,,</J)(:R<D@QN19R'<)$(J3C,&G^EV<,8RFJ07--;E2&DE7)^?Q.>Z$H@$
MBQ,%1[G0,)-41Q^#FC,0R6RN8*'[DW-+;UW&,5RF-.%PQ^ET:DJHT= =:%5Z
MZ,NN4ZCSDQ="F&)TOI-FGF?L0!<YSX5*\]E&%H_T<. &I+=V2-#WUE/6I],H
MP'V*64PG\1M->(&B.^M@3(CO^6OB![Y=^:V.>&&WWZ[G+:L=U+-UFKOV<&"[
M&Z>1WD\[S0F@8Y/_I]>J1MU#1_R[*N_.2CNO5O$7C'=%"!!T6SW;8-S&(:1/
MG:@21B-:B_1T"=BR/0_*%M5](&4?2  LRRA<KQ9@:(R^JT%,6I8>I@DO5E9:
MF# \!W.?SBFZM;'O@-U#LIB $HRJQY+A8RG@T=@8&\?P X&^LN]P9&S)GX+!
M*\F&</$XJ+>-.5VR2O@A&%4 <*9'VZ1='"V4%FF QM5*,M7 ^4+],//)M) 1
M5<Q\+D]M-:D:L-D[!'S>AZDKJ-)WP'0R$6R9Z.Q.N2NW^&7:MM A[&(VW#<;
MQP/4>MZ'RK-$;<]_B;,AU5 O\X"EVIYO!( %)IR9^F]'4R^=F]6)%;-M/K1W
MTJ)6&[)"JCT]*C"9\(B!=G24<Z7[JWW*:ZN"5$F:[I%H<E^185_GFH?N1%.\
M^7K)FTZ43\%4(?BNR65_KFS]9M.>U6XCCC9O%;@OR:'Q#HTVV&8L1,(5?/UV
M=3T:P;O+AV^?[D<US)B_*TU@Q&Q2S ;540%X.R5+^MU_QO*D>E^,Y?LCZ_VQ
MGH[/JL&Y7C&ZM=L!:D$,,FC*;=R81F#8@S]$ VY&]W_#&S2:KY%HSJ(G661#
0[/EQ;Q+YZ#_ZILOW"@D     
 


             reply	other threads:[~2004-03-30  1:18 UTC|newest]

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

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=20040330011759.9713BA3783@merlin.emma.line.org \
    --to=matthias.andree@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com.br \
    --cc=samel@mail.cz \
    --cc=torvalds@osdl.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.