amitay/build-farm.git
13 years agoEnable debugging as early as possible.
Jelmer Vernooij [Tue, 16 Nov 2010 22:11:45 +0000 (23:11 +0100)]
Enable debugging as early as possible.

13 years agoswitch over to sqlite database by default.
Jelmer Vernooij [Tue, 16 Nov 2010 22:02:50 +0000 (23:02 +0100)]
switch over to sqlite database by default.

13 years agoFix access to buildfarm variable.
Jelmer Vernooij [Tue, 16 Nov 2010 21:50:16 +0000 (22:50 +0100)]
Fix access to buildfarm variable.

13 years agoAdd CGI_DEBUG variable.
Jelmer Vernooij [Tue, 16 Nov 2010 21:48:10 +0000 (22:48 +0100)]
Add CGI_DEBUG variable.

13 years agoAdd buildfarm.web tests.
Jelmer Vernooij [Mon, 15 Nov 2010 15:30:50 +0000 (16:30 +0100)]
Add buildfarm.web tests.

13 years agoFix exception handling when both python-pysqlite2 and sqlite3 are installed.
Jelmer Vernooij [Mon, 15 Nov 2010 15:30:36 +0000 (16:30 +0100)]
Fix exception handling when both python-pysqlite2 and sqlite3 are installed.

13 years agoDecode host names and platform name.
Jelmer Vernooij [Mon, 15 Nov 2010 14:09:14 +0000 (15:09 +0100)]
Decode host names and platform name.

13 years agoImprove formatting in web output.
Jelmer Vernooij [Mon, 15 Nov 2010 14:03:43 +0000 (15:03 +0100)]
Improve formatting in web output.

13 years agoSimplify standalone code.
Jelmer Vernooij [Mon, 15 Nov 2010 13:53:24 +0000 (14:53 +0100)]
Simplify standalone code.

13 years agoFix build.cgi mode, ulimit.
Jelmer Vernooij [Mon, 15 Nov 2010 13:44:14 +0000 (14:44 +0100)]
Fix build.cgi mode, ulimit.

13 years agoUse rlimit.
Jelmer Vernooij [Mon, 15 Nov 2010 13:20:15 +0000 (14:20 +0100)]
Use rlimit.

13 years agoAdd build cgi script.
Jelmer Vernooij [Mon, 15 Nov 2010 12:25:37 +0000 (13:25 +0100)]
Add build cgi script.

13 years agoImplement sql-specific get_old_revs.
Jelmer Vernooij [Mon, 15 Nov 2010 00:57:33 +0000 (01:57 +0100)]
Implement sql-specific get_old_revs.

13 years agoActually use sqldb.
Jelmer Vernooij [Mon, 15 Nov 2010 00:51:02 +0000 (01:51 +0100)]
Actually use sqldb.

13 years agoAdd missing extensions for git repositories.
Jelmer Vernooij [Mon, 15 Nov 2010 00:42:47 +0000 (01:42 +0100)]
Add missing extensions for git repositories.

13 years agoMove hostdb to a separate db directory.
Jelmer Vernooij [Mon, 15 Nov 2010 00:39:18 +0000 (01:39 +0100)]
Move hostdb to a separate db directory.

13 years agoSupport passing timeout to the StormCachingBuildFarm.
Jelmer Vernooij [Mon, 15 Nov 2010 00:37:13 +0000 (01:37 +0100)]
Support passing timeout to the StormCachingBuildFarm.

13 years agoCope with revision info not being present when displaying items in the web view.
Jelmer Vernooij [Sun, 14 Nov 2010 15:08:41 +0000 (16:08 +0100)]
Cope with revision info not being present when displaying items in the web view.

13 years agoFix nasty gram sending.
Jelmer Vernooij [Sat, 13 Nov 2010 19:11:15 +0000 (20:11 +0100)]
Fix nasty gram sending.

13 years agoProperly encode dictionary elements.
Jelmer Vernooij [Sat, 13 Nov 2010 19:09:11 +0000 (20:09 +0100)]
Properly encode dictionary elements.

