[master 2/3] Remove the dnf cache directory when resetting the repo
dashea
installerbot-noreply at redhat.com
Fri Mar 27 11:40:18 UTC 2015
In reply to line 671 of pyanaconda/packaging/dnfpayload.py:
I dunno, I can see the argument against it. We're loading the metadata for a repo named "anaconda", which sets up the cache, and then changing the configuration for "anaconda". Expecting changes to the repo without changing the name to mean that it's a different repo is unusual (if I change the URL on "fedora" I'm probably just switching mirrors or something), and besides, yum didn't clean the cache either. There's a similar rmtree in yumpayload.py in _resetYum()
--
To view this comment on github, visit https://github.com/dashea/anaconda/commit/ca82bcb7747aa18af2a6e554d6e9744a05088f8c#commitcomment-10429647
More information about the anaconda-patches
mailing list