1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

150 Commits

Author SHA1 Message Date
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