1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
Commit Graph

267 Commits

Author SHA1 Message Date
Garming Sam
2bf17a9d75 param: use generate_param.py to generate loadparm_ctx_table.c
Pair-programmed-with: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2014-02-12 13:17:14 +13:00
Garming Sam
5cab9f16d0 param: use generate_param.py to generate s3_param.h
Pair-programmed-with: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2014-02-12 13:17:14 +13:00
Garming Sam
b1de1abf7b param: use generate_param.py to generate param_global.h
Pair-programmed-with: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2014-02-12 13:17:13 +13:00
Garming Sam
526cf3c119 param: use generate_param.py to generate param_proto.h
Pair-programmed-with: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2014-02-12 13:17:13 +13:00
Garming Sam
66c2fbf2a1 lib/param: update generate_param.py to generate more of loadparm
These files can now be generated directly from the xml rather than from param_functions.c

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2014-02-12 13:17:13 +13:00
Garming Sam
aea623e050 param: auto generate param_functions.c at build time
generate_param.py reads the documentation to define which functions need to
be generated.

To add new parameters, edit the xml files in docs-xml/smbdotconf.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2014-02-12 13:17:13 +13:00
Amitay Isaacs
e9f4b69bae autobuild: Run ctdb regression tests
Pair-Programmed-with: Michael Adam <obnox@samba.org>

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2013-11-28 07:31:13 +01:00
Michael Adam
85a25abed0 autobuild: build the "ctdb" target with socket-wrapper enabled
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2013-11-28 07:31:13 +01:00
Stefan Metzmacher
7e01e4bc64 script: prepare librelease.sh for ntdb releases
Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Nov 17 12:50:13 CET 2013 on sn-devel-104
2013-11-17 12:50:13 +01:00
Michael Adam
06be5962ab random-sleep: add possiblity to override via environment variable
set AUTOBUILD_RANDOM_SLEEP_OVERRIDE=<x>

to the number x of seconds that you want to sleep.
This is added to make it possible to run one autobuild
target without having to wait for several minutes.

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2013-11-13 14:53:45 +01:00
Michael Adam
c4214a7942 autobuild: extend samba-ctdb target to build ctdb, too
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-11-13 14:42:35 +01:00
Michael Adam
1da294a7eb autobuild: add a "ctdb" target
For a start, this just builds and installs the integrated ctdb copy.
It does not run "make test" in ctdb. This is time consuming and
too flakey for now.

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2013-11-13 14:37:57 +01:00
Stefan Metzmacher
e80a5aba3d script: add ctdb-import.* scripts
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-11-13 14:12:51 +01:00
Stefan Metzmacher
36f4f72060 script/mks3param_ctx_table.pl: fix tabs/whitespaces in generated output.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Fri Oct 18 16:20:01 CEST 2013 on sn-devel-104
2013-10-18 16:20:01 +02:00
Andrew Bartlett
033dc776de param: Autogenerate s3 lp_ctx glue table
This allows us to use more lpcfg_ functions without adding them
manually.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-10-16 09:31:41 +02:00
Andrew Bartlett
651cf89390 s3/param: Autogenerate parameters prototypes again after proto.h was frozen
This autogenerates the parameters so that we can keep everything in sync easier,
particularly when adding new parameters.  This will also make it easier to move
to a fully autogenerated system in the future, as it reduces special cases.

Andrew Bartlett

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-10-16 09:31:01 +02:00
Andrew Bartlett
22ca0404fc param: Skip generating hooks for local and string parameters
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-10-16 09:29:54 +02:00
Michael Adam
d86fda9b18 autobuild: remove remnants of removed samba3 targets
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed May 29 09:35:16 CEST 2013 on sn-devel-104
2013-05-29 09:35:16 +02:00
Andrew Bartlett
fb67cea680 autobuild: Remove samba3 and samba3-ctdb targets to allow autoconf removal for 4.1
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>

Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-28 12:17:10 +10:00
Andrew Bartlett
60d1c2d528 autobuild.py add ntdb to the samba-libs task, to ensure it works as an external library
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-05-16 19:02:04 +02:00
Matthieu Patou
09b0010806 script: Add a script to display testsuite runtime sorted
Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-By: Andrew Bartlett <abartlet@samba.org>
2013-01-09 07:19:54 +01:00
Andrew Bartlett
8a2ef49dea build: Be consistent with the name of smbtorture binaries
This ensures that in both build systems, smbtorture3 is the source3 binary, and
smbtoture is our main smbtorture binary, built with waf.

