summaryrefslogtreecommitdiffstats
path: root/installclasses
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-10-28 14:19:14 -0400
committerChris Lumens <clumens@redhat.com>2008-10-28 14:19:38 -0400
commit6ff45a75a7c64b940e35e55324e8eb30537b595e (patch)
tree10f0c637539017ea32e9e8400c947154776c2793 /installclasses
parent3dfbd17328bf9fc02e03616fd355f6f9e4277e0e (diff)
downloadanaconda-6ff45a75a7c64b940e35e55324e8eb30537b595e.tar.gz
anaconda-6ff45a75a7c64b940e35e55324e8eb30537b595e.tar.xz
anaconda-6ff45a75a7c64b940e35e55324e8eb30537b595e.zip
Make sure the productVersion given by .treeinfo exists in bugzilla (#468657).
Prerelease version of Fedora sometimes get version numbers in .treeinfo or .buildstamp like 10-Beta. However, this version does not exist in bugzilla so we get an error trying to save the bug. This could also happen in respins. So, grab a list of all the versions that are valid for the product out of bugzilla and make sure productVersion exists. If not, either use the develVersion from the installclass or just use the last one out of the the list.
Diffstat (limited to 'installclasses')
-rw-r--r--installclasses/fedora.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/installclasses/fedora.py b/installclasses/fedora.py
index e397ef99f..bf264591f 100644
--- a/installclasses/fedora.py
+++ b/installclasses/fedora.py
@@ -49,7 +49,8 @@ class InstallClass(BaseInstallClass):
(N_("Software Development"), ["development-libs", "development-tools", "gnome-software-development", "x-software-development"],),
(N_("Web Server"), ["web-server"])]
- bugFiler = BugzillaFiler(bugUrl="https://bugzilla.redhat.com/xmlrpc.cgi")
+ bugFiler = BugzillaFiler(bugUrl="https://bugzilla.redhat.com/xmlrpc.cgi",
+ develVersion="rawhide")
def getPackagePaths(self, uri):
if not type(uri) == types.ListType: