Bug 1077 - take UpdateInfo from the RPM changelogs by default
Summary: take UpdateInfo from the RPM changelogs by default
Alias: None
Product: Sisyphus
Classification: Development
Component: apt-utils (show other bugs)
Version: unstable
Hardware: all Linux
: P4 enhancement
Assignee: Dmitry V. Levin
QA Contact:
Depends on:
Reported: 2002-07-12 13:51 MSD by imz
Modified: 2010-01-24 18:31 MSK (History)
5 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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