perl's changelog extraction was picking up dist/Attribute-Handlers/Changes
instead of perl's own release notes. perl bundles dozens of dual-life CPAN
modules under dist/*/{Changes,ChangeLog}, and since perl's own top-level
Changes file is not updated per-release, none of the known
_CHANGELOG_BASENAMES matched the intended file. The extraction fell back to
picking the largest diff among the bundled subcomponent changelogs, which
is unrelated to the perl core changes being upgraded.
perl's actual per-version release notes live in pod/perldelta.pod, which
is large enough to still win the "largest diff" comparison once
recognized. Add it to _CHANGELOG_BASENAMES so it is considered like any
other known changelog filename.
Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
# history.rst - python3-idna, python3-docutils
# releases.md - rust, cargo (includes CVEs)
# whatsnew.txt - libsdl2
+# perldelta.pod - perl
_CHANGELOG_BASENAMES = {
'changelog', 'changelog.md', 'changelog.rst', 'changelog.txt',
'changes', 'changes.md', 'changes.rst', 'changes.txt',
'releasenotes.md', 'releasenotes.rst',
'releases.md',
'whatsnew.txt',
+ 'perldelta.pod',
}
def _run(cmd, cwd=''):