1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# distbuild/__init__.py -- library for Morph's distributed build plugin
#
# Copyright (C) 2014 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA..
from stringbuffer import StringBuffer
from sm import StateMachine
from eventsrc import EventSource
from socketsrc import (SocketError, NewConnection, ListeningSocketEventSource,
SocketReadable, SocketWriteable, SocketEventSource,
set_nonblocking)
from sockbuf import (SocketBufferNewData, SocketBufferEof,
SocketBufferClosed, SocketBuffer)
from mainloop import MainLoop
from sockserv import ListenServer
from jm import JsonMachine, JsonNewMessage, JsonEof
from serialise import serialise_artifact, deserialise_artifact
from idgen import IdentifierGenerator
from route_map import RouteMap
from timer_event_source import TimerEventSource, Timer
from proxy_event_source import ProxyEventSource
from json_router import JsonRouter
from helper_router import (HelperRouter, HelperRequest, HelperOutput,
HelperResult)
from initiator_connection import (InitiatorConnection, InitiatorDisconnect)
from connection_machine import ConnectionMachine, Reconnect, StopConnecting
from worker_build_scheduler import (WorkerBuildQueuer,
WorkerConnection,
WorkerBuildRequest,
WorkerCancelPending,
WorkerBuildOutput,
WorkerBuildCaching,
WorkerBuildStepAlreadyStarted,
WorkerBuildWaiting,
WorkerBuildFinished,
WorkerBuildFailed,
WorkerBuildStepStarted)
from build_controller import (BuildController, BuildFailed, BuildProgress,
BuildSteps, BuildStepStarted,
BuildStepAlreadyStarted, BuildOutput,
BuildStepFinished, BuildStepFailed,
BuildFinished, BuildCancel,
build_step_name, map_build_graph)
from initiator import Initiator
from protocol import message
from crashpoint import (crash_point, add_crash_condition, add_crash_conditions,
clear_crash_conditions)
from distbuild_socket import create_socket
__all__ = locals()
|