- Package:
- apt-listchanges
- Source:
- apt-listchanges
- Submitter:
- Date:
- 2021-08-09 01:00:02 UTC
- Severity:
- wishlist
- Tags:
I think it would be great if cron-apt would run apt-listchanges on updated packages after downloading them. What do you think? I can't really think of how to best implement that, though. If you have any suggestions, but don't feel like doing it yourself, let me know and I'll take a crack at it. Bonus points if your suggested implementation is compatible with both apt-get and aptitude as the APTCOMMAND. :) - Marc
Hello I'm not really sure what you want to do. Can't you hook apt-listchanges to apt-get? I have a patch for that. Problem is that apt-get and aptitute is not command line argument compatible. Regards, // Ola
Ola Lundqvist wrote: I want the mail I get nightly from cron-apt to include the apt-listchanges output for the updated packages. The standard apt-get/apt-listchanges integration only runs apt-listchanges when I'm actually upgrading, not when the packages are just downloaded by cron-apt. Yeah, I know, I wrote the patch. :) - Marc
Hello I think it is better to patch apt in this case as it will be very difficult to modify cron-apt to do this... Doh! And my memory for names is very bad... :( Is it possible to hook on aptitude? Regards, // Ola
clone #288763 -1 severity -1 wishlist reassign -1 apt-listchanges retitle -1 apt-listchanges: show changes in packages that only have been downloaded submitter -1 mh+debian-bugs@zugschlus.de clone #288763 -2 severity -2 wishlist reassign -2 apt retitle -2 apt-get: call apt-listchanges on download-only submitter -2 mh+debian-bugs@zugschlus.de clone #288763 -3 severity -3 wishlist reassign -3 apt retitle -3 aptitude: call apt-listchanges on download-only submitter -3 mh+debian-bugs@zugschlus.de thanks I agree. I think it would be a good idea to have this handled by apt-listchanges, apt-get or aptitude. For apt-listchanges, this could be implemented by having a command line option that lists all changes for all packages that can be found in /var/cache/apt/archives. For apt-get and aptitude, I suspect that this would need to be configuratble somewhere in the apt configuration (maybe even in a library so that a single change cares for apt-get and aptitude respectively), but I do not have enough clue to judge that. The idea is to call apt-listchanges even if apt-get/aptitude were called with --download-only. I am cloning this bug to apt-listchanges, apt and aptitude. Maintainers of these packages, please feel free to close your instance of your bug if you find the fix inappopriate for your package.
Marc Haber wrote: For the record, I'm now using apticron instead of cron-apt, and it handles this quite nicely. So my interest in this bug is purely academic now. - Marc
Since this OP has found another apt cron package to serve his needs, I've tagged this bug as wontfix.