Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2348 from tardyp/porttostable
rc2 preparations
- Loading branch information
Showing
19 changed files
with
375 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import os | ||
from subprocess import CalledProcessError | ||
from subprocess import check_output | ||
|
||
import requests | ||
import yaml | ||
|
||
s = requests.Session() | ||
with open(os.path.expanduser('~/.config/hub')) as f: | ||
config = yaml.load(f)['github.com'][0] | ||
s.auth = config['user'], config['oauth_token'] | ||
|
||
os.system("git fetch --all") | ||
r = s.get("https://api.github.com/search/issues?q=label:\"port%20to%20stable\"+repo:buildbot/buildbot") | ||
to_port = r.json() | ||
summary = "" | ||
for pr in to_port['items']: | ||
r = s.get("https://api.github.com/repos/buildbot/buildbot/pulls/{number}/commits".format(**pr)) | ||
commits = r.json() | ||
for c in commits: | ||
title = c['commit']['message'].split("\n")[0] | ||
try: | ||
check_output("git cherry-pick {sha} 2>&1".format(**c), shell=True) | ||
except CalledProcessError as e: | ||
os.system("git diff") | ||
os.system("git reset --hard HEAD 2>&1 >/dev/null") | ||
if '--allow-empty' in e.output: | ||
continue | ||
if 'fatal: bad object' in e.output: | ||
continue | ||
print "cannot automatically cherry-pick", pr['number'], c['sha'], title,e.output | ||
else: | ||
summary += "\n#{number}: {title}".format(number=pr['number'], title=title , **c) | ||
print summary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
|
||
set -e | ||
for suffix in whl tar.gz | ||
do | ||
VE=sandbox.$suffix | ||
rm -rf $VE | ||
virtualenv $VE | ||
. $VE/bin/activate | ||
pip install -U pip | ||
pip install mock | ||
pip install dist/buildbot-0*.$suffix | ||
pip install dist/buildbot?pkg*.$suffix | ||
pip install dist/*.$suffix | ||
smokes/run.sh | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
Release Notes for Buildbot ``0.9.0rc2`` | ||
======================================== | ||
|
||
|
||
The following are the release notes for Buildbot ``0.9.0rc2``. | ||
This version was released on August 23, 2016. | ||
|
||
See :ref:`Upgrading to Nine` for a guide to upgrading from 0.8.x to 0.9.x | ||
|
||
|
||
Master | ||
------ | ||
|
||
Features | ||
~~~~~~~~ | ||
|
||
* add a UI button to allow to cancel the whole queue for a builder | ||
|
||
Fixes | ||
~~~~~ | ||
|
||
* fix the UI to allow to cancel a buildrequest (:bug:`3582`) | ||
* Fix BitbucketPullrequestPoller change detection | ||
* Fix customization for template_type in email reporter | ||
* fix DockerLatent integration of volumes mounting | ||
* misc doc fixes | ||
* fix buildbot not booting when builder tags contains duplicates | ||
* ``forcesched``: fix owner parameter when no authentication is used | ||
* REST: fix problem with twisted 16 error reporting | ||
* CORS: format errors according to API type | ||
* Dockerfiles fix and upgrade Ubuntu to 16.04 | ||
* Fixes #3430 Increased size of builder identifier from 20 to 50 (brings it in line to size of steps and workers in same module). | ||
* Fix missing VS2015 entry_points | ||
* removed the restriction on twisted < 16.3.0 now that autobahn 0.16.0 fixed the issue | ||
|
||
Changes for Developers | ||
~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Features | ||
~~~~~~~~ | ||
|
||
Fixes | ||
~~~~~ | ||
|
||
|
||
Deprecations, Removals, and Non-Compatible Changes | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
* remove repo from worker code (obsoleted by repo master source step) | ||
|
||
|
||
Worker | ||
------ | ||
|
||
Fixes | ||
~~~~~ | ||
|
||
Changes for Developers | ||
~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Deprecations, Removals, and Non-Compatible Changes | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
|
||
Details | ||
------- | ||
|
||
For a more detailed description of the changes made in this version, see the git log itself: | ||
|
||
.. code-block:: bash | ||
git log v0.9.0rc1..v0.9.0rc2 |
Oops, something went wrong.