summaryrefslogtreecommitdiffstats
path: root/installclasses
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-07-22 13:08:29 -0400
committerChris Lumens <clumens@redhat.com>2008-07-22 15:59:55 -0400
commit5a910a7623d5beacc43ca7ec1da9bf0fa08ef643 (patch)
tree08c2f55a0c7d227849a05cdc6dcb7a70adfbae98 /installclasses
parenteb7845d41f78d54939006c67edb663992c35c5f6 (diff)
downloadanaconda-5a910a7623d5beacc43ca7ec1da9bf0fa08ef643.tar.gz
anaconda-5a910a7623d5beacc43ca7ec1da9bf0fa08ef643.tar.xz
anaconda-5a910a7623d5beacc43ca7ec1da9bf0fa08ef643.zip
Support an abstract bug filing layer.
Different products and distributions could support completely different bug filing system (or none at all, for that matter) so support an abstraction that allows us to use multiple kinds of bug files. We still need to commit that abstraction somewhere and also make sure we allow full customization through the product.img.
Diffstat (limited to 'installclasses')
-rw-r--r--installclasses/fedora.py3
-rw-r--r--installclasses/rhel.py4
2 files changed, 6 insertions, 1 deletions
diff --git a/installclasses/fedora.py b/installclasses/fedora.py
index 6c282a925..c1923a47a 100644
--- a/installclasses/fedora.py
+++ b/installclasses/fedora.py
@@ -19,6 +19,7 @@
from installclass import BaseInstallClass
from constants import *
+from filer import *
from flags import flags
import os, types
import iutil
@@ -48,6 +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")
+
def getPackagePaths(self, uri):
if not type(uri) == types.ListType:
uri = [uri,]
diff --git a/installclasses/rhel.py b/installclasses/rhel.py
index 98134bcc2..11467988d 100644
--- a/installclasses/rhel.py
+++ b/installclasses/rhel.py
@@ -19,6 +19,7 @@
from installclass import BaseInstallClass
from constants import *
+from filer import *
from flags import flags
import os
import iutil
@@ -80,7 +81,8 @@ class InstallClass(BaseInstallClass):
"installation of Red Hat Enterprise Linux.\n"
"* You will not get software and security updates "
"for packages not included in your subscription.")
-
+
+ bugFiler = BugzillaFiler(bugUrl="https://bugzilla.redhat.com/xmlrpc.cgi")
def setInstallData(self, anaconda):
BaseInstallClass.setInstallData(self, anaconda)