summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-02 21:29:17 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-02 21:29:17 +0900
commite22cff25fbc1aae950b6f135747d6341db9befff (patch)
treeb67c8e857531c0ddbeec184826d64f7f35b5b814
parent98930371593e39d9f4e5e07092019d6b97d1df45 (diff)
downloadbuildstream-e22cff25fbc1aae950b6f135747d6341db9befff.tar.gz
_scheduler: Renamed ArtifactFetchQueue to PullQueue
This is just more consistent naming with PushQueue, also we dont want to confuse things in the UI by mixing up "Fetch" and "Pull" tasks, which are distinctly different activities.
-rw-r--r--buildstream/_scheduler/__init__.py2
-rw-r--r--buildstream/_scheduler/pullqueue.py (renamed from buildstream/_scheduler/artifactfetchqueue.py)6
2 files changed, 4 insertions, 4 deletions
diff --git a/buildstream/_scheduler/__init__.py b/buildstream/_scheduler/__init__.py
index 32e49ac4c..1ad6ec79b 100644
--- a/buildstream/_scheduler/__init__.py
+++ b/buildstream/_scheduler/__init__.py
@@ -24,6 +24,6 @@ from .fetchqueue import FetchQueue
from .trackqueue import TrackQueue
from .buildqueue import BuildQueue
from .pushqueue import PushQueue
-from .artifactfetchqueue import ArtifactFetchQueue
+from .pullqueue import PullQueue
from .scheduler import Scheduler, SchedStatus
diff --git a/buildstream/_scheduler/artifactfetchqueue.py b/buildstream/_scheduler/pullqueue.py
index c55dbc0c3..73d038b34 100644
--- a/buildstream/_scheduler/artifactfetchqueue.py
+++ b/buildstream/_scheduler/pullqueue.py
@@ -25,10 +25,10 @@ from . import Queue, QueueType
# A queue which fetches element artifacts
#
-class ArtifactFetchQueue(Queue):
+class PullQueue(Queue):
- action_name = "Fetch"
- complete_name = "Fetched"
+ action_name = "Pull"
+ complete_name = "Pulled"
queue_type = QueueType.FETCH
def process(self, element):