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 different basepaths per package and yum will honor it. It's something we want to do for generating metarepositories without actually needing a complete copy of all the files locally. So I could say something like: mergerepo url://to/repo1/repodata url://to/repo2/repodata and it would generate new metadata combining both of those with the original urls to the packages included. > Also saying it's an attribute of a package isn't really correct either, > it's more an attribute of a URL (as there may be more than one URL for a > package). But I still think it'll be easier for everyone if we, at least > iniitally, just put the explicit cost on a repo. > Certainly if someone said to me something like "I've put a small cost > on repo X, but package FOO within it points to a different URL" ... I'd > be inclined to reply "Well don't do that then". we no one pkg with a repository can have more than one url. It can use the relative base path of the repository's baseurl and then that lets it use the mirrorlists but otherwise it doesn't have multiple urls itself. -sv _______________________________________________ Yum-devel mailing list [email protected] https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
