<!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>Release Notes for Buildbot 0.8.12 — Buildbot 0.8.12 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.12', 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 0.8.12 documentation" href="../index.html" /> <link rel="next" title="Release Notes for Buildbot 0.8.10" href="0.8.10.html" /> <link rel="prev" title="IProperties" href="../developer/cls-iproperties.html" /> </head> <body role="document"> <div class="header-wrapper" role="banner"> <div class="header"> <p class="logo"><a href="../index.html"> <img class="logo" src="../_static/header-text-transparent.png" alt="Logo"/> </a></p> <div class="headertitle"><a href="../index.html">Buildbot 0.8.12 documentation</a></div> <div class="rel" role="navigation" aria-label="related navigation"> <a href="../developer/cls-iproperties.html" title="IProperties" accesskey="P">previous</a> | <a href="0.8.10.html" title="Release Notes for Buildbot 0.8.10" 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" role="main"> <div class="section" id="release-notes-for-buildbot-0-8-12"> <h1>Release Notes for Buildbot 0.8.12<a class="headerlink" href="#release-notes-for-buildbot-0-8-12" title="Permalink to this headline">¶</a></h1> <p>The following are the release notes for Buildbot 0.8.12. This version was released on the 20th of April, 2015.</p> <div class="section" id="master"> <h2>Master<a class="headerlink" href="#master" title="Permalink to this headline">¶</a></h2> <p>Requirements:</p> <ul class="simple"> <li>Buildbot works python-dateutil >= 1.5</li> </ul> <div class="section" id="features"> <h3>Features<a class="headerlink" href="#features" title="Permalink to this headline">¶</a></h3> <ul> <li><p class="first">GitHub change hook now supports application/json format.</p> </li> <li><p class="first">Buildbot is now compatible with Gerrit v2.6 and higher.</p> <p>To make this happen, the return result of <code class="docutils literal"><span class="pre">reviewCB</span></code> and <code class="docutils literal"><span class="pre">summaryCB</span></code> callback has changed from</p> <div class="highlight-python"><div class="highlight"><pre><span></span><span class="p">(</span><span class="n">message</span><span class="p">,</span> <span class="n">verified</span><span class="p">,</span> <span class="n">review</span><span class="p">)</span> </pre></div> </div> <p>to</p> <div class="highlight-python"><div class="highlight"><pre><span></span><span class="p">{</span><span class="s1">'message'</span><span class="p">:</span> <span class="n">message</span><span class="p">,</span> <span class="s1">'labels'</span><span class="p">:</span> <span class="p">{</span><span class="s1">'label-name'</span><span class="p">:</span> <span class="n">value</span><span class="p">,</span> <span class="o">...</span> <span class="p">}</span> <span class="p">}</span> </pre></div> </div> <p>The implications are:</p> <ul class="simple"> <li>there are some differences in behaviour: only those labels that were provided will be updated</li> <li>Gerrit server must be able to provide a version, if it can't the <a class="reference internal" href="../manual/cfg-statustargets.html#status-GerritStatusPush" title="GerritStatusPush"><code class="xref bb bb-status docutils literal"><span class="pre">GerritStatusPush</span></code></a> will not work</li> </ul> <div class="admonition note"> <p class="first admonition-title">Note</p> <p class="last">If you have an old style <code class="docutils literal"><span class="pre">reviewCB</span></code> and/or <code class="docutils literal"><span class="pre">summaryCB</span></code> implemented, these will still work, however there could be more labels updated than anticipated.</p> </div> <p>More detailed information is available in <a class="reference internal" href="../manual/cfg-statustargets.html#status-GerritStatusPush" title="GerritStatusPush"><code class="xref bb bb-status docutils literal"><span class="pre">GerritStatusPush</span></code></a> section.</p> </li> <li><p class="first">Buildbot now supports plugins. They allow Buildbot to be extended by using components distributed independently from the main code. They also provide for a unified way to access all components. When previously the following construction was used:</p> <div class="highlight-default"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">buildbot.kind.other.bits</span> <span class="k">import</span> <span class="n">ComponentClass</span> <span class="o">...</span> <span class="n">ComponentClass</span> <span class="o">...</span> </pre></div> </div> <p>the following construction achieves the same result:</p> <div class="highlight-default"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">buildbot.plugins</span> <span class="k">import</span> <span class="n">kind</span> <span class="o">...</span> <span class="n">kind</span><span class="o">.</span><span class="n">ComponentClass</span> <span class="o">...</span> </pre></div> </div> <p>Kinds of components that are available this way are described in <a class="reference internal" href="../manual/plugins.html"><span class="doc">Plugin Infrastructure in Buildbot</span></a>.</p> <div class="admonition note"> <p class="first admonition-title">Note</p> <p class="last">While the components can be still directly imported as <code class="docutils literal"><span class="pre">buildbot.kind.other.bits</span></code>, this might not be the case after Buildbot v1.0 is released.</p> </div> </li> <li><p class="first"><a class="reference internal" href="../manual/cfg-changesources.html#chsrc-GitPoller" title="GitPoller"><code class="xref bb bb-chsrc docutils literal"><span class="pre">GitPoller</span></code></a> now supports detecting new branches</p> </li> <li><p class="first"><a class="reference internal" href="../manual/cfg-buildsteps.html#step-MasterShellCommand" title="MasterShellCommand"><code class="xref bb bb-step docutils literal"><span class="pre">MasterShellCommand</span></code></a> now renders the <code class="docutils literal"><span class="pre">path</span></code> argument.</p> </li> <li><p class="first"><code class="xref py py-class docutils literal"><span class="pre">ShellMixin</span></code>: the <code class="docutils literal"><span class="pre">workdir</span></code> can now be overridden in the call to <code class="docutils literal"><span class="pre">makeRemoteShellCommand</span></code>.</p> </li> <li><p class="first">GitHub status target now allows to specify a different base URL for the API (usefule for GitHub enterprise installations). This feature requires <cite>txgithub</cite> of version 0.2.0 or better.</p> </li> <li><p class="first">GitHub change hook now supports payload validation using shared secret, see <a class="reference internal" href="../manual/cfg-statustargets.html#github-hook"><span class="std std-ref">GitHub hook</span></a> for details.</p> </li> <li><p class="first">Added StashStatusPush status hook for Atlassian Stash</p> </li> <li><p class="first">Builders can now have multiple "tags" associated with them. Tags can be used in various status classes as filters (eg, on the waterfall page).</p> </li> <li><p class="first"><a class="reference internal" href="../manual/cfg-statustargets.html#status-MailNotifier" title="MailNotifier"><code class="xref bb bb-status docutils literal"><span class="pre">MailNotifier</span></code></a> no longer forces SSL 3.0 when <code class="docutils literal"><span class="pre">useTls</span></code> is true.</p> </li> <li><p class="first">GitHub change hook now supports function as codebase argument.</p> </li> <li><p class="first">GitHub change hook now supports pull_request events.</p> </li> <li><p class="first"><code class="xref py py-class docutils literal"><span class="pre">Trigger</span></code>: the <code class="docutils literal"><span class="pre">getSchedulersAndProperties</span></code> customization method has been backported from Nine. This provides a way to dynamically specify which schedulers (and the properties for that scheduler) to trigger at runtime.</p> </li> </ul> </div> <div class="section" id="fixes"> <h3>Fixes<a class="headerlink" href="#fixes" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li>GitHub change hook now correctly responds to ping events.</li> <li><code class="docutils literal"><span class="pre">buildbot.steps.http</span></code> steps now correctly have <code class="docutils literal"><span class="pre">url</span></code> parameter renderable</li> <li><a class="reference internal" href="../manual/cfg-buildsteps.html#step-MasterShellCommand" title="MasterShellCommand"><code class="xref bb bb-step docutils literal"><span class="pre">MasterShellCommand</span></code></a> now correctly logs the working directory where it was run.</li> <li>With Git(), force the updating submodules to ensure local changes by the build are overwitten. This both ensures more consistent builds and avoids errors when updating submodules.</li> <li>With Git(), make sure 'git submodule sync' is called before 'git submodule update' to update stale remote urls (<a class="reference external" href="http://trac.buildbot.net/ticket/2155" title="bug #2155">bug #2155</a>).</li> </ul> </div> <div class="section" id="deprecations-removals-and-non-compatible-changes"> <h3>Deprecations, Removals, and Non-Compatible Changes<a class="headerlink" href="#deprecations-removals-and-non-compatible-changes" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li>The builder parameter "category" is deprecated and is replaced by a parameter called "tags".</li> </ul> </div> <div class="section" id="changes-for-developers"> <h3>Changes for Developers<a class="headerlink" href="#changes-for-developers" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li><code class="xref py py-class docutils literal"><span class="pre">Trigger</span></code>: <code class="docutils literal"><span class="pre">createTriggerProperties</span></code> now takes one argument (the properties to generate).</li> <li><code class="xref py py-class docutils literal"><span class="pre">Trigger</span></code>: <code class="docutils literal"><span class="pre">getSchedulers</span></code> method is no longer used and was removed.</li> </ul> </div> </div> <div class="section" id="slave"> <h2>Slave<a class="headerlink" href="#slave" title="Permalink to this headline">¶</a></h2> <div class="section" id="id1"> <h3>Features<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3> </div> <div class="section" id="id2"> <h3>Fixes<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3> </div> <div class="section" id="id3"> <h3>Deprecations, Removals, and Non-Compatible Changes<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h3> </div> </div> <div class="section" id="details"> <h2>Details<a class="headerlink" href="#details" title="Permalink to this headline">¶</a></h2> <p>For a more detailed description of the changes made in this version, see the git log itself:</p> <div class="highlight-bash"><div class="highlight"><pre><span></span>git log v0.8.10..532cf49 </pre></div> </div> </div> <div class="section" id="older-versions"> <h2>Older Versions<a class="headerlink" href="#older-versions" title="Permalink to this headline">¶</a></h2> <p>Release notes for older versions of Buildbot are available in the <a class="reference external" href="https://github.com/buildbot/buildbot/blob/master/master/docs/relnotes/" title="master/docs/relnotes/"><code class="docutils literal"><span class="pre">master/docs/relnotes/</span></code></a> directory of the source tree. Newer versions are also available here:</p> <div class="toctree-wrapper compound"> <ul> <li class="toctree-l1"><a class="reference internal" href="0.8.10.html">Release Notes for Buildbot 0.8.10</a></li> <li class="toctree-l1"><a class="reference internal" href="0.8.9.html">Release Notes for Buildbot 0.8.9</a></li> <li class="toctree-l1"><a class="reference internal" href="0.8.8.html">Release Notes for Buildbot v0.8.8</a></li> <li class="toctree-l1"><a class="reference internal" href="0.8.7.html">Release Notes for Buildbot v0.8.7</a></li> <li class="toctree-l1"><a class="reference internal" href="0.8.6.html">Release Notes for Buildbot v0.8.6p1</a></li> </ul> </div> </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"><a class="reference internal" href="../developer/index.html">Buildbot Development</a></li> <li class="toctree-l1 current"><a class="current reference internal" href="#">Release Notes for Buildbot 0.8.12</a><ul> <li class="toctree-l2"><a class="reference internal" href="0.8.10.html">Release Notes for Buildbot 0.8.10</a></li> <li class="toctree-l2"><a class="reference internal" href="0.8.9.html">Release Notes for Buildbot 0.8.9</a></li> <li class="toctree-l2"><a class="reference internal" href="0.8.8.html">Release Notes for Buildbot v0.8.8</a></li> <li class="toctree-l2"><a class="reference internal" href="0.8.7.html">Release Notes for Buildbot v0.8.7</a></li> <li class="toctree-l2"><a class="reference internal" href="0.8.6.html">Release Notes for Buildbot v0.8.6p1</a></li> </ul> </li> </ul> <div role="search"> <h3 style="margin-top: 1.5em;">Search</h3> <form class="search" action="../search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> </div> </div> <div class="clearer"></div> </div> </div> <div class="footer-wrapper"> <div class="footer"> <div class="left"> <div role="navigation" aria-label="related navigaton"> <a href="../developer/cls-iproperties.html" title="IProperties" >previous</a> | <a href="0.8.10.html" title="Release Notes for Buildbot 0.8.10" >next</a> | <a href="../py-modindex.html" title="Python Module Index" >modules</a> | <a href="../genindex.html" title="General Index" >index</a> </div> <div role="note" aria-label="source link"> <br/> <a href="../_sources/relnotes/index.txt" rel="nofollow">Show Source</a> </div> </div> <div class="right"> <div class="footer" role="contentinfo"> © Copyright Buildbot Team Members. Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.4.1. </div> </div> <div class="clearer"></div> </div> </div> </body> </html>