linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthias Andree <matthias.andree@gmx.de>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org, matthias.andree@gmx.de, samel@mail.cz
Subject: BK-kernel-tools/shortlog update
Date: Fri, 28 Mar 2003 12:00:26 +0100 (CET)	[thread overview]
Message-ID: <20030328110026.DD4E2484CB@merlin.emma.line.org> (raw)

Hello Linus,

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.

Patch description:
* Add one address.
* Strip $0 down to POSIX portable file name character set and untaint it
  to suppress warnings with Perl 5.8.0 and --man.
* Reset $ENV{PATH} to /bin:/usr/bin:/usr/local/bin for the same reason.
* In usage information, path-strip $0 in addition to that (and store in
  $myname).
* Add --ignoremerge switch to suppress the "Merge ... into ..." log
  entries.

Matthias
##### DIFFSTAT #####
# shortlog |   43 +++++++++++++++++++++++++++++++++++--------
# 1 files changed, 35 insertions(+), 8 deletions(-)

##### GNUPATCH #####
# This is a BitKeeper generated patch for the following project:
# Project Name: BK kernel tools
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.44    -> 1.45   
#	            shortlog	1.20    -> 1.21   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/03/28	matthias.andree@gmx.de	1.45
# * Add one address.
# * Strip $0 down to POSIX portable file name character set and untaint it
#   to suppress warnings with Perl 5.8.0 and --man.
# * Reset $ENV{PATH} to /bin:/usr/bin:/usr/local/bin for the same reason.
# * In usage information, path-strip $0 in addition to that (and store in
#   $myname).
# * Add --ignoremerge switch to suppress the "Merge ... into ..." log
#   entries.
# --------------------------------------------
#
diff -Nru a/shortlog b/shortlog
--- a/shortlog	Fri Mar 28 12:00:26 2003
+++ b/shortlog	Fri Mar 28 12:00:26 2003
@@ -8,7 +8,7 @@
 #			Tomas Szepe <szepe@pinerecords.com>
 #			Vitezslav Samel <samel@mail.cz>
 #
-# $Id: lk-changelog.pl,v 0.88 2003/03/26 21:12:23 emma Exp $
+# $Id: lk-changelog.pl,v 0.89 2003/03/28 10:55:39 emma Exp $
 # ----------------------------------------------------------------------
 # Distribution of this script is permitted under the terms of the
 # GNU General Public License (GNU GPL) v2.
@@ -561,6 +561,7 @@
 'mason@suse.com' => 'Chris Mason',
 'matt_domsch@dell.com' => 'Matt Domsch', # sent by himself
 'matthew@wil.cx' => 'Matthew Wilcox',
+'matthias.andree@gmx.de' => 'Matthias Andree', # added by himself
 'mauelshagen@sistina.com' => 'Heinz J. Mauelshagen',
 'maxk@qualcomm.com' => 'Maksim Krasnyanskiy',
 'maxk@viper.(none)' => 'Maksim Krasnyanskiy', # from shortlog
@@ -892,6 +893,7 @@
 
 sub doprint(\%@ ); # forward declaration
 
+my $myname;
 my %address_unknown;
 
 # get name associated with an "email address" formatted
@@ -977,8 +979,10 @@
 {
   my $log = shift;
   my @cur = @_;
+  my $re = qr'((http|bk|ssh)://.*|[-a-zA-Z0-9.@]+:\S+)';
   return unless @cur;
   return unless &$indexby;
+  return if $opt{ignoremerge} and $cur[0] =~ m/Merge $re into $re/;
   $log->{&$indexby} = () unless defined $log->{&$indexby};
 
   # strip trailing blank lines
@@ -1213,7 +1217,7 @@
 	and m{^[^<[:space:]]} and not m{^ChangeSet@}) {
       # if we are in multi mode, if we encounter a non-address
       # left-justified line, flush all data and print the header. The
-      # defined $address trick lets this only trigger to switch back
+      # 'defined $address' trick lets this only trigger to switch back
       # from "log entry" to "prolog" mode
       append_item(%$log, @cur); @cur = ();
       doprint(%$log, @prolog);
@@ -1313,7 +1317,7 @@
 # What options do we support?
 my @opts = ("help|?|h", "man", "mode=s", "compress!", "count!", "width:i",
 	    "swap!", "merge!", "warn!", "multi!", "abbreviate-names!",
-	    "by-surname!", "selftest");
+	    "by-surname!", "selftest", "ignoremerge!");
 #	    "bitkeeper|bk!");
 
 # How do we parse them?
@@ -1325,13 +1329,24 @@
 $opt{mode} = 'grouped';
 $opt{warn} = 1;
 
+# set up proper environment
+$ENV{PATH} = '/bin:/usr/bin:/usr/local/bin';
+$0 =~ tr|-a-zA-Z0-9_./||cd;
+# untaint $0
+$0 =~ m/(.*)/;
+$0 = $1;
+# get a path-stripped version of $0 in $myname
+$0 =~ m/^(.*\/)?([^\/]+)$/;
+$myname = $2;
+$myname =~ tr/a-zA-Z0-9_.-//cd;
+
 # Parse from environment, temporarily storing the original @ARGV.
 if (defined $ENV{LINUXKERNEL_BK_FMT}) {
   my @savedargs = @ARGV;
   @ARGV = parse_line('\s+', 0, $ENV{LINUXKERNEL_BK_FMT});
   GetOptions(\%opt, @opts)
     or pod2usage(-verbose => 0,
-		 -message => $0 . ': error in $LINUXKERNEL_BK_FMT');
+		 -message => $myname . ': error in $LINUXKERNEL_BK_FMT');
   push @ARGV, @savedargs;
 }
 
