hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject svn commit: r1205989 - in /hadoop/common/branches/branch-0.22/common: CHANGES.txt src/docs/changes/changes2html.pl
Date Thu, 24 Nov 2011 21:49:09 GMT
Author: shv
Date: Thu Nov 24 21:49:08 2011
New Revision: 1205989

URL: http://svn.apache.org/viewvc?rev=1205989&view=rev
Log:
HADOOP-7861. changes2html.pl generates links to HADOOP, HDFS, and MAPREDUCE jiras. Contributed
by Konstantin Shvachko.

Modified:
    hadoop/common/branches/branch-0.22/common/CHANGES.txt
    hadoop/common/branches/branch-0.22/common/src/docs/changes/changes2html.pl

Modified: hadoop/common/branches/branch-0.22/common/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.22/common/CHANGES.txt?rev=1205989&r1=1205988&r2=1205989&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.22/common/CHANGES.txt (original)
+++ hadoop/common/branches/branch-0.22/common/CHANGES.txt Thu Nov 24 21:49:08 2011
@@ -271,6 +271,9 @@ Release 0.22.0 - Unreleased
     HADOOP-7358. Improve log levels when exceptions caught in RPC handler
     (Todd Lipcon via shv)
 
+    HADOOP-7861. changes2html.pl generates links to HADOOP, HDFS, and MAPREDUCE
+    jiras. (shv)
+
   OPTIMIZATIONS
 
     HADOOP-6884. Add LOG.isDebugEnabled() guard for each LOG.debug(..).

Modified: hadoop/common/branches/branch-0.22/common/src/docs/changes/changes2html.pl
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.22/common/src/docs/changes/changes2html.pl?rev=1205989&r1=1205988&r2=1205989&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.22/common/src/docs/changes/changes2html.pl (original)
+++ hadoop/common/branches/branch-0.22/common/src/docs/changes/changes2html.pl Thu Nov 24
21:49:08 2011
@@ -242,7 +242,11 @@ for my $rel (@releases) {
 
       $item =~ s:\s*(\([^)"]+?\))\s*$:<br />$1:;       # Separate attribution
       $item =~ s:\n{2,}:\n<p/>\n:g;                    # Keep paragraph breaks
-      $item =~ s{(?:${jira_url_prefix})?(HADOOP-\d+)}  # Link to JIRA
+      $item =~ s{(?:${jira_url_prefix})?(HADOOP-\d+)}  # Link to JIRA Common
+                {<a href="${jira_url_prefix}$1">$1</a>}g;
+      $item =~ s{(?:${jira_url_prefix})?(HDFS-\d+)}    # Link to JIRA Hdfs
+                {<a href="${jira_url_prefix}$1">$1</a>}g;
+      $item =~ s{(?:${jira_url_prefix})?(MAPREDUCE-\d+)}  # Link to JIRA MR
                 {<a href="${jira_url_prefix}$1">$1</a>}g;
       print "      <li>$item</li>\n";
     }



Mime
View raw message