[packagekit] repo list

Richard Hughes hughsient at gmail.com
Tue Mar 10 04:24:48 PDT 2009

On Tue, 2009-03-10 at 04:19 -0700, Daniel Nicoletti wrote:
> i just would like to have a nice way to set this, as currently we can only
> enable/disable them. and i think adding repos is very important.

Okay, so you want to be able to add and remove repos.

Why do you want the user to do this in the GUI? I would argue that
adding a package that adds the gpg keys (and the repo definitions) is a
better way than just adding a random URL and mirror list.

I do appreciate developers just post random URLs, but the target
audience of PackageKit isn't exactly a developer.

If you do want to add this functionality, you need to add methods:

RepoAdd(repo_id, {other stuff}) and RepoRemove(repo_id)

...rather than trying to wedge functionality into the RepoSetData

The difficult thing to define is the {other stuff} in a cross distro


More information about the PackageKit mailing list