13 years agoRemove now obsolete hostdb.pm.
Jelmer Vernooij [Sat, 13 Nov 2010 19:00:40 +0000 (20:00 +0100)]
Remove now obsolete hostdb.pm.

13 years agoSwitch over to using python import-and-analyse.
Jelmer Vernooij [Sat, 13 Nov 2010 18:57:47 +0000 (19:57 +0100)]
Switch over to using python import-and-analyse.

13 years agoFix blame mail sending.
Jelmer Vernooij [Sat, 13 Nov 2010 18:56:28 +0000 (19:56 +0100)]
Fix blame mail sending.

13 years agoTry a bit harder to not fetch from the upload directory when looking for old builds.
Jelmer Vernooij [Sat, 13 Nov 2010 18:42:52 +0000 (19:42 +0100)]
Try a bit harder to not fetch from the upload directory when looking for old builds.

13 years agoFix formatting.
Jelmer Vernooij [Sat, 13 Nov 2010 18:31:50 +0000 (19:31 +0100)]
Fix formatting.

13 years agoCope with missing revision info in logs.
Jelmer Vernooij [Sat, 13 Nov 2010 17:30:56 +0000 (18:30 +0100)]
Cope with missing revision info in logs.

13 years agoFix override of status method.
Jelmer Vernooij [Sat, 13 Nov 2010 17:24:13 +0000 (18:24 +0100)]
Fix override of status method.

13 years agoSkip duplicate builds.
Jelmer Vernooij [Sat, 13 Nov 2010 17:17:36 +0000 (18:17 +0100)]
Skip duplicate builds.

13 years agoDon't kill upload builds just yet, improve verboseness.
Jelmer Vernooij [Sat, 13 Nov 2010 17:08:33 +0000 (18:08 +0100)]
Don't kill upload builds just yet, improve verboseness.

13 years agoCope with previous builds disappearing.
Jelmer Vernooij [Sat, 13 Nov 2010 16:56:39 +0000 (17:56 +0100)]
Cope with previous builds disappearing.

13 years agoCope with builds already existing.
Jelmer Vernooij [Sat, 13 Nov 2010 16:54:11 +0000 (17:54 +0100)]
Cope with builds already existing.

13 years agoCope with system version of sqlite.
Jelmer Vernooij [Sat, 13 Nov 2010 16:26:31 +0000 (17:26 +0100)]
Cope with system version of sqlite.

13 years agoFix commit handling from specific author.
Jelmer Vernooij [Sat, 13 Nov 2010 15:54:55 +0000 (16:54 +0100)]
Fix commit handling from specific author.

13 years agoImprove regressed_since.
Jelmer Vernooij [Sat, 13 Nov 2010 15:48:01 +0000 (16:48 +0100)]
Improve regressed_since.

13 years agoFix old revisions table.
Jelmer Vernooij [Sat, 13 Nov 2010 15:29:18 +0000 (16:29 +0100)]
Fix old revisions table.

13 years agoImprove performance of history browsing.
Jelmer Vernooij [Sat, 13 Nov 2010 15:21:06 +0000 (16:21 +0100)]
Improve performance of history browsing.

13 years agoMention correct port in message.
Jelmer Vernooij [Sat, 13 Nov 2010 15:08:34 +0000 (16:08 +0100)]
Mention correct port in message.

13 years agoFix CSS in standalone mode, move static file hack out of app, get rid of global.
Jelmer Vernooij [Sat, 13 Nov 2010 15:06:49 +0000 (16:06 +0100)]
Fix CSS in standalone mode, move static file hack out of app, get rid of global.

13 years agoRemove obsolete tree, more history horizon.
Jelmer Vernooij [Sat, 13 Nov 2010 14:58:51 +0000 (15:58 +0100)]
Remove obsolete tree, more history horizon.

13 years agoFix cache.
Jelmer Vernooij [Sat, 13 Nov 2010 14:11:10 +0000 (15:11 +0100)]
Fix cache.

