smart errata update details

Gustavo Niemeyer gustavo at niemeyer.net
Fri Aug 8 11:01:13 PDT 2008


Hey Anders,

> I've rewritten the previous "errata flags" code,
> into "update details". This now adds a separate
> ErrataInfo object, instead of abusing the flags
> like it did before for setting the errata type.
>
> https://bugs.launchpad.net/bugs/244501 (flags)
> https://bugs.launchpad.net/bugs/253902 (info)
>
> As before, there are file parsers for yum's
> "updateinfo.xml" and urpmi's "descriptions"
> but there is no such parsable information for
> Debian or Slackware packages (missing upstream).
>
> A simple test command was added, to view it:
> smart info --errata
> Sample output attached for some random packages
> from fedora/opensuse/mandriva update channels.

As we discussed online, the basic model is looking
great.  We'll probably have to change the C implementation
to include the getErrata too, but I can take care of it.

Have you managed to include some unit tests with this code?

-- 
Gustavo Niemeyer
http://niemeyer.net



More information about the Smart mailing list