Ejemplo n.º 1
0
 def __init__(self,
              scheduler,
              gerrit_host,
              gerrit_projects=None,
              pollInterval=None,
              dry_run=None):
     assert scheduler
     GerritPoller.__init__(self, gerrit_host, gerrit_projects, pollInterval,
                           dry_run)
     self.scheduler = scheduler
Ejemplo n.º 2
0
 def getChangeQuery(self):
   query = GerritPoller.getChangeQuery(self)
   # Request only issues with TryJob=+1 label.
   query += '+label:%s=%s' % (self.label_name, urllib.quote('+1'))
   return query
Ejemplo n.º 3
0
 def __init__(self, scheduler, gerrit_host, gerrit_projects=None,
              pollInterval=None, dry_run=None):
   assert scheduler
   GerritPoller.__init__(self, gerrit_host, gerrit_projects, pollInterval,
                         dry_run)
   self.scheduler = scheduler
Ejemplo n.º 4
0
 def getChangeQuery(self):
     query = GerritPoller.getChangeQuery(self)
     # Request only issues with TryJob=+1 label.
     query += '+label:%s=%s' % (self.label_name, urllib.quote('+1'))
     return query
Ejemplo n.º 5
0
 def getChangeQuery(self):
   query = GerritPoller.getChangeQuery(self)
   # Request only issues with TryJob=+1 label.
   query += '+label:TryJob=%2B1'
   return query