Re: [Yum-devel] repo priorities

2007-09-12 Thread Florian Festi
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 here's an interesting

Re: [Yum-devel] repo priorities

2007-09-12 Thread Florian Festi
Florian Festi wrote: with the current code this is only partially true. In most cases pkg objects are reused now. IIRC there are a few cases left where we create new pkg objects. Instead of creating some parallel data structures if would be easier and much cleaner to fix that last few places

Re: [Yum-devel] repo priorities

2007-09-10 Thread seth vidal
On Fri, 2007-09-07 at 10:19 -0400, James Antill wrote: But then it'll drop all but one of the base URLs from the upstream repo. ... this seems like a bad thing to promote. For instance say Fedora derivatives started doing it, that would be a very bad thing. I can sort of understand the

Re: [Yum-devel] repo priorities

2007-09-10 Thread James Antill
On Mon, 2007-09-10 at 10:43 -0400, seth vidal wrote: On Fri, 2007-09-07 at 10:19 -0400, James Antill wrote: Also one of the things I'd thought about for a future feature would be to do multiple range requests on different servers to download a package (I'm thinking about things like

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] repo priorities

2007-09-06 Thread Tim Lauridsen
seth vidal wrote: On Wed, 2007-09-05 at 08:27 +0200, Tim Lauridsen wrote: simple-local-repo-priority - allows you to setup a local repo that has SOME of the pkgs from another repo and know that the ones in the local (or better priority repo) will be used. This only works for nevra-exact pkgs

Re: [Yum-devel] repo priorities

2007-09-06 Thread seth vidal
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 package. Since there's nothing

Re: [Yum-devel] repo priorities

2007-09-06 Thread seth vidal
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 here's an interesting twist.

Re: [Yum-devel] repo priorities

2007-09-05 Thread seth vidal
On Wed, 2007-09-05 at 00:36 -0400, James Antill wrote: 1. I want to enable an acroread/picasa/whatever specific repo. but I _probably_ don't want that repo. feeding me their glibc update or something else outside of that specific application. we have a mechanism for that, though:

Re: [Yum-devel] repo priorities

2007-09-05 Thread seth vidal
On Wed, 2007-09-05 at 08:27 +0200, Tim Lauridsen wrote: simple-local-repo-priority - allows you to setup a local repo that has SOME of the pkgs from another repo and know that the ones in the local (or better priority repo) will be used. This only works for nevra-exact pkgs from one to