@@ -1340,18 +1355,18 @@
 pod2usage(-verbose => 1) if $opt{help};
 pod2usage(-verbose => 2) if $opt{man};
 pod2usage(-verbose => 0,
-	  -message => ("$0: Unknown mode specified.\nValid modes are:\n    "
+	  -message => ("$myname: Unknown mode specified.\nValid modes are:\n    "
 		       . join(" ", sort keys %table) . "\n"))
   unless defined $table{$opt{mode}};
 pod2usage(-verbose => 0,
-	  -message => "$0: No files given, refusing to read from a TTY.")
+	  -message => "$myname: No files given, refusing to read from a TTY.")
   if (not $opt{selftest} and not $opt{bitkeeper}
 	  and (@ARGV == 0) and (-t STDIN));
 pod2usage(-verbose => 0,
-	  -message => "$0: Must have one or two arguments in --bitkeeper mode.")
+	  -message => "$myname: Must have one or two arguments in --bitkeeper mode.")
   if ($opt{bitkeeper} && (@ARGV < 1 || @ARGV > 2));
 pod2usage(-verbose => 0,
-	  -message => "$0: You cannot use --merge and --multi at the same time.")
+	  -message => "$myname: You cannot use --merge and --multi at the same time.")
   if ($opt{merge} and $opt{multi});
 
 # Shortcut for programmer convenience :-)
@@ -1445,6 +1460,16 @@
 __END__
 # --------------------------------------------------------------------
 # $Log: lk-changelog.pl,v $
+# Revision 0.89  2003/03/28 10:55:39  emma
+# * Add one address.
+# * Strip $0 down to POSIX portable file name character set and untaint it
+#   to suppress warnings with Perl 5.8.0 and --man.
+# * Reset $ENV{PATH} to /bin:/usr/bin:/usr/local/bin for the same reason.
+# * In usage information, path-strip $0 in addition to that (and store in
+#   $myname).
+# * Add --ignoremerge switch to suppress the "Merge ... into ..." log
+#   entries.
+#
 # Revision 0.88  2003/03/26 21:12:23  emma
 # Add selftest mode check:
 # * check all addresses against all regexps to find addresses shadowing
@@ -1783,6 +1808,8 @@
                      abbreviate all but the last name
      --[no]by-surname
                      sort entries by surname
+     --[no]ignoremerge
+                     suppress "Merge bk://..." changelogs.
 
      --mode=MODE     specify the output format (use --man to find out more)
      --width[=WIDTH] specify the line length, if omitted: $COLUMNS or 80.

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


begin 600 bkpatch6467
M'XL(`$HKA#X``^U7;5/;1A#^C'[%QO:,<4#ODE_$.`U):.,A$(:73%(@F;-T
MMC263JKN9*!1^MN[)]G&$&BG*9\Z%1K?Z73W[-[N\^R))IQQFGL;"1$BC`C7
M"`MR2I4FO$VY\#:FR;46R,?C-,5'G1><ZC.:,QKKK_;Q5NL'5:1IS!6<>$2$
M'\*<YMS;,#5[-2)N,NIM'._]<O9N]UA1AD-X'1(VI2=4P'"HB#2?DSC@+S/*
MID7$-)$3QA,JB.:G2;F:6UJ&8>&?:=E&UQV4UJ#KNB6UJ.OZCDG&O7Z/^I9R
M;S\OZWW<A;$-V^I:ICEP[-)U$5)Y`Z;FN&#8.MY6'TS+,PS/<+<,$SOP,"AL
MF:`:RBMXXBV\5GQX#KM!`"FC0`(TR;E6#9Z(/,J@94"07C&T"T?O3T8?(4MS
M0<8QA4F$/XPD%/R0Y,07-`>.<4:_H6""1$Q`)!`*Y&)>9)G$ABN2LXA-L1.)
M$(YH'H.K]36C6J>J"6&U^6,JP5I[AQ^^'NV>OOTF0?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*R0DD98Q@*8Y&F"H3X]_:0U.A+7K65=MX_B
M'A1<0$CFM"KMLCA>I>CAM)!TX3(HJCJ.Q(Q2226Y@27\(KI5^RC\I[0`GS"6
M(B$YE96[DM2BBA>QB`!KZ*H@BRBI\$>F(\-AR$]L.H\JNE0EZ,$:5!4AG/K`
M$=5\NB.J^0-'5//)CJCFDQU1S3M'5/-)CJCF^A'5Q/3U^BY8=6E4U7.67JZA
M+RKFO6ME:&%D/),%71I8'46(O?K'R0^I/^-%,K0#Q\(/*%_Y$S;^F[^U#0``
`
end


             reply	other threads:[~2003-03-28 10:49 UTC|newest]

Thread overview: 124+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-28 11:00 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-30  1:17 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-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=20030328110026.DD4E2484CB@merlin.emma.line.org \
    --to=matthias.andree@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).