From de6f3dddf684180f6cfb7a4022477827007c7fd0 Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Wed, 30 Jul 2014 14:56:27 +0200 Subject: no need for the signed off messages in our changelog Signed-off-by: Sven Nierlein diff --git a/tools/generate-change-log b/tools/generate-change-log index 3a6b38e..e155f2c 100755 --- a/tools/generate-change-log +++ b/tools/generate-change-log @@ -51,6 +51,7 @@ while ($git_log =~ /$regex/gm) { $prev_date = $commit{date}; $prev_name = $commit{name}; $prev_email = $commit{email}; + $commit{message} =~ s/\s*Signed\-off\-by.*$//sgmx; my @files = split(/\n/, $commit{files}); my @message = map { s/^ {4}//; $_ } split(/\n/, $commit{message}); -- cgit v0.10-9-g596f From 15f8dab30ea1990460ff4b35ce1125786d8ef27b Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Wed, 30 Jul 2014 15:17:26 +0200 Subject: tools/generate-change-log: workaround for broken Text::Wrap workaround for broken Text::Wrap: "This shouldn't happen at /usr/share/perl/5.18/Text/Wrap.pm line 84." changing huge to overflow make generating changelogs work again at the price of not having changelog strictly cut of at 80 columns anymore. Words longer than 80 characters will now printed in one line. This mainly affects old sf.net urls. Signed-off-by: Sven Nierlein diff --git a/tools/generate-change-log b/tools/generate-change-log index e155f2c..ad19ce9 100755 --- a/tools/generate-change-log +++ b/tools/generate-change-log @@ -19,6 +19,7 @@ use Text::Wrap; # The lines will have a length of no more than $columns - 1. $Text::Wrap::columns = 81; +$Text::Wrap::huge = 'overflow'; if (system('git rev-parse --git-dir >/dev/null 2>&1') != 0) { print "Not a Git repository, so I won't update the ChangeLog.\n"; -- cgit v0.10-9-g596f