[Yum-devel] yum-utils: Make yum-builddep use OptionParser

seth vidal skvidal at linux.duke.edu
Thu Mar 16 16:01:30 UTC 2006


On Wed, 2006-03-15 at 23:51 -0800, Panu Matilainen wrote:
> On Wed, 15 Mar 2006, Paul Nasrat wrote:
> 
> > A pretty simple patch to make yum-builddep support a repoid argument.
> > It'll also now give usage if you pass it noargs.
> >
> > Views?
> 
> Go ahead and commit :)
> 
> But this reminds me... it was briefly discussed at some point IIRC but 
> can't find it now: I think yum-builddep and yumdownloader (in --source 
> mode) would benefit a lot if yum had a concept of "source repositories" so 
> they could be automatically enabled for src.rpm operations (and ignored 
> for normal operation) without fiddling around with miles-long --repoid 
> list.
> 
> Haven't given it much thought but minimally I think just having an 
> additional "source = 1" setting in local repository configuration might be 
> sufficient: normal yum etc operation would simply ignore such 
> repositories, and utils such as yum-builddep and yumdownloader could be 
> taught to enable those as needed.

I don't know what I said before but I wouldn't, implicitly, object. The
only thing to remember is that there is nothing keeping someone from
mixing srpm and binary rpm repos together.

-sv





More information about the Yum-devel mailing list