build-farm.git
13 years agoDo explicit cast to string of Host attributes
Matthieu Patou [Mon, 8 Nov 2010 22:37:10 +0000 (01:37 +0300)]
Do explicit cast to string of Host attributes

13 years agoMake build_status_from_logs take files rather than huge strings.
Jelmer Vernooij [Mon, 8 Nov 2010 22:33:11 +0000 (23:33 +0100)]
Make build_status_from_logs take files rather than huge strings.

13 years agoRemove updating of samba-docs and lorikeet. Move samba-web and build-farm to git.
Jelmer Vernooij [Mon, 8 Nov 2010 22:08:55 +0000 (23:08 +0100)]
Remove updating of samba-docs and lorikeet. Move samba-web and build-farm to git.

13 years agoRemove obsolete trees samba-docs and lorikeet. Move build_farm and samba-web to git.
Jelmer Vernooij [Mon, 8 Nov 2010 22:08:02 +0000 (23:08 +0100)]
Remove obsolete trees samba-docs and lorikeet. Move build_farm and samba-web to git.

13 years agoSimplify build_status() code. Return all found revisions in revision_details().
Jelmer Vernooij [Mon, 8 Nov 2010 21:57:02 +0000 (22:57 +0100)]
Simplify build_status() code. Return all found revisions in revision_details().

13 years agoForce the string conversion to avoid write() argument must be string error
Matthieu Patou [Mon, 8 Nov 2010 21:21:21 +0000 (00:21 +0300)]
Force the string conversion to avoid write() argument must be string error

13 years agoDisplay more clearly when make test returns an error with no failed tests
Matthieu Patou [Mon, 8 Nov 2010 06:57:57 +0000 (09:57 +0300)]
Display more clearly when make test returns an error with no failed tests

13 years agoUnbreak the testsuite, rename cache2 back to cache.
Jelmer Vernooij [Mon, 8 Nov 2010 21:08:16 +0000 (22:08 +0100)]
Unbreak the testsuite, rename cache2 back to cache.

13 years agoCope with missing err files.
Jelmer Vernooij [Mon, 8 Nov 2010 21:08:02 +0000 (22:08 +0100)]
Cope with missing err files.

13 years agoMore debug
Matthieu Patou [Mon, 8 Nov 2010 20:07:21 +0000 (23:07 +0300)]
More debug

13 years agomove from cache to cache2 in order to be able to run tests on build.samba.org
Matthieu Patou [Mon, 8 Nov 2010 20:06:53 +0000 (23:06 +0300)]
move from cache to cache2 in order to be able to run tests on build.samba.org

13 years agoMake standalone listen only on localhost and use local version of common.css
Matthieu Patou [Mon, 8 Nov 2010 20:06:25 +0000 (23:06 +0300)]
Make standalone listen only on localhost and use local version of common.css

13 years agoMore debug
Matthieu Patou [Mon, 8 Nov 2010 09:53:16 +0000 (12:53 +0300)]
More debug

13 years agoAdd convenience function for opening host database.
Jelmer Vernooij [Mon, 8 Nov 2010 07:52:54 +0000 (08:52 +0100)]
Add convenience function for opening host database.

13 years agoAdd debug
Matthieu Patou [Mon, 8 Nov 2010 06:28:16 +0000 (09:28 +0300)]
Add debug

13 years agoUse TDB_NO_FSYNC in s4 builds in hope that it will speed up tests on sunX
Matthieu Patou [Sun, 7 Nov 2010 22:12:20 +0000 (01:12 +0300)]
Use TDB_NO_FSYNC in s4 builds in hope that it will speed up tests on sunX

13 years agoUse TDB_NO_FSYNC in s4 builds in hope that it will speed up tests
Matthieu Patou [Sun, 7 Nov 2010 22:07:15 +0000 (01:07 +0300)]
Use TDB_NO_FSYNC in s4 builds in hope that it will speed up tests

13 years agoIgnore the make test and for the waf test for samba4 build on buildsamba02
Matthieu Patou [Sun, 7 Nov 2010 21:44:16 +0000 (00:44 +0300)]
Ignore the make test and for the waf test for samba4 build on buildsamba02

