[Slapt-get-devel] Slapt Extras for PackageKit
Anders F Björklund
afb at algonet.se
Thu Sep 10 02:22:35 EDT 2009
Jason Woodward wrote:
>> char *slapt_get_pkg_changetime(const slapt_pkg_info_t *pkg);
> This doesn't seem to be reliable, especially for entries that have
> multiple packages for a single date. Rewinding a single line does
> not cover cases like the following:
> Mon Aug 24 23:44:38 CDT 2009
> a/kbd-1.15-i486-3.txz: Rebuilt. Fixed the default font in
> Thanks to Conraid and Dugan Chen.
> ap/vim-7.2.245-i486-1.txz: Upgraded.
> l/boost-1.38.0-i486-2.txz: Rebuilt.
> Patched wrong BOOST_NO_EXCEPTIONS define placement.
> Thanks to Steve from the GNOME SlackBuild project, and Christoph
> n/network-scripts-13.0-noarch-2.txz: Rebuilt. Correct the
> comments about
> DHCP timeout to say that it is 10 seconds. Thanks to Mark Payne.
> xap/vim-gvim-7.2.245-i486-1.txz: Upgraded.
> What is the caller expected to do with the data?
It's a work in progress... :-) Actually it would probably be the best
if the change time could also be parsed out along with the change text,
which would save having to go over the entire changelog file twice ?
Currently it would return a bogus "date" line, like " DHCP timeout",
and then fail to parse that into a proper datestring (with strptime)
which would make the date end up as "unknown" (and thus not shown)
More information about the Slapt-get-devel