Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ac8d85087811
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8496f9556c37
Choose a head ref
  • 3 commits
  • 5 files changed
  • 3 contributors

Commits on Nov 8, 2019

  1. buildbot: 2.4.1 -> 2.5.0

    lopsided98 authored and Jon committed Nov 8, 2019
    Copy the full SHA
    a1c3a7f View commit details

Commits on Nov 9, 2019

  1. Copy the full SHA
    62e421f View commit details
  2. Merge pull request #73086 from redvers/httpd-module-enableUserDir-fix

    nixos/httpd: module fixes enableUserDir (attendum to #72789)
    aanderse authored Nov 9, 2019
    Copy the full SHA
    8496f95 View commit details
3 changes: 3 additions & 0 deletions nixos/modules/services/web-servers/apache-httpd/default.nix
Original file line number Diff line number Diff line change
@@ -33,6 +33,8 @@ let

enableSSL = any (vhost: vhost.enableSSL) allHosts;

enableUserDir = any (vhost: vhost.enableUserDir) allHosts;

# NOTE: generally speaking order of modules is very important
modules =
[ # required apache modules our httpd service cannot run without
@@ -45,6 +47,7 @@ let
]
++ (if mainCfg.multiProcessingModule == "prefork" then [ "cgi" ] else [ "cgid" ])
++ optional enableSSL "ssl"
++ optional enableUserDir "userdir"
++ optional mainCfg.enableMellon { name = "auth_mellon"; path = "${pkgs.apacheHttpdPackages.mod_auth_mellon}/modules/mod_auth_mellon.so"; }
++ optional mainCfg.enablePHP { name = "php${phpMajorVersion}"; path = "${php}/modules/libphp${phpMajorVersion}.so"; }
++ optional mainCfg.enablePerl { name = "perl"; path = "${mod_perl}/modules/mod_perl.so"; }
19 changes: 14 additions & 5 deletions pkgs/development/python-modules/buildbot/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, makeWrapper, isPy3k,
{ stdenv, lib, buildPythonPackage, fetchPypi, 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,
isort, pylint, flake8, buildbot-worker, buildbot-pkg, parameterized,
git, glibcLocales }:
isort, pylint, flake8, buildbot-worker, buildbot-pkg, buildbot-plugins,
parameterized, git, openssh, glibcLocales }:

let
withPlugins = plugins: buildPythonPackage {
@@ -29,7 +29,7 @@ let

src = fetchPypi {
inherit pname version;
sha256 = "e4e6b2861c4f29ed5d84ca497ca7053ae1cc9b9a5387389c457ff9f7e651bf19";
sha256 = "06dza7kggybz8nf3i1skkadwrq9s0nkpqjfahifysaag3j3b5rp4";
};

propagatedBuildInputs = [
@@ -63,15 +63,24 @@ let
flake8
buildbot-worker
buildbot-pkg
buildbot-plugins.www
parameterized
git
openssh
glibcLocales
];

patches = [
# This patch disables the test that tries to read /etc/os-release which
# is not accessible in sandboxed builds.
./skip_test_linux_distro.patch
# Work around https://github.com/glyph/automat/issues/117
(fetchpatch {
url = "https://git.archlinux.org/svntogit/community.git/plain/trunk/buildbot-automat-117.diff?h=packages/buildbot&id=7904292340f98578adfe783a09e9eb4c5b1d4632";
name = "buildbot-automat-117.diff";
stripLen = 1;
sha256 = "0rng6f8nvghkihajz9m925rdp9q3c395bj4wc7r2s1minv613hba";
})
];

postPatch = ''
@@ -93,7 +102,7 @@ let
};

meta = with lib; {
homepage = http://buildbot.net/;
homepage = "https://buildbot.net/";
description = "Buildbot is an open-source continuous integration framework for automating software build, test, and release processes";
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2;
8 changes: 5 additions & 3 deletions pkgs/development/python-modules/buildbot/pkg.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib, buildPythonPackage, fetchPypi, isPy3k }:

