public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Gianluca Sforna <giallu@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/buildbot] epel10.2: Fix #1199283 with patch from upstream
Date: Fri, 09 Oct 2026 14:34:01 GMT	[thread overview]
Message-ID: <179155644118.1.17113274328337751835.rpms-buildbot-299bb9473f83@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/buildbot
Branch : epel10.2
Commit : 299bb9473f838e6b523d4c75bed838c6f252ad22
Author : Gianluca Sforna <giallu@gmail.com>
Date   : 2015-03-06T10:30:35+01:00
Stats  : +19/-3 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/buildbot/c/299bb9473f838e6b523d4c75bed838c6f252ad22?branch=epel10.2

Log:
Fix #1199283 with patch from upstream

---
diff --git a/buildbot-0.8.10-TypeError.patch b/buildbot-0.8.10-TypeError.patch
new file mode 100644
index 0000000..9a667f4
--- /dev/null
+++ b/buildbot-0.8.10-TypeError.patch
@@ -0,0 +1,12 @@
+Index: master/buildbot/status/web/slaves.py
+===================================================================
+--- a/master/buildbot/status/web/slaves.py
++++ b/master/buildbot/status/web/slaves.py
+@@ -115,6 +115,6 @@
+ 
+         try:
+-            max_builds = int(request.args.get('numbuilds')[0])
+-        except ValueError:
++            max_builds = int(request.args.get('numbuilds', ['10'])[0])
++        except (TypeError, ValueError):
+             max_builds = 10

diff --git a/buildbot.spec b/buildbot.spec
index eda4a6d..31ceb6a 100644
--- a/buildbot.spec
+++ b/buildbot.spec
@@ -9,7 +9,7 @@
 
 Name:           buildbot
 Version:        0.8.10
-Release:        1%{?dist}
+Release:        2%{?dist}
 
 Summary:        Build/test automation system
 Group:          Development/Tools
@@ -18,6 +18,8 @@ URL:            http://buildbot.net
 Source0:        https://pypi.python.org/packages/source/b/%{name}/%{name}-%{version}.tar.gz
 Source1:        https://pypi.python.org/packages/source/b/%{name}-slave/%{name}-slave-%{slaveversion}.tar.gz   
 
+Patch0:         buildbot-0.8.10-TypeError.patch
+
 BuildArch:      noarch
 
 BuildRequires:  python-devel
@@ -34,8 +36,6 @@ BuildRequires:  python-twisted-web
 BuildRequires:  python-twisted-mail
 BuildRequires:  python-twisted-words
 
-# Lately, bzr tests fail. I contacted upstream about the issue
-# in the meanwhile they are disabled
 BuildRequires:  bzr 
 BuildRequires:  cvs
 BuildRequires:  git
@@ -118,6 +118,7 @@ Buildbot documentation
 %prep
 %setup -q -b 1 -n %{name}-slave-%{slaveversion}
 %setup -q
+%patch0 -p2
 
 
 %build
@@ -187,6 +188,9 @@ sed -i '1i#!/usr/bin/python' %{buildroot}%{_datadir}/%{name}/contrib/bk_buildbot
 
 
 %changelog
+* Thu Mar  5 2015 Gianluca Sforna <giallu@gmail.com> - 0.8.10-2
+* add patch from upstream for # 1199283
+
 * Fri Dec 19 2014 Gianluca Sforna <giallu@gmail.com> - 0.8.10-1
 - new upstream release
 - remove upstreamed patch

                 reply	other threads:[~2026-10-09 14:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179155644118.1.17113274328337751835.rpms-buildbot-299bb9473f83@fedoraproject.org \
    --to=giallu@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox