| Message ID | 20261020090917.3132154-1-daniel.turull@ericsson.com |
|---|---|
| State | New |
| Headers | show |
| Series | [yocto-autobuilder-helper] auh-config: skip changelog in commit message for noisy recipes | expand |
On Tue, 20 Oct 2026 at 11:09, <daniel.turull@ericsson.com> 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
On Wed, 2026-10-21 at 12:39 +0200, Alexander Kanavin wrote: > On Tue, 20 Oct 2026 at 11:09, <daniel.turull@ericsson.com> 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. > 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 > Alex
On Wed, 21 Oct 2026 at 12:48, Daniel Turull <daniel.turull@ericsson.com> wrote: > 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
On Wed, 2026-10-21 at 13:03 +0200, Alexander Kanavin via lists.yoctoproject.org wrote: > On Wed, 21 Oct 2026 at 12:48, Daniel Turull > <daniel.turull@ericsson.com> wrote: > > 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. 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
On Wed, 2026-10-21 at 12:06 +0100, Richard Purdie wrote: > On Wed, 2026-10-21 at 13:03 +0200, Alexander Kanavin via > lists.yoctoproject.org wrote: > > On Wed, 21 Oct 2026 at 12:48, Daniel Turull > > <daniel.turull@ericsson.com> wrote: > > > 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. > > 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 > Cheers, > > Richard
diff --git a/scripts/auh-config/upgrade-helper.conf b/scripts/auh-config/upgrade-helper.conf index d7c6b1d..3a3449d 100644 --- a/scripts/auh-config/upgrade-helper.conf +++ b/scripts/auh-config/upgrade-helper.conf @@ -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