def __init__(self): SystemHost.__init__(self) self.web = web.Web() self._git = None # Everything below this line is WebKit-specific and belongs on a higher-level object. self.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, git, 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.builders = BuilderList.load_default_builder_list(self.filesystem)
def __init__(self): SystemHost.__init__(self) self.web = web.Web() self._checkout = None # Everything below this line is WebKit-specific and belongs on a higher-level object. self.bugs = bugzilla.Bugzilla() 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()
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()
def web(self): from webkitpy.common.net import web return web.Web()