13 years agoMake read_err return a file object.
Jelmer Vernooij [Sun, 7 Nov 2010 21:30:02 +0000 (22:30 +0100)]
Make read_err return a file object.

13 years agoMake read_log return a file.
Jelmer Vernooij [Sun, 7 Nov 2010 21:27:23 +0000 (22:27 +0100)]
Make read_log return a file.

13 years agoSimplify status handling.
Jelmer Vernooij [Sun, 7 Nov 2010 21:13:16 +0000 (22:13 +0100)]
Simplify status handling.

13 years agoFix tests.
Jelmer Vernooij [Sun, 7 Nov 2010 21:13:05 +0000 (22:13 +0100)]
Fix tests.

13 years agoSimplify host handling.
Jelmer Vernooij [Sun, 7 Nov 2010 21:05:52 +0000 (22:05 +0100)]
Simplify host handling.

13 years agoAdd log_checksum function.
Jelmer Vernooij [Sun, 7 Nov 2010 20:56:02 +0000 (21:56 +0100)]
Add log_checksum function.

13 years agoremove unused test.pl script.
Jelmer Vernooij [Sat, 6 Nov 2010 23:27:30 +0000 (00:27 +0100)]
remove unused test.pl script.

13 years agoFix status sort so that sorting is the same as in the perl version
Matthieu Patou [Sun, 7 Nov 2010 20:14:02 +0000 (23:14 +0300)]
Fix status sort so that sorting is the same as in the perl version

13 years agoConstruct a host => plateform dictionary, make html output more debuggable
Matthieu Patou [Sun, 7 Nov 2010 20:10:13 +0000 (23:10 +0300)]
Construct a host => plateform dictionary, make html output more debuggable

13 years agoReport checker stage as - if result is unknown and compiler is not checker
Matthieu Patou [Sun, 7 Nov 2010 20:09:08 +0000 (23:09 +0300)]
Report checker stage as - if result is unknown and compiler is not checker

13 years agoFix buildsamba02 build
Matthieu Patou [Sun, 7 Nov 2010 09:29:26 +0000 (12:29 +0300)]
Fix buildsamba02 build

13 years agoPoint to the good database
Matthieu Patou [Sun, 7 Nov 2010 09:07:40 +0000 (12:07 +0300)]
Point to the good database

13 years agouse BUILD REVISION if the BUILD COMMIT REVISION has not been found
Matthieu Patou [Sun, 7 Nov 2010 03:12:08 +0000 (06:12 +0300)]
use BUILD REVISION if the BUILD COMMIT REVISION has not been found

Quite often BUILD REVISION hold a timestamp not a git/svn revision

13 years agoShow make "test" as -1 if no test failed but make return non zero
Matthieu Patou [Sun, 7 Nov 2010 03:10:53 +0000 (06:10 +0300)]
Show make "test" as -1 if no test failed but make return non zero

13 years agoFix the view "recent build", handle case when revision is null
Matthieu Patou [Sun, 7 Nov 2010 03:05:47 +0000 (06:05 +0300)]
Fix the view "recent build", handle case when revision is null

13 years agoFix more bugs
Matthieu Patou [Sat, 6 Nov 2010 20:51:42 +0000 (23:51 +0300)]
Fix more bugs

Mainly with multiline regexp, use re.M to be able to have ^$ to limit a
line

13 years agouse css to do the spacing not html ...
Matthieu Patou [Sat, 6 Nov 2010 20:51:26 +0000 (23:51 +0300)]
use css to do the spacing not html ...

13 years agoMake errorlog divs not visible
Matthieu Patou [Sat, 6 Nov 2010 13:47:15 +0000 (16:47 +0300)]
Make errorlog divs not visible

13 years agoAdd python version of mail-dead-hosts script.
Jelmer Vernooij [Sat, 6 Nov 2010 23:25:04 +0000 (00:25 +0100)]
Add python version of mail-dead-hosts script.

