We want to write a cron job that sends daily reports of what updates are available for monitored servers, along with their changelog entries. "yum check-update --changelog" does not seem to print any changelog entries. "yum update --changelog" *does* print the logs correctly, but then asks a question interactively, which makes it inconvenient in a batch. Instead, "yum changelog all updates" does too much: it prints the full changelogs and there doesn't seem to be a date option to say "gimme just the *new* changelog entries relative to what I have installed".
Note that you can do: "echo n | yum update --changelog" I'll look at adding some features to the changelog plugin to make this easier though.
Hello, does comment #1 helped you to do the cron job? If you wish, you can definitely change this to the request for enhancement with some description of what do you want. You can also discuss on yum upstream mailing list: http://linux.duke.edu/projects/yum/ https://lists.linux.duke.edu/mailman/listinfo/yum
(In reply to comment #2) > Hello, > does comment #1 helped you to do the cron job? If you wish, you can definitely > change this to the request for enhancement with some description of what do you > want. You can also discuss on yum upstream mailing list: > > http://linux.duke.edu/projects/yum/ > https://lists.linux.duke.edu/mailman/listinfo/yum Yes, I used the trick suggested in comment #1 to get the job done. Closing the bug, although "yum check-update --changelog" would make a useful feature in general.