Scroll to navigation

Debian::LicenseReconcile::Filter::ChangeLog(3pm) User Contributed Perl Documentation Debian::LicenseReconcile::Filter::ChangeLog(3pm)

NAME

Debian::LicenseReconcile::Filter::ChangeLog - parses changelog

VERSION

Version 0.16

SYNOPSIS

    use Debian::LicenseReconcile::Filter::ChangeLog;

    my $filter = Debian::LicenseReconcile::Filter::ChangeLog->new(
        directory=>'.',
        changelog=>$CHANGELOG,
    );
    my @info = $filter->get_info();

SUBROUTINES/METHODS

get_info

Returns a list of hash references describing copyright and license information that should be checked against the copyright target. The results returned from this filter consist of blocks whose copyright holders and years are taken from the changelog. One block is generated for every file with unassigned copyright below the debian directory. The license string is taken from the license field of the filter config but defaults to 'GPL-2+'.

Also the code will look for changelog lines of the form:

    Email change: Nicholas Bamber -> periapt@debian.org

The purpose of this is that if a maintainer's email address has changed over the course of the history of the package only the email address specified in that directive will be used.

AUTHOR

Nicholas Bamber, "<nicholas at periapt.co.uk>"

LICENSE AND COPYRIGHT

This file draws heavily upon the DhMakePerl::Command::Packaging module. Inspection of the history of that file suggests that appropriate copyright declaration is:
Copyright (C) 2007-2010 Damyan Ivanov <dmn@debian.org>
Copyright (C) 2011-2012, 2015, Nicholas Bamber <nicholas@periapt.co.uk>

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

2018-11-04 perl v5.28.0