The store on openSUSE

Frank Karlitschek karlitschek at kde.org
Sat Jan 29 20:21:06 CET 2011


On 29.01.2011, at 18:19, Duncan Mac-Vicar Prett wrote:

> I have been reading through the code in the client-services part of
> the Garage thingy, to figure out the missing pieces to implement what
> we more or less described during the AppStream meeting.
> 
> To my pleasure the client-services API is quite abstracted. Right now
> the Application and Catalog interfaces are implemented for PackageKit
> or OCS. For openSUSE the PackageKitCatalog is not needed (the
> ApplicationManager uses PK anyway to install any Application type).
> 
> For openSUSE we need a kind of hybrid: the application list should
> come from appdata.xml but the data from OCS. I guess the right
> approach would be to implement a custom catalog that takes appdata.xml
> from the zypper cache and delegates other stuff to OCSCatalog. For
> Application class, I guess the OCSApplication can be used but the
> catalog should return results for the ones present in appdata.xml
> only.
> 
> Comments?

Hi Duncan,

we discussed two basic modes during the AppStream meeting. First the mode where a lot of the metadata comes from the appdata.xml and only the community data like ratings and comments from ocs. And the second more called "discuvery mode" where all the metadata comes from ocs and you search on ocs to find applications.

The first mode works well if you have basically only one central repository.
The second mode makes it possible to also find application from outside the central repository. I prefer the second mode because it makes it possible to find and install applications from sources like for example OBS. 

So the architecture would be to have the appdata.xml on the server and make the data available via ocs. 
I think it would be cool for opensuse to implement an OCS server for OBS so you can find and install applications from all different repositories. I think the current client already works like this. But I´m not sure if it handles ymp files correctly.

What do you think?

Cheers
Frank



> 
> -- 
> Duncan Mac-Vicar P.
> _______________________________________________
> Kde-bretzn mailing list
> Kde-bretzn at kde.org
> https://mail.kde.org/mailman/listinfo/kde-bretzn


--
Frank Karlitschek
karlitschek at kde.org






More information about the Kde-bretzn mailing list