summary refs log tree commit diff
path: root/pkgs/development/python-modules/buildbot/default.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-06-04 22:56:56 +0200
committerFlorian Klink <flokli@flokli.de>2020-06-05 00:20:37 +0200
commitf71d9240b00fe7d34cb8b1acaf2118b6081e2e0d (patch)
tree03d554dd04bacee85246c8668fac59c9a6990e26 /pkgs/development/python-modules/buildbot/default.nix
parentd0af797a5075663251b8491551faf0907fde5b27 (diff)
downloadnixpkgs-f71d9240b00fe7d34cb8b1acaf2118b6081e2e0d.tar
nixpkgs-f71d9240b00fe7d34cb8b1acaf2118b6081e2e0d.tar.gz
nixpkgs-f71d9240b00fe7d34cb8b1acaf2118b6081e2e0d.tar.bz2
nixpkgs-f71d9240b00fe7d34cb8b1acaf2118b6081e2e0d.tar.lz
nixpkgs-f71d9240b00fe7d34cb8b1acaf2118b6081e2e0d.tar.xz
nixpkgs-f71d9240b00fe7d34cb8b1acaf2118b6081e2e0d.tar.zst
nixpkgs-f71d9240b00fe7d34cb8b1acaf2118b6081e2e0d.zip
buildbot: 2.7.0 -> 2.8.0
```
Bug fixes

    Fix GitHubEventHandler to include files in Change that comes from a github PR (issue # 5294)
    Updated the Docker container buildbot-master to Alpine 3.11 to fix segmentation faults caused by an old version of musl
    Base64 encoding logs and attachments sent via email so emails conform to RFC 5322 2.1.1
    Handling the case where the BitbucketStatusPush return code is not 200
    When cancelling a buildrequest, the reason field is now correctly transmitted all the way to the cancelled step.
    Fix Cache-control header to be compliant with RFC 7234 (issue # 5220)
    Fix GerritEventLogPoller class to be declared as entry_point (can be used in master.cfg file)
    Git poller: add –ignore-missing argument to git log call to avoid fatal: bad object errors
    Log watcher looks for the “tail” utility in the right location on Haiku OS.
    Add limit and filtering support for the changes data API as described in issue # 5207

Improved Documentation

    Make docs build with the latest sphinx and improve rendering of the example HTML file for custom dashboard
    Make docs build with Sphinx 3 and fix some typos and incorrect Python module declarations

Features

    Property and Interpolate objects can now be compared. This will generate a renderable that will be evaluated at runtime. see Renderable Comparison.
    Added argument count to lock access to allow a lock to consume a variable amount of units
    Added arguments pollRandomDelayMin and pollRandomDelayMax to HgPoller, GitPoller, P4Poller, SvnPoller to spread the polling load
```
Diffstat (limited to 'pkgs/development/python-modules/buildbot/default.nix')
-rw-r--r--pkgs/development/python-modules/buildbot/default.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/buildbot/default.nix b/pkgs/development/python-modules/buildbot/default.nix
index b088480f5de..f9a73d24831 100644
--- a/pkgs/development/python-modules/buildbot/default.nix
+++ b/pkgs/development/python-modules/buildbot/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, buildPythonPackage, fetchPypi, fetchpatch, makeWrapper, isPy3k,
+{ stdenv, lib, buildPythonPackage, fetchFromGitHub, fetchpatch, makeWrapper, isPy3k,
   python, twisted, jinja2, zope_interface, future, sqlalchemy,
   sqlalchemy_migrate, dateutil, txaio, autobahn, pyjwt, pyyaml, treq,
   txrequests, pyjade, boto3, moto, mock, python-lz4, setuptoolsTrial,
@@ -25,12 +25,17 @@ let
 
   package = buildPythonPackage rec {
     pname = "buildbot";
-    version = "2.7.0";
+    version = "2.8.0";
 
-    src = fetchPypi {
-      inherit pname version;
-      sha256 = "0jj8fh611n7xc3vsfbgpqsllp38cfj3spkr2kz3ara2x7jvh3406";
+    # tests fail with the 2.8.0 sdist, so fetchFromGitHub instead
+    # https://github.com/buildbot/buildbot/pull/5322
+    src = fetchFromGitHub {
+      owner = "buildbot";
+      repo = "buildbot";
+      rev = "v${version}";
+      sha256 = "0akd61mgjp53c3vyf2yyzd0xf0cjwpvsi7g8pz72xrvnil1s4w7k";
     };
+    sourceRoot = "./source/master";
 
     propagatedBuildInputs = [
       # core