diff mbox series

[yocto-autobuilder-helper] auh-config: skip changelog in commit message for noisy recipes

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

Commit Message

Daniel Turull Oct. 20, 2026, 9:09 a.m. UTC
From: Daniel Turull <daniel.turull@ericsson.com>

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.

Assisted-by: kiro:claude-opus-5.5
Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
---
 scripts/auh-config/upgrade-helper.conf | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Alexander Kanavin Oct. 21, 2026, 10:39 a.m. UTC | #1
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
Daniel Turull Oct. 21, 2026, 10:48 a.m. UTC | #2
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
Alexander Kanavin Oct. 21, 2026, 11:03 a.m. UTC | #3
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
Richard Purdie Oct. 21, 2026, 11:06 a.m. UTC | #4
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
Daniel Turull Oct. 21, 2026, 11:46 a.m. UTC | #5
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 mbox series

Patch

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