Re: [yocto-patches] [AUH][PATCH v2 4/9] upgrade-helper.py: add changelog flag

Alexander Kanavin <[email protected]>
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <CANNYZj-1u7A9cjE6Uqyah0oaVWKBxcTe0-VLtcSzOwj=JwEV4w@mail.gmail.com>
On Mon, 27 Apr 2026 at 12:01, Alexander Kanavin via
lists.yoctoproject.org <[email protected]>
wrote:
> Can you add examples please? This implements three different
> 'strategies', all of them are doing 'guessing', so it would be really
> beneficial to see what they actually produce.
>
> It would also be super nice to have tests for this module, especially
> if people start tweaking it further. It looks like something that can
> break super easily. I know AUH has no tests (I inherited it in that
> condition), but at least this particular part could.

I still need to see examples, but come to think of, this changelog
extraction should be in devtool, at least partially. devtool can diff
the source tree between the old and new version (it creates specific
devtool specific tags for both, even when upgrading tarballs), and
then filter the difference to only files that carry information about
changes, which will eliminate most of the 'guessing'. Then it could
write that into a file somewhere in workspace, and then further filter
it to highlight CVEs or anything else that looks particularly
important. Then AUH only needs to pick up those files and incorporate
them into commit messages or emails.

Alex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.