[packagekit] Repo Controls
hughsient at gmail.com
Sun Oct 14 04:44:25 PDT 2007
On Sun, 2007-10-14 at 13:35 +0200, Tom Parker wrote:
> On 14/10/2007, Richard Hughes <hughsient at gmail.com> wrote:
> > "get-repo-list.py" should return:
> > repo-detail<tab>fedora-development-debuginfo<tab>Fedora Development (debug)<tab>true
> > and "repo-enable.py fedora-development-debuginfo false" should disable
> > the repo. We don't have to do anything with repo-set-data.py yet, we
> > need to think about what is allowed, and what would make sense to
> > abstract.
> For Debian/Ubuntu, this should be doable. A repo is typically defined
> as "deb http://tevp.net/debian/ stable/" (where deb can also be
> deb-src for source repositories). If we're only listing non-source
> repos, then the url and "spec" bit after it can be the "backend"
> description of the repo, and we can locate a good value for nicer
> names internally.
> OTOH, if we want to move to allow people to add repos, I'd probably
> want to let APT-users provide the whole raw string, (along with a
> "please paste here the line you were told to put into your
> sources.list") as that's what people tend to get given by makers of
> extra repositories.
I think adding repos is very backend specific and probably left to a
trivial distro tool, e.g. SetData("add", "deb http://tevp.net/debian/
More information about the PackageKit