Provided by: license-reconcile_0.17_all
Debian::LicenseReconcile::Filter::ChangeLog - parses changelog
use Debian::LicenseReconcile::Filter::ChangeLog; my $filter = Debian::LicenseReconcile::Filter::ChangeLog->new( directory=>'.', changelog=>$CHANGELOG, ); my @info = $filter->get_info();
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 -> firstname.lastname@example.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.
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 <email@example.com> Copyright (C) 2011-2012, 2015, Nicholas Bamber <firstname.lastname@example.org> 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. perl v5.28.1 2019-Debian::LicenseReconcile::Filter::ChangeLog(3pm)