amitay/build-farm.git
13 years agoActually use storm db.
Jelmer Vernooij [Fri, 19 Nov 2010 18:52:21 +0000 (19:52 +0100)]
Actually use storm db.

13 years agoUse storm db in admin.py.
Jelmer Vernooij [Fri, 19 Nov 2010 18:51:44 +0000 (19:51 +0100)]
Use storm db in admin.py.

13 years agoStore basename in database.
Jelmer Vernooij [Fri, 19 Nov 2010 18:34:58 +0000 (19:34 +0100)]
Store basename in database.

13 years agoReturn no such build error.
Jelmer Vernooij [Fri, 19 Nov 2010 18:16:50 +0000 (19:16 +0100)]
Return no such build error.

13 years agohost -> __getitem__
Jelmer Vernooij [Fri, 19 Nov 2010 18:15:01 +0000 (19:15 +0100)]
host -> __getitem__

13 years agoCope with unknown hosts in dead host list.
Jelmer Vernooij [Fri, 19 Nov 2010 18:10:21 +0000 (19:10 +0100)]
Cope with unknown hosts in dead host list.

13 years agoSupport displaying dead host age.
Jelmer Vernooij [Fri, 19 Nov 2010 18:08:51 +0000 (19:08 +0100)]
Support displaying dead host age.

13 years agoCope with nonexistant hosts.
Jelmer Vernooij [Fri, 19 Nov 2010 18:05:18 +0000 (19:05 +0100)]
Cope with nonexistant hosts.

13 years agoFix sorting, right builds in results.
Jelmer Vernooij [Fri, 19 Nov 2010 17:56:55 +0000 (18:56 +0100)]
Fix sorting, right builds in results.

13 years agoremove unused variables.
Jelmer Vernooij [Fri, 19 Nov 2010 17:34:45 +0000 (18:34 +0100)]
remove unused variables.

13 years agoFix get_tree_builds call.
Jelmer Vernooij [Fri, 19 Nov 2010 01:36:39 +0000 (02:36 +0100)]
Fix get_tree_builds call.

13 years agoAdd get_last_builds tests.
Jelmer Vernooij [Fri, 19 Nov 2010 01:35:00 +0000 (02:35 +0100)]
Add get_last_builds tests.

13 years agoAdd get_tree_builds.
Jelmer Vernooij [Fri, 19 Nov 2010 00:21:35 +0000 (01:21 +0100)]
Add get_tree_builds.

13 years agoAdd newlines.
Jelmer Vernooij [Thu, 18 Nov 2010 23:05:27 +0000 (00:05 +0100)]
Add newlines.

13 years agoIgnore some files.
Jelmer Vernooij [Thu, 18 Nov 2010 22:01:48 +0000 (23:01 +0100)]
Ignore some files.

13 years agouse pygments for prettyfying diffs.
Jelmer Vernooij [Thu, 18 Nov 2010 21:28:17 +0000 (22:28 +0100)]
use pygments for prettyfying diffs.

13 years agoremove more unicode references.
Jelmer Vernooij [Wed, 17 Nov 2010 10:53:03 +0000 (11:53 +0100)]
remove more unicode references.

13 years agoAdd id column to host.
Jelmer Vernooij [Wed, 17 Nov 2010 10:49:13 +0000 (11:49 +0100)]
Add id column to host.

13 years agoAdd test for Kai's wrong culprit mail.
Jelmer Vernooij [Wed, 17 Nov 2010 10:38:27 +0000 (11:38 +0100)]
Add test for Kai's wrong culprit mail.

13 years agoSimplify menu.
Jelmer Vernooij [Wed, 17 Nov 2010 10:36:53 +0000 (11:36 +0100)]
Simplify menu.

13 years agoRemove more pointless encoding.
Jelmer Vernooij [Wed, 17 Nov 2010 10:19:32 +0000 (11:19 +0100)]
Remove more pointless encoding.

13 years agoGet rid of some unicode.
Jelmer Vernooij [Wed, 17 Nov 2010 10:17:41 +0000 (11:17 +0100)]
Get rid of some unicode.

13 years agoChange some fields to blobs.
Jelmer Vernooij [Wed, 17 Nov 2010 09:57:57 +0000 (10:57 +0100)]
Change some fields to blobs.

13 years agoProperly encode compiler name.
Jelmer Vernooij [Wed, 17 Nov 2010 09:41:25 +0000 (10:41 +0100)]
Properly encode compiler name.

