<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Master Organization — Buildbot v0.8.5rc2-29-g80a524b documentation</title> <link rel="stylesheet" href="../_static/agogo.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '0.8.5rc2-29-g80a524b', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <link rel="shortcut icon" href="../_static/buildbot.ico"/> <link rel="top" title="Buildbot v0.8.5rc2-29-g80a524b documentation" href="../index.html" /> <link rel="up" title="Buildbot Development" href="index.html" /> <link rel="next" title="Buildbot Configuration" href="config.html" /> <link rel="prev" title="Buildbot Coding Style" href="style.html" /> </head> <body> <div class="header-wrapper"> <div class="header"> <p class="logo"><a href="../index.html"> <img class="logo" src="../_static/header-text-transparent.png" alt="Logo"/> </a></p> <h1><a href="../index.html">Buildbot v0.8.5rc2-29-g80a524b documentation</a></h1> <div class="rel"> <a href="style.html" title="Buildbot Coding Style" accesskey="P">previous</a> | <a href="config.html" title="Buildbot Configuration" accesskey="N">next</a> | <a href="../py-modindex.html" title="Python Module Index" >modules</a> | <a href="../genindex.html" title="General Index" accesskey="I">index</a> </div> </div> </div> <div class="content-wrapper"> <div class="content"> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="master-organization"> <h1>Master Organization<a class="headerlink" href="#master-organization" title="Permalink to this headline">¶</a></h1> <div class="section" id="buildmaster-service-hierarchy"> <h2>Buildmaster Service Hierarchy<a class="headerlink" href="#buildmaster-service-hierarchy" title="Permalink to this headline">¶</a></h2> <p>Buildbot uses Twisted's service hierarchy heavily. The hierarchy looks like this:</p> <dl class="class"> <dt id="buildbot.master.BuildMaster"> <em class="property">class </em><tt class="descclassname">buildbot.master.</tt><tt class="descname">BuildMaster</tt><a class="headerlink" href="#buildbot.master.BuildMaster" title="Permalink to this definition">¶</a></dt> <dd><p>This is the top-level service.</p> <dl class="class"> <dt id="buildbot.master.BuildMaster.buildbot.master.BotMaster"> <em class="property">class </em><tt class="descclassname">buildbot.master.</tt><tt class="descname">BotMaster</tt><a class="headerlink" href="#buildbot.master.BuildMaster.buildbot.master.BotMaster" title="Permalink to this definition">¶</a></dt> <dd><p>The <tt class="xref py py-class docutils literal"><span class="pre">BotMaster</span></tt> manages all of the slaves. <tt class="xref py py-class docutils literal"><span class="pre">BuildSlave</span></tt> instances are added as child services of the <tt class="xref py py-class docutils literal"><span class="pre">BotMaster</span></tt>.</p> </dd></dl> <dl class="class"> <dt id="buildbot.changes.manager.ChangeManager"> <em class="property">class </em><tt class="descclassname">buildbot.changes.manager.</tt><tt class="descname">ChangeManager</tt><a class="headerlink" href="#buildbot.changes.manager.ChangeManager" title="Permalink to this definition">¶</a></dt> <dd><p>The <tt class="xref py py-class docutils literal"><span class="pre">ChangeManager</span></tt> manages the active change sources, as well as the stream of changes received from those sources.</p> </dd></dl> <dl class="class"> <dt id="buildbot.schedulers.manager.SchedulerManager"> <em class="property">class </em><tt class="descclassname">buildbot.schedulers.manager.</tt><tt class="descname">SchedulerManager</tt><a class="headerlink" href="#buildbot.schedulers.manager.SchedulerManager" title="Permalink to this definition">¶</a></dt> <dd><p>The <tt class="xref py py-class docutils literal"><span class="pre">SchedulerManager</span></tt> manages the active schedulers and handles inter-scheduler notifications.</p> </dd></dl> <dl class="docutils"> <dt><tt class="xref py py-class docutils literal"><span class="pre">IStatusReceiver</span></tt> implementations</dt> <dd>Objects from the <tt class="docutils literal"><span class="pre">status</span></tt> configuration key are attached directly to the buildmaster. These classes should inherit from <tt class="xref py py-class docutils literal"><span class="pre">StatusReceiver</span></tt> or <tt class="xref py py-class docutils literal"><span class="pre">StatusReceiverMultiService</span></tt> and include an <tt class="docutils literal"><span class="pre">implements(IStatusReceiver)</span></tt> stanza.</dd> </dl> </dd></dl> </div> </div> </div> </div> </div> </div> <div class="sidebar"> <h3>Table Of Contents</h3> <ul class="current"> <li class="toctree-l1"><a class="reference internal" href="../tutorial/index.html">Buildbot Tutorial</a></li> <li class="toctree-l1"><a class="reference internal" href="../manual/index.html">Buildbot Manual</a></li> <li class="toctree-l1 current"><a class="reference internal" href="index.html">Buildbot Development</a><ul class="current"> <li class="toctree-l2"><a class="reference internal" href="style.html">Buildbot Coding Style</a></li> <li class="toctree-l2 current"><a class="current reference internal" href="">Master Organization</a><ul class="simple"> </ul> </li> <li class="toctree-l2"><a class="reference internal" href="config.html">Buildbot Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="utils.html">Utilities</a></li> <li class="toctree-l2"><a class="reference internal" href="database.html">The Buildbot Database</a></li> <li class="toctree-l2"><a class="reference internal" href="results.html">Build Result Codes</a></li> <li class="toctree-l2"><a class="reference internal" href="formats.html">File Formats</a></li> <li class="toctree-l2"><a class="reference internal" href="webstatus.html">Web Status</a></li> <li class="toctree-l2"><a class="reference internal" href="master-slave.html">Master-Slave API</a></li> <li class="toctree-l2"><a class="reference internal" href="encodings.html">String Encodings</a></li> <li class="toctree-l2"><a class="reference internal" href="metrics.html">Metrics</a></li> <li class="toctree-l2"><a class="reference internal" href="classes.html">Classes</a></li> </ul> </li> </ul> <h3 style="margin-top: 1.5em;">Search</h3> <form class="search" action="../search.html" method="get"> <input type="text" name="q" size="18" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <div class="clearer"></div> </div> </div> <div class="footer-wrapper"> <div class="footer"> <div class="left"> <a href="style.html" title="Buildbot Coding Style" >previous</a> | <a href="config.html" title="Buildbot Configuration" >next</a> | <a href="../py-modindex.html" title="Python Module Index" >modules</a> | <a href="../genindex.html" title="General Index" >index</a> <br/> <a href="../_sources/developer/master-overview.txt" rel="nofollow">Show Source</a> </div> <div class="right"> <div class="footer"> © Copyright Buildbot Team Members. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7. </div> </div> <div class="clearer"></div> </div> </div> </body> </html>