buildPythonPackage rec {
pname = "buildbot-pkg";
version = "2.5.0";

src = fetchPypi {
inherit pname version;
sha256 = "7c5b508c8c0d2fef5cdf4001c9f1e848f06fe8d6c30d8dff571a1a1fd251c9d7";
sha256 = "1my9a791y6hsazzqs3f3svl6zw28x3qwj0a0vxffybqdij650nvw";
};

postPatch = ''
@@ -15,8 +15,10 @@ buildPythonPackage rec {
substituteInPlace buildbot_pkg.py --replace "os.listdir = listdir" ""
'';

disabled = !isPy3k;

meta = with lib; {
homepage = http://buildbot.net/;
homepage = "https://buildbot.net/";
description = "Buildbot Packaging Helper";
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2;
50 changes: 34 additions & 16 deletions pkgs/development/python-modules/buildbot/plugins.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, buildbot, buildbot-pkg, mock }:
{ lib, buildPythonPackage, fetchPypi, buildbot-pkg, mock }:

{
www = buildPythonPackage rec {
@@ -7,13 +7,23 @@

src = fetchPypi {
inherit pname version;
sha256 = "0l4kyxh62y86cw97101gjs42n1sdw1n18cgh6mm337gzjn42nv3x";
sha256 = "0awy96pb9s9g0nrmlrvqf5zi878z6mvj653inf9sm89x601a6lp1";
};

buildInputs = [ buildbot buildbot-pkg mock ];
# Remove unneccessary circular dependency on buildbot
postPatch = ''
sed -i setup.py \
-e "/import buildbot/d" \
-e "s/'buildbot',//"
'';

buildInputs = [ buildbot-pkg mock ];

# No tests
doCheck = false;

meta = with lib; {
homepage = http://buildbot.net/;
homepage = "https://buildbot.net/";
description = "Buildbot UI";
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2;
@@ -26,14 +36,16 @@

src = fetchPypi {
inherit pname version;
sha256 = "1s0jl5b9zd7iwxqfb2g145nzf5nx6q44x4y1axkzilkd777162cz";
sha256 = "0bp7bbq6rq1kdg3pf8plcpc4amam0pks5dlmyqj6bn29skfa5h1j";
};

buildInputs = [ buildbot-pkg ];
checkInputs = [ buildbot ];

# No tests
doCheck = false;

meta = with lib; {
homepage = http://buildbot.net/;
homepage = "https://buildbot.net/";
description = "Buildbot Console View Plugin";
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2;
@@ -46,14 +58,16 @@

src = fetchPypi {
inherit pname version;
sha256 = "0qld1424d4qvf08qz5ibl3pv0qzj0qxrvgra5dr3wagaq3jfh3kz";
sha256 = "1mxxkqzh4a6574n2lk2ndi77d9g93hjpkwsqizj911n6ibsn4qw3";
};

buildInputs = [ buildbot-pkg ];
checkInputs = [ buildbot ];

# No tests
doCheck = false;

meta = with lib; {
homepage = http://buildbot.net/;
homepage = "https://buildbot.net/";
description = "Buildbot Waterfall View Plugin";
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2;
@@ -66,14 +80,16 @@

src = fetchPypi {
inherit pname version;
sha256 = "1di8w9dzalg3d2k3wff682irbi8dcksysc9n176zncmkbi2pr2ia";
sha256 = "1fkrd5crbgqgp8mr8qgfy559f59ys6hrspddzk3fwg5hrsckkjwr";
};

buildInputs = [ buildbot-pkg ];
checkInputs = [ buildbot ];

# No tests
doCheck = false;

meta = with lib; {
homepage = http://buildbot.net/;
homepage = "https://buildbot.net/";
description = "Buildbot Grid View Plugin";
maintainers = with maintainers; [ nand0p lopsided98 ];
license = licenses.gpl2;
@@ -86,14 +102,16 @@

src = fetchPypi {
inherit pname version;
sha256 = "0gh6ddczlga75n6fh9pkbv39x8p3b6pqviaj287wab27wimd1hxa";
sha256 = "0cvbizcc92df08xcs8w6ah51yfilxz7sx9g8bbdrvw6m586ziczb";
};

buildInputs = [ buildbot-pkg ];
checkInputs = [ buildbot ];

# No tests
doCheck = false;

meta = with lib; {
homepage = http://buildbot.net/;
homepage = "https://buildbot.net/";
description = "Buildbot WSGI dashboards Plugin";
maintainers = with maintainers; [ lopsided98 ];
license = licenses.gpl2;
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/buildbot/worker.nix
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ buildPythonPackage (rec {

src = fetchPypi {
inherit pname version;
sha256 = "8330cf314064516648e78d2685b2eaae14fc9481351eb229f1392b38bdc18815";
sha256 = "05c8q6ykharry4lv47imh6agq55fxar8a9ldwx46clb480qwyc43";
};

propagatedBuildInputs = [ twisted future ];
@@ -20,7 +20,7 @@ buildPythonPackage (rec {
'';

meta = with lib; {
homepage = http://buildbot.net/;
homepage = "https://buildbot.net/";
description = "Buildbot Worker Daemon";
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2;