cpan2doap(1p)

cpan2doap1p

Generate doap data from a cpan distribution's root directory

Synposis

cpan2doap [options]

Overview

The cpan2doap command generates DOAP data in either RDF/XML or Turtle serialization from the 'META.json' and 'Changes' files often found in a CPAN distribution's root directory.

Options

--meta-file=F, -m F

Input file name conforming to CPAN::Meta::Spec. Defaults to 'META.json'.

--changes-file=F, -c F

Input file name conforming to CPAN::Changes::Spec. Defaults to 'Changes'.

--output-file=F, -o F

File name for output. Defaults to 'doap.rdf'.

--output-format=X

Output format. One of 'xml', 'ttl' or 'auto'.

--help, --usage, -h

Shows help.

--version, -V

Show version information.

Examples

For many distributions, accepting the defaults is adequate:

        cpan2doap

For older distributions which use 'META.yml' instead of 'META.json':

        cpan2doap -m META.yml

To output data in Turtle format (less verbose than RDF/XML):

        cpan2doap -o doap.ttl

Disclaimer of warranties

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Releases

6 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8–10
  2. 11
  3. 12
  4. 13

Bugs

Please report any bugs to <http://rt.cpan.org/Dist/Display.html?Queue=RDF-DOAP-Lite>.

Author

Toby Inkster <[email protected]>.

From librdf-doap-lite-perl 0.002-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.