[libmodule-install-doapchangesets-perl] 03/47: Push version 0.00_02.

Jonas Smedegaard js at alioth.debian.org
Fri Aug 9 14:08:34 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 b9b702fb307dd61d64fae18a4242f41564b0647c
Author: Toby Inkster <mail at tobyinkster.co.uk>
Date:   Fri Jan 8 18:50:22 2010 +0000

    Push version 0.00_02.
    
    --HG--
    branch : Module-Install-DOAPChangeSets
    extra : convert_revision : svn%3A3fe8e991-6959-4966-b76d-b07eca2b6e37/Module-Install-DOAPChangeSets%40115
---
 Changes                                      |    7 +-
 Changes.ttl                                  |   27 ++++--
 Changes.xml                                  |   29 +++++--
 MANIFEST                                     |   17 ++--
 META.yml                                     |    2 +-
 Makefile.PL                                  |    1 +
 Module-Install-DOAPChangeSets-0.00_01.tar.gz |  Bin 0 -> 28779 bytes
 Module-Install-DOAPChangeSets-0.00_02.tar.gz |  Bin 0 -> 29041 bytes
 README                                       |   51 ++++++++++++
 lib/Module/Install/Admin/DOAPChangeSets.pm   |    6 +-
 lib/Module/Install/DOAPChangeSets.pm         |    4 +-
 lib/Module/Install/DOAPChangeSets/Format.pod |  113 ++++++++++++++++++++++++++
 12 files changed, 231 insertions(+), 26 deletions(-)

diff --git a/Changes b/Changes
index 1e9bb1f..f63ca97 100644
--- a/Changes
+++ b/Changes
@@ -8,7 +8,10 @@ Module-Install-DOAPChangeSets
 Created:      2010-01-08
 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
+Maintainer:   Toby Inkster <mailto:tobyink at cpan.org>
 
-0.91 [2010-01-08]
+0.00_01 [2010-01-08] # Omega 1
+
+0.00_02 [2010-01-08] # Omega 2
+ - Don't recommend QNames containing '.' -- they're supported by libraptor, but illegal in Turtle.
 
diff --git a/Changes.ttl b/Changes.ttl
index 2f2fcbe..cb4741a 100644
--- a/Changes.ttl
+++ b/Changes.ttl
@@ -20,13 +20,27 @@
 
 #############################################################
 
-my:v_0.91
+my:v_0_00_01
 
 	a               :Version ;
 	dc:issued       "2010-01-08"^^xsd:date ;
-	:revision       "0.91"^^xsd:string ;
-	:file-release   <http://backpan.perl.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.01.tar.gz> ;
-	rdfs:comment    "Original version"@en .
+	:revision       "0.00_01"^^xsd:string ;
+	:file-release   <http://backpan.perl.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.00_01.tar.gz> ;
+	rdfs:label      "Omega 1" ;
+	rdfs:comment    "Developer preview."@en .
+
+my:v_0_00_02
+
+	a               :Version ;
+	dc:issued	"2010-01-08"^^xsd:date ;
+	:revision	"0.00_02"^^xsd:string ;
+	:file-release   <http://backpan.perl.org/authors/id/T/TO/TOBYINK/Module-Install-DOAPChangeSets-0.00_02.tar.gz> ;
+	rdfs:label	"Omega 2" ;
+	rdfs:comment    "Developer preview."@en ;
+	dcs:changeset [
+		dcs:item [ rdfs:label "Don't recommend QNames containing '.' -- they're supported by libraptor, but illegal in Turtle."@en ]
+	] .
+
 
 #############################################################
 
@@ -46,7 +60,7 @@ my:project
 	:tester         toby:i ;
 	:created        "2010-01-08"^^xsd:date ;
 	:license        <http://dev.perl.org/licenses/> ;
-	:release        my:v_0.91 .
+	:release        my:v_0_00_01 , my:v_0_00_02 .
 
 #############################################################
 
@@ -55,6 +69,7 @@ toby:i
 	a               foaf:Person ;
 	foaf:name       "Toby Inkster" ;
 	foaf:homepage   <http://tobyinkster.co.uk/> ;
-	foaf:page       <http://search.cpan.org/~tobyink/> .
+	foaf:page       <http://search.cpan.org/~tobyink/> ;
+	foaf:mbox       <mailto:tobyink at cpan.org> .
 
 #############################################################