13 years agodirectly access the hosts list from the sqlite database in the web build.
Jelmer Vernooij [Sat, 6 Nov 2010 23:14:43 +0000 (00:14 +0100)]
directly access the hosts list from the sqlite database in the web build.

13 years agoRemove old admin script.
Jelmer Vernooij [Sat, 6 Nov 2010 19:59:25 +0000 (20:59 +0100)]
Remove old admin script.

13 years agoAdd python version of admin.py.
Jelmer Vernooij [Sat, 6 Nov 2010 19:15:58 +0000 (20:15 +0100)]
Add python version of admin.py.

13 years agoUse iterators, proper booleans.
Jelmer Vernooij [Sat, 6 Nov 2010 18:43:32 +0000 (19:43 +0100)]
Use iterators, proper booleans.

13 years agoAdd convenience class for build status.
Jelmer Vernooij [Sat, 6 Nov 2010 18:14:45 +0000 (19:14 +0100)]
Add convenience class for build status.

13 years agoMerge build_status_from_logs tests.
Jelmer Vernooij [Sat, 6 Nov 2010 17:58:35 +0000 (18:58 +0100)]
Merge build_status_from_logs tests.

13 years agoAdd my copyright
Matthieu Patou [Sat, 6 Nov 2010 13:25:48 +0000 (16:25 +0300)]
Add my copyright

13 years agoVarious fix for removing errors while accessing the build page
Matthieu Patou [Sat, 6 Nov 2010 13:25:34 +0000 (16:25 +0300)]
Various fix for removing errors while accessing the build page

13 years agoFix permuted host and tree
Matthieu Patou [Sat, 6 Nov 2010 11:42:36 +0000 (14:42 +0300)]
Fix permuted host and tree

13 years agoSplit long line, add more information in asserts
Matthieu Patou [Sat, 6 Nov 2010 11:38:44 +0000 (14:38 +0300)]
Split long line, add more information in asserts

13 years agoAdd tests for build_status_from_logs
Matthieu Patou [Sat, 6 Nov 2010 11:16:26 +0000 (14:16 +0300)]
Add tests for build_status_from_logs

13 years agoBe constant: return always integer if value
Matthieu Patou [Sat, 6 Nov 2010 11:13:10 +0000 (14:13 +0300)]
Be constant: return always integer if value

13 years agoInline test data.
Jelmer Vernooij [Fri, 5 Nov 2010 19:29:36 +0000 (20:29 +0100)]
Inline test data.

13 years agoPEP8
Jelmer Vernooij [Fri, 5 Nov 2010 19:16:41 +0000 (20:16 +0100)]
PEP8

13 years agoAdd more tests.
Jelmer Vernooij [Fri, 5 Nov 2010 19:10:17 +0000 (20:10 +0100)]
Add more tests.

13 years agoDefault rev to None, consistent with other code.
Jelmer Vernooij [Fri, 5 Nov 2010 19:04:43 +0000 (20:04 +0100)]
Default rev to None, consistent with other code.

13 years agoFix a bug
Matthieu Patou [Fri, 5 Nov 2010 22:28:13 +0000 (01:28 +0300)]
Fix a bug

13 years agoMake status easily marshallable and extensible, use the new format
Matthieu Patou [Fri, 5 Nov 2010 22:27:54 +0000 (01:27 +0300)]
Make status easily marshallable and extensible, use the new format

13 years agotry to force buildsamba02 to do what we want
Matthieu Patou [Fri, 5 Nov 2010 20:21:39 +0000 (23:21 +0300)]
try to force buildsamba02 to do what we want

13 years agoAbstract compiler in a variable, add TDB_NO_FSYNC=1 for samba_* tests
Matthieu Patou [Fri, 5 Nov 2010 19:44:04 +0000 (22:44 +0300)]
Abstract compiler in a variable, add TDB_NO_FSYNC=1 for samba_* tests

13 years agoAdd unit tests for fixed bug
Matthieu Patou [Fri, 5 Nov 2010 19:09:24 +0000 (22:09 +0300)]
Add unit tests for fixed bug

13 years agoFix and improvements
Matthieu Patou [Fri, 5 Nov 2010 19:07:42 +0000 (22:07 +0300)]
Fix and improvements

