Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kentnl/cpan-changes-dependencies-details

Create CPAN::Changes style file only containing dependency change information
https://github.com/kentnl/cpan-changes-dependencies-details

perl

Last synced: 4 days ago
JSON representation

Create CPAN::Changes style file only containing dependency change information

Awesome Lists containing this project

README

        

# NAME

CPAN::Changes::Dependencies::Details - Create CPAN::Changes style file only containing dependency change information

# VERSION

version 0.001008

# SYNOPSIS

use CPAN::Changes::Dependencies::Details;
my $details = CPAN::Changes::Dependencies::Details->new(
preamble => "Some message",
change_types => [qw( Added Changed Removed )],
phases => [qw( build configure runtime test )],
types => [qw( requires recommends )],
);

$changes->add_release({
version => '0.002',
date => '2009-07-06',
old_prereqs => CPAN::Meta->load_file('Dist-Foo-0.001/META.json')->effective_prereqs,
new_prereqs => CPAN::Meta->load_file('Dist-Foo-0.002/META.json')->effective_prereqs,
});

print $changes->serialize;

# DESCRIPTION

This module serves as a utility for producing complex change-logs in `CPAN::Changes` style,
specifically tailored to conveying the nature of dependency changes between releases.

It typically requires some mechanism external to this code to report the state of prerequisites
at given versions, where it computes their differences and produces sections detailing
the kinds of changes you have elected to itemize.

# AUTHOR

Kent Fredric

# COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Kent Fredric .

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.