Beispiel #1
0
 def __init__(self):
     self.bugs = bugzilla.Bugzilla()
     self.buildbot = buildbot.BuildBot()
     self.executive = executive.Executive()
     self._irc = None
     self.filesystem = filesystem.FileSystem()
     self.workspace = workspace.Workspace(self.filesystem, self.executive)
     self._port = None
     self.user = user.User()
     self._scm = None
     self._checkout = None
     self.status_server = statusserver.StatusServer()
     self.port_factory = port.factory
     self.platform = platforminfo.PlatformInfo()
Beispiel #2
0
    def __init__(self):
        SystemHost.__init__(self)
        self.web = web.Web()

        self._scm = None

        # Everything below this line is WebKit-specific and belongs on a higher-level object.
        self.buildbot = buildbot.BuildBot()

        # FIXME: Unfortunately Port objects are currently the central-dispatch objects of the NRWT world.
        # In order to instantiate a port correctly, we have to pass it at least an executive, user, scm, and filesystem
        # so for now we just pass along the whole Host object.
        # FIXME: PortFactory doesn't belong on this Host object if Port is going to have a Host (circular dependency).
        self.port_factory = PortFactory(self)

        self._engage_awesome_locale_hacks()
Beispiel #3
0
 def __init__(self):
     self.bugs = bugzilla.Bugzilla()
     self.buildbot = buildbot.BuildBot()
     self.executive = executive.Executive()
     self.web = web.Web()
     self._irc = None
     self.filesystem = filesystem.FileSystem()
     self.workspace = workspace.Workspace(self.filesystem, self.executive)
     self._port = None
     self.user = user.User()
     self._scm = None
     self._checkout = None
     self.status_server = statusserver.StatusServer()
     # FIXME: Unfortunately Port objects are currently the central-dispatch objects of the NRWT world.
     # In order to instantiate a port correctly, we have to pass it at least an executive, user, scm, and filesystem
     # so for now we just pass along the whole Host object.
     self.port_factory = PortFactory(self)
     self.platform = platforminfo.PlatformInfo()
Beispiel #4
0
 def bugzilla(self):
     from webkitpy.common.net import buildbot
     return buildbot.BuildBot()