diff --git a/Changes.xml b/Changes.xml
index fa09b3f..17bc407 100644
--- a/Changes.xml
+++ b/Changes.xml
@@ -15,11 +15,28 @@
     <dc:subject rdf:resource="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/#project"/>
     <dc:title>Changes</dc:title>
   </rdf:Description>
-  <Version rdf:about="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/#v_0.91">
+  <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.01.tar.gz"/>
-    <revision rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.91</revision>
-    <rdfs:comment xml:lang="en">Original version</rdfs:comment>
+    <file-release rdf:resource="http://backpan.perl.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>
+  </Version>
+  <Version rdf:about="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/#v_0_00_02">
+    <dcs:changeset>
+      <rdf:Description>
+        <dcs:item>
+          <rdf:Description>
+            <rdfs:label xml:lang="en">Don't recommend QNames containing '.' -- they're supported by libraptor, but illegal in Turtle.</rdfs:label>
+          </rdf:Description>
+        </dcs:item>
+      </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"/>
+    <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>
   </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"/>
@@ -32,7 +49,8 @@
     <maintainer rdf:resource="http://tobyinkster.co.uk/#i"/>
     <name>Module-Install-DOAPChangeSets</name>
     <programming-language>Perl</programming-language>
-    <release rdf:resource="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/#v_0.91"/>
+    <release rdf:resource="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/#v_0_00_01"/>
+    <release rdf:resource="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/#v_0_00_02"/>
     <repository>
       <SVNRepository>
         <browse rdf:resource="http://goddamn.co.uk/viewvc/perlmods/Module-Install-DOAPChangeSets/"/>
@@ -43,6 +61,7 @@
   </Project>
   <foaf:Person rdf:about="http://tobyinkster.co.uk/#i">
     <foaf:homepage rdf:resource="http://tobyinkster.co.uk/"/>
+    <foaf:mbox rdf:resource="mailto:tobyink at cpan.org"/>
     <foaf:name>Toby Inkster</foaf:name>
     <foaf:page rdf:resource="http://search.cpan.org/~tobyink/"/>
   </foaf:Person>
diff --git a/MANIFEST b/MANIFEST
index 689d2cb..230fa07 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -8,22 +8,25 @@ README
 META.yml
 SIGNATURE
 
+lib/Module/Install/DOAPChangeSets/Format.pod
 lib/Module/Install/Admin/DOAPChangeSets.pm
 lib/Module/Install/DOAPChangeSets.pm
 
 t/00sig.t
 t/01basic.t
 
-inc/Module/AutoInstall.pm
-inc/Module/Install/AutoInstall.pm
+inc/Module/Install.pm
+inc/Module/Install/Metadata.pm
 inc/Module/Install/Base.pm
-inc/Module/Install/Can.pm
+inc/Module/Install/ReadmeFromPod.pm
 inc/Module/Install/DOAPChangeSets.pm
-inc/Module/Install/Fetch.pm
 inc/Module/Install/Include.pm
+inc/Module/Install/AutoInstall.pm
 inc/Module/Install/Makefile.pm
-inc/Module/Install/Metadata.pm
-inc/Module/Install.pm
-inc/Module/Install/Win32.pm
 inc/Module/Install/WriteAll.pm
+inc/Module/Install/Win32.pm
+inc/Module/Install/Can.pm
+inc/Module/Install/Fetch.pm
+inc/Module/AutoInstall.pm
 inc/Test/Signature.pm
+
diff --git a/META.yml b/META.yml
index 0241475..19c9cd0 100644
--- a/META.yml
+++ b/META.yml
@@ -29,4 +29,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.91
+version: 0.00_02
diff --git a/Makefile.PL b/Makefile.PL
index 5b0c07d..9e1b232 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -10,6 +10,7 @@ name                $dist;
 perl_version_from   $fn;
 version_from        $fn;
 abstract_from       $fn;
+readme_from         $fn;
 author              'Toby Inkster <tobyink at cpan.org>';
 license             'perl';
 
