Description of problem: It makes doing a yum update a little bit easier if I can say something like: yum --releasever=11 update and not have to manually tweak repo files or alternatively fetching a copy of fedora-release and trying to install that first. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Upstream this is easy to do, in code, now. And also upstream it's possible to have cachedir be releasever specific. The biggest problem is getting something from the command line into yum before releasever is used (as a plugin you can't do it atm. because releasever is used before plugin arguments are parsed). In theory we can add it to core, but it seems like a pretty small edge case to add a core option for.
I think having cachedir be able to use $releasever/$basearch takes care of this problem. for example: cachedir=/var/cache/yum/$basearch/$releasever I've made this the default in the yum.conf in rawhide/f12.