1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

193 Commits

Author SHA1 Message Date
Andrew Tridgell
dbf6b481e9 autobuild: enabled samba3-waf build
this is just a build check for now. See the mailing list discussion.

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Mar  1 06:22:07 CET 2011 on sn-devel-104
2011-03-01 06:22:07 +01:00
Andrew Tridgell
949427c208 python: use os.environ[] instead of os.putenv()
using os.putenv() causes too much confusion, as it doesn't update
os.getenv()

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:10 +01:00
Andrew Tridgell
b3f32871c1 script: sign library releases with Samba Library Distribution Key 2011-02-14 17:55:08 +11:00
Stefan Metzmacher
4a558ca9d8 script/autobuild.py: git diff has a '--stat' option, no need to use 'diffstat'
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Feb  7 14:55:10 CET 2011 on sn-devel-104
2011-02-07 14:55:10 +01:00
Andrew Tridgell
a8a507222c autobuild: lib/replace doesn't need autogen.sh
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 15:03:40 +11:00
Andrew Tridgell
d0f54702c5 autobuild: fixed clone source for build trees
this fixes a bug where autobuild would test the tree that the user
pushed, not the tree that has been rebased on master. That could cause
broken trees to get into master. Andrew Bartlett noticed this with a
tree from Jan 19th. 

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:02 +11:00
Andrew Tridgell
03027ad8f1 autobuild: add a bit more debug info in autobuild
this may help to track down rebase problems in future

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:02 +11:00
Andrew Tridgell
df069e4028 autobuild: decouple build directories from target names
this allows us to use 'samba4' as the tag, but build in '.'

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:02 +11:00
Andrew Tridgell
ec103b3276 script: tag the releases
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Jan 11 02:10:05 CET 2011 on sn-devel-104
2011-01-11 02:10:05 +01:00
Andrew Tridgell
20418ccc14 script: added librelease.sh script
this is used to make library releases
2011-01-11 01:23:05 +01:00
Andrew Tridgell
af91d31860 autobuild: added "make distcheck" for our libs
this ensures that release creation always works
2011-01-11 01:23:05 +01:00
Stefan Metzmacher
0185f660c0 script/autobuild.py: add pidl tests
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jan  5 14:29:54 CET 2011 on sn-devel-104
2011-01-05 14:29:54 +01:00
Stefan Metzmacher
38c3e58945 script/autobuild.py: fix path to clean-source-tree.sh from within lib/tevent/
metze
2011-01-05 12:45:31 +01:00
Stefan Metzmacher
ade566d6b8 script/autobuild.py: check that the source tree has no uncommitted changes after make
This makes sure the ABI files will be committed when the ABI changed.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Dec 31 04:03:28 CET 2010 on sn-devel-104
2010-12-31 04:03:28 +01:00
Jelmer Vernooij
9e8a049843 tdb: Remove autotools support. 2010-12-24 01:15:05 +01:00
Jelmer Vernooij
498743bd46 show_test_time: Move to root scripting directory as it's useful for s3
and s4.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Nov 27 17:17:29 CET 2010 on sn-devel-104
2010-11-27 17:17:29 +01:00
Björn JACKE
c4c230bd0f autobuild: perfer to use git mail address in autobuild comment
Signed-off-by: Andrew Tridgell <tridge@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Nov 10 23:56:37 UTC 2010 on sn-devel-104
2010-11-10 23:56:37 +00:00
Stefan Metzmacher
e54d58d113 autobuild: add some comments
metze
2010-10-25 08:16:28 +00:00
Stefan Metzmacher
47e2371598 autobuild: run ldb tests with TDB_NO_FSYNC=1
Only the tdb tests should not have this.

metze
2010-10-25 07:02:26 +00:00
Andrew Tridgell
6120ef9f9e autobuild: don't cleanup the pid file within the retry loop
if we rebase and retry we need to keep the pid file
2010-10-21 20:56:38 +11:00
Andrew Tridgell
39932f21da autobuild: create an autobuild.pid file
this will allow us to avoid an error email when you resubmit and there
is an existing autobuild.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Oct 19 23:36:05 UTC 2010 on sn-devel-104
2010-10-19 23:36:05 +00:00
Andrew Tridgell
add7ddb2e0 script: the --tests option has been replaced by --test-command 2010-10-15 09:32:03 +00:00
Andrew Tridgell
d0293428fe autobuild: do make install after make test
this ensures that commits that break uninstalled testing get caught by
autobuild in future

Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-10-13 11:00:04 +00:00
Andrew Tridgell
4e1966db95 autobuild: send email failure if rebase fails
users need to know if the rebase on master fails

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Oct 12 02:53:15 UTC 2010 on sn-devel-104
2010-10-12 02:53:15 +00:00
Andrew Tridgell
f2dc72eb47 autobuild: add an extra blank line before the autobuild markers 2010-10-12 02:13:19 +00:00
Jelmer Vernooij
05024867d3 land-remote: Fix --fail-slowly.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 15:54:31 UTC 2010 on sn-devel-104
2010-10-11 15:54:31 +00:00
Jelmer Vernooij
6d8b3efadb land: Use temp dir if /memdisk is not available. 2010-10-09 15:11:01 +02:00
Andrew Tridgell
321bb40a2e script: improvements to bisect-test.py
- allow control of all the commands (eg. specify configure command)

