Bug 1194494
Summary: | 22 Branched installer images consider $releasever to be 'rawhide', not 22, and so install Rawhide packages | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
Component: | anaconda | Assignee: | David Shea <dshea> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | anaconda-maint-list, danofsatx, dshea, fdeutsch, g.kaviyarasu, jonathan, robatino, satellitgo, vanmeeuwen+fedora, vpodzime |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | AcceptedBlocker | ||
Fixed In Version: | anaconda-22.20.1-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-02-23 18:03:16 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1043125 |
Description
Adam Williamson
2015-02-20 00:29:29 UTC
Ok, I've figured this one out. J'accuse David Shea: https://github.com/rhinstaller/anaconda/commit/33bcc64bbb0d96c05a4059e6998495c74e6a7e13 The problem with that is this: [adamw@adam dnf (master)]$ python Python 2.7.9 (default, Feb 6 2015, 14:42:41) [GCC 5.0.0 20150205 (Red Hat 5.0.0-0.7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> version = '22' >>> version[:8].isdigit() True I think you might want something like: if len(version) > 7 and version[:8].isdigit(): or something like that. changing it to "if len(version) > 7 and version[:8].isdigit():" does work for me in a quick test - at least it 'works' to produce 22 for a 22 Branched nightly. I don't know the precise case where the check should pass and set the releasever to Rawhide, but I can at least test it like this: >>> version = '22' >>> len(version) > 7 and version[:8].isdigit() False >>> version = '20150214' >>> len(version) > 7 and version[:8].isdigit() True >>> version = '20150214 foobar' >>> len(version) > 7 and version[:8].isdigit() True >>> version = '22-Alpha' >>> len(version) > 7 and version[:8].isdigit() False Does anyone even use timestamp-based versions anymore? (In reply to David Shea from comment #3) > Does anyone even use timestamp-based versions anymore? They won't be now! Discussed at today's blocker review meeting [1]. AcceptedBlocker Beta - This bug is a clear violation of the Beta criterion: "When installing with a dedicated installer image for a specific Fedora flavor, the default package set must be the correct set for that flavor." http://meetbot.fedoraproject.org/fedora-blocker-review/2015-02-23/ I confirmed this is fixed in 02-21 nightly. |