13 years agoLimit history.
Jelmer Vernooij [Sat, 13 Nov 2010 14:10:17 +0000 (15:10 +0100)]
Limit history.

13 years agoMove file cache specific code to filecache module.
Jelmer Vernooij [Sat, 13 Nov 2010 13:54:09 +0000 (14:54 +0100)]
Move file cache specific code to filecache module.

13 years agoattempt to speed up log parsing by compiling regexes beforehand.
Jelmer Vernooij [Sat, 13 Nov 2010 13:40:18 +0000 (14:40 +0100)]
attempt to speed up log parsing by compiling regexes beforehand.

13 years agoAllow limiting the number of revisions that we look back.
Jelmer Vernooij [Sat, 13 Nov 2010 13:36:29 +0000 (14:36 +0100)]
Allow limiting the number of revisions that we look back.

13 years agoProvide GitBranch.authors.
Jelmer Vernooij [Sat, 13 Nov 2010 13:23:47 +0000 (14:23 +0100)]
Provide GitBranch.authors.

13 years agofix git root.
Jelmer Vernooij [Sat, 13 Nov 2010 13:21:40 +0000 (14:21 +0100)]
fix git root.

13 years agoKill a global.
Jelmer Vernooij [Sat, 13 Nov 2010 13:08:19 +0000 (14:08 +0100)]
Kill a global.

13 years agoSupport overriding cache page on command line for web/build.py
Jelmer Vernooij [Sat, 13 Nov 2010 12:55:45 +0000 (13:55 +0100)]
Support overriding cache page on command line for web/build.py
Put pages into a separate class.
Several other fixes.

13 years agoVarious fixes found during ad-hoc testing.
Jelmer Vernooij [Sat, 13 Nov 2010 12:08:07 +0000 (13:08 +0100)]
Various fixes found during ad-hoc testing.

13 years agoAdd convenience function for avoiding database. Move database code to separate module.
Jelmer Vernooij [Sat, 13 Nov 2010 05:40:18 +0000 (06:40 +0100)]
Add convenience function for avoiding database. Move database code to separate module.

13 years agoFix some formatting.
Jelmer Vernooij [Sat, 13 Nov 2010 05:05:10 +0000 (06:05 +0100)]
Fix some formatting.

13 years agoMore fixes for import-and-analyse.
Jelmer Vernooij [Sat, 13 Nov 2010 04:49:39 +0000 (05:49 +0100)]
More fixes for import-and-analyse.

13 years agoUse named tuples, some more fixes for hostdb.
Jelmer Vernooij [Sat, 13 Nov 2010 04:24:47 +0000 (05:24 +0100)]
Use named tuples, some more fixes for hostdb.

13 years agoWarn early when creating host that already exists, move some storm code around.
Jelmer Vernooij [Sat, 13 Nov 2010 04:11:05 +0000 (05:11 +0100)]
Warn early when creating host that already exists, move some storm code around.

13 years agoMove some functionality to Host.
Jelmer Vernooij [Sat, 13 Nov 2010 03:43:47 +0000 (04:43 +0100)]
Move some functionality to Host.

13 years agoMore storm usage.
Jelmer Vernooij [Sat, 13 Nov 2010 03:16:47 +0000 (04:16 +0100)]
More storm usage.

13 years agoUse storm in host database.
Jelmer Vernooij [Sat, 13 Nov 2010 03:09:04 +0000 (04:09 +0100)]
Use storm in host database.

13 years agoUse storm to find builds.
Jelmer Vernooij [Sat, 13 Nov 2010 02:50:04 +0000 (03:50 +0100)]
Use storm to find builds.

13 years agoRemove unecessary argument from Build().
Jelmer Vernooij [Sat, 13 Nov 2010 02:09:46 +0000 (03:09 +0100)]
Remove unecessary argument from Build().

13 years agouse storm.
Jelmer Vernooij [Sat, 13 Nov 2010 01:55:39 +0000 (02:55 +0100)]
use storm.

