[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: raise daily personal scheduling limit to 500, we've seen no abuse, and we can always revert this

Holger Levsen holger at layer-acht.org
Wed May 3 12:28:02 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit da554cf225aa3c693ae449efe193762a5291e9a1
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed May 3 14:27:42 2017 +0200

    reproducible Debian: raise daily personal scheduling limit to 500, we've seen no abuse, and we can always revert this
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 README                               | 2 +-
 bin/reproducible_remote_scheduler.py | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README b/README
index 477c404..e109209 100644
--- a/README
+++ b/README
@@ -172,7 +172,7 @@ Installation tests inside chroot environments.
 ** log into alioth.debian.org via ssh, in the team home (/home/groups/reproducible/) there is a reschedule.sh script you can call. Use the --help switch to get the online help.
 ** The team IRC channel will get a notification about the scheduling and optionally when the build finishes too.
 
-* If you are not in the reproducible team or if you want to reschedule big sets of packages please ask for a manual rescheduling in the '#debian-reproducible' IRC channel on OFTC. Those with shell access to jenkins can bypass the limitations imposed to remote calls, which are limited to 200 schedulings per day.
+* If you are not in the reproducible team or if you want to reschedule big sets of packages please ask for a manual rescheduling in the '#debian-reproducible' IRC channel on OFTC. Those with shell access to jenkins can bypass the limitations imposed to remote calls, which are limited to 500 schedulings per day, which should be plenty for normal usage.
 
 * Blacklisting packages can be done similarly:
 
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index ff14806..2dab13b 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -212,7 +212,7 @@ date = (now - time_delta).strftime('%Y-%m-%d %H:%M')
 log.debug('date_scheduled = ' + date + ' time_delta = ' + str(time_delta))
 
 
-# a single person can't schedule more than 200 packages in the same day; this
+# a single person can't schedule more than 500 packages in the same day; this
 # is actually easy to bypass, but let's give some trust to the Debian people
 query = """SELECT count(*) FROM manual_scheduler
            WHERE requester = '{}' AND date_request > '{}'"""
@@ -221,7 +221,7 @@ try:
 except IndexError:
     amount = 0
 log.debug(requester + ' already scheduled ' + str(amount) + ' packages today')
-if amount + len(ids) > 200 and not local:
+if amount + len(ids) > 500 and not local:
     log.error(bcolors.FAIL + 'You have exceeded the maximum number of manual ' +
               'reschedulings allowed for a day. Please ask in ' +
               '#debian-reproducible if you need to schedule more packages.' +

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list