[Yum-devel] [PATCH] Don't create dirs. in cwd, when repo.base_persistdir isn't set.

seth vidal skvidal at fedoraproject.org
Wed Apr 6 20:03:08 UTC 2011


On Wed, 2011-04-06 at 15:54 -0400, James Antill wrote:
> On Wed, 2011-04-06 at 15:36 -0400, seth vidal wrote:
> 
> > grumble.
> > 
> > How about we just call the repo 'bad' if it lacks a base_persistdir and
> > drop it on the floor.
> > 
> > make the random code fix it?
> 
>  I'm not 100% against that, but given that it's only used for cakeys
> atm. ... and almost nothing is using those, yet ... it seemed nicer to
> just ignore it. And if we do that we'll need to add conflicts with other
> packages.
>  Also I'm pretty sure that repoclosure, repodiff and verifytree all need
> to be fixed. Although that might argue more for "die quickly and
> loudly".

exactly-  and I thought I made sure add_enable_repo was doing the right
thing.

worth checking, though.
-sv




More information about the Yum-devel mailing list