13 years agoBe verbose when there's no previous build.
Jelmer Vernooij [Sat, 13 Nov 2010 00:24:51 +0000 (01:24 +0100)]
Be verbose when there's no previous build.

13 years agoCope with import-and-analyse dry runs.
Jelmer Vernooij [Sat, 13 Nov 2010 00:22:21 +0000 (01:22 +0100)]
Cope with import-and-analyse dry runs.

13 years agoFix implementation of get_previous_revision.
Jelmer Vernooij [Sat, 13 Nov 2010 00:15:34 +0000 (01:15 +0100)]
Fix implementation of get_previous_revision.

13 years agoUse sqlite backed buildfarm in import-and-analyse.
Jelmer Vernooij [Fri, 12 Nov 2010 23:32:59 +0000 (00:32 +0100)]
Use sqlite backed buildfarm in import-and-analyse.

13 years agoAdd sql caching buildfarm.
Jelmer Vernooij [Fri, 12 Nov 2010 23:30:57 +0000 (00:30 +0100)]
Add sql caching buildfarm.

13 years agoUse commit_revision rather revision.
Jelmer Vernooij [Fri, 12 Nov 2010 23:20:14 +0000 (00:20 +0100)]
Use commit_revision rather revision.

13 years agoSome fixes for import-and-analyse.
Jelmer Vernooij [Fri, 12 Nov 2010 23:11:20 +0000 (00:11 +0100)]
Some fixes for import-and-analyse.

13 years agoSimplify revision_details() call.
Jelmer Vernooij [Fri, 12 Nov 2010 22:12:53 +0000 (23:12 +0100)]
Simplify revision_details() call.

13 years agoAdd upload_build for sqlite.
Jelmer Vernooij [Fri, 12 Nov 2010 22:08:22 +0000 (23:08 +0100)]
Add upload_build for sqlite.

13 years agoadd initial code for sql backed build result data.
Jelmer Vernooij [Fri, 12 Nov 2010 21:51:50 +0000 (22:51 +0100)]
add initial code for sql backed build result data.

13 years agoScan for builds then verify, rather than probing.
Jelmer Vernooij [Fri, 12 Nov 2010 19:32:57 +0000 (20:32 +0100)]
Scan for builds then verify, rather than probing.

13 years agoUnconfuse repr and str for BuildStatus.
Jelmer Vernooij [Fri, 12 Nov 2010 19:24:27 +0000 (20:24 +0100)]
Unconfuse repr and str for BuildStatus.

13 years agoPrint build status when verbose.
Jelmer Vernooij [Fri, 12 Nov 2010 19:21:03 +0000 (20:21 +0100)]
Print build status when verbose.

13 years agoMore fixes, implement Build.__repr__.
Jelmer Vernooij [Fri, 12 Nov 2010 19:17:09 +0000 (20:17 +0100)]
More fixes, implement Build.__repr__.

13 years agoProvide stub get_previous_revision.
Jelmer Vernooij [Fri, 12 Nov 2010 19:12:08 +0000 (20:12 +0100)]
Provide stub get_previous_revision.

13 years agoFix argument order.
Jelmer Vernooij [Fri, 12 Nov 2010 19:09:40 +0000 (20:09 +0100)]
Fix argument order.

13 years agoFix new build fetching.
Jelmer Vernooij [Fri, 12 Nov 2010 19:07:39 +0000 (20:07 +0100)]
Fix new build fetching.

13 years agoadmin: Only update hosts list/rsyncd secrets when changes have been made.
Jelmer Vernooij [Fri, 12 Nov 2010 19:05:24 +0000 (20:05 +0100)]
admin: Only update hosts list/rsyncd secrets when changes have been made.

13 years agoSwitch over to using python mail-dead-hosts scripts.
Jelmer Vernooij [Fri, 12 Nov 2010 19:01:12 +0000 (20:01 +0100)]
Switch over to using python mail-dead-hosts scripts.

13 years agoKeep connection open while sending dead host notifications, only mark mail sent when...
Jelmer Vernooij [Fri, 12 Nov 2010 18:59:08 +0000 (19:59 +0100)]
Keep connection open while sending dead host notifications, only mark mail sent when not using dry run.

