[libmodule-install-doapchangesets-perl] 01/47: DOAP Changelog module.

Jonas Smedegaard js at alioth.debian.org
Fri Aug 9 14:08:33 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 1644804ecb00a8978c6ca7196fbded4fc4449622
Author: Toby Inkster <mail at tobyinkster.co.uk>
Date:   Fri Jan 8 15:41:59 2010 +0000

    DOAP Changelog module.
    
    --HG--
    branch : Module-Install-DOAPChangeSets
    extra : convert_revision : svn%3A3fe8e991-6959-4966-b76d-b07eca2b6e37/Module-Install-DOAPChangeSets%40109
---
 Changes                                    |   14 ++
 Changes.ttl                                |   60 ++++++++
 Changes.xml                                |   49 +++++++
 MANIFEST                                   |   29 ++++
 MANIFEST.SKIP                              |    7 +
 META.yml                                   |   32 +++++
 Makefile.PL                                |   37 +++++
 lib/Module/Install/Admin/DOAPChangeSets.pm |  214 ++++++++++++++++++++++++++++
 lib/Module/Install/DOAPChangeSets.pm       |   81 +++++++++++
 t/00sig.t                                  |    4 +
 t/01basic.t                                |    3 +
 11 files changed, 530 insertions(+)

diff --git a/Changes b/Changes
new file mode 100644
index 0000000..1e9bb1f
--- /dev/null
+++ b/Changes
@@ -0,0 +1,14 @@
+############################################################################
+## Changes #################################################################
+############################################################################
+
+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
+
+0.91 [2010-01-08]
+
diff --git a/Changes.ttl b/Changes.ttl
new file mode 100644
index 0000000..2f2fcbe
--- /dev/null
+++ b/Changes.ttl
@@ -0,0 +1,60 @@
+#############################################################
+
+ at prefix :        <http://usefulinc.com/ns/doap#> .
+ at prefix dcs:     <http://ontologi.es/doap-changeset#> .
+ at prefix dc:      <http://purl.org/dc/terms/> .
+ at prefix foaf:    <http://xmlns.com/foaf/0.1/> .
+ at prefix my:      <http://search.cpan.org/dist/Module-Install-DOAPChangeSets/#> .
+ at prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
+ at prefix toby:    <http://tobyinkster.co.uk/#> .
+ at prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
+
+#############################################################
+
+<>
+
+	dc:title         "Changes" ;
+	dc:description   "Revision history for Perl extension Module::Install::DOAPChangeSets."@en ;
+	dc:subject       my:project ;
+	dc:creator       toby:i .
+
+#############################################################
+
+my:v_0.91
+
+	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 .
+
+#############################################################
+
+my:project
+
+	a               :Project ;
+	:name           "Module-Install-DOAPChangeSets" ;
+	: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/> ;
+	:bug-database   <http://rt.cpan.org/Dist/Display.html?Queue=Module-Install-DOAPChangeSets> ;
+	:repository     [ a :SVNRepository ; :browse <http://goddamn.co.uk/viewvc/perlmods/Module-Install-DOAPChangeSets/> ] ;
+	:maintainer     toby:i ;
+	:developer      toby:i ;
+	:documenter     toby:i ;
+	:tester         toby:i ;
+	:created        "2010-01-08"^^xsd:date ;
+	:license        <http://dev.perl.org/licenses/> ;
+	:release        my:v_0.91 .
+
+#############################################################
+
+toby:i
+
+	a               foaf:Person ;
+	foaf:name       "Toby Inkster" ;
+	foaf:homepage   <http://tobyinkster.co.uk/> ;
+	foaf:page       <http://search.cpan.org/~tobyink/> .
+
+#############################################################
diff --git a/Changes.xml b/Changes.xml
new file mode 100644
index 0000000..fa09b3f
--- /dev/null
+++ b/Changes.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF
+   xmlns:dc="http://purl.org/dc/terms/"
+   xmlns:dcs="http://ontologi.es/doap-changeset#"
+   xmlns:foaf="http://xmlns.com/foaf/0.1/"
+   xmlns:my="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+   xmlns:toby="http://tobyinkster.co.uk/#"
+   xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+   xmlns="http://usefulinc.com/ns/doap#">
+  <rdf:Description rdf:about="file:///home/tai/src/perlmods/Module-Install-DOAPChangeSets/Changes.ttl">
+    <dc:creator rdf:resource="http://tobyinkster.co.uk/#i"/>
+    <dc:description xml:lang="en">Revision history for Perl extension Module::Install::DOAPChangeSets.</dc:description>
+    <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">
+    <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>
+  </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>
+    <developer rdf:resource="http://tobyinkster.co.uk/#i"/>
+    <documenter rdf:resource="http://tobyinkster.co.uk/#i"/>
+    <download-page rdf:resource="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/"/>
+    <homepage rdf:resource="http://search.cpan.org/dist/Module-Install-DOAPChangeSets/"/>
+    <license rdf:resource="http://dev.perl.org/licenses/"/>
+    <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"/>
+    <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>
+    <tester rdf:resource="http://tobyinkster.co.uk/#i"/>
+  </Project>
+  <foaf:Person rdf:about="http://tobyinkster.co.uk/#i">
+    <foaf:homepage rdf:resource="http://tobyinkster.co.uk/"/>
+    <foaf:name>Toby Inkster</foaf:name>
+    <foaf:page rdf:resource="http://search.cpan.org/~tobyink/"/>
+  </foaf:Person>
+</rdf:RDF>
diff --git a/MANIFEST b/MANIFEST
new file mode 100644
index 0000000..689d2cb
--- /dev/null
+++ b/MANIFEST
@@ -0,0 +1,29 @@
+Changes
+Changes.ttl
+Changes.xml
+Makefile.PL
+MANIFEST
+MANIFEST.SKIP
+README
+META.yml
+SIGNATURE
+
+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/Base.pm
+inc/Module/Install/Can.pm
+inc/Module/Install/DOAPChangeSets.pm
+inc/Module/Install/Fetch.pm
+inc/Module/Install/Include.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/Test/Signature.pm
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
new file mode 100644
index 0000000..6f8e6b0
--- /dev/null
+++ b/MANIFEST.SKIP
@@ -0,0 +1,7 @@
+^Makefile$
+^blib/
+^pm_to_blib
+^blibdirs
+\.svn
+^example.*\.pl$
+^[^/]+\.(tar\.gz|tar\.bz2|tgz|tbz2|tbz|zip|tar)$
diff --git a/META.yml b/META.yml
new file mode 100644
index 0000000..0241475
--- /dev/null
+++ b/META.yml
@@ -0,0 +1,32 @@
+---
+abstract: 'Write your distribution change log in RDF'
+author:
+  - 'Toby Inkster <tobyink at cpan.org>'
+build_requires:
+  ExtUtils::MakeMaker: 6.42
+  Test::More: 0.61
+configure_requires:
+  ExtUtils::MakeMaker: 6.42
+distribution_type: module
+generated_by: 'Module::Install version 0.91'
+license: perl
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: Module-Install-DOAPChangeSets
+no_index:
+  directory:
+    - inc
+    - t
+requires:
+  File::Slurp: 0
+  RDF::Query: 2.200
+  RDF::Trine: 0.112
+  URI::file: 0
+  perl: 5.8.0
+resources:
+  bugtracker: http://rt.cpan.org/Dist/Display.html?Queue=Module-Install-DOAPChangeSets
+  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
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644
index 0000000..5b0c07d
--- /dev/null
+++ b/Makefile.PL
@@ -0,0 +1,37 @@
+use strict;
+use warnings;
+
+use inc::Module::Install;
+
+my $dist = 'Module-Install-DOAPChangeSets';
+my $fn   = "lib/$dist.pm"; $fn =~ s#-#/#g;
+
+name                $dist;
+perl_version_from   $fn;
+version_from        $fn;
+abstract_from       $fn;
+author              'Toby Inkster <tobyink at cpan.org>';
+license             'perl';
+
+test_requires       'Test::More' => '0.61';
+
+requires            'RDF::Trine'         => '0.112';
+requires            'RDF::Query'         => '2.200';
+requires            'File::Slurp'        => 0;
+requires            'URI::file'          => 0;
+
+resources(
+	'homepage'   => "http://search.cpan.org/dist/$dist/",
+	'repository' => "http://goddamn.co.uk/viewvc/perlmods/$dist/",
+	'bugtracker' => "http://rt.cpan.org/Dist/Display.html?Queue=$dist",
+	);
+	
+write_doap_changes;
+write_doap_changes_xml;
+
+include 'Test::Signature';
+auto_install;
+WriteAll(
+	'meta' => 1,
+	'sign' => 1,
+	);
diff --git a/lib/Module/Install/Admin/DOAPChangeSets.pm b/lib/Module/Install/Admin/DOAPChangeSets.pm
new file mode 100644
index 0000000..1dfb806
--- /dev/null
+++ b/lib/Module/Install/Admin/DOAPChangeSets.pm
@@ -0,0 +1,214 @@
+package Module::Install::Admin::DOAPChangeSets;
+
+use strict;
+use RDF::Trine;
+use RDF::Query;
+use File::Slurp qw(slurp);
+use URI::file;
+use Module::Install::Base;
+
+use vars qw{$VERSION @ISA};
+BEGIN {
+	$VERSION = '0.91';
+	@ISA     = qw{Module::Install::Base};
+}
+
+sub write_doap_changes
+{
+	my $self = shift;
+	my $in   = shift || "Changes.ttl";
+	my $out  = shift || "Changes";
+	my $fmt  = shift || "turtle";
+
+	my $IN    = slurp($in);
+	my $inuri = URI::file->new_abs($in);
+
+	my $model  = RDF::Trine::Model->new( RDF::Trine::Store->temporary_store );
+	my $parser = RDF::Trine::Parser->new($fmt);
+	$parser->parse_into_model("$inuri", $IN, $model);
+	
+	my $sparql = "
+	PREFIX dc: <http://purl.org/dc/terms/>
+	PREFIX dcs: <http://ontologi.es/doap-changeset#>
+	PREFIX doap: <http://usefulinc.com/ns/doap#>
+	PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+	PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+	SELECT *
+	WHERE
+	{
+		<$inuri>
+			dc:title ?title ;
+			dc:subject ?project .
+		?project
+			a doap:Project ;
+			doap:name ?distname .
+		OPTIONAL { ?project doap:created ?created . }
+		OPTIONAL { ?project doap:homepage ?homepage . }
+		OPTIONAL { ?project doap:bug-database ?bugdatabase . }
+		OPTIONAL
+		{
+			?project doap:maintainer ?maint .
+			?maint foaf:name ?maintname .
+			OPTIONAL { ?maint foaf:mbox ?maintmbox . }
+		}
+	}
+	";
+	
+	my $query    = RDF::Query->new($sparql);
+	my $results  = $query->execute($model);
+	my $projects = {};
+	my $doctitle = '';
+	while (my $row = $results->next)
+	{
+		my $p = $row->{'project'}->as_ntriples;
+		$projects->{$p}->{'distname'} = $row->{'distname'}->literal_value
+			if UNIVERSAL::isa($row->{'distname'}, 'RDF::Trine::Node::Literal');
+		$projects->{$p}->{'created'} = $row->{'created'}->literal_value
+			if UNIVERSAL::isa($row->{'created'}, 'RDF::Trine::Node::Literal');
+		$projects->{$p}->{'homepage'}->{ $row->{'homepage'}->uri }++
+			if UNIVERSAL::isa($row->{'homepage'}, 'RDF::Trine::Node::Resource');
+		$projects->{$p}->{'bugdatabase'}->{ $row->{'bugdatabase'}->uri }++
+			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 }++
+			if UNIVERSAL::isa($row->{'maintmbox'}, 'RDF::Trine::Node::Resource');
+		$doctitle = $row->{'title'}->literal_value
+			if UNIVERSAL::isa($row->{'title'}, 'RDF::Trine::Node::Literal');
+	}
+	
+	unless (length $doctitle)
+	{
+		foreach my $project (sort keys %$projects)
+		{
+			if (length $doctitle == 0
+			or  length $doctitle > $projects->{$project}->{'distname'})
+			{
+				$doctitle = $projects->{$project}->{'distname'};
+			}
+		}
+		if (length $doctitle)
+		{
+			$doctitle = "Changes for $doctitle";
+		}
+		else
+		{
+			$doctitle = "Changes";
+		}
+	}
+	
+	open OUT, ">$out";
+	print OUT "#" x 76 . "\n";
+	print OUT "## $doctitle " . ("#" x (72 - length $doctitle)) . "\n";
+	print OUT "#" x 76 . "\n\n";
+	foreach my $project (sort keys %$projects)
+	{
+		print OUT $projects->{$project}->{'distname'} . "\n";
+		print OUT ('=' x length $projects->{$project}->{'distname'}) . "\n\n";
+		
+		print OUT sprintf("Created:      %s\n", $projects->{$project}->{'created'})
+			if $projects->{$project}->{'created'};
+		foreach my $u (sort keys %{ $projects->{$project}->{'homepage'} })
+		{
+			print OUT sprintf("Home page:    <%s>\n", $u);
+		}
+		foreach my $u (sort keys %{ $projects->{$project}->{'bugdatabase'} })
+		{
+			print OUT sprintf("Bug tracker:  <%s>\n", $u);
+		}
+		foreach my $m (sort keys %{ $projects->{$project}->{'maint'} })
+		{
+			my @mboxes = sort keys %{$projects->{$project}->{'maint'}->{$m}->{'mbox'}};
+			my $mbox = shift @mboxes;
+			
+			if (defined $mbox) { print OUT sprintf("Maintainer:   %s <%s>\n", $projects->{$project}->{'maint'}->{$m}->{'name'}, $mbox); }
+			else               { print OUT sprintf("Maintainer:   %s\n", $projects->{$project}->{'maint'}->{$m}->{'name'}, $mbox); }
+		}
+		print OUT "\n";
+
+		my $sparql = "
+		PREFIX dc: <http://purl.org/dc/terms/>
+		PREFIX dcs: <http://ontologi.es/doap-changeset#>
+		PREFIX doap: <http://usefulinc.com/ns/doap#>
+		PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+		PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+		SELECT *
+		WHERE
+		{
+			$project
+				doap:release ?version .
+			
+			?version doap:revision ?revision .
+			OPTIONAL { ?version dc:issued ?issued . }
+			OPTIONAL { ?version rdfs:label ?vname . }
+			OPTIONAL
+			{
+				?version dcs:changeset [ dcs:item ?item ] .
+				OPTIONAL { ?item a ?itemtype . }
+				OPTIONAL { ?item rdfs:label ?itemlabel . }
+			}
+		}
+		";
+
+		my $query    = RDF::Query->new($sparql);
+		my $results  = $query->execute($model);
+		while (my $row = $results->next)
+		{
+			my $p = $project;
+			my $v = $row->{'version'}->as_ntriples;
+			
+			$projects->{$p}->{'v'}->{$v}->{'revision'} = $row->{'revision'}->literal_value
+				if UNIVERSAL::isa($row->{'revision'}, 'RDF::Trine::Node::Literal');
+			$projects->{$p}->{'v'}->{$v}->{'issued'} = $row->{'issued'}->literal_value
+				if UNIVERSAL::isa($row->{'issued'}, 'RDF::Trine::Node::Literal');
+			$projects->{$p}->{'v'}->{$v}->{'name'} = $row->{'vname'}->literal_value
+				if UNIVERSAL::isa($row->{'vname'}, 'RDF::Trine::Node::Literal');
+			
+			if (UNIVERSAL::isa($row->{'item'}, 'RDF::Trine::Node'))
+			{
+				my $c = $row->{'item'}->as_ntriples;
+				$projects->{$p}->{'v'}->{$v}->{'c'}->{$c}->{'label'} = $row->{'itemlabel'}->literal_value
+					if UNIVERSAL::isa($row->{'itemlabel'}, 'RDF::Trine::Node::Literal');
+				$projects->{$p}->{'v'}->{$v}->{'c'}->{$c}->{'type'} = $row->{'itemtype'}->uri
+					if UNIVERSAL::isa($row->{'itemtype'}, 'RDF::Trine::Node::Resource')
+					and $row->{'itemtype'}->uri ne 'http://ontologi.es/doap-changeset#Change';
+			}
+		}
+
+		foreach my $version (sort { $a->{'revision'} cmp $b->{'revision'} } values %{$projects->{$project}->{'v'}})
+		{
+			print OUT $version->{'revision'};
+			print OUT sprintf(' [%s]', $version->{'issued'})
+				if $version->{'issued'};
+			print OUT sprintf(' # %s', $version->{'name'})
+				if $version->{'name'};
+			print OUT "\n";
+			foreach my $change (values %{$version->{'c'}})
+			{
+				my $sigil = '';
+				if (defined $change->{'type'}
+				and $change->{'type'} =~ m!doap.changeset.(.+)$!)
+				{
+					$sigil = '('.$1.') ';
+				}
+				print OUT sprintf(" - %s%s\n", $sigil, $change->{'label'});
+			}
+			print OUT "\n";
+		}
+		
+	}
+	close OUT;
+}
+
+sub write_doap_changes_xml
+{
+	my $self = shift;
+	my $in   = shift || "Changes.ttl";
+	my $out  = shift || "Changes.xml";
+	my $fmt  = shift || "turtle";
+	
+	my $r = system("rapper -q -i $fmt -o rdfxml-abbrev $in >$out");
+	warn "Error running 'rapper'\n" if $r;
+}
+
+1;
\ No newline at end of file
diff --git a/lib/Module/Install/DOAPChangeSets.pm b/lib/Module/Install/DOAPChangeSets.pm
new file mode 100644
index 0000000..8c79734
--- /dev/null
+++ b/lib/Module/Install/DOAPChangeSets.pm
@@ -0,0 +1,81 @@
+package Module::Install::DOAPChangeSets;
+
+use strict;
+use 5.008;
+use Module::Install::Base ();
+
+use vars qw{$VERSION @ISA};
+BEGIN {
+        $VERSION = '0.91';
+        @ISA     = 'Module::Install::Base';
+}
+
+sub write_doap_changes {
+	my $self = shift;
+	$self->admin->write_doap_changes(@_) if $self->is_admin;
+}
+
+sub write_doap_changes_xml {
+	my $self = shift;
+	$self->admin->write_doap_changes_xml(@_) if $self->is_admin;
+}
+
+1;
+
+__END__
+=head1 NAME
+
+Module::Install::DOAPChangeSets - Write your distribution change log in RDF
+
+=head1 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";
+
+=head1 WHY?
+
+Why not?
+
+=head1 BUGS
+
+Please report any bugs to L<http://rt.cpan.org/>.
+
+=head1 SEE ALSO
+
+L<Module::Install>.
+
+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
diff --git a/t/00sig.t b/t/00sig.t
new file mode 100644
index 0000000..d899e4c
--- /dev/null
+++ b/t/00sig.t
@@ -0,0 +1,4 @@
+use lib 'inc';
+use Test::More tests => 1;
+use Test::Signature;
+signature_ok();
diff --git a/t/01basic.t b/t/01basic.t
new file mode 100644
index 0000000..5448558
--- /dev/null
+++ b/t/01basic.t
@@ -0,0 +1,3 @@
+use Test::More tests => 2;
+BEGIN { use_ok('Module::Install::DOAPChangeSets') };
+BEGIN { use_ok('Module::Install::Admin::DOAPChangeSets') };

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