[packagekit] Convert the UpdateDetail::url field into UpdateDetail::{vendor_url, bugzilla_url, cve_url}

Richard Hughes hughsient at gmail.com
Fri Jan 4 07:46:55 PST 2008


On Fri, 2008-01-04 at 10:21 -0500, Matthias Clasen wrote:
> On Jan 4, 2008 9:55 AM, Richard Hughes <hughsient at gmail.com> wrote:
> > On Fri, 2008-01-04 at 10:43 +0100, Tim Lauridsen wrote:
> > > It is using the following format for vendor_url,bugzilla_url,cve_url:
> > > url1;text1;url2;text2;...;urlN;textN
> >
> > Looks great to me, thanks for the quick turnaround.
> >
> > > and 'none' if no urls exists.
> >
> > Do we want none or just a blank string? I would say a blank string makes
> > most sense as it's what we do with the other fields.
> 
> The code in pk-update-viewer.c will handle both; of course, if the
> backend returned "", we could remove the special-case code for "none".

Yes, agreed. I've made the trivial change to the daemon and client code.

Richard.





More information about the PackageKit mailing list