hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject svn commit: r616796 - /hadoop/core/nightly/hudsonBuildHadoopPatch.sh
Date Wed, 30 Jan 2008 15:58:32 GMT
Author: nigel
Date: Wed Jan 30 07:58:32 2008
New Revision: 616796

URL: http://svn.apache.org/viewvc?rev=616796&view=rev
Log:
fix bug in generating the diff when there is a release audit regression

Modified:
    hadoop/core/nightly/hudsonBuildHadoopPatch.sh

Modified: hadoop/core/nightly/hudsonBuildHadoopPatch.sh
URL: http://svn.apache.org/viewvc/hadoop/core/nightly/hudsonBuildHadoopPatch.sh?rev=616796&r1=616795&r2=616796&view=diff
==============================================================================
--- hadoop/core/nightly/hudsonBuildHadoopPatch.sh (original)
+++ hadoop/core/nightly/hudsonBuildHadoopPatch.sh Wed Jan 30 07:58:32 2008
@@ -229,7 +229,10 @@
     release audit -1.  The applied patch generated $patchReleaseAuditWarnings release audit
warnings (more than the trunk's current $trunkReleaseAuditWarnings warnings)."
         $GREP '\!?????' $PATCH_DIR/patchReleaseAuditWarnings.txt > $PATCH_DIR/patchReleaseAuditProblems.txt
         $GREP '\!?????' $PATCH_DIR/trunkReleaseAuditWarnings.txt > $PATCH_DIR/trunkReleaseAuditProblems.txt
-        diff $PATCH_DIR/patchReleaseAuditProblems $PATCH_DIR/trunkReleaseAuditProblems >
$PATCH_DIR/releaseAuditDiffWarnings.txt
+        echo "A diff of patched release audit warnings with trunk release audit warnings."
> $PATCH_DIR/releaseAuditDiffWarnings.txt
+        echo "Lines that start with ????? in the release audit report indicate files that
do not have an Apache license header." > $PATCH_DIR/releaseAuditDiffWarnings.txt
+        echo "" > $PATCH_DIR/releaseAuditDiffWarnings.txt
+        diff $PATCH_DIR/patchReleaseAuditProblems.txt $PATCH_DIR/trunkReleaseAuditProblems.txt
>> $PATCH_DIR/releaseAuditDiffWarnings.txt
         JIRA_COMMENT_FOOTER="Release audit warnings: http://hudson.zones.apache.org/hudson/job/$JOB_NAME/$BUILD_NUMBER/artifact/trunk/current/releaseAuditDiffWarnings.txt
 $JIRA_COMMENT_FOOTER"
         return 1



Mime
View raw message