13 years agoRemove no longer used file cache.
Jelmer Vernooij [Wed, 17 Nov 2010 09:39:30 +0000 (10:39 +0100)]
Remove no longer used file cache.

13 years agoSkip unknown hosts.
Jelmer Vernooij [Wed, 17 Nov 2010 09:37:40 +0000 (10:37 +0100)]
Skip unknown hosts.

13 years agoCope with unknown trees.
Jelmer Vernooij [Wed, 17 Nov 2010 09:30:00 +0000 (10:30 +0100)]
Cope with unknown trees.

13 years agoFix age handling.
Jelmer Vernooij [Wed, 17 Nov 2010 09:26:07 +0000 (10:26 +0100)]
Fix age handling.

13 years agoFix tree argument to storm get_last_builds.
Jelmer Vernooij [Wed, 17 Nov 2010 09:20:01 +0000 (10:20 +0100)]
Fix tree argument to storm get_last_builds.

13 years agoImplement sql-specific get_last_builds.
Jelmer Vernooij [Wed, 17 Nov 2010 09:18:41 +0000 (10:18 +0100)]
Implement sql-specific get_last_builds.

13 years agoAdd convenience function for finding all recent builds.
Jelmer Vernooij [Wed, 17 Nov 2010 09:16:03 +0000 (10:16 +0100)]
Add convenience function for finding all recent builds.

13 years agoSimplify build status code a bit.
Jelmer Vernooij [Wed, 17 Nov 2010 09:05:33 +0000 (10:05 +0100)]
Simplify build status code a bit.

13 years agoAdd tests for regressed_since.
Jelmer Vernooij [Wed, 17 Nov 2010 08:56:58 +0000 (09:56 +0100)]
Add tests for regressed_since.

13 years agoMerge tests.
Jelmer Vernooij [Wed, 17 Nov 2010 00:28:40 +0000 (01:28 +0100)]
Merge tests.

13 years agoUnicode encoding hostname if necessary.
Jelmer Vernooij [Wed, 17 Nov 2010 00:21:48 +0000 (01:21 +0100)]
Unicode encoding hostname if necessary.

13 years agoUnicode encoding hostname if necessary.
Jelmer Vernooij [Wed, 17 Nov 2010 00:20:45 +0000 (01:20 +0100)]
Unicode encoding hostname if necessary.

13 years agoRemove more unicode decoding.
Jelmer Vernooij [Wed, 17 Nov 2010 00:19:48 +0000 (01:19 +0100)]
Remove more unicode decoding.

13 years agoRe-enable unicode encoding (required for storm).
Jelmer Vernooij [Wed, 17 Nov 2010 00:18:32 +0000 (01:18 +0100)]
Re-enable unicode encoding (required for storm).

13 years agoDon't unicode encode name.
Jelmer Vernooij [Wed, 17 Nov 2010 00:12:59 +0000 (01:12 +0100)]
Don't unicode encode name.

13 years agoStore more as plain strings.
Jelmer Vernooij [Wed, 17 Nov 2010 00:11:37 +0000 (01:11 +0100)]
Store more as plain strings.

13 years agoAvoid unnecessary host lookup.
Jelmer Vernooij [Tue, 16 Nov 2010 23:57:39 +0000 (00:57 +0100)]
Avoid unnecessary host lookup.

13 years agoFix host finding with older versions of storm.
Jelmer Vernooij [Tue, 16 Nov 2010 23:43:49 +0000 (00:43 +0100)]
Fix host finding with older versions of storm.

13 years agoFix use of buildfarm global variable.
Jelmer Vernooij [Tue, 16 Nov 2010 23:27:10 +0000 (00:27 +0100)]
Fix use of buildfarm global variable.

13 years agoSplit up pages a bit.
Jelmer Vernooij [Tue, 16 Nov 2010 23:15:45 +0000 (00:15 +0100)]
Split up pages a bit.

13 years agoSet umask.
Jelmer Vernooij [Tue, 16 Nov 2010 22:17:18 +0000 (23:17 +0100)]
Set umask.

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 agoadd tests for get_old_revs.
Jelmer Vernooij [Mon, 15 Nov 2010 01:29:36 +0000 (02:29 +0100)]
add tests for get_old_revs.

13 years agoAdd hostdb.host() test.
Jelmer Vernooij [Mon, 15 Nov 2010 01:11:04 +0000 (02:11 +0100)]
Add hostdb.host() test.
Improve unicode handling in web ui.

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.