- do a bisect reset at the end

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Oct  7 04:11:21 UTC 2010 on sn-devel-104
2010-10-07 04:11:21 +00:00
Andrew Tridgell
1e2c1c8942 autobuild: only add autobuild.log if it exists
this makes running autobuild on other than sn-devel easier
2010-10-06 11:13:05 +00:00
Jelmer Vernooij
a228879903 land: Fix stage description during failure. 2010-10-05 23:56:10 +02:00
Jelmer Vernooij
47d1c49608 land: Print out failed test in case of subunit failures. 2010-10-05 23:56:10 +02:00
Jelmer Vernooij
2b58efb1fc land: Fix failure detection.
What subprocess.Popen.poll() returns is a exit code, not a status.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Oct  5 13:05:25 UTC 2010 on sn-devel-104
2010-10-05 13:05:25 +00:00
Jelmer Vernooij
c94db22a12 land: Simplify retry checker. 2010-10-05 12:24:05 +00:00
Jelmer Vernooij
587315f75d land-remote: Force running in foreground when pushing to master. 2010-10-04 13:53:02 +02:00
Jelmer Vernooij
f1b62eaa2c land-remote: Announce what address email is going to be sent to. 2010-10-04 13:52:09 +02:00
Andrew Tridgell
4b16cc9eef autobuild: override the editor when marking the commit
this avoids the problem of a user having an editor set in their global
.gitconfig, and that having higher precedence than the EDITOR
environment variable

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Sun Oct  3 15:22:01 UTC 2010 on sn-devel-104
2010-10-03 15:22:01 +00:00
Jelmer Vernooij
958d7a5710 land: Inherit EMAIL from the environment. 2010-10-03 16:25:37 +02:00
Jelmer Vernooij
60e25ab06b land: Force always emailing when there is no other mechanism of progress reporting. 2010-10-03 05:25:18 +02:00
Jelmer Vernooij
0bb970dd81 land: Attach tarball of logs rather than individual logs to keep the
mail size reasonable.
2010-10-03 05:25:18 +02:00
Jelmer Vernooij
997165b23e land: Some cosmetic fixes. 2010-10-03 05:25:18 +02:00
Jelmer Vernooij
288b217a8f land: Attach test output files to result emails. 2010-10-03 05:25:18 +02:00
Jelmer Vernooij
f6b254c65d land: Add --revision argument. 2010-10-03 05:25:18 +02:00
Jelmer Vernooij
d8e81a19de land-remote: Run remote land command unbuffered. 2010-10-03 05:25:17 +02:00
Jelmer Vernooij
b9bef1fd3f land-remote: Pass extra arguments on to land. 2010-10-03 00:04:59 +02:00
Jelmer Vernooij
20c65121a7 land: Implement --fail-immediately directly in Python, provide subunit file. 2010-10-02 20:32:16 +02:00
Jelmer Vernooij
8354518c96 land: Add separate treestagebuilder for subunit. 2010-10-02 13:26:36 +02:00
Jelmer Vernooij
b965a65e03 land: Cherry-pick tridges changes to autobuild. 2010-10-02 13:17:25 +02:00
Jelmer Vernooij
4190bd4e34 land: Move stage building into a separate class so we can have subclasses (e.g. subunit-specific). 2010-10-02 13:14:53 +02:00
Jelmer Vernooij
554289c261 land: Only pass shell=True if necessary. 2010-10-02 13:14:53 +02:00
Jelmer Vernooij
d03ff1c9da land: Add --fail-slowly option. 2010-10-02 13:14:53 +02:00
Jelmer Vernooij
916904443d Several smaller cleanups, use python coding style. 2010-10-02 13:14:51 +02:00
Jelmer Vernooij
7f0167770c land: Avoid running things in a shell where not necessary. 2010-10-02 13:14:51 +02:00
Jelmer Vernooij
56ad550a92 land-remote: Checkout repository first. 2010-10-02 13:14:51 +02:00
Jelmer Vernooij
ff5fdb65f5 land-remote: Use --repository option. 2010-10-02 13:14:51 +02:00
Jelmer Vernooij
8ce24a9187 land: Add --repository option. 2010-10-02 13:14:51 +02:00
Jelmer Vernooij
3c85d031d3 land: Move more functionality onto builder. 2010-10-02 13:14:51 +02:00
Jelmer Vernooij
74be4a2abf land: Avoid more uses of chdir(). 2010-10-02 13:14:50 +02:00
Jelmer Vernooij
6f6bfb3f20 Split land.py back out of autobuild.py, so I can change it without
risking to break the autobuild system.
2010-10-02 13:14:50 +02:00
Andrew Tridgell
ed5e05a15d bisect: more bisection options
and fixes for the old ones

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sat Oct  2 06:14:46 UTC 2010 on sn-devel-104
2010-10-02 06:14:46 +00:00
Andrew Tridgell
018d23a293 script: added bisect-test.py git bisect script
this can be used to work out what commit broke a set of tests
2010-10-01 22:31:58 -07:00
Andrew Tridgell
06b27e5e3d autobuild: show top commit in emails 2010-10-01 22:31:58 -07:00
Andrew Tridgell
f9bc389f60 autobuild: include autobuild.log in logs.tar.gz 2010-10-01 22:31:58 -07:00
Andrew Tridgell
faa993d95c autobuild: fixed tuple count for retry 2010-10-01 18:03:31 -07:00
Andrew Tridgell
0111e80ea9 autobuild: revert a bit more of the subunit changes
still not quite right - we can enable this again once its fully tested
2010-10-01 13:08:22 -07:00
Andrew Tridgell
b75c1f57c2 autobuild: disable the subuit changes for now - they break error checking 2010-10-01 13:08:22 -07:00
Andrew Tridgell
afe78c23ad autobuild: fixed the tuples in the retry_task
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Oct  1 18:22:22 UTC 2010 on sn-devel-104
2010-10-01 18:22:22 +00:00
Andrew Tridgell
2d66bb51ca autobuild: cwd is needed on all command types 2010-10-01 11:12:24 -07:00
Jelmer Vernooij
9cdebd0ebc autobuild: Avoid unnecessary chdir() calls. 2010-10-01 18:49:42 +02:00
Jelmer Vernooij
c4ab2b38af autobuild: Output test results in subunit. 2010-10-01 18:49:40 +02:00
Jelmer Vernooij
3dfbf3ce03 autobuild: Provide more information about build sequence, stage name and output mime type (all plain text for now). 2010-10-01 18:49:40 +02:00
Jelmer Vernooij
7210c95e60 autobuild: Add --always-email option. 2010-10-01 18:49:39 +02:00
Jelmer Vernooij
0866e2dad2 autobuild-remote: Support autobuild.py rather than land.py.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Oct  1 09:46:37 UTC 2010 on sn-devel-104
2010-10-01 09:46:37 +00:00
Jelmer Vernooij
ebf01a4f89 autobuild: Add --daemon option. 2010-10-01 11:05:04 +02:00
Jelmer Vernooij
072e310104 autobuild: Remove autogen step for projects that have checked in configure. 2010-10-01 11:03:18 +02:00
Jelmer Vernooij
28a3d2ea30 autobuild: Simplify find_git_root. 2010-10-01 11:03:18 +02:00
Andrew Tridgell
23b4126f10 autobuild: fixed the --tail option for new log locations 2010-09-30 20:11:15 -07:00
Andrew Tridgell
6a029cd9ca autobuild: push of ref/notes/commits isn't allowed in master
metze may enable this later

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Sep 30 22:25:02 UTC 2010 on sn-devel-104
2010-09-30 22:25:02 +00:00
Andrew Tridgell
e90b9640bd autobuild: added much better email reporting
logs are now accessible via http://git.samba.org
2010-09-30 10:42:43 -07:00
Andrew Tridgell
21739bdbc9 autobuild: fixed exit status
this should fix the case where we don't send logs on failure
2010-09-30 16:45:13 +00:00
Andrew Tridgell
e257e7a40b autobuild: use git notes for autobuild messages
This avoids changing the commit ID when we add a note that the
autobuild has passed

