On Sat, 2006-11-11 at 18:00 +0100, Ralf Ertzinger wrote: > Hi. > > I think the current usage of configuration files and directories > for yum has somewhat gotten out of hand. > > yum-3.0.1-1 uses one config file (yum.conf), and two configuration > directories (yum.repos.d and yum, which in turn just contains pluginconf.d) > under /etc. > > I propose to move all yum configuration files and directories to > /etc/yum (move /etc/yum.conf to /etc/yum/yum.conf, move /etc/yum.repos.d > to /etc/yum/repos.d). This could easily be done by a %post scriptlet > during an RPM transaction. Symlinks ought to be set (yum.conf -> yum/yum.conf > and yum.repos.d -> yum/repos.d) to keep other packages working which > drop files in yum.repos.d. And there are tons of documents which reference > /etc/yum.conf. > > Maybe yum ought to show warnings (after FC7, maybe) when it detects > that /etc/yum.conf or /etc/yum.repos.d still exist (even as symlinks) > and advise the user that usage of these files is deprecated. > > If there is interest in this I'll produce patches for the spec file > (to migrate the config) and for yum (to find files in the new locations > and to show deprecation warnings) I'm game for moving all of this into the better location. My only request is that we make sure it's done backward compat if there is any plans on it making it into 3.0.X. thanks! -sv -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list