Bug 505410

Summary: RFE: Allow overriding releasever with a specific version in addition to a package
Product: [Fedora] Fedora Reporter: Bruno Wolff III <bruno>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: ffesti, james.antill, pmatilai, tim.lauridsen
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-17 18:53:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bruno Wolff III 2009-06-11 20:03:29 UTC
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:

Comment 1 James Antill 2009-06-11 21:50:00 UTC
 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.

Comment 2 seth vidal 2009-09-17 18:53:00 UTC
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.