Fix pb with load_list and read_trees_from_conf
Make the standalone server serves static content too

13 years agoadd test files
Matthieu Patou [Fri, 5 Nov 2010 19:07:16 +0000 (22:07 +0300)]
add test files

13 years agoadd basic host database.
Jelmer Vernooij [Fri, 5 Nov 2010 16:44:03 +0000 (17:44 +0100)]
add basic host database.

13 years agoRefactor html out of buildfarm.data.
Jelmer Vernooij [Fri, 5 Nov 2010 15:51:01 +0000 (16:51 +0100)]
Refactor html out of buildfarm.data.

13 years agoExtract some generic functions.
Jelmer Vernooij [Fri, 5 Nov 2010 15:42:39 +0000 (16:42 +0100)]
Extract some generic functions.

13 years agoTry to override make test that is broken
Matthieu Patou [Fri, 5 Nov 2010 12:48:14 +0000 (15:48 +0300)]
Try to override make test that is broken

13 years agoAdd doc
Matthieu Patou [Fri, 5 Nov 2010 06:36:00 +0000 (09:36 +0300)]
Add doc

13 years agoMore reformat
Matthieu Patou [Fri, 5 Nov 2010 06:27:03 +0000 (09:27 +0300)]
More reformat

13 years agoadd .pyc to gitignore
Matthieu Patou [Fri, 5 Nov 2010 06:05:51 +0000 (09:05 +0300)]
add .pyc to gitignore

13 years agoAllow Solaris to build the file and make it run
Matthieu Patou [Fri, 5 Nov 2010 05:54:58 +0000 (08:54 +0300)]
Allow Solaris to build the file and make it run

Fix the MAX_PATH to 1024 if it hasn't been defined before,
avoid the use of asprintf as it's not available.

Also /proc/pid/cwd never point to the current working directory, instead
some version have /proc/pid/path/cwd so let's use it !

13 years agoquiet stderr
Matthieu Patou [Thu, 4 Nov 2010 21:24:22 +0000 (00:24 +0300)]
quiet stderr

13 years agotest if file exists before mv or cmp
Matthieu Patou [Thu, 4 Nov 2010 20:32:58 +0000 (23:32 +0300)]
test if file exists before mv or cmp

13 years agoReformat
Matthieu Patou [Thu, 4 Nov 2010 20:19:32 +0000 (23:19 +0300)]
Reformat

13 years agoadd some more discontinued build trees
Björn Jacke [Tue, 2 Nov 2010 13:01:27 +0000 (14:01 +0100)]
add some more discontinued build trees

13 years agofix loop for deleting discontiued trees
Björn Jacke [Tue, 2 Nov 2010 12:45:16 +0000 (13:45 +0100)]
fix loop for deleting discontiued trees

13 years agoadd discontinued build trees to $old_trees to mark them to bedeleted: popt smb-build...
Björn Jacke [Tue, 2 Nov 2010 10:30:00 +0000 (11:30 +0100)]
add discontinued build trees to $old_trees to mark them to bedeleted: popt smb-build lorikeet-heimdal

13 years agoadd test for Build.has_host.
Jelmer Vernooij [Tue, 2 Nov 2010 10:13:08 +0000 (11:13 +0100)]
add test for Build.has_host.

13 years agoremove htmlization of status handling in data.py.
Jelmer Vernooij [Tue, 2 Nov 2010 10:02:24 +0000 (11:02 +0100)]
remove htmlization of status handling in data.py.

13 years agoSplit off caching into a separate subclass.
Jelmer Vernooij [Tue, 2 Nov 2010 09:53:27 +0000 (10:53 +0100)]
Split off caching into a separate subclass.

13 years agoSplit out html formatting from build status.
Jelmer Vernooij [Tue, 2 Nov 2010 09:40:24 +0000 (10:40 +0100)]
Split out html formatting from build status.

13 years agoRemove obsolete build_revision/build_revision_time methods.
Jelmer Vernooij [Tue, 2 Nov 2010 09:25:35 +0000 (10:25 +0100)]
Remove obsolete build_revision/build_revision_time methods.

13 years agoMove err_count() to Build.
Jelmer Vernooij [Tue, 2 Nov 2010 09:24:30 +0000 (10:24 +0100)]
Move err_count() to Build.

13 years agoAdd test for Build.revision_details().
Jelmer Vernooij [Tue, 2 Nov 2010 09:17:38 +0000 (10:17 +0100)]
Add test for Build.revision_details().

13 years agoKill unused status_info_cmp.
Jelmer Vernooij [Tue, 2 Nov 2010 09:12:05 +0000 (10:12 +0100)]
Kill unused status_info_cmp.

13 years agoMove build_status onto Build.
Jelmer Vernooij [Tue, 2 Nov 2010 08:48:57 +0000 (09:48 +0100)]
Move build_status onto Build.

13 years agoMove revision_details onto Build.
Jelmer Vernooij [Tue, 2 Nov 2010 08:46:07 +0000 (09:46 +0100)]
Move revision_details onto Build.

13 years agoMove read_log and read_err onto Build.
Jelmer Vernooij [Tue, 2 Nov 2010 08:35:20 +0000 (09:35 +0100)]
Move read_log and read_err onto Build.

13 years agoMove age_mtime/age_ctime onto Build.
Jelmer Vernooij [Tue, 2 Nov 2010 08:32:48 +0000 (09:32 +0100)]
Move age_mtime/age_ctime onto Build.

13 years agoAdd Build object.
Jelmer Vernooij [Tue, 2 Nov 2010 08:31:01 +0000 (09:31 +0100)]
Add Build object.

13 years agoRaise NoSuchBuildError rather than silently pretending files are empty.
Jelmer Vernooij [Tue, 2 Nov 2010 08:19:30 +0000 (09:19 +0100)]
Raise NoSuchBuildError rather than silently pretending files are empty.

13 years agoadd tests for read_log/read_err.
Jelmer Vernooij [Tue, 2 Nov 2010 08:08:53 +0000 (09:08 +0100)]
add tests for read_log/read_err.

13 years agoAdd more tests, consistent parameter ordering.
Jelmer Vernooij [Tue, 2 Nov 2010 08:03:51 +0000 (09:03 +0100)]
Add more tests, consistent parameter ordering.

13 years agoAdd configuration file with tree data.
Jelmer Vernooij [Tue, 2 Nov 2010 07:31:12 +0000 (08:31 +0100)]
Add configuration file with tree data.

13 years agoAdd convenience testcase class for buildfarm tests.
Jelmer Vernooij [Tue, 2 Nov 2010 07:07:17 +0000 (08:07 +0100)]
Add convenience testcase class for buildfarm tests.

13 years agoConvert to wsgi application.
Jelmer Vernooij [Mon, 1 Nov 2010 10:08:04 +0000 (11:08 +0100)]
Convert to wsgi application.

13 years agoAdd python equivalent of build.pl.
Jelmer Vernooij [Mon, 1 Nov 2010 09:31:12 +0000 (10:31 +0100)]
Add python equivalent of build.pl.

13 years agoMake internal functionality private.
Jelmer Vernooij [Mon, 1 Nov 2010 09:30:29 +0000 (10:30 +0100)]
Make internal functionality private.

13 years agoAdd python version of history module.
Jelmer Vernooij [Mon, 1 Nov 2010 01:04:25 +0000 (02:04 +0100)]
Add python version of history module.

13 years agorenamed the file
Matthieu Patou [Sun, 31 Oct 2010 23:50:08 +0000 (02:50 +0300)]
renamed the file

13 years agoadd .gitignore
Stefan Metzmacher [Sun, 31 Oct 2010 19:05:54 +0000 (20:05 +0100)]
add .gitignore

metze

13 years agoAdd python version of data module.
Jelmer Vernooij [Sat, 30 Oct 2010 18:24:06 +0000 (20:24 +0200)]
Add python version of data module.

13 years agoProvide python version of util.
Jelmer Vernooij [Sat, 30 Oct 2010 17:01:41 +0000 (19:01 +0200)]
Provide python version of util.