Bug 457872 - yum check-update --changelog does not print changelog entries
Summary: yum check-update --changelog does not print changelog entries
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 9
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-05 05:01 UTC by Bernie Innocenti
Modified: 2014-01-21 23:03 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-21 12:19:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bernie Innocenti 2008-08-05 05:01:41 UTC
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".

Comment 1 James Antill 2008-08-05 14:57:40 UTC
 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.

Comment 2 Jan Hutař 2008-09-10 09:16:18 UTC
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

Comment 3 Bernie Innocenti 2008-12-21 12:19:20 UTC
(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.


Note You need to log in before you can comment on or make changes to this bug.