Skip to content

Conversation

@lbarcziova
Copy link
Member

Tried out this with rebase, end ended up with:

* Thu Nov 13 2025 RHEL Packaging Agent <[email protected]> - 3.12.12-1
- Update to 3.12.12
Resolves: RHEL-125856

instead of the original

* Wed Nov 12 2025 RHEL Packaging Agent <[email protected]> - 3.12.12-1
- Update to 3.12.12
- Update bundled setuptools to 79.0.1
- Remove patches 00459 and 00467 (already in upstream)
Resolves: RHEL-125856

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds an important instruction to the LogAgent to ensure that generated changelog entries focus only on user-facing changes, omitting technical packaging details. The change is clear, well-placed within the existing instructions, and directly addresses the goal described in the pull request. The provided example in the description clearly illustrates the benefit of this change. The implementation is correct and I have no further suggestions for improvement.

Comment on lines +49 to +51
IMPORTANT: The changelog entry should focus on user-facing changes only. Do not mention
technical packaging details such as added/removed patches, changed BuildRequires,
or other spec file modifications that are not visible to end users.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about this. I thought changelog entries should describe what changed from packaging perspective, so exactly the technical details, not user-facing changes. For documenting user-facing changes there is erratum/Bodhi update description.

Packaging guidelines say:

Changelog entries should provide a brief summary of the changes done to the package between releases.

That's a bit vague 😅
Perhaps Miro's point is that mentioning added/removed patches is too much detail, on the other hand when using %autochangelog commit messages describing patch addition/removal would be included in the changelog anyway.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I personally tend to write short changelog entries for rebases, where it is expected to drop patches, BuildRequires etc. When backporting or doing any other bug fix, I like to write more verbose messages. But overall I prefer more verbose ones.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the changelog entry should be a user-facing change as Laura added. The packaging changes should be written in the commit messages of the commits changing these things. Changelog entry is directly readable for users, as well as the Erratum/Bodhi update descriptions.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Users can access these data using rpm -q --changelog <pkg_name>

Copy link
Collaborator

@ljavorsk ljavorsk Nov 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps Miro's point is that mentioning added/removed patches is too much detail, on the other hand when using %autochangelog commit messages describing patch addition/removal would be included in the changelog anyway.

When you want to add some message that shouldn't be in the changelog there is a way to do so described here

Copy link
Member

@nforro nforro Nov 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the changelog entry should be a user-facing change as Laura added.

What kind of user are we talking about? I know Red Hat customers read RPM changelogs, but I always assumed those are not end users, but certified experts/admins who are interested in technical details.

What should be in the changelog then? Only summaries like Rebase to VERSION or Backport fix for CVE-X/BUG_Y?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know Red Hat customers read RPM changelogs, but I always assumed those are not end users, but certified experts/admins who are interested in technical details.

Yes, they are, but still, the information about the Patch being upstreamed has zero value for them.

What should be in the changelog then? Only summaries like Rebase to VERSION or Backport fix for CVE-X/BUG_Y

Yes, exactly. Or if some library gets moved to a different subpackage or gets added/removed (this could actually hit them if they use it)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nforro do you feel like changing the prompt anyhow, or are you good with going with this?

@lbarcziova lbarcziova merged commit 27f172a into packit:main Nov 14, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants