You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Brett Porter <br...@apache.org> on 2007/06/05 04:12:38 UTC
Re: svn commit: r544321 - in /maven/sandbox/trunk/reports: ./ maven-plugins.vm plugin-vote.sh plugin-vote.vm plugin-votes.vm run.sh swizzle-jirareport-1.2.1-SNAPSHOT-dep.jar
They're still there, under shared/. I removed the ones you just added
(they seem older).
- Brett
On 05/06/2007, at 9:05 AM, jvanzyl@apache.org wrote:
> Author: jvanzyl
> Date: Mon Jun 4 16:05:43 2007
> New Revision: 544321
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=544321
> Log:
> restoring reports, not sure what happened to them
>
> Added:
> maven/sandbox/trunk/reports/
> maven/sandbox/trunk/reports/maven-plugins.vm
> maven/sandbox/trunk/reports/plugin-vote.sh (with props)
> maven/sandbox/trunk/reports/plugin-vote.vm
> maven/sandbox/trunk/reports/plugin-votes.vm
> maven/sandbox/trunk/reports/run.sh (with props)
> maven/sandbox/trunk/reports/swizzle-jirareport-1.2.1-SNAPSHOT-
> dep.jar (with props)
>
> Added: maven/sandbox/trunk/reports/maven-plugins.vm
> URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/reports/maven-
> plugins.vm?view=auto&rev=544321
> ======================================================================
> ========
> --- maven/sandbox/trunk/reports/maven-plugins.vm (added)
> +++ maven/sandbox/trunk/reports/maven-plugins.vm Mon Jun 4
> 16:05:43 2007
> @@ -0,0 +1,19 @@
> +#set( $jira = $xmlrpc.connect("swizzletester:swizzle","http://
> jira.codehaus.org/rpc/xmlrpc") )
> +#set( $projects = $jira.getProjects().matches("name", "Maven
> 2.*Plugin") )
> +
> +
> +#foreach( $project in $projects )
> +#set( $url = "http://jira.codehaus.org/secure/IssueNavigator.jspa?
> view=rss&&pid=${project.id}&status=1&sorter/field=issuekey&sorter/
> order=DESC&tempMax=100&reset=true&decorator=none" )
> +#set( $jirarss = $rss.fetch( $url ) )
> +#set( $project.attributes.totalVotes = $jirarss.issues.sum("votes") )
> +## keep the issues in case you want them later
> +#set( $project.attributes.issues = $jirarss.issues )
> +#end
> +
> +#foreach( $project in $projects.descending("@totalVotes") )
> + $project.attributes.totalVotes $project.name
> +#foreach( $issue in $project.attributes.issues.descending("votes") )
> + ($issue.votes) $issue.key $issue.summary
> +#end
> +
> +#end
>
> Added: maven/sandbox/trunk/reports/plugin-vote.sh
> URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/reports/
> plugin-vote.sh?view=auto&rev=544321
> ======================================================================
> ========
> --- maven/sandbox/trunk/reports/plugin-vote.sh (added)
> +++ maven/sandbox/trunk/reports/plugin-vote.sh Mon Jun 4 16:05:43
> 2007
> @@ -0,0 +1,9 @@
> +#!/bin/sh
> +
> +PROJECT_KEY=$1
> +PROJECT_VERSION=$2
> +
> +sed -e "s/PROJECT_KEY/$PROJECT_KEY/;s/PROJECT_VERSION/
> $PROJECT_VERSION/" plugin-vote.vm > tmp
> +
> +java -jar swizzle-jirareport-1.2.1-SNAPSHOT-dep.jar tmp
> +
>
> Propchange: maven/sandbox/trunk/reports/plugin-vote.sh
> ----------------------------------------------------------------------
> --------
> svn:eol-style = native
>
> Propchange: maven/sandbox/trunk/reports/plugin-vote.sh
> ----------------------------------------------------------------------
> --------
> svn:executable = *
>
> Propchange: maven/sandbox/trunk/reports/plugin-vote.sh
> ----------------------------------------------------------------------
> --------
> svn:keywords = "Author Date Id Revision"
>
> Added: maven/sandbox/trunk/reports/plugin-vote.vm
> URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/reports/
> plugin-vote.vm?view=auto&rev=544321
> ======================================================================
> ========
> --- maven/sandbox/trunk/reports/plugin-vote.vm (added)
> +++ maven/sandbox/trunk/reports/plugin-vote.vm Mon Jun 4 16:05:43
> 2007
> @@ -0,0 +1,35 @@
> +## Things that are missing in order for this to work
> +## - need to know what the dev mailing list is, the mailing lists
> are just an uncategorized list
> +## - Web accessible face to the distributionManagement.repository
> element
> +## - REST URL for issue management system, might need project IDs
> +
> +#set( $projectKey = "PROJECT_KEY" )
> +#set( $projectVersion = "PROJECT_VERSION" )
> +
> +#set( $jira = $xmlrpc.connect("swizzletester:swizzle","http://
> jira.codehaus.org/rpc/xmlrpc") )
> +#set( $project = $jira.getProject($projectKey) )
> +#set( $version = $jira.getVersion( $project, $projectVersion) )
> +#set( $url = "http://jira.codehaus.org/secure/IssueNavigator.jspa?
> view=rss&&pid=${project.id}&fixfor=${version.id}
> &tempMax=500&reset=true&decorator=none" )
> +#set( $issues = $rss.fetch($url).issues )
> +
> +From: ${project.devMailingList}
> +Subject: [VOTE] Release $project.name [$projectVersion]
> +To: ${project.devMailingList}
> +
> +Issues Resolved for $project.name [$projectVersion]:
> +
> +#foreach( $issue in $issues.sort("id").sort("priority") )
> +[$issue.key] $issue.summary
> +#end
> +
> +Deployed to:
> +
> +$project.distributionManagement.repositoryUrl/$project.groupId/
> $projectVersion/
> +
> +Documentation:
> +
> +$project.distributionManagement.siteUrl
> +
> +Usage:
> +
> +You can can try this plugin by using "mvn -U foo".
>
> Added: maven/sandbox/trunk/reports/plugin-votes.vm
> URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/reports/
> plugin-votes.vm?view=auto&rev=544321
> ======================================================================
> ========
> --- maven/sandbox/trunk/reports/plugin-votes.vm (added)
> +++ maven/sandbox/trunk/reports/plugin-votes.vm Mon Jun 4 16:05:43
> 2007
> @@ -0,0 +1,38 @@
> +#set( $jira = $xmlrpc.connect("swizzletester:swizzle","http://
> jira.codehaus.org/rpc/xmlrpc") )
> +#set( $projects = $jira.getProjects().matches("name", "Maven
> 2.*Plugin") )
> +
> +
> +<document>
> + <properties>
> + <title>Articles on Maven</title>
> + <author email="jason@maven.org">Jason van Zyl</author>
> + </properties>
> + <body>
> + <section name="Plugins">
> +#foreach( $project in $projects )
> +#set( $url = "http://jira.codehaus.org/secure/IssueNavigator.jspa?
> view=rss&&pid=${project.id}&status=1&sorter/field=issuekey&sorter/
> order=DESC&tempMax=100&reset=true&decorator=none" )
> +#set( $jirarss = $rss.fetch( $url ) )
> +#set( $project.attributes.totalVotes = $jirarss.issues.sum("votes") )
> +## keep the issues in case you want them later
> +#set( $project.attributes.issues = $jirarss.issues )
> +#end
> +
> +
> +#foreach( $project in $projects.descending("@totalVotes") )
> + <table>
> + <tr>
> + <td>$project.attributes.totalVotes</td>
> + <td>$project.name</td>
> + </tr>
> +#foreach( $issue in $project.attributes.issues.descending("votes") )
> + <tr>
> + <td>$issue.votes</td>
> + <td>$issue.summary</td>
> + </tr>
> +#end
> + </table>
> +#end
> +
> + </section>
> + </body>
> +</document>
>
> Added: maven/sandbox/trunk/reports/run.sh
> URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/reports/
> run.sh?view=auto&rev=544321
> ======================================================================
> ========
> --- maven/sandbox/trunk/reports/run.sh (added)
> +++ maven/sandbox/trunk/reports/run.sh Mon Jun 4 16:05:43 2007
> @@ -0,0 +1,12 @@
> +#!/bin/sh
> +
> +export JAVA_HOME=/opt/java/sdk/current
> +export JAVA_CMD=$JAVA_HOME/bin/java
> +export JAVA_OPTS="-ms32m -mx256m"
> +export JAVA="$JAVA_CMD $JAVA_OPTS"
> +
> +(
> +
> +$JAVA -jar swizzle-jirareport-1.2.1-SNAPSHOT-dep.jar maven-plugins.vm
> +
> +) 2>&1 | tee $HOME/repository-staging/to-ibiblio/reports/plugins/
> plugin-issues.txt
>
> Propchange: maven/sandbox/trunk/reports/run.sh
> ----------------------------------------------------------------------
> --------
> svn:eol-style = native
>
> Propchange: maven/sandbox/trunk/reports/run.sh
> ----------------------------------------------------------------------
> --------
> svn:executable = *
>
> Propchange: maven/sandbox/trunk/reports/run.sh
> ----------------------------------------------------------------------
> --------
> svn:keywords = "Author Date Id Revision"
>
> Added: maven/sandbox/trunk/reports/swizzle-jirareport-1.2.1-
> SNAPSHOT-dep.jar
> URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/reports/
> swizzle-jirareport-1.2.1-SNAPSHOT-dep.jar?view=auto&rev=544321
> ======================================================================
> ========
> Binary file - no diff available.
>
> Propchange: maven/sandbox/trunk/reports/swizzle-jirareport-1.2.1-
> SNAPSHOT-dep.jar
> ----------------------------------------------------------------------
> --------
> svn:mime-type = application/octet-stream
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org