On 9/14/24 5:25 PM, Michael Hamilton wrote:
I have a python script that can summarise RPM change-logs for anything install by zypper in the past N days.
The idea being to work around the limitation that the Tumbleweed release announcements only lists the DVD changes, but the release almost always contains more than that.
I recently gave it a spring-clean for python3, and have now shared it as a gist in case it may be of use to others:
https://gist.github.com/digitaltrails/094cd5a5d08670560c8bb199041321a6
Usage is as follows:
Whoa! Works quite nicely, but the number of lines of output was unexpectedly large. I captured it to check what 4 days worth of Tumbleweed changelogs amounted to: $ wc -l < tmp/zypyscroll.txt 5490 No wonder it looked like things were streaming by fast. Not a bad thing at all, just means you need to either pipe to a file or pager (or just use the scrollbar) to step through the output. I'd always just used "rpm -q -a --queryformat ...", so it's nice to have the "..." already fixed for changelogs. Thanks! -- David C. Rankin, J.D.,P.E.