thanks to Jelmer for this suggestion!
2010-09-28 11:36:40 -07:00
Andrew Tridgell
00611cbcf6 selftest: enable FAIL_IMMEDIATELY in autobuild make test
this should reduce the time we wait for previous failing builds.

Right now this will only work for s4, as we need a makefile change for
s3 support
2010-09-28 11:36:40 -07:00
Andrew Tridgell
5ffacff5c4 autobuild: use killbysubdir if available
this will reduce the spurious test output while processes are being
killed
2010-09-26 19:51:02 +00:00
Andrew Tridgell
cc79f092ba autobuild: exit immediately if no changes from master
we don't need to test master in autobuild
2010-09-26 19:51:02 +00:00
Andrew Tridgell
65fc066ef4 autobuild: fixed detection of master changes 2010-09-26 06:29:06 +00:00
Andrew Tridgell
e9560722ca autobuild: added --retry option
this allows the build to auto retry if master changes
2010-09-26 01:21:50 +00:00
Andrew Tridgell
00791652f4 autobuild: enable ccache 2010-09-26 01:21:49 +00:00
Andrew Tridgell
d9a0546666 autobuild: added --fix-whitespace option 2010-09-26 01:21:49 +00:00
Andrew Tridgell
5d5ae099d1 autobuild: added --rebase-master and --push-master
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-09-26 01:21:49 +00:00
Andrew Tridgell
91b62a2744 autobuild: added a EDITOR script to mark successful autobuilds
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-09-26 01:21:49 +00:00
Andrew Tridgell
f7fb272e95 autobuild: added --rebase option
this allows you to rebase on a URL before starting
2010-09-26 01:21:49 +00:00
Andrew Tridgell
a09b241ebb script: added autobuild.py automatic build test script
this can be used to run all tests in parallel, in free git clones
2010-09-26 01:21:49 +00:00
Jelmer Vernooij
472860c9a7 Move configure_check_unused script to root scriptdir, as it is useful
for both s3 and s4.
2010-04-07 22:53:39 +02:00
Jelmer Vernooij
e285bb2da5 Move findstatic.pl script to top-level. 2009-06-03 15:06:15 +02:00