diff --git a/Module-Install-DOAPChangeSets-0.00_01.tar.gz b/Module-Install-DOAPChangeSets-0.00_01.tar.gz
new file mode 100644
index 0000000..fe3f0ae
Binary files /dev/null and b/Module-Install-DOAPChangeSets-0.00_01.tar.gz differ
diff --git a/Module-Install-DOAPChangeSets-0.00_02.tar.gz b/Module-Install-DOAPChangeSets-0.00_02.tar.gz
new file mode 100644
index 0000000..d711b4e
Binary files /dev/null and b/Module-Install-DOAPChangeSets-0.00_02.tar.gz differ
diff --git a/README b/README
new file mode 100644
index 0000000..9e00803
--- /dev/null
+++ b/README
@@ -0,0 +1,51 @@
+NAME
+    Module::Install::DOAPChangeSets - Write your distribution change log in
+    RDF
+
+DESCRIPTION
+    This package allows you to write your Changes file in Turtle or RDF/XML
+    and autogenerate a human-readable text file.
+
+    To do this, create an RDF file called "Changes.ttl" (or something like
+    that) and describe your distribution's changes in RDF using the Dublin
+    Core, DOAP, and DOAP Change Sets vocabularies. Then in your Makefile.PL,
+    include:
+
+      write_doap_changes "Changes.ttl", "Changes", "turtle";
+
+    This line will read your data from the file named as the first argument,
+    parse it using either Turtle or RDFXML parsers (the third argument), and
+    output a human-readable changelog to the file named as the second
+    argument.
+
+    The defaults are "Changes.ttl", "Changes", "turtle", so if you name the
+    files like that, then you can exclude all the arguments and just include
+    this in your Makefile.PL:
+
+      write_doap_changes;
+
+    There's also a line you can use to output a Changes.xml file:
+
+      write_doap_changes_xml "Changes.ttl", "Changes.xml", "turtle";
+
+WHY?
+    Why not?
+
+BUGS
+    Please report any bugs to <http://rt.cpan.org/>.
+
+SEE ALSO
+    Module::Install, Module::Install::DOAPChangeSets::Format .
+
+    <http://www.perlrdf.org/>.
+
+AUTHOR
+    Toby Inkster <tobyink at cpan.org>.
+
+COPYRIGHT AND LICENSE
+    Copyright (C) 2010 by Toby Inkster
+
+    This library is free software; you can redistribute it and/or modify it
+    under the same terms as Perl itself, either Perl version 5.8 or, at your
+    option, any later version of Perl 5 you may have available.
+
diff --git a/lib/Module/Install/Admin/DOAPChangeSets.pm b/lib/Module/Install/Admin/DOAPChangeSets.pm
index 1dfb806..cb89dad 100644
--- a/lib/Module/Install/Admin/DOAPChangeSets.pm
+++ b/lib/Module/Install/Admin/DOAPChangeSets.pm
@@ -9,7 +9,7 @@ use Module::Install::Base;
 
 use vars qw{$VERSION @ISA};
 BEGIN {
-	$VERSION = '0.91';
+	$VERSION = '0.00_02';
 	@ISA     = qw{Module::Install::Base};
 }
 
@@ -71,7 +71,7 @@ sub write_doap_changes
 			if UNIVERSAL::isa($row->{'bugdatabase'}, 'RDF::Trine::Node::Resource');
 		$projects->{$p}->{'maint'}->{ $row->{'maint'}->as_ntriples }->{'name'} = $row->{'maintname'}->literal_value
 			if UNIVERSAL::isa($row->{'maintname'}, 'RDF::Trine::Node::Literal');
-		$projects->{$p}->{'maint'}->{ $row->{'maint'}->as_ntriples }->{'mbox'}->{ $row->{'maintmbox'}->literal_value }++
+		$projects->{$p}->{'maint'}->{ $row->{'maint'}->as_ntriples }->{'mbox'}->{ $row->{'maintmbox'}->uri }++
 			if UNIVERSAL::isa($row->{'maintmbox'}, 'RDF::Trine::Node::Resource');
 		$doctitle = $row->{'title'}->literal_value
 			if UNIVERSAL::isa($row->{'title'}, 'RDF::Trine::Node::Literal');
@@ -211,4 +211,4 @@ sub write_doap_changes_xml
 	warn "Error running 'rapper'\n" if $r;
 }
 
-1;
\ No newline at end of file
+1;
diff --git a/lib/Module/Install/DOAPChangeSets.pm b/lib/Module/Install/DOAPChangeSets.pm
index 8c79734..e99823f 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.91';
+        $VERSION = '0.00_02';
         @ISA     = 'Module::Install::Base';
 }
 
@@ -62,7 +62,7 @@ Please report any bugs to L<http://rt.cpan.org/>.
 
 =head1 SEE ALSO
 
