You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2015/08/27 23:46:41 UTC

trafficserver git commit: Format changes to the CHANGES file

Repository: trafficserver
Updated Branches:
  refs/heads/master 4c81be14e -> 2a5893a10


Format changes to the CHANGES file


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/2a5893a1
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/2a5893a1
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/2a5893a1

Branch: refs/heads/master
Commit: 2a5893a106f2c9661554eac1a6b7e20e44208c0e
Parents: 4c81be1
Author: Bryan Call <bc...@apache.org>
Authored: Thu Aug 27 14:45:11 2015 -0700
Committer: Bryan Call <bc...@apache.org>
Committed: Thu Aug 27 14:45:11 2015 -0700

----------------------------------------------------------------------
 tools/changelog.pl | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2a5893a1/tools/changelog.pl
----------------------------------------------------------------------
diff --git a/tools/changelog.pl b/tools/changelog.pl
index 93ed023..a84835c 100755
--- a/tools/changelog.pl
+++ b/tools/changelog.pl
@@ -89,14 +89,18 @@ if (!defined($changelog))
   exit 1;
 }
 
-print "                                                         -*- coding: utf-8 -*-\n\n";
 print "Changes with Apache Traffic Server $fixversion\n";
 
 foreach my $key (sort keys %{ $changelog })
 {
-  print "\n$key:\n\n";
+  print "\n$key:\n";
   foreach my $issue (@{ $changelog->{$key} })
   {
-    print "  *) [$issue->{key}] $issue->{summary}\n\n";
+    print "  *) [$issue->{key}] ";
+    if (length($issue->{summary}) <= (131 - 15)) {
+      print "$issue->{summary}\n";
+    } else {
+      print substr($issue->{summary}, 0, (131 - 18)), "...\n";
+    }
   }
 }