Subject: CVS commit: pkgsrc/devel
From: Adam Ciarcinski
Date: 2020-02-19 20:07:19
Message id: 20200219190719.D858FFBF4@cvs.NetBSD.org

Log Message:
py-buildbot*: updated to 2.6.0

v2.6.0

Bug fixes

Fix a potential deadlock when interrupting a step that is waiting for a lock to \ 
become available.
Prepare unique hgpoller name when using multiple hgpoller for multiple branches
Fix hgpoller crash when force pushing a branch
Fix mail recipient formatting to make sure address comments are separately \ 
escaped instead of escaping the whole To: or CC: header, which is not RFC \ 
compliant.
Master side keep-alive requests are now repeated instead of being single-shot
The message queues will now wait until the delivered callbacks are fully \ 
completed during shutdown.
Fix encoding errors during P4Poller ticket parsing.
Remove server header from HTTP response served by the web component.
Fix multiple race conditions in Telegram reporter that were visible in tests.
The Telegram reporter will now wait until in-progress polls finish during shutdown.
Improve reliability of timed scheduler.
transfer steps now correctly report errors from workers.
Warn if Buildbot title in the configuration is too long and will be ignored.
Worker will now wait for any pending keep-alive requests to finish leaving them \ 
in indeterminate state during shutdown.

Improved Documentation

Mention that QueueRef.stopConsuming() may return a Deferred.

Features

Add the parameter --use-tls to buildbot-worker create-worker to automatically \ 
enable TLS in the connection string
Gerrit reporter now passes a tag for versions that support it.
This enables filtering out buildbot's messages.
GerritEventLogPoller and GerritChangeSource coordinate so as not to generate \ 
duplicate changes.
Web front end now allows you to configure the default landing page with \ 
c['www']['default_page'] = 'name-of-page'.
The new option dumpMailsToLog of MailNotifier allows to dump formatted mails to \ 
the log before sending.
Workers will now attempt to read /etc/os-release and stores them into worker \ 
info as os_<field> items.
Add new interpolation worker that can be used for accessing worker info items.

v2.5.1

Bug fixes

Updates supported browser list so that Ubuntu Chromium will not always be \ 
flagged as out of date.
Fixed IRC notification color of cancelled builds.
Updated url in description of worker service for Windows (no functionality impact).
Updated templates of www-badges to support additional padding configuration
Fix issue with custom_templates loading path
Fix url display when step do not contain any logs

v2.5.0

Bug fixes

Fix crash when reconfiguring changed workers that have new builders assigned to them
DockerLatentWorker: Allow to bind the same volume twice into a worker's \ 
container, Buildbot now requires 'docker-py' (nowadays 'docker') version 1.2.3+ \ 
from 2015.
IRC bot can have authz configured to create or stop builds
Fix javascript exception with grid view tag filtering

Improved Documentation

Changed PluginList link from trac wiki directly to the GitHub wiki.

Features

Created a TelegramBot for notification and control through Telegram messaging app.
Added support for environment variable P4CONFIG to class P4Source
Allow to define behavior for GitCommit when there is nothing to commit.
Add support for revision links to Mercurial poller
Support recursive matching ('**') in MultipleFileUpload when glob=True (requires \ 
python3.5+ on the worker)

v2.4.1

Bug fixes

allow committer of a change to be null for new setups
custom_templates are now working again.
Locks will no longer allow being acquired more times than the maxCount parameter \ 
if this parameter is changed during master reconfiguration.

Features

Improve log cleaning performance by using delete with join on supported databases.
Hiding/showing of inactive builders is now possible in Waterfall view.

v2.4.0

Highlights

Database upgrade may take a while on larger instances on this release due to \ 
newly added index.

Bug fixes

Add an index to steps.started_at to boost expensive SQL queries.
Fix handling of the refs_changed event in the BitBucket Server web hook.
Fix errors when disconnecting a libvirt worker (issue 4844).
Fix Bitbucket Cloud hook crash due to changes in their API (issue 4873).
Fix GerritEventLogPoller was using the wrong date format.
Fix janitor Exception when there is no logchunk to delete.
Reduced the number of SQL queries triggered by getPrevSuccessfulBuild() by up to 100.
buildbot.util.git.GitStepMixin: Prevent builders from corrupting temporary ssh \ 
data path by using builder name as part of the path
buildbot.util.git.GitTag: Allow tagName to be a renderable.
Fix Github error reporting to handle exceptions that happen before the HTTP \ 
request is sent.
buildbot.changes.gitpoller.GitPoller: Trigger on pushes with no commits when the \ 
new revision is not the tip of another branch.
buildbot.steps.source.git.Git: Fix the invocation of git submodule foreach on \ 
cleaning.
Fix StatsService not correctly clearing old consumers on reconfig.
Fix various errors in try client with Python 3 (issue 4765).
Prevent accidental start of multiple force builds in web UI (issue 4823).
The support for proxying Buildbot frontend to another Buildbot instance during \ 
development has been fixed.
This feature has been broken since v2.3.0, and is now completely re-implemented \ 
for best performance, ease of use and maintainability.

