[libmodule-install-doapchangesets-perl] 09/47: use Perl::Version; release 0.03.
Jonas Smedegaard
js at alioth.debian.org
Fri Aug 9 14:08:36 UTC 2013
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libmodule-install-doapchangesets-perl.
commit 56c6127c3df7e72b17ea4a37e44bd8d324fecb5f
Author: Toby Inkster <mail at tobyinkster.co.uk>
Date: Fri Mar 26 23:47:47 2010 +0000
use Perl::Version; release 0.03.
--HG--
branch : Module-Install-DOAPChangeSets
extra : convert_revision : svn%3A3fe8e991-6959-4966-b76d-b07eca2b6e37/Module-Install-DOAPChangeSets%40254
---
Changes | 7 +++++--
Changes.ttl | 16 +++++++++++++--
Changes.xml | 30 +++++++++++++++++++++-------
META.yml | 5 +++--
Makefile.PL | 1 +
Module-Install-DOAPChangeSets-0.03.tar.gz | Bin 0 -> 32279 bytes
README | 2 +-
lib/Module/Install/Admin/DOAPChangeSets.pm | 2 +-
lib/Module/Install/DOAPChangeSets.pm | 4 ++--
lib/RDF/DOAP/ChangeSets.pm | 13 ++++++++----
10 files changed, 59 insertions(+), 21 deletions(-)
diff --git a/Changes b/Changes
index 7bdfd87..63b3654 100644
--- a/Changes
+++ b/Changes
@@ -10,6 +10,9 @@ Home page: <http://search.cpan.org/dist/Module-Install-DOAPChangeSets/>
Bug tracker: <http://rt.cpan.org/Dist/Display.html?Queue=Module-Install-DOAPChangeSets>
Maintainer: Toby Inkster <mailto:tobyink at cpan.org>
+0.03 [2010-03-26]
+ - Use Perl::Version to sort revisions in output.
+
0.02 [2010-01-27]
- (Bugfix) Project name was being overridden by URI.
@@ -20,10 +23,10 @@ Maintainer: Toby Inkster <mailto:tobyink at cpan.org>
- Split out RDF::DOAP::ChangeSets as a separate Perl module.
0.00_03 [2010-01-11] # Omega 3
- - Reverse order of versions in Changelog (newest at top)
- - (Addition) Use Text::Wrap to wrap text.
- (Addition) Support Aaron Cope's changefile vocab as a legacy input
format.
+ - (Addition) Use Text::Wrap to wrap text.
+ - Reverse order of versions in Changelog (newest at top)
0.00_02 [2010-01-08] # Omega 2
- Don't recommend QNames containing '.' -- they're supported by libraptor,
diff --git a/Changes.ttl b/Changes.ttl
index 421e9bf..6bb340f 100644
--- a/Changes.ttl
+++ b/Changes.ttl
@@ -98,6 +98,18 @@ my:v_0_02
[ rdfs:label "Project name was being overridden by URI."@en ; a dcs:Bugfix ]
] .
+my:v_0_03
+
+ a :Version ;
+ dc:issued "2010-03-26"^^xsd:date ;
+ :revision "0.03"^^xsd:string ;
+ :file-release <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.03.tar.gz> ;
+ dcs:changeset [
+ dcs:versus my:v_0_02 ;
+ dcs:item
+ [ rdfs:label "Use Perl::Version to sort revisions in output."@en ]
+ ] .
+
#############################################################
@@ -105,7 +117,7 @@ my:project
a :Project ;
:name "Module-Install-DOAPChangeSets" ;
- :shortdesc "Write your distribution change log in RDF"@en ;
+ :shortdesc "write your distribution change log in RDF"@en ;
:programming-language "Perl" ;
:homepage <http://search.cpan.org/dist/Module-Install-DOAPChangeSets/> ;
:download-page <http://search.cpan.org/dist/Module-Install-DOAPChangeSets/> ;
@@ -118,7 +130,7 @@ my:project
:created "2010-01-08"^^xsd:date ;
:license <http://dev.perl.org/licenses/> ;
:release my:v_0_00_01 , my:v_0_00_02 , my:v_0_00_03 , my:v_0_00_04 ,
- my:v_0_01 , my:v_0_02 .
+ my:v_0_01 , my:v_0_02 , my:v_0_03 .
#############################################################
diff --git a/Changes.xml b/Changes.xml
index c5f0cbd..5933eec 100644
--- a/Changes.xml
+++ b/Changes.xml
@@ -17,7 +17,7 @@
</rdf:Description>
<Version rdf:about="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/#v_0_00_01">
<dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-01-08</dc:issued>
- <file-release rdf:resource="http://backpan.perl.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.00_01.tar.gz"/>
+ <file-release rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.00_01.tar.gz"/>
<revision rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.00_01</revision>
<rdfs:comment xml:lang="en">Developer preview.</rdfs:comment>
<rdfs:label>Omega 1</rdfs:label>
@@ -34,7 +34,7 @@
</rdf:Description>
</dcs:changeset>
<dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-01-08</dc:issued>
- <file-release rdf:resource="http://backpan.perl.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.00_02.tar.gz"/>
+ <file-release rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.00_02.tar.gz"/>
<revision rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.00_02</revision>
<rdfs:comment xml:lang="en">Developer preview.</rdfs:comment>
<rdfs:label>Omega 2</rdfs:label>
@@ -61,7 +61,7 @@
</rdf:Description>
</dcs:changeset>
<dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-01-11</dc:issued>
- <file-release rdf:resource="http://backpan.perl.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.00_03.tar.gz"/>
+ <file-release rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.00_03.tar.gz"/>
<revision rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.00_03</revision>
<rdfs:comment xml:lang="en">Developer preview.</rdfs:comment>
<rdfs:label>Omega 3</rdfs:label>
@@ -78,7 +78,7 @@
</rdf:Description>
</dcs:changeset>
<dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-01-13</dc:issued>
- <file-release rdf:resource="http://backpan.perl.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.00_04.tar.gz"/>
+ <file-release rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.00_04.tar.gz"/>
<revision rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.00_04</revision>
<rdfs:comment xml:lang="en">Developer preview.</rdfs:comment>
<rdfs:label>Omega 4</rdfs:label>
@@ -95,7 +95,7 @@
</rdf:Description>
</dcs:changeset>
<dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-01-18</dc:issued>
- <file-release rdf:resource="http://backpan.perl.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.01.tar.gz"/>
+ <file-release rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.01.tar.gz"/>
<revision rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.01</revision>
<rdfs:comment xml:lang="en">First vaguely stable release.</rdfs:comment>
</Version>
@@ -111,9 +111,24 @@
</rdf:Description>
</dcs:changeset>
<dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-01-27</dc:issued>
- <file-release rdf:resource="http://backpan.perl.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.02.tar.gz"/>
+ <file-release rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.02.tar.gz"/>
<revision rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.02</revision>
</Version>
+ <Version rdf:about="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/#v_0_03">
+ <dcs:changeset>
+ <rdf:Description>
+ <dcs:item>
+ <rdf:Description>
+ <rdfs:label xml:lang="en">Use Perl::Version to sort revisions in output.</rdfs:label>
+ </rdf:Description>
+ </dcs:item>
+ <dcs:versus rdf:resource="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/#v_0_02"/>
+ </rdf:Description>
+ </dcs:changeset>
+ <dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-03-26</dc:issued>
+ <file-release rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.03.tar.gz"/>
+ <revision rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.03</revision>
+ </Version>
<Project rdf:about="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/#project">
<bug-database rdf:resource="http://rt.cpan.org/Dist/Display.html?Queue=Module-Install-DOAPChangeSets"/>
<created rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-01-08</created>
@@ -131,12 +146,13 @@
<release rdf:resource="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/#v_0_00_04"/>
<release rdf:resource="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/#v_0_01"/>
<release rdf:resource="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/#v_0_02"/>
+ <release rdf:resource="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/#v_0_03"/>
<repository>
<SVNRepository>
<browse rdf:resource="http://goddamn.co.uk/viewvc/perlmods/Module-Install-DOAPChangeSets/"/>
</SVNRepository>
</repository>
- <shortdesc xml:lang="en">Write your distribution change log in RDF</shortdesc>
+ <shortdesc xml:lang="en">write your distribution change log in RDF</shortdesc>
<tester rdf:resource="http://tobyinkster.co.uk/#i"/>
</Project>
<foaf:Person rdf:about="http://tobyinkster.co.uk/#i">
diff --git a/META.yml b/META.yml
index 8c18294..7f4ea16 100644
--- a/META.yml
+++ b/META.yml
@@ -1,5 +1,5 @@
---
-abstract: 'Write your distribution change log in RDF'
+abstract: 'write your distribution change log in RDF'
author:
- 'Toby Inkster <tobyink at cpan.org>'
build_requires:
@@ -21,6 +21,7 @@ no_index:
requires:
File::Slurp: 0
LWP::Simple: 0
+ Perl::Version: 0
RDF::Query: 2.200
RDF::Trine: 0.112
Text::Wrap: 0
@@ -31,4 +32,4 @@ resources:
homepage: http://search.cpan.org/dist/Module-Install-DOAPChangeSets/
license: http://dev.perl.org/licenses/
repository: http://goddamn.co.uk/viewvc/perlmods/Module-Install-DOAPChangeSets/
-version: 0.02
+version: 0.03
diff --git a/Makefile.PL b/Makefile.PL
index 77ed815..5a45d77 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -16,6 +16,7 @@ license 'perl';
test_requires 'Test::More' => '0.61';
+requires 'Perl::Version' => 0;
requires 'RDF::Trine' => '0.112';
requires 'RDF::Query' => '2.200';
requires 'File::Slurp' => 0;
diff --git a/Module-Install-DOAPChangeSets-0.03.tar.gz b/Module-Install-DOAPChangeSets-0.03.tar.gz
new file mode 100644
index 0000000..a9ed064
Binary files /dev/null and b/Module-Install-DOAPChangeSets-0.03.tar.gz differ
diff --git a/README b/README
index 9e00803..7594701 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
NAME
- Module::Install::DOAPChangeSets - Write your distribution change log in
+ Module::Install::DOAPChangeSets - write your distribution change log in
RDF
DESCRIPTION
diff --git a/lib/Module/Install/Admin/DOAPChangeSets.pm b/lib/Module/Install/Admin/DOAPChangeSets.pm
index ba38ca8..51ad4cc 100644
--- a/lib/Module/Install/Admin/DOAPChangeSets.pm
+++ b/lib/Module/Install/Admin/DOAPChangeSets.pm
@@ -8,7 +8,7 @@ use Module::Install::Base;
use vars qw{$VERSION @ISA};
BEGIN {
- $VERSION = '0.02';
+ $VERSION = '0.03';
@ISA = qw{Module::Install::Base};
}
diff --git a/lib/Module/Install/DOAPChangeSets.pm b/lib/Module/Install/DOAPChangeSets.pm
index c130af0..c6b823a 100644
--- a/lib/Module/Install/DOAPChangeSets.pm
+++ b/lib/Module/Install/DOAPChangeSets.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
use vars qw{$VERSION @ISA};
BEGIN {
- $VERSION = '0.02';
+ $VERSION = '0.03';
@ISA = 'Module::Install::Base';
}
@@ -25,7 +25,7 @@ sub write_doap_changes_xml {
__END__
=head1 NAME
-Module::Install::DOAPChangeSets - Write your distribution change log in RDF
+Module::Install::DOAPChangeSets - write your distribution change log in RDF
=head1 DESCRIPTION
diff --git a/lib/RDF/DOAP/ChangeSets.pm b/lib/RDF/DOAP/ChangeSets.pm
index 8309ae9..0ded8f5 100644
--- a/lib/RDF/DOAP/ChangeSets.pm
+++ b/lib/RDF/DOAP/ChangeSets.pm
@@ -2,7 +2,7 @@
=head1 NAME
-RDF::DOAP::ChangeSets - Create pretty ChangeLogs from RDF
+RDF::DOAP::ChangeSets - create pretty ChangeLogs from RDF
=head1 SYNOPSIS
@@ -23,19 +23,20 @@ package RDF::DOAP::ChangeSets;
use strict;
use File::Slurp qw(slurp);
use LWP::Simple;
+use Perl::Version;
use RDF::Trine;
use RDF::Query;
use Text::Wrap;
=head1 VERSION
-0.02
+0.03
=cut
use vars qw{$VERSION};
BEGIN {
- $VERSION = '0.02';
+ $VERSION = '0.03';
}
=head1 DESCRIPTION
@@ -224,8 +225,12 @@ sub to_string
# Read in data about this project's releases.
$self->_release_data($project);
+ my @revisions = sort {
+ Perl::Version->new($b->{'revision'}) cmp Perl::Version->new($a->{'revision'})
+ } values %{$projects->{$project}->{'v'}};
+
# foreach version
- foreach my $version (sort { $b->{'revision'} cmp $a->{'revision'} } values %{$projects->{$project}->{'v'}})
+ foreach my $version (@revisions)
{
# Version number, release data and version name.
$rv.= $version->{'revision'};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmodule-install-doapchangesets-perl.git
More information about the Pkg-perl-cvs-commits
mailing list