Bug 1077

Summary: take UpdateInfo from the RPM changelogs by default
Product: Sisyphus Reporter: imz <vanyaz>
Component: apt-utilsAssignee: Dmitry V. Levin <ldv>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P4 CC: at, avm, inger, mike, sbolshakov
Version: unstable   
Hardware: all   
OS: Linux   

Description imz 2002-07-12 13:51:21 MSD
Then users will be able to see the changes introduced to the upgraded packages by running \'apt-get --summary ...\' without downloading the pkgs. This will not be perfect (because they won\'t be able to see the whole piece of the chnagelog after the last installed version, only a fixed number of entries), but this will be OK as the default behavior (now the UpdateInfo field remains empty).

In most cases (like indexing the current Sisyphus) the last change (rpm --lastchange) should be taken, but there should also be a possibility to specify how many entries to include  (which release to start with; this can be used for including UpdateInfo on CDs with updates).



I\'m not sure about the best place to implement this feature: either internaly in genpkglist program, or with an external shell command in genbasedir (not so effective at work).

To implement the advanced second part of the feature, we would require a program to extract a piece of RPM changelog (not just rpm --lastchange, but rpm --chages-since=3.2.4-alt9).

Comment 1 Michael Shigorin 2010-01-24 18:31:10 MSK
* Sun Oct 25 2009 Alexey Tourbin <at@altlinux>
- genpkglist.cc: implemented "--changelog-since seconds" option
- genbasedir: implemented --changelog-since=DATE option