Rename BasePipelineManager to PipelineManager

It feels more natrual to talk about DependentPipelineManager being a
PipelineManager in the internals doc. It's not used many places, so
just go ahead and change it.

Change-Id: Ie6aa4a27c2fec9469e266a0113447e3102985f61
This commit is contained in:
Monty Taylor 2016-07-29 12:04:21 -07:00
parent 82dfd41fee
commit c75478cc0f
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
4 changed files with 8 additions and 8 deletions

View File

@ -17,7 +17,7 @@ basic organizational structure that everything else hangs off.
.. autoclass:: zuul.model.Pipeline
Pipelines have a configured
:py:class:`Manager <zuul.manager.BasePipelineManager>` which controlls how
:py:class:`~zuul.manager.PipelineManager` which controlls how
the :py:class:`Change <zuul.model.Changeish>` objects are enqueued and
processed.
@ -25,7 +25,7 @@ There are currently two,
:py:class:`~zuul.manager.dependent.DependentPipelineManager` and
:py:class:`~zuul.manager.independent.IndependentPipelineManager`
.. autoclass:: zuul.manager.BasePipelineManager
.. autoclass:: zuul.manager.PipelineManager
.. autoclass:: zuul.manager.dependent.DependentPipelineManager
.. autoclass:: zuul.manager.independent.IndependentPipelineManager

View File

@ -42,10 +42,10 @@ class StaticChangeQueueContextManager(object):
pass
class BasePipelineManager(object):
class PipelineManager(object):
"""Abstract Base Class for enqueing and processing Changes in a Pipeline"""
log = logging.getLogger("zuul.BasePipelineManager")
log = logging.getLogger("zuul.PipelineManager")
def __init__(self, sched, pipeline):
self.sched = sched

View File

@ -13,10 +13,10 @@
import logging
from zuul import model
from zuul.manager import BasePipelineManager, StaticChangeQueueContextManager
from zuul.manager import PipelineManager, StaticChangeQueueContextManager
class DependentPipelineManager(BasePipelineManager):
class DependentPipelineManager(PipelineManager):
"""PipelineManager for handling interrelated Changes.
The DependentPipelineManager puts Changes that share a Pipeline

View File

@ -13,10 +13,10 @@
import logging
from zuul import model
from zuul.manager import BasePipelineManager, DynamicChangeQueueContextManager
from zuul.manager import PipelineManager, DynamicChangeQueueContextManager
class IndependentPipelineManager(BasePipelineManager):
class IndependentPipelineManager(PipelineManager):
"""PipelineManager that puts every Change into its own ChangeQueue."""
log = logging.getLogger("zuul.IndependentPipelineManager")