From: Daniel Turull Date: Wed, 22 Jul 2026 07:31:37 +0000 (+0200) Subject: devtool: recognize perldelta.pod as a changelog file X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=041bb815fc4e55aa8b226a629c5c45d28216bfeb;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git devtool: recognize perldelta.pod as a changelog file 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 Signed-off-by: Richard Purdie --- diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py index 74adb29402..13d51bf952 100644 --- a/scripts/lib/devtool/upgrade.py +++ b/scripts/lib/devtool/upgrade.py @@ -43,6 +43,7 @@ logger = logging.getLogger('devtool') # 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', @@ -51,6 +52,7 @@ _CHANGELOG_BASENAMES = { 'releasenotes.md', 'releasenotes.rst', 'releases.md', 'whatsnew.txt', + 'perldelta.pod', } def _run(cmd, cwd=''):