[packagekit] Repo Controls

Justin Haygood jhaygood at reaktix.com
Sat Oct 13 17:51:11 PDT 2007



On Sun, 2007-10-14 at 01:38 +0100, Richard Hughes wrote:
> On Sat, 2007-10-13 at 20:31 -0400, Justin Haygood wrote:
> > Adding and removing a repo would be good to (especially for something
> > like using Packagekit as the backend to YMP/ One-Click-Install)
> 
> This is tricky, as repos often are not just parameters, but whole comfig
> files. What use case have you got for this?
> 

For zypp, a repo can be added via the API of a URL to the repository
(YUM - standard for online repositories, YAST - standard for CD media,
or Red Carpet - standard for enterprise products) and an "Alias" for the
repository ( a name ). The fact that the repo is a configuration file is
an implementation detail.

Currently, way to add a YUM repo via zypper:

zypper sa http://server/path/to/yum/repo/ nameofrepo




More information about the PackageKit mailing list