[packagekit] Repo Controls

Justin Haygood jhaygood at reaktix.com
Sat Oct 13 17:31:03 PDT 2007


On Sun, 2007-10-14 at 01:17 +0100, Richard Hughes wrote:
> On Sat, 2007-10-13 at 17:12 -0700, Richard Hughes wrote:
> > +          <row>
> > +            <entry>Get Repo List</entry>
> > +            <entry><literal>get-repo-list.*</literal></entry>
> > +          </row>
> > +          <row>
> > +            <entry>Repo Enable</entry>
> > +            <entry><literal>repo-enable.*</literal></entry>
> > +          </row>
> > +          <row>
> > +            <entry>Repo Set Data</entry>
> > +            <entry><literal>repo-set-data.*</literal></entry>
> > +          </row>
> 
> Backend dudes: do you think this will be okay? For yum I'm guessing it
> would be quite easy;
> 
> "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.
> 
> There's no rush, this isn't a blocker for 0.1.0 but might be good to
> think about if you have a spare 10 minutes.

Adding and removing a repo would be good to (especially for something
like using Packagekit as the backend to YMP/ One-Click-Install)




More information about the PackageKit mailing list