From: Daniel Turull <[email protected]> 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 <[email protected]> --- scripts/lib/devtool/upgrade.py | 2 ++ 1 file changed, 2 insertions(+) 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=''): -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#241605): https://lists.openembedded.org/g/openembedded-core/message/241605 Mute This Topic: https://lists.openembedded.org/mt/120390558/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