-L<Module::Install>.
+L<Module::Install>, L<Module::Install::DOAPChangeSets::Format> .
 
 L<http://www.perlrdf.org/>.
 
diff --git a/lib/Module/Install/DOAPChangeSets/Format.pod b/lib/Module/Install/DOAPChangeSets/Format.pod
new file mode 100644
index 0000000..6216f86
--- /dev/null
+++ b/lib/Module/Install/DOAPChangeSets/Format.pod
@@ -0,0 +1,113 @@
+=head1 DOAP CHANGESETS FORMAT
+
+DOAP Changesets are written in RDF - normally serialised as Turtle, though
+other serialisations are fine. (The L<Module::Install::DOAPChangeSets>
+module supports any input format recognised by L<RDF::Trine>.)
+
+This document assumes a good working knowledge of RDF and Turtle.
+
+=head2 Namespaces
+
+You will want to define at least the following namespaces:
+
+  @prefix :     <http://usefulinc.com/ns/doap#> .
+  @prefix dc:   <http://purl.org/dc/terms/> .
+  @prefix dcs:  <http://ontologi.es/doap-changeset#> .
+  @prefix foaf: <http://xmlns.com/foaf/0.1/> .
+  @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+  @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+
+And you should define a namespace specific for your distribution:
+
+  @prefix my:   <http://search.cpan.example.org/dist/Example-Example/#> .
+
+=head2 Describing the Changeset Document
+
+You should now give the Changeset document itself a description. At
+a minimum, you must set the dc:subject.
+
+  <>
+    dc:title     "Changes for Example-Example" ;
+    dc:subject   my:project ;
+    dc:creator   my:developer .
+
+=head2 Describing the First Release of the Distribution
+
+Use DOAP to describe the first version of the distribution. At the very
+least you need to include its revision (version number):
+
+  my:v_0_01
+    a           :Version ;
+    dc:issued   "2007-12-20"^^xsd:date ;
+    :revision   "0.01"^^xsd:string .
+
+You would not normally list any changes against the first release, as
+nothing has been changed.
+
+=head2 Describing Subsequent Releases
+
+For subsequent releases, you add a changeset to a release description:
+
+  my:v_0_02
+    a           :Version ;
+    dc:issued   "2007-12-29"^^xsd:date ;
+    :revision   "0.02"^^xsd:string ;
+    rdfs:label  "The 0.02nd Coming" ;  ## a "title" for the release
+    dcs:changeset [
+      dcs:item
+        [ rdfs:label "Example change." ] ,
+        [ rdfs:label "Example bugfix." ; a dcs:Bugfix ] ,
+        [ rdfs:label "Example new feature." ; a dcs:Addition ] ,
+        [ rdfs:label "Example removal." ; a dcs:Removal ] 
+    ] .
+
+
+=head2 Describing the Distribution
+
+Use DOAP to describe the distribution. At the very least you need to assert
+that the project is a Project and provide a name for it. You must also list
+all the releases you wish to appear in the human-readable Changes file
+generated by the L<Module::Install::DOAPChangeSets> module. There are plenty
+of other properties in DOAP which you can also use.
+
+  my:project
+    a           :Project ;
+    :name       "Example-Example" ;
+    :shortdesc  "Just an example!" ;
+    :created    "2007-12-18"^^xsd:date ;
+    :maintainer my:developer ;
+    :homepage   <http://search.cpan.example.org/dist/Example-Example/> ;
+    :bug-database <http://rt.cpan.example.org/Dist/Display.html?Queue=Example-Example> ;
+    :release    my:v_0_01 , my:v_0_02 .
+
+=head2 Describing a Developer
+
+Developers should be described using FOAF. At the very least, include a name.
+A CPAN e-mail address is also a good idea.
+
+  my:developer
+    a           foaf:Person ;
+    foaf:name   "Joe Bloggs" ;
+    foaf:mbox   <mailto:joebloggs at cpan.example.org> ;
+    foaf:page   <http://search.cpan.example.org/~joebloggs/> .
+
+=head1 SEE ALSO
+
+L<Module::Install>, L<Module::Install::DOAPChangeSets> .
+
+L<http://www.perlrdf.org/>.
+
+=head1 AUTHOR
+
+Toby Inkster E<lt>tobyink at cpan.orgE<gt>.
+
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2010 by Toby Inkster
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself, either Perl version 5.8 or,
+at your option, any later version of Perl 5 you may have available.
+
+=cut
+

-- 
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