Improved Documentation

Document why some listed icons may not work out-of-the-box when building a \ 
custom dashboard (issue 4939).
Improve Vault secrets management documentation and examples.
Link the documentation of www.port to the capabilities of \ 
twisted.application.strports.
Move the documentation on how to submit PRs out of the trac wiki to the \ 
documentation shipped with Buildbot, update and enhance it.

Features

Update buildbot worker image to Ubuntu 18.04 (issue 4928).
buildbot.worker.docker.DockerLatentWorker: Added support for docker build \ 
contexts, buildargs, and specifying controlling context.
The buildbot.changes.gerritchangesource.GerritChangeFilter and \ 
buildbot.changes.gerritchangesource.GerritEventLogPoller now populate the files \ 
attribute of emitted changes when the get_files argument is true. Enabling this \ 
feature triggers an additional HTTP request or SSH command to the Gerrit server \ 
for every emitted change.
Buildbot now warns users who connect using unsupported browsers.
Boost janitor speed by using more efficient SQL queries.
Scheduler properties are now renderable.
buildbot.steps.python.Sphinx: Added strict_warnings option to fail on warnings.
UI now shows a paginated view for trigger step sub builds.

Deprecations and Removals

Support for older browsers that were not working since 2.3.0 has been removed \ 
due to technical limitations.
Notably, Internet Explorer 11 is no longer supported.
Currently supported browsers are Chrome 56, Firefox 52, Edge 13 and Safari 10, \ 
newer versions of these browsers and their compatible derivatives.
This set of browsers covers 98% of users of buildbot.net.

v2.3.1

Bug fixes

