auh-config: skip changelog in commit message for noisy recipes
PATCH 1/1 auh-config: skip changelog in commit message for noisy recipes
From: Daniel Turull <[email protected]>
These recipes produce changelogs that are badly formed for a commit
message: whole release notes documents (mesa, gstreamer, cmake, python3), raw git log dumps (u-boot, openssh, acpica, freetype, vulkan-validation-layers, parted) or markup banners (expat).
The changelog is still attached to the AUH email.
Requires the changelog_skip_recipes option in auto-upgrade-helper.
--- scripts/auh-config/upgrade-helper.conf | 4 ++++ 1 file changed, 4 insertions(+)
scripts/auh-config/upgrade-helper.conf +4 -0
@@ -34,3 +34,7 @@ publish_work_url=https://valkyrie.yocto.io/pub/auh commit_revert_policy=all retry_any_version_recipes=vulkan-samples sbom-cve-check-update-cvelist-native sbom-cve-check-update-nvd-native + +# changelog only attached to the email, not added to the commit message +changelog_skip_recipes=mesa* gstreamer1.0* gst-* cmake* python3 u-boot* + openssh acpica freetype vulkan-validation-layers parted expat
Quoted 4 lines · On Tue, 20 Oct 2026 at 11:09, <[email protected]> wrote:
These recipes produce changelogs that are badly formed for a commit
message: whole release notes documents (mesa, gstreamer, cmake, python3), raw git log dumps (u-boot, openssh, acpica, freetype, vulkan-validation-layers, parted) or markup banners (expat).
This creates an additional maintenance burden. Someone has to manage this list, adding and removing entries.
I'd rather figure out a way to detect 'badly formed' changelogs programmatically in devtool.
Alex
Quoted 8 lines · Alexander Kanavin
Quoted 5 lines · On Tue, 20 Oct 2026 at 11:09, <[email protected]> wrote:
These recipes produce changelogs that are badly formed for a commit
message: whole release notes documents (mesa, gstreamer, cmake, python3), raw git log dumps (u-boot, openssh, acpica, freetype, vulkan-validation-layers, parted) or markup banners (expat).
Quoted 4 lines
This creates an additional maintenance burden. Someone has to manage this list, adding and removing entries.
I'd rather figure out a way to detect 'badly formed' changelogs programmatically in devtool.
Ok, I wanted to avoid extra logic and keep it simpler. How one detects programmatically badly formed changelogs? but I see your point.
I just followed the same way was as blacklist is done. It is also manually maintained.
I see it as low risk. Worst case the components in the list needs do not get the changelog automatically in the commit message but the information is still in the email, so the submitter can always added it.
Then we can identify which recipes needs more attention to cover the corner cases.
Best regards,
Daniel
Quoted 1 line
Alex
Quoted 6 lines · Daniel Turull
Ok, I wanted to avoid extra logic and keep it simpler. How one detects programmatically badly formed changelogs? but I see your point.
I just followed the same way was as blacklist is done. It is also manually maintained.
Blacklist hasn't changed in years (we should rename it by the way to something that does not have 'black' in it), and is superseded by RECIPE_NO_UPDATE_REASON variable in recipes. This list is likely to be more fluid.
I think a better approach is to put a hint variable for devtool directly into recipes, as this is a devtool upgrade setting really, not an AUH setting. Devtool would indicate to AUH via json that the changelog it produced is likely 'badly formed', and then AUH can handle that further. Then recipe maintainers can handle appropriate settings directly through recipe patches to oe-core.
Alex
Quoted 17 lines · Alexander Kanavin via lists.yoctoproject.org
Quoted 8 lines · Daniel Turull
Ok, I wanted to avoid extra logic and keep it simpler. How one detects
programmatically badly formed changelogs? but I see your point.I just followed the same way was as blacklist is done. It is also manually
maintained.Blacklist hasn't changed in years (we should rename it by the way to something that does not have 'black' in it), and is superseded by
RECIPE_NO_UPDATE_REASONvariable in recipes. This list is likely to be more fluid.
Quoted 6 lines
I think a better approach is to put a hint variable for devtool directly into recipes, as this is a devtool upgrade setting really, not an AUH setting. Devtool would indicate to AUH via json that the changelog it produced is likely 'badly formed', and then AUH can handle that further. Then recipe maintainers can handle appropriate settings directly through recipe patches to oe-core.
Even just setting the list in a variable set in maintainers.inc might be a good compromise...
Will make it visible and updatable to anyone changing OE-Core and customisable from other layers too.
Cheers,
Richard
Quoted 26 lines · Richard Purdie
Quoted 17 lines · Alexander Kanavin via lists.yoctoproject.org
Quoted 8 lines · Daniel Turull
Ok, I wanted to avoid extra logic and keep it simpler. How one detects
programmatically badly formed changelogs? but I see your point.I just followed the same way was as blacklist is done. It is also manually
maintained.Blacklist hasn't changed in years (we should rename it by the way to something that does not have 'black' in it), and is superseded by
RECIPE_NO_UPDATE_REASONvariable in recipes. This list is likely to be more fluid.Quoted 6 lines
I think a better approach is to put a hint variable for devtool directly into recipes, as this is a devtool upgrade setting really, not an AUH setting. Devtool would indicate to AUH via json that the changelog it produced is likely 'badly formed', and then AUH can handle that further. Then recipe maintainers can handle appropriate settings directly through recipe patches to oe-core.
Quoted 6 lines
Even just setting the list in a variable set in maintainers.inc might be a good compromise...
Will make it visible and updatable to anyone changing OE-Core and customisable from other layers too.
I can work with that.
Instead of the yocto-builder-helper to have it as variable in maintainers.inc that then AUH reads it? or should we just not produce the changelog for the selected recipes? that will be even simpler.
I'll target oe-core then with a new patch
Daniel
Quoted 3 lines
Cheers,
Richard