You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2006/06/09 17:56:31 UTC

svn commit: r413079 - in /forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo: resources/stylesheets/changes-to-document.xsl status.xml

Author: crossley
Date: Fri Jun  9 08:56:30 2006
New Revision: 413079

URL: http://svn.apache.org/viewvc?rev=413079&view=rev
Log:
Add section to output "Introduction and explanation of symbols".
Show the unique symbols.

Modified:
    forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl
    forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/status.xml

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl?rev=413079&r1=413078&r2=413079&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl Fri Jun  9 08:56:30 2006
@@ -41,6 +41,7 @@
  <xsl:param name="bugtracking-url" select="$bugzilla"/>
 
  <xsl:key name="contexts" match="changes/release/action" use="concat(../@version, '_', @context)"/>
+ <xsl:key name="types" match="changes/release/action" use="@type"/>
  <xsl:key name="committers" match="developers/person" use="@id"/>
  <xsl:key name="distinct-committer" match="changes/release/action" use="concat(../@version, '_', @dev)"/>
  <xsl:key name="distinct-contributor" match="changes/release/action" use="concat(../@version, '_', @due-to)"/>
@@ -66,6 +67,19 @@
    <body>
 
     <p><link href="changes.rss"><img src="{$root}images/rss.png" alt="RSS"/></link></p>
+    <section id="introduction">
+      <title>Introduction and explanation of symbols</title>
+      <p>The following symbols are used to denote the various action types:
+        <xsl:for-each select="//release/action[generate-id()=generate-id(key('types', @type))]">
+          <icon src="{$root}images/{@type}.jpg" alt="{@type}"/>
+          <xsl:text>=</xsl:text>
+          <xsl:value-of select="@type"/>
+          <xsl:if test="not(position()=last())">
+            <xsl:text>, </xsl:text>
+          </xsl:if>
+        </xsl:for-each>
+      </p>
+    </section>
     <xsl:choose>
       <xsl:when test="$versionNumber">
         <xsl:choose>
@@ -82,8 +96,8 @@
       </xsl:otherwise>
     </xsl:choose>
     <xsl:if test="$projectInfo.changes.includeCommitterList = 'true' and //developers">
-       <section>
-         <title>Committers</title>
+       <section id="all-committers">
+         <title>All Committers</title>
          <p>This is a list of all people who have ever participated
          as committers on this project.</p>
          

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/status.xml?rev=413079&r1=413078&r2=413079&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/status.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/status.xml Fri Jun  9 08:56:30 2006
@@ -46,6 +46,10 @@
         <p>This plugin provides various mechanisms for extracting and
         displaying information about one or more projects.</p>
       </notes>
+      <action type="add" context="code" dev="DC">
+        Add section to output "Introduction and explanation of symbols".
+        Show the unique symbols.
+      </action>
       <action type="update" context="code" dev="DC">
         List all contributors for each release by showing a list of committers
         and a list of other contributors.