Also included in this is the removal of bin/ndrdump4 as a special case.

This removes the last cases of binaries with different names in
each build system.

Andrew Bartlett

Reviewed-by: Andreas Schneider <asn@samba.org>
2012-11-22 10:21:16 +01:00
Karolin Seeger
dce8a8e284 librelease.sh: Move the GPG data to the library section.
Don't use the Library key for the samba releases.

Karolin

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 7eb1f6ff17)

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Oct  2 14:28:10 CEST 2012 on sn-devel-104
2012-10-02 14:28:10 +02:00
Jelmer Vernooij
05ba1fe418 Remove obsolete land-remote.py and land.py scripts. 2012-09-26 07:58:31 +02:00
Stefan Metzmacher
df48092a23 script/autobuild.py: set the default for --log-base to the current gitroot
metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Sep 24 15:27:16 CEST 2012 on sn-devel-104
2012-09-24 15:27:16 +02:00
Stefan Metzmacher
b5ef4d5cad script/autobuild.py: remove --rebase-master and --push-master options
You should explicitly pass the urls to --rebase= and --pushto=

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Sep 23 02:53:56 CEST 2012 on sn-devel-104
2012-09-23 02:53:55 +02:00
Stefan Metzmacher
f339c1fd91 script/autobuild.py: add --log-base option
metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Sep 22 23:21:59 CEST 2012 on sn-devel-104
2012-09-22 23:21:59 +02:00
Stefan Metzmacher
1362bb548c script/autobuild.py: add log_base variable to avoid hardcoded values
metze
2012-09-22 21:34:32 +02:00
Stefan Metzmacher
23dbf63e2d script/autobuild.py: add --branch option
metze
2012-09-22 21:34:28 +02:00
Stefan Metzmacher
ce22882df7 script/autobuild.py: use some variables for push_remote and push_branch
metze
2012-09-22 21:30:42 +02:00
Stefan Metzmacher
a68ab0e97e script/autobuild.py: use some variables for rebase_remote and rebase_branch
metze
2012-09-22 21:30:42 +02:00
Rusty Russell
592e3f4b23 loadparm: Add ctx member to struct loadparm_global.
Rather than tallocing global parameters off NULL, keep it neat by having
a Global.ctx member.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-08-07 23:20:04 +10:00
Andrew Bartlett
3367fd01d4 lib/param: Merge handling of security/domain master/domain logons/server role
This ensures that the same input parameters always gives the same
output values in both loadparm systems.

Andrew Bartlett
2012-07-24 11:01:17 +02:00
Andrew Bartlett
666dba3353 s3-param: Rename loadparm_s3_context -> loadparm_s3_helpers
This helps clarify the role of this structure and wrapper function.

The purpose here is to provide helper functions to the lib/param
loadparm_context that point back at the s3 lp_ functions.  This allows
a struct loadparm_context to be passed to any point in the code, and
always refer to the correct loadparm system.  If this has not been
set, the variables loaded in the lib/param code will be returned.

