返回介绍

5.75. Release Notes for Buildbot 0.8.11

发布于 2023-09-20 23:50:39 字数 5386 浏览 0 评论 0 收藏 0

Caution

Buildbot no longer supports Python 2.7 on the Buildbot master.

5.75. Release Notes for Buildbot 0.8.11

The following are the release notes for Buildbot 0.8.11. This version was released on the 20th of April, 2015.

5.75.1. Master

Requirements:

  • Buildbot works python-dateutil >= 1.5

5.75.1.1. Features

  • GitHub change hook now supports application/json format.

  • Buildbot is now compatible with Gerrit v2.6 and higher.

    To make this happen, the return result of reviewCB and summaryCB callback has changed from

    (message, verified, review)
    

    to

    {'message': message,
     'labels': {'label-name': value,
               ...
               }
    }
    

    The implications are:

    • there are some differences in behaviour: only those labels that were provided will be updated

    • Gerrit server must be able to provide a version, if it can’t the GerritStatusPush will not work

    Note

    If you have an old style reviewCB and/or summaryCB implemented, these will still work, however there could be more labels updated than anticipated.

    More detailed information is available in GerritStatusPush section.

  • 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:

    from buildbot.kind.other.bits import ComponentClass
    
    ... ComponentClass ...
    

    the following construction achieves the same result:

    from buildbot.plugins import kind
    
    ... kind.ComponentClass ...
    

    Kinds of components that are available this way are described in Plugin Infrastructure in Buildbot.

    Note

    While the components can be still directly imported as buildbot.kind.other.bits, this might not be the case after Buildbot v1.0 is released.

  • GitPoller now supports detecting new branches

  • MasterShellCommand now renders the path argument.

  • ShellMixin: the workdir can now be overridden in the call to makeRemoteShellCommand.

  • GitHub status target now allows to specify a different base URL for the API (usefule for GitHub enterprise installations). This feature requires txgithub of version 0.2.0 or better.

  • GitHub change hook now supports payload validation using shared secret, see the GitHub hook documentation for details.

  • Added StashStatusPush status hook for Atlassian Stash

  • Builders can now have multiple “tags” associated with them. Tags can be used in various status classes as filters (eg, on the waterfall page).

  • MailNotifier no longer forces SSL 3.0 when useTls is true.

  • GitHub change hook now supports function as codebase argument.

  • GitHub change hook now supports pull_request events.

  • Trigger: the getSchedulersAndProperties 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.

5.75.1.2. Fixes

  • GitHub change hook now correctly responds to ping events.

  • buildbot.steps.http steps now correctly have url parameter renderable

  • MasterShellCommand now correctly logs the working directory where it was run.

  • With Git(), force the updating submodules to ensure local changes by the build are overwritten. This both ensures more consistent builds and avoids errors when updating submodules.

  • With Git(), make sure ‘git submodule sync’ is called before ‘git submodule update’ to update stale remote urls (bug #2155).

5.75.1.3. Deprecations, Removals, and Non-Compatible Changes

  • The builder parameter “category” is deprecated and is replaced by a parameter called “tags”.

5.75.1.4. Changes for Developers

  • Trigger: createTriggerProperties now takes one argument (the properties to generate).

  • Trigger: getSchedulers method is no longer used and was removed.

5.75.2. Slave

5.75.2.1. Features

5.75.2.2. Fixes

5.75.2.3. Deprecations, Removals, and Non-Compatible Changes

5.75.3. Details

For a more detailed description of the changes made in this version, see the git log itself:

git log v0.8.10..532cf49

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文