Write your distribution change log in rdf
This package allows you to write your Changes file in Turtle or \s-1RDF/XML\s0 and autogenerate a human-readable text file.
To do this, create an \s-1RDF\s0 file called \*(L"meta/changes.ttl\*(R" (or something like that) and describe your distribution's changes in \s-1RDF\s0 using the Dublin Core, \s-1DOAP\s0, and \s-1DOAP\s0 Change Sets vocabularies. Then in your Makefile.PL, include:
write_doap_changes "meta/changes.ttl", "Changes", "turtle";
This line will read your data from the file named as the first argument, parse it using either Turtle or \s-1RDFXML\s0 parsers (the third argument), and output a human-readable changelog to the file named as the second argument.
The defaults are \*(L"meta/changes.ttl\*(R", \*(L"Changes\*(R", \*(L"turtle\*(R", 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 "meta/changes.ttl", "Changes.xml", "turtle";
Module::Install::RDF reads all the \s-1RDF\s0 it can find in 'meta'. If you invoke Module::Install::RDF before invoking Module::Install::DOAPChangeSets, then this module will use Module::Install::RDF's copy of the data.
Why not?
Please report any bugs to <http://rt.cpan.org/>.
Module::Install, Module::Install::DOAPChangeSets::Format , Module::Install::RDF.
<http://www.perlrdf.org/>.
Toby Inkster <[email protected]>.
Copyright (C) 2010-2011 by Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.