Fix vulnerability in OAuth where user-submitted authorization token was used for \ 
authentication
(https://github.com/buildbot/buildbot/wiki/OAuth-vulnerability-in-using-submitted-authorization-token-for-authentication). \ 
Thanks to Phillip Kuhrt for reporting it.

v2.3.0

Highlights

Support for older browsers has been hopefully temporarily broken due to frontend \ 
changes in progress. Notably, Internet Explorer 11 is not supported in this \ 
release. Currently supported browsers are Chrome 56, Firefox 52, Edge 13 and \ 
Safari 10, newer versions of these browsers and their compatible derivatives. \ 
This set of browsers covers 98% of users of buildbot.net.

Bug fixes

Fixed :bb:step:Git to clean the repository after the checkout when submodules \ 
are enabled. Previously this action could lead to untracked module directories \ 
after changing branches.
Latent workers with negative build_wait_timeout will be shutdown on master shutdown.
Latent worker will now wait until start_instance() before starting \ 
stop_instance() or vice-versa. Master will wait for these functions to finish \ 
during shutdown.
Latent worker will now correctly handle synchronous exception from the backend \ 
worker driver.
Fixed a potential error during database migration when upgrading to versions >=2.0

Deprecations and Removals

The implementation language of the Buildbot web frontend has been changed from \ 
CoffeeScript to JavaScript. The documentation has not been updated yet, as we \ 
plan to transition to TypeScript. In the transitory period support for some \ 
browsers, notably IE 11 has been dropped. We hope to bring support for older \ 
browsers back once the transitory period is over.
The support for building Buildbot using npm as package manager has been removed. \ 
Please use yarn as a replacement that is used by Buildbot developers.

v2.2.0

Bug fixes

Fix passing the verify and debug parameters for the HttpStatusPush reporter
The builder page UI now correctly shows the list of owners for each build.
Fixed bug with tilde in git repo url on Python 3.7
Fix secret leak when non-interpolated secret was passed to a step

Features

Added new :bb:step:GitCommit step to perform git commit operation
Added new :bb:step:GitTag step to perform git tag operation
HgPoller now supports bookmarks in addition to branches.
Buildbot can now monitor multiple branches in a Mercurial repository.
:py:class:~buildbot.www.oauth2.OAuth2Auth have been adapted to support ref:Secret.
Buildbot can now get secrets from the unix password store by zx2c4 \ 
(https://www.passwordstore.org/).
Added a basename property to the Github pull request webhook handler.
The GitHub change hook secret can now be rendered.
Each build now gets a preparation step which counts the time spend starting \ 
latent worker.
Support known_hosts file format as sshKnownHosts parameter in SSH-related operations

v2.1.0

Highlights

Worker to Master protocol can now be encrypted via TLS.

Bug fixes

To avoid database corruption, the upgrade-master command now ignores all
signals except SIGKILL. It cannot be interrupted with ctrl-c
(:issue:4600).
Fixed incorrect tracking of latent worker states that could sometimes result
in duplicate stop_instance calls and so on.
Fixed a race condition that could manifest in cancelled substantiations if
builds were created during insubstantiation of a latent worker.
Perforce CLI Rev. 2018.2/1751184 (2019/01/21) is now supported
Fix encoding issues with Forcescheduler parameters error management code.

Improved Documentation

fix grammar mistakes and use Uppercase B for Buildbot
Features

:py:class:~buildbot-worker.buildbot_worker.bot.Worker now have
connection_string kw-argument which can be used to connect to a master
over TLS.
Adding 'expand_logs' option for LogPreview related settings.
Force schedulers buttons are now sorted by their name.
:bb:cfg:workers now have a new defaultProperties parameter.

v2.0.0

Deprecations and Removals

Removed support for Python 2.7 in the buildbot master code.
Buildbot worker remains compatible with python2.7, and interoperability tests \ 
are run continuously.
APIs that are not documented in the official Buildbot documentation have been
made private. Users of these undocumented APIs are encouraged to file bugs to
get them exposed.
Removed support of old slave APIs from pre-0.9 days. Using old APIs may fail
silently. To avoid weird errors when upgrading a Buildbot installation that
may use old APIs, first upgrade to to 1.8.0 and make sure there are no
deprecated API warnings.
Remove deprecated default value handling of the keypair_name and
security_name attributes of EC2LatentWorker.
Support for Hyper.sh containers cloud provider has been removed as this
service has shutdown.
Bug fixes

Fix CRLF injection vulnerability with validating user provided redirect \ 
parameters \ 
(https://github.com/buildbot/buildbot/wiki/CRLF-injection-in-Buildbot-login-and-logout-redirect-code)
Thanks to mik317 and mariadb for reporting it.

Fix lockup during master shutdown when there's a build with unanswered ping
from the worker and the TCP connection to worker is severed (issue:4575).

Fix RemoteUserAuth.maybeAutLogin consumes bytes object as str leading to
TypeError during JSON serialization.

Various database integrity problems were fixed. Most notably, it is now
possible to delete old changes without wiping all "child" changes in \ 
cascade

The GitLab change hook secret is now rendered correctly.

Features

Identifiers can now contain UTF-8 characters which are not ASCII. This
includes worker names, builder names, and step names.

Files:
RevisionActionfile
1.7modifypkgsrc/devel/py-buildbot-www/distinfo
1.3modifypkgsrc/devel/py-buildbot-www/PLIST
1.10modifypkgsrc/devel/py-buildbot-www/Makefile
1.8modifypkgsrc/devel/py-buildbot-worker/distinfo
1.5modifypkgsrc/devel/py-buildbot-worker/PLIST
1.9modifypkgsrc/devel/py-buildbot-worker/Makefile
1.7modifypkgsrc/devel/py-buildbot-waterfall-view/distinfo
1.2modifypkgsrc/devel/py-buildbot-waterfall-view/PLIST
1.8modifypkgsrc/devel/py-buildbot-waterfall-view/Makefile
1.7modifypkgsrc/devel/py-buildbot-pkg/distinfo
1.8modifypkgsrc/devel/py-buildbot-pkg/Makefile
1.7modifypkgsrc/devel/py-buildbot-grid-view/distinfo
1.2modifypkgsrc/devel/py-buildbot-grid-view/PLIST
1.8modifypkgsrc/devel/py-buildbot-grid-view/Makefile
1.7modifypkgsrc/devel/py-buildbot-console-view/distinfo
1.2modifypkgsrc/devel/py-buildbot-console-view/PLIST
1.8modifypkgsrc/devel/py-buildbot-console-view/Makefile
1.11modifypkgsrc/devel/py-buildbot/distinfo
1.8modifypkgsrc/devel/py-buildbot/PLIST
1.23modifypkgsrc/devel/py-buildbot/Makefile