changeset 276:a79c12daf9d7

hopefully fix profilemanager factory
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 31 Jul 2012 14:35:32 -0700
parents 22bb1ac50eb7
children 268349e6c941
files autobot/projects/logparser/__init__.py autobot/projects/profilemanager/__init__.py
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/projects/logparser/__init__.py	Tue Jul 31 14:20:40 2012 -0700
+++ b/autobot/projects/logparser/__init__.py	Tue Jul 31 14:35:32 2012 -0700
@@ -9,7 +9,7 @@
   """
 
   sources = {'hg': 'http://hg.mozilla.org/automation/logparser/'}
-  
+
   def __init__(self):
 
     # setup the environment and install the python
--- a/autobot/projects/profilemanager/__init__.py	Tue Jul 31 14:20:40 2012 -0700
+++ b/autobot/projects/profilemanager/__init__.py	Tue Jul 31 14:35:32 2012 -0700
@@ -1,20 +1,20 @@
-from buildbot.process.factory import BuildFactory
+from autobot.process.factory import SourceFactory
 from buildbot.steps.shell import ShellCommand
 
-class TestProfileManager(BuildFactory):
+class TestProfileManager(SourceFactory):
     """
     Test the ProfileManager standalone XUL application:
     http://hg.mozilla.org/automation/profilemanager/
     """
 
+    sources = {'hg': ['http://hg.mozilla.org/automation/profilemanager/']}
 
     def __init__(self):
 
-        BuildFactory.__init__(self)
+        SourceFactory.__init__(self)
 
         # install m-c + profilemanager
-        self.addStep(ShellCommand(command=['wget', 'http://hg.mozilla.org/automation/profilemanager/raw-file/tip/INSTALL.py']))
-        self.addStep(ShellCommand(command=['python', 'INSTALL.py']))
+#        self.addStep(ShellCommand(command=['python', 'INSTALL.py']))
 
         # get mozilla central
 #        self.addStep(ShellCommand(command=['hg', 'clone', 'http://hg.mozilla.org/mozilla-central']))