[packagekit] GetMimeTypes API addition?

Tim Lauridsen tim.lauridsen at googlemail.com
Wed Oct 1 06:45:42 PDT 2008


Richard Hughes wrote:
> Attached is a patch to add a GetMimeTypes API call. This allows us to
> give the user a nice message when they try to install a .deb file on a
> system that only supports .rpm.
> 
> I'm not going to add any client code in pkcon or gnome-packagekit just
> yet, as I want to give the backend authors a few releases to add the
> method, so installing local files doesn't just stop working.
> 
> The text I'm thinking of goes something like this:
> 
> Title: This file format is not supported
> 
> The package you have selected cannot be installed on this computer as
> this file format is not supported.
> 
> This patch is not yet in git. Feedback? Comments?
> 
> Richard.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit

Look fine to me, if you add it in 0.3.x, could we not add the dynamic 
group api parts too, it take a lot of work to keep a parallel branch in 
sync with master, it don't hurt anything. it is just new api additions 
and the old stuff works as it used to do.
We can do the UI stuff later (in 0.4.x)

Tim



More information about the PackageKit mailing list