Re: [Yum-devel] repo priorities

2007-09-07 Thread Tim Lauridsen
seth vidal wrote: On Thu, 2007-09-06 at 15:37 -0400, seth vidal wrote: On Thu, 2007-09-06 at 08:26 +0200, Tim Lauridsen wrote: +1, for inclusion in core. something like cost=5 in the repo file. the default value for cost should be '10' or something like that. So

Re: [Yum-devel] repo priorities

2007-09-07 Thread Tim Lauridsen
seth vidal wrote: On Thu, 2007-09-06 at 08:26 +0200, Tim Lauridsen wrote: +1, for inclusion in core. something like cost=5 in the repo file. the default value for cost should be '10' or something like that. So here's an interesting twist. cost is really an attribute of a

Re: [Yum-devel] repo priorities

2007-09-07 Thread James Antill
On Fri, 2007-09-07 at 09:57 -0400, seth vidal wrote: On Fri, 2007-09-07 at 09:55 -0400, James Antill wrote: So do you know of any repos that are setup this way? Can you do this easily with createrepo or something like it? it is possible to form repodata like this - createrepo cannot

Re: [Yum-devel] repo priorities

2007-09-07 Thread James Antill
On Thu, 2007-09-06 at 15:37 -0400, seth vidal wrote: So here's an interesting twist. cost is really an attribute of a package. Since there's nothing saying a package in repodata has to be at the same url as the repo. So do you know of any repos that are setup this way? Can you do this

Re: [Yum-devel] repo priorities

2007-09-07 Thread seth vidal
On Fri, 2007-09-07 at 09:55 -0400, James Antill wrote: So do you know of any repos that are setup this way? Can you do this easily with createrepo or something like it? it is possible to form repodata like this - createrepo cannot currently do it but you can form correct repodata with

Re: [Yum-devel] Behavior on repo del

2007-09-07 Thread Jeremy Katz
On Fri, 2007-09-07 at 11:39 -0400, seth vidal wrote: On Fri, 2007-09-07 at 11:33 -0400, Jeremy Katz wrote: When we switched around how the repos worked in the YumBase object, the handling of delete wasn't adjusted accordingly. We should definitely be resetting to a clean RepoStorage()

Re: [Yum-devel] Behavior on repo del

2007-09-07 Thread seth vidal
On Fri, 2007-09-07 at 11:33 -0400, Jeremy Katz wrote: When we switched around how the repos worked in the YumBase object, the handling of delete wasn't adjusted accordingly. We should definitely be resetting to a clean RepoStorage() object rather than setting to None. But then should we also

[Yum-devel] Behavior on repo del

2007-09-07 Thread Jeremy Katz
When we switched around how the repos worked in the YumBase object, the handling of delete wasn't adjusted accordingly. We should definitely be resetting to a clean RepoStorage() object rather than setting to None. But then should we also set it back up with the repos from the config? Patch

[Yum-devel] vyum patch

2007-09-07 Thread Nigel Kukard
Hi Seth, Attached the util-vserver patch I was talking about, please let me know what you think and I'll see what I can do to bring it in line. Regards Nigel diff -u -r yum.git/cli.py yum.git.nkukard/cli.py --- yum.git/cli.py 2007-09-07 17:45:20.0 + +++ yum.git.nkukard/cli.py