incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1235329 - in /incubator/public/trunk: build.xml ppmc-aliases.xsl
Date Tue, 24 Jan 2012 16:23:17 GMT
Author: bdelacretaz
Date: Tue Jan 24 16:23:16 2012
New Revision: 1235329

URL: http://svn.apache.org/viewvc?rev=1235329&view=rev
Log:
new ant target: ppmc-aliases , generate a list of PPMCs private email addresses

Added:
    incubator/public/trunk/ppmc-aliases.xsl   (with props)
Modified:
    incubator/public/trunk/build.xml

Modified: incubator/public/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/public/trunk/build.xml?rev=1235329&r1=1235328&r2=1235329&view=diff
==============================================================================
--- incubator/public/trunk/build.xml (original)
+++ incubator/public/trunk/build.xml Tue Jan 24 16:23:16 2012
@@ -291,4 +291,17 @@ Audit Tasks
 		<antcall target='docs'/>
 		<antcall target='mail-report'/>
 	</target>
+	
+        <target name='ppmc-aliases' 
+            description='Generate a list of PPMCs private email addresses'>
+            <xslt 
+                processor="trax"
+                basedir='${docs.src}'
+                destdir='${dir.build}' 
+                extension='.txt' 
+                style='ppmc-aliases.xsl'>
+                <include name='podlings.xml' />
+            </xslt>
+        </target>
+	
 </project>

Added: incubator/public/trunk/ppmc-aliases.xsl
URL: http://svn.apache.org/viewvc/incubator/public/trunk/ppmc-aliases.xsl?rev=1235329&view=auto
==============================================================================
--- incubator/public/trunk/ppmc-aliases.xsl (added)
+++ incubator/public/trunk/ppmc-aliases.xsl Tue Jan 24 16:23:16 2012
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+    Transform podlings.xml into a list of current podlings' 
+    private lists addresses.
+    
+    Please set Reply-To: general@incubator.apache.org when
+    writing to all PMCs, if your message can be public.
+ -->
+
+<xsl:stylesheet version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:fo="http://www.w3.org/1999/XSL/Format"
+>
+
+<xsl:template name="newline"><xsl:text>
+</xsl:text></xsl:template>
+
+    <xsl:output method="text"/>
+
+    <xsl:template match="text()"/>
+    
+    <xsl:template match="/">
+        <xsl:apply-templates/>
+        <xsl:call-template name="newline"/>
+    </xsl:template>
+    
+    <xsl:template match="podling[@status='current']">
+        <xsl:value-of select="concat(@resource, '-private@incubator.apache.org,')"/>
+    </xsl:template>
+
+</xsl:stylesheet>

Propchange: incubator/public/trunk/ppmc-aliases.xsl
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message