~cjwatson/launchpad-buildd/snap-default-branch

« back to all changes in this revision

Viewing changes to buildd-slave.tac

  • Committer: Martin Pool
  • Date: 2011-11-09 08:50:17 UTC
  • Revision ID: mbp@canonical.com-20111109085017-a2oejlb3zuol6a2e
Move buildd code from canonical.buildd to lpbuildd python package

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
 
# CAUTION: The only modules in the Launchpad tree that this is permitted to
5
 
# depend on are canonical.buildd, since buildds are deployed by copying that
6
 
# directory only. (See also bug=800295.)
7
 
 
8
4
# Buildd Slave implementation
9
5
# XXX: dsilvers: 2005/01/21: Currently everything logged in the slave gets
10
6
# passed through to the twistd log too. this could get dangerous/big
11
7
 
12
8
from twisted.application import service, strports
13
 
from canonical.buildd import XMLRPCBuildDSlave
14
 
from canonical.buildd.binarypackage import BinaryPackageBuildManager
15
 
from canonical.buildd.sourcepackagerecipe import (
 
9
from lpbuildd.slave import XMLRPCBuildDSlave
 
10
from lpbuildd.binarypackage import BinaryPackageBuildManager
 
11
from lpbuildd.sourcepackagerecipe import (
16
12
    SourcePackageRecipeBuildManager)
17
 
from canonical.buildd.translationtemplates import (
 
13
from lpbuildd.translationtemplates import (
18
14
    TranslationTemplatesBuildManager)
19
15
 
20
16
from twisted.web import server, resource, static