[packagekit] Format of link lists (e.g. Bugzilla references)

Kevin Kofler kevin.kofler at chello.at
Wed Sep 21 16:33:06 PDT 2011


I wrote:
> The PackageKit zif backend, on the other hand, produces the URL first:
> g_string_append_printf (string_bugzilla, "%s;%s;",
>                         zif_update_info_get_title (info),
>                         zif_update_info_get_url (info));
> 
> This is not noticeable with the yum backend because it just sets both the
> URL and the title to the URL.

Actually, the current yum backend does set the title, and it also passes the 
URL first:
urls[typ].append("%s;%s" % (href, title))
and that's what the GUIs expect. So it seems that it's swapped only in 
PackageKit-zif.

I filed https://bugzilla.redhat.com/show_bug.cgi?id=740414

        Kevin Kofler




More information about the PackageKit mailing list