tb3/build-scripts/dev-bibisect-build | 2 +- tb3/dist-packages/tb3/scheduler.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-)
New commits: commit e155ee9737558e74388e9eff6e26faf59bbcdac3 Author: Bjoern Michaelsen <[email protected]> Date: Mon Jul 29 12:42:37 2013 +0200 be more forgiving while normalizing diff --git a/tb3/dist-packages/tb3/scheduler.py b/tb3/dist-packages/tb3/scheduler.py index 6fb7505..8e9beb1 100644 --- a/tb3/dist-packages/tb3/scheduler.py +++ b/tb3/dist-packages/tb3/scheduler.py @@ -42,10 +42,12 @@ class Scheduler: def norm_results(self, proposals, offset): maxscore = 0 #maxscore = functools.reduce( lambda x,y: max(x.score, y.score), proposals) + if not len(proposals): + return for proposal in proposals: maxscore = max(maxscore, proposal.score) - multiplier = (len(proposals) + offset) / maxscore if maxscore > 0: + multiplier = (len(proposals) + offset) / maxscore for proposal in proposals: proposal.score = proposal.score * multiplier def dampen_running_commits(self, commits, proposals, time): commit 48dfadf9b5bd25d2788864b66e3cffd816f9056f Author: Bjoern Michaelsen <[email protected]> Date: Mon Jul 29 12:38:44 2013 +0200 tweak buildscript diff --git a/tb3/build-scripts/dev-bibisect-build b/tb3/build-scripts/dev-bibisect-build index 5722215..4aeed55 100755 --- a/tb3/build-scripts/dev-bibisect-build +++ b/tb3/build-scripts/dev-bibisect-build @@ -44,7 +44,7 @@ echo echo "==== Configuring build ====" echo "configuring commit $COMMIT from repo $REPO in workdir $BUILDER_HOME on platform $PLATFORM as builder $BUILDER with script $0." > $BUILDER_HOME/artifactdir/autogen.log -(cd $BUILDER_HOME/builddir && ./autogen.sh --with-external-tar=$BUILDER_HOME/tarballs --disable-linkoo --disable-option-checking --disable-dependency-tracking) 2>&1 | tee --append $BUILDER_HOME/artifactdir/autogen.log +(cd $BUILDER_HOME/builddir && ./autogen.sh --with-external-tar=$BUILDER_HOME/tarballs --disable-linkoo --disable-option-checking --disable-dependency-tracking --without-doxygen) 2>&1 | tee --append $BUILDER_HOME/artifactdir/autogen.log echo echo _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
