ソースを参照

Update the change lot and the release notes for the current 204.0.

Also add the relnotes script


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-204@1154413 13f79535-47bb-0310-9956-ffa450edef68
Owen O'Malley 14 年 前
コミット
2bb584d226
3 ファイル変更199 行追加330 行削除
  1. 5 7
      CHANGES.txt
  2. 130 323
      src/docs/releasenotes.html
  3. 64 0
      src/docs/relnotes.py

+ 5 - 7
CHANGES.txt

@@ -1,6 +1,6 @@
 Hadoop Change Log
 
-Release 0.20.204.0 - unreleased
+Release 0.20.204.0 - 2011-8-5
 
   NEW FEATURES
 
@@ -13,8 +13,8 @@ Release 0.20.204.0 - unreleased
 
   BUG FIXES
 
-    MAPREDUCE-2621. TestCapacityScheduler fails with "Queue "q1" does not exist".
-    (Sherry Chen via mahadev)
+    MAPREDUCE-2621. TestCapacityScheduler fails with "Queue "q1" does not 
+    exist". (Sherry Chen via mahadev)
 
     HADOOP-7475. Fix hadoop-setup-single-node.sh to reflect new layout. (eyang
     via omalley)
@@ -140,8 +140,8 @@ Release 0.20.204.0 - unreleased
     HDFS-2057. Wait time to terminate the threads causes unit tests to
     take longer time. (Bharath Mundlapudi via suresh)
 
-    HDFS-2218. Disable TestHdfsProxy.testHdfsProxyInterface in automated test suite 
-    for 0.20-security-204 release. (Matt Foley)
+    HDFS-2218. Disable TestHdfsProxy.testHdfsProxyInterface in automated test 
+    suite for 0.20-security-204 release. (Matt Foley)
 
   IMPROVEMENTS
 
@@ -176,8 +176,6 @@ Release 0.20.204.0 - unreleased
 
     HADOOP-7459. Remove jdk-1.6.0 dependency check from rpm. (omalley)
 
-Release 0.20.203.1 - Unreleased
-
     HADOOP-7330. Fix MetricsSourceAdapter to use the value instead of the 
     object. (Luke Lu via omalley)
 

ファイルの差分が大きいため隠しています
+ 130 - 323
src/docs/releasenotes.html


+ 64 - 0
src/docs/relnotes.py

@@ -0,0 +1,64 @@
+#!/usr/bin/python
+
+# Run this command as:
+#
+# jira.sh -s https://issues.apache.org/jira -u $user -p $pw \
+#   -a getIssueList --search \
+#   "project in (HADOOP,HDFS,MAPREDUCE) and fixVersion = '$vers' and resolution = Fixed" \
+#   | ./relnotes.py > $vers.html
+
+import csv
+import re
+import sys
+
+namePattern = re.compile(r' \([0-9]+\)')
+htmlSpecialPattern = re.compile(r'[&<>\'"\n]')
+quotes = {'<' : '&lt;', '>': '&gt;', '"': '&quot;', "'": '&apos;',
+          '&': '&amp;', '\n': '<br>'}
+
+def clean(str):
+  return re.sub(namePattern, "", str)
+
+def formatComponents(str):
+  str = re.sub(namePattern, '', str).replace("'", "")
+  if str != "":
+    return "(" + str + ")"
+  else:
+    return ""
+    
+def quoteHtmlChar(m):
+  return quotes[m.group(0)]
+
+def quoteHtml(str):
+  return re.sub(htmlSpecialPattern, quoteHtmlChar, str)
+
+reader = csv.reader(sys.stdin, skipinitialspace=True)
+
+# throw away number of issues
+reader.next()
+
+# read the columns
+columns = reader.next()
+
+key = columns.index('Key')
+type = columns.index('Type')
+priority = columns.index('Priority')
+assignee = columns.index('Assignee')
+reporter = columns.index('Reporter')
+summary = columns.index('Summary')
+description = columns.index('Description')
+components = columns.index('Components')
+
+print "<html><body><ul>"
+
+for row in reader:
+  print \
+    '<li> <a href="https://issues.apache.org/jira/browse/%s">%s</a>.\n' \
+    '     %s %s reported by %s and fixed by %s %s<br>\n' \
+    '     <b>%s</b><br>\n' \
+    '     <blockquote>%s</blockquote></li>\n' \
+    % (row[key], row[key], clean(row[priority]), clean(row[type]).lower(), 
+       row[reporter], row[assignee], formatComponents(row[components]),
+       quoteHtml(row[summary]), quoteHtml(row[description]))
+
+print "</ul>\n</body></html>"

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません