Thursday, December 22, 2011

gpk-install-catalog: a gem which is somewhat hidden

Just discovered this: http://docs.fedoraproject.org/en-US/Fedora/14/html/Software_Management_Guide/ch09s03.html


Apparently PackageKit have a format for describing how to install multiple packages.

[PackageKit Catalog]

InstallPackages(fedora)=packagename1;packagename2;

This fits my usecase for AppRepo very very well. Should I discovered this earlier, I would have started coding AppRepo way back, but what made me procrastinate was the lack of easy way to tell the user's system what packages should be installed, and the browser plugin was quite flaky (still flaky today too, at least it doesn't crash as much).

Will be adding a button for download catalog in AppRepo later today.  User can open the catalog file using gpk-install-catalog. This method works better across browsers too, as users does not have to have the browser plugin installed.
Post a Comment