extras-buildsys/utils extras-repomanage.py, NONE, 1.1 extras-repobuild.py, 1.24, 1.25

Ville Skyttä ville.skytta at iki.fi
Sun Sep 17 20:05:55 UTC 2006


On Sun, 2006-09-17 at 12:44 -0700, Michael Schwendt wrote:

> -def do_repo_stuff(repodir, keep=2, nomanage=None):
> +def do_repo_stuff(repodir):
>      compspath = os.path.join(repodir, compsname)
> -    rpdata = os.path.join(repodir, 'repodata')
> -    debugprint('removing tree %s' % rpdata)
>  
> -    if os.path.exists(rpdata) and not DEBUG:
> -        shutil.rmtree(rpdata)
> +	# Why remove the repodata dir? Isn't that entirely createrepo's work?
> +    #rpdata = os.path.join(repodir, 'repodata')
> +    #debugprint('removing tree %s' % rpdata)
> +    #if os.path.exists(rpdata) and not DEBUG:
> +    #    shutil.rmtree(rpdata)

I think the repodata dir is completely removed because of
https://devel.linux.duke.edu/bugzilla/show_bug.cgi?id=595 -- createrepo
runs may blow up because it doesn't like the repoview files being
around.  It should be fixed in createrepo >= 0.4.6, haven't tested that
though.




More information about the fedora-extras-list mailing list