incubator-rat-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joc...@apache.org
Subject svn commit: r735345 - in /incubator/rat/main/trunk/rat: pom.xml rat-core/src/main/java/org/apache/rat/plain-rat.xsl rat-core/src/test/java/org/apache/rat/ReportTest.java src/changes/ src/changes/changes.xml
Date Sat, 17 Jan 2009 22:31:32 GMT
Author: jochen
Date: Sat Jan 17 14:31:32 2009
New Revision: 735345

URL: http://svn.apache.org/viewvc?rev=735345&view=rev
Log:
PR: RAT-37
Submitted-By: Jukka Zitting, jukka@apache.org
List all resources with unapproved licenses at the beginning of the report.

Added:
    incubator/rat/main/trunk/rat/src/changes/
    incubator/rat/main/trunk/rat/src/changes/changes.xml
Modified:
    incubator/rat/main/trunk/rat/pom.xml
    incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/plain-rat.xsl
    incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/ReportTest.java

Modified: incubator/rat/main/trunk/rat/pom.xml
URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/pom.xml?rev=735345&r1=735344&r2=735345&view=diff
==============================================================================
--- incubator/rat/main/trunk/rat/pom.xml (original)
+++ incubator/rat/main/trunk/rat/pom.xml Sat Jan 17 14:31:32 2009
@@ -192,6 +192,54 @@
       <archive>http://mail-archives.apache.org/mod_mbox/incubator-rat-dev/</archive>
     </mailingList>
   </mailingLists>
+  <developers>
+  	<developer>
+  		<id>bodewig</id>
+  		<name>Stefan Bodewig</name>
+  		<email>bodewig@apache.org</email>
+  	</developer>
+  	<developer>
+  		<id>rdonkin</id>
+  		<name>Robert Burrell Donkin</name>
+  		<email>rdonkin@apache.org</email>
+  	</developer>
+  	<developer>
+  		<id>gnodet</id>
+  		<name>Guillaume Nodet</name>
+  		<email>gnodet@apache.org</email>
+  	</developer>
+    <developer>
+        <id>pauls</id>
+        <name>Karl Pauls</name>
+        <email>pauls@apache.org</email>
+    </developer>
+  	<developer>
+  		<id>rooneg</id>
+  		<name>Garrett Rooney</name>
+  		<email>rooneg@apache.org</email>
+  	</developer>
+  	<developer>
+  		<id>mriou</id>
+  		<name>Matthieu Riou</name>
+  		<email>mriou@apache.org</email>
+  	</developer>
+  	<developer>
+  		<id>jochen</id>
+  		<name>Jochen Wiedmann</name>
+  		<email>jochen@apache.org</email>
+  	</developer>
+  	<developer>
+  		<id>bayard</id>
+  		<name>Henri Yandell</name>
+  		<email>bayard@apache.org</email>
+  	</developer>
+  </developers>
+  <contributors>
+  	<contributor>
+  		<name>Jukka Zitting</name>
+  		<email>jukka@apache.org</email>
+  	</contributor>
+  </contributors>
 
   <scm>
     <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/rat/main/trunk/rat/</connection>

Modified: incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/plain-rat.xsl
URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/plain-rat.xsl?rev=735345&r1=735344&r2=735345&view=diff
==============================================================================
--- incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/plain-rat.xsl (original)
+++ incubator/rat/main/trunk/rat/rat-core/src/main/java/org/apache/rat/plain-rat.xsl Sat Jan
17 14:31:32 2009
@@ -39,6 +39,16 @@
 
 *******************************
 
+Unapproved licenses:
+
+<xsl:for-each select='descendant::resource[license-approval/@name="false"]'>
+  <xsl:text>  </xsl:text>
+  <xsl:value-of select='@name'/>
+  <xsl:text>
+</xsl:text>
+</xsl:for-each>
+*******************************
+
 Archives (+ indicates readable, $ unreadable): 
 
  <xsl:for-each select='descendant::resource[type/@name="archive"]'>

Modified: incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/ReportTest.java
URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/ReportTest.java?rev=735345&r1=735344&r2=735345&view=diff
==============================================================================
--- incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/ReportTest.java (original)
+++ incubator/rat/main/trunk/rat/rat-core/src/test/java/org/apache/rat/ReportTest.java Sat
Jan 17 14:31:32 2009
@@ -48,6 +48,13 @@
             "\n" + 
             "*******************************\n" + 
             "\n" + 
+            "Unapproved licenses:\n" + 
+            "\n" +
+            "  " + pElementsPath + "/Source.java\n" +
+            "  " + pElementsPath + "/sub/Empty.txt\n" +
+            "\n" +
+            "*******************************\n" + 
+            "\n" + 
             "Archives (+ indicates readable, $ unreadable): \n" + 
             "\n" + 
             " + " + pElementsPath + "/dummy.jar\n" + 

Added: incubator/rat/main/trunk/rat/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/rat/src/changes/changes.xml?rev=735345&view=auto
==============================================================================
--- incubator/rat/main/trunk/rat/src/changes/changes.xml (added)
+++ incubator/rat/main/trunk/rat/src/changes/changes.xml Sat Jan 17 14:31:32 2009
@@ -0,0 +1,13 @@
+<document>
+  <properties>
+    <title>Changes in RAT</title>
+  </properties>
+  <body>
+    <release version="0.6.0" date="Not yet released">
+      <action dev="jochen" type="fix" issue="RAT-37"
+          due-to="Jukka Zitting" due-to-email="jukka@apache.org">
+        List all resources with unapproved licenses at the beginning of the report.
+      </action>
+    </release>
+  </body>
+</document>



Mime
View raw message