Add queue.dependencies-by-topic
This adds a pipeline queue setting to emulate the Gerrit behavior of submitWholeTopic without needing to enable it site-wide in Gerrit. Change-Id: Icb33a1e87d15229e6fb3aa1e4b1ad14a60623a29
This commit is contained in:
@@ -126,8 +126,23 @@ class BaseSource(object, metaclass=abc.ABCMeta):
|
||||
search scope.
|
||||
"""
|
||||
|
||||
def getChangesByTopic(self, topic):
|
||||
"""Return changes in the same topic.
|
||||
|
||||
This should return changes under the same topic, as well as
|
||||
changes under the same topic of any git-dependent changes,
|
||||
recursively.
|
||||
|
||||
This is only implemented by the Gerrit driver, however if
|
||||
other systems have a similar "topic" functionality, it could
|
||||
be added to other drivers.
|
||||
"""
|
||||
|
||||
return []
|
||||
|
||||
@abc.abstractmethod
|
||||
def getProjectOpenChanges(self, project):
|
||||
|
||||
"""Get the open changes for a project."""
|
||||
|
||||
@abc.abstractmethod
|
||||
|
||||
Reference in New Issue
Block a user