13 years agoHonor dry_run in import-and-analyse.
Jelmer Vernooij [Fri, 12 Nov 2010 18:55:06 +0000 (19:55 +0100)]
Honor dry_run in import-and-analyse.

13 years agoSimplify a bit.
Jelmer Vernooij [Fri, 12 Nov 2010 18:53:20 +0000 (19:53 +0100)]
Simplify a bit.

13 years agoAdd command line parsing to mail-dead-hosts.
Jelmer Vernooij [Fri, 12 Nov 2010 18:53:12 +0000 (19:53 +0100)]
Add command line parsing to mail-dead-hosts.

13 years agoSupport removing builds.
Jelmer Vernooij [Fri, 12 Nov 2010 10:20:15 +0000 (11:20 +0100)]
Support removing builds.

13 years agoRemove some unncessary indirects.
Jelmer Vernooij [Fri, 12 Nov 2010 09:17:37 +0000 (10:17 +0100)]
Remove some unncessary indirects.

13 years agoImplement diff.
Jelmer Vernooij [Fri, 12 Nov 2010 08:56:41 +0000 (09:56 +0100)]
Implement diff.

13 years agoSimplify history walking.
Jelmer Vernooij [Fri, 12 Nov 2010 08:45:33 +0000 (09:45 +0100)]
Simplify history walking.

13 years agowork on history support using dulwich
Jelmer Vernooij [Fri, 12 Nov 2010 01:50:29 +0000 (02:50 +0100)]
work on history support using dulwich

13 years agoprint the return code value as it can help debug
Matthieu Patou [Fri, 12 Nov 2010 00:17:47 +0000 (03:17 +0300)]
print the return code value as it can help debug

13 years agoTest upload_build.
Jelmer Vernooij [Thu, 11 Nov 2010 23:21:28 +0000 (00:21 +0100)]
Test upload_build.

13 years agoAdd tests for BuildFarm.get_build().
Jelmer Vernooij [Thu, 11 Nov 2010 22:24:28 +0000 (23:24 +0100)]
Add tests for BuildFarm.get_build().

13 years agoTest both cache and non-cache versions.
Jelmer Vernooij [Thu, 11 Nov 2010 22:19:30 +0000 (23:19 +0100)]
Test both cache and non-cache versions.

13 years agoTest both BuildFarm and CachingBuildFarm.
Jelmer Vernooij [Thu, 11 Nov 2010 21:59:47 +0000 (22:59 +0100)]
Test both BuildFarm and CachingBuildFarm.

13 years agoAdd some more base buildfarm tests.
Jelmer Vernooij [Thu, 11 Nov 2010 21:56:15 +0000 (22:56 +0100)]
Add some more base buildfarm tests.

13 years agoFix caching buildfarm.
Jelmer Vernooij [Thu, 11 Nov 2010 21:41:46 +0000 (22:41 +0100)]
Fix caching buildfarm.

13 years agomake import-and-analyse executable.
Jelmer Vernooij [Thu, 11 Nov 2010 21:38:35 +0000 (22:38 +0100)]
make import-and-analyse executable.

13 years agoReintroduce readonly parameter, remove unnecessary code.
Jelmer Vernooij [Thu, 11 Nov 2010 21:17:21 +0000 (22:17 +0100)]
Reintroduce readonly parameter, remove unnecessary code.

13 years agoUse the correct form for cmp
Matthieu Patou [Thu, 11 Nov 2010 19:50:53 +0000 (22:50 +0300)]
Use the correct form for cmp

13 years agoattribute readonly didn't exists (anymore ?)
Matthieu Patou [Thu, 11 Nov 2010 19:48:40 +0000 (22:48 +0300)]
attribute readonly didn't exists (anymore ?)

13 years agoremove useless declaration
Matthieu Patou [Thu, 11 Nov 2010 19:44:07 +0000 (22:44 +0300)]
remove useless declaration