As requested by Michael Adam.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jun 27 17:11:16 CEST 2012 on sn-devel-104
2012-06-27 17:11:16 +02:00
Stefan Metzmacher
688cda19ba script/autobuild: fix path to random-sleep.sh
metze
2012-06-22 15:16:44 +02:00
Rusty Russell
f7f6992c1e autobuild: always set TDB_NO_FSYNC.
Then we unset it inside the tdb test target itself.  This means that
new code can't accidently forget it, and we can set it in the
'buildnice' script on sn-devel, for example.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-22 07:35:16 +02:00
Michael Adam
732f28b85e autobuild: run "samba3-ctdb" by default
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Jun 22 01:46:13 CEST 2012 on sn-devel-104
2012-06-22 01:46:13 +02:00
Michael Adam
80921deae0 autobuild: run "samba-ctdb" by default to catch dbwrap_ctdb regressions 2012-06-21 23:49:19 +02:00
Michael Adam
a0f6014517 autobuild: add a target "samba3-ctdb" that builds samba3 (autoconf) with cluster support
This is achieved by using the ctdb header files copied in from current ctdb
master. Tests are not run. For this we would need to have a full ctdb built and
configured.
2012-06-21 23:49:19 +02:00
Michael Adam
18ce23b31d autobuild: add a target "samba-ctdb" that builds samba (waf) with cluster support
This is achieved by using the ctdb header files copied in from current ctdb
master. Tests are not run. For this we would need to have a full ctdb built and
configured.
2012-06-21 23:49:19 +02:00
Michael Adam
f9b722d50e autobuild: rename the "samba4-libs" target to "samba-libs" 2012-06-21 23:49:19 +02:00
Michael Adam
a24d78d344 autobuild: rename the "samba4" target to "samba" 2012-06-21 23:49:19 +02:00
Michael Adam
e27d56c2da script: really sleep in "random-sleep.sh"
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-21 08:27:28 +02:00
Stefan Metzmacher
ab96359bfe script/autobuild: delay start of small projects by 60 to 600 seconds
This should reduce the startup load.

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Jun 20 14:56:51 CEST 2012 on sn-devel-104
2012-06-20 14:56:51 +02:00
Stefan Metzmacher
c30e6b5973 script/autobuild: don't use 'make -j 4' for bin/smbtorture4
The '4' has no effect there, which results in NUM_JOBS == NUM_CORES.

metze
2012-06-20 12:58:58 +02:00
Stefan Metzmacher
fba51c82f3 script/autobuild: don't use make -j for small projects
The top level and source3 builds take much longer than the standalone
projects, so there's no need to use 'make -j'.

metze
2012-06-20 12:58:58 +02:00
Rusty Russell
16cc345d4f TDB2: Goodbye TDB2, Hello NTDB.
This renames everything from tdb2 to ntdb: importantly, we no longer
use the tdb_ namespace, so you can link against both ntdb and tdb if
you want to.

This also enables building of standalone ntdb by the autobuild script.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-19 05:38:06 +02:00
Rusty Russell
6244f668a3 TDB2: make SAMBA use tdb1 again for the moment.
Otherwise the following surgery will break the SAMBA build and testsuite.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-19 05:38:05 +02:00
Stefan Metzmacher
e9f9f37e86 script/commit_mark.sh: add the current branch name
This will be useful once we have autobuild for a v4-0-test
branch and want to cherry-pick commits from master

metze

Autobuild-User(master-autobuild): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master-autobuild): Mi 6. Jun 13:42:53 CEST 2012 on SERNOX11

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jun  7 01:18:55 CEST 2012 on sn-devel-104
2012-06-07 01:18:55 +02:00
Andrew Bartlett
ae338bf3f5 autobuild: Run ABI check on samba4-libs as well.
Because this build is without the developer options (so as to check that we build without those)
we do not do an ABI check by default.

Andrew Bartlett
2012-05-18 15:44:43 +10:00
Andrew Bartlett
ce5ac20d19 remove --enable-developer from samba4-libs autobuild
This will ensure everything works for end users without --enable-developer.

Andrew Bartlett
2012-04-11 02:30:40 +02:00
Andrew Bartlett
7da56a1e37 autobuild: Also test a distribution-style build with external libs
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Apr  9 10:06:38 CEST 2012 on sn-devel-104
2012-04-09 10:06:37 +02:00
Amitay Isaacs
cff40ed7f8 autobuild: Enable standalone tdb2 tests
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Thu Mar  8 09:32:24 CET 2012 on sn-devel-104
2012-03-08 09:32:24 +01:00
Amitay Isaacs
be292021f4 autobuild.py: Catch only true exceptions in except statement
sys.exit(0) raises systemExit which is caught in empty except:
statement. This can change the exit status if except: condition is
supposed to exit with different status value.
2012-01-24 11:55:49 +11:00
Stefan Metzmacher
c55db47f1c script/autobuild.py: cleanup on rebase failure
We can improve this to generate logs.tar.gz later...

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Jan 21 11:29:58 CET 2012 on sn-devel-104
2012-01-21 11:29:58 +01:00
Andrew Bartlett
3ac3de73b4 param: Connect lp_security to the lib/param code to allow tests
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17 00:34:09 +01:00
Andrew Bartlett
9524e2fce1 param: calculate server role from security, and security from server role
This allows smb.conf files from either the samba3 or samba4 tradition
to come to the same value of server role, using the information in the
smb.conf file.

This is important so that tools like 'net getlocalsid' work against a
Samba4 AD installation (yes, users have tried this).

Andrew Bartlett

Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17 00:34:08 +01:00
Stefan Metzmacher
3c4eb2cab6 script/autobuild.py: split 'samba3' 'make -j 4 everything' into multiple steps
Calling 'waf configure' while compiling .c files makes it very hard to
find compile errors. We do 'make -j 4 bin/smbtorture4' before 'make -j 4 everything'.

metze
2011-10-11 15:52:25 +02:00
Andrew Bartlett
b21b012756 lib/param move source4 param code to the top level
This is done so that the lpcfg_ functions are available across the whole
build, either with the struct loadparm_context loaded from an smb.conf directly
or as a wrapper around the source3 param code.

This is not the final, merged loadparm, but simply one step to make
it easier to solve other problems while we make our slow progress
on this difficult problem.

Andrew Bartlett
2011-10-11 13:41:34 +11:00
Andrew Bartlett
80e439453d param: Use a bool to hold boolean parameters
All three-state parameters invoking Auto (2) are already declared as integers, not
booleans.

Andrew Bartlett
2011-10-07 17:45:20 +11:00
Andrew Bartlett
1da89da251 autobuild: Remove s3-waf from autobuild 2011-10-07 17:45:20 +11:00
Andrew Bartlett
45c580575f script/librelease.sh: automate Samba4 alpha releases 2011-09-13 15:58:01 +10:00
Amitay Isaacs
b2068162f7 script: Fix the name of the script in autogenerated header file
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-26 10:06:32 +10:00
Stefan Metzmacher
46eacae8b5 script/librelease.sh: add git push for the release tag
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Aug  9 15:19:07 CEST 2011 on sn-devel-104
2011-08-09 15:19:07 +02:00
Andrew Bartlett
8420a36dc7 ldb: make ldb a top level library for Samba 4.0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-05 17:24:47 +10:00
Andrew Bartlett
4f3a155fb5 s3-param Generate parameter tables 2011-07-02 12:31:34 +10:00
Stefan Metzmacher
4804013210 script/librelease.sh: keep dots in the release tag
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Jun 30 18:52:06 CEST 2011 on sn-devel-104
2011-06-30 18:52:06 +02:00
Stefan Metzmacher
5e82d1d0a7 script/autobuild.py: don't force usage of ccache and gcc
If someone wants to use it, CC="ccache gcc" script/autobuild.py will work.

It also makes it possible to use other compilers than gcc.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Apr 30 13:47:47 CEST 2011 on sn-devel-104
2011-04-30 13:47:47 +02:00
Stefan Metzmacher
a23d88e3df script/autobuild.py: make sure --with-selftest-prefix keeps working
metze
2011-04-30 12:47:18 +02:00
Stefan Metzmacher
317e40d46b script/librelease: display the permission on the server
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Apr 22 11:40:13 CEST 2011 on sn-devel-104
2011-04-22 11:40:13 +02:00
Stefan Metzmacher
74458b53ed script/librelease: add more error checking
metze
2011-04-22 10:54:21 +02:00
Stefan Metzmacher
bacc019dab script/librelease: set umask 0022
Releases should be readable by everyone.

metze
2011-04-22 10:54:21 +02:00
Stefan Metzmacher
40792f8bc4 script/librelease: use a GPG_KEYID variable to hold the signing key
metze
2011-04-22 10:54:20 +02:00
Stefan Metzmacher
2b608f3e67 script: add hardcoded library release key id
We don't want to use the key that might be configured
in ~/.gitconfig.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Apr 21 18:25:32 CEST 2011 on sn-devel-104
2011-04-21 18:25:32 +02:00
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