[packagekit] Adding and removing repos

Tim Lauridsen tim.lauridsen at googlemail.com
Tue Oct 30 12:45:35 PDT 2007


Richard Hughes wrote:
> Should PackageKit provide an abstract way of adding or removing a repo?
>
> What information is needed for each of the backends for a new repo
> entry? For instance yum needs:
>
> name, baseurl, mirrorlist, gpgkey, gpgcheck
>
> and possibly a few more I'm forgetting. What do the other backends need?
> Should we even try to abstract this?
>
> Richard.
>
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>   
I don't know how useful it is for a yum based distro
Most repo is added by added by installing a rpm file containing the 
.repo file and the GPG  keys or downloading a .repo file from a website 
and put it into
/etc/yum.repos.d.
I don't think it is a feature that a normal user will use and will be 
hard to make a generic dialog that fits all the backends / dists.

For yum we will need:
name
description
baseurls (1 or more urls) or mirrorlist(1 URL)
enabled
gpgcheck
gpgkey (if gpgcheck is enabled)

Tim





More information about the PackageKit mailing list