summaryrefslogtreecommitdiffstats
path: root/script
Commit message (Collapse)AuthorAgeFilesLines
* script: prepare librelease.sh for ntdb releasesStefan Metzmacher2013-11-171-1/+1
| | | | | | | 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
* random-sleep: add possiblity to override via environment variableMichael Adam2013-11-131-0/+4
| | | | | | | | | | | 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>
* autobuild: extend samba-ctdb target to build ctdb, tooMichael Adam2013-11-131-7/+14
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* autobuild: add a "ctdb" targetMichael Adam2013-11-131-1/+10
| | | | | | | | | 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>
* script: add ctdb-import.* scriptsStefan Metzmacher2013-11-133-0/+30
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* script/mks3param_ctx_table.pl: fix tabs/whitespaces in generated output.Stefan Metzmacher2013-10-181-2/+2
| | | | | | | | 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
* param: Autogenerate s3 lp_ctx glue tableAndrew Bartlett2013-10-161-0/+139
| | | | | | | | 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>
* s3/param: Autogenerate parameters prototypes again after proto.h was frozenAndrew Bartlett2013-10-161-0/+199
| | | | | | | | | | | 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>
* param: Skip generating hooks for local and string parametersAndrew Bartlett2013-10-161-1/+8
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* autobuild: remove remnants of removed samba3 targetsMichael Adam2013-05-291-2/+0
| | | | | | | | 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
* autobuild: Remove samba3 and samba3-ctdb targets to allow autoconf removal ↵Andrew Bartlett2013-05-281-23/+1
| | | | | | | | for 4.1 Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* autobuild.py add ntdb to the samba-libs task, to ensure it works as an ↵Andrew Bartlett2013-05-161-1/+5
| | | | | | external library Reviewed-by: Stefan Metzmacher <metze@samba.org>
* script: Add a script to display testsuite runtime sortedMatthieu Patou2013-01-091-0/+40
| | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-By: Andrew Bartlett <abartlet@samba.org>
* build: Be consistent with the name of smbtorture binariesAndrew Bartlett2012-11-221-2/+2
| | | | | | | | | | | | | | 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>
* librelease.sh: Move the GPG data to the library section.Karolin Seeger2012-10-021-10/+24
| | | | | | | | | | | | Don't use the Library key for the samba releases. Karolin Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 7eb1f6ff178cb04a04dcaee88f15be850d239430) Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Oct 2 14:28:10 CEST 2012 on sn-devel-104
* Remove obsolete land-remote.py and land.py scripts.Jelmer Vernooij2012-09-262-854/+0
|
* script/autobuild.py: set the default for --log-base to the current gitrootStefan Metzmacher2012-09-241-7/+7
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Sep 24 15:27:16 CEST 2012 on sn-devel-104
* script/autobuild.py: remove --rebase-master and --push-master optionsStefan Metzmacher2012-09-231-18/+3
| | | | | | | | | 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
* script/autobuild.py: add --log-base optionStefan Metzmacher2012-09-221-3/+6
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Sep 22 23:21:59 CEST 2012 on sn-devel-104
* script/autobuild.py: add log_base variable to avoid hardcoded valuesStefan Metzmacher2012-09-221-11/+14
| | | | metze
* script/autobuild.py: add --branch optionStefan Metzmacher2012-09-221-5/+8
| | | | metze
* script/autobuild.py: use some variables for push_remote and push_branchStefan Metzmacher2012-09-221-4/+9
| | | | metze
* script/autobuild.py: use some variables for rebase_remote and rebase_branchStefan Metzmacher2012-09-221-27/+53
| | | | metze
* loadparm: Add ctx member to struct loadparm_global.Rusty Russell2012-08-071-1/+3
| | | | | | | | 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>
* lib/param: Merge handling of security/domain master/domain logons/server roleAndrew Bartlett2012-07-241-2/+0
| | | | | | | This ensures that the same input parameters always gives the same output values in both loadparm systems. Andrew Bartlett
* s3-param: Rename loadparm_s3_context -> loadparm_s3_helpersAndrew Bartlett2012-06-271-1/+1
| | | | | | | | | | | | | | | | | 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
* script/autobuild: fix path to random-sleep.shStefan Metzmacher2012-06-221-8/+8
| | | | metze
* autobuild: always set TDB_NO_FSYNC.Rusty Russell2012-06-221-4/+6
| | | | | | | | | 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>
* autobuild: run "samba3-ctdb" by defaultMichael Adam2012-06-221-1/+1
| | | | | Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Jun 22 01:46:13 CEST 2012 on sn-devel-104
* autobuild: run "samba-ctdb" by default to catch dbwrap_ctdb regressionsMichael Adam2012-06-211-1/+1
|
* autobuild: add a target "samba3-ctdb" that builds samba3 (autoconf) with ↵Michael Adam2012-06-211-0/+10
| | | | | | | | 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.
* autobuild: add a target "samba-ctdb" that builds samba (waf) with cluster ↵Michael Adam2012-06-211-0/+19
| | | | | | | | 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.
* autobuild: rename the "samba4-libs" target to "samba-libs"Michael Adam2012-06-211-3/+3
|
* autobuild: rename the "samba4" target to "samba"Michael Adam2012-06-211-8/+8
|
* script: really sleep in "random-sleep.sh"Michael Adam2012-06-211-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* script/autobuild: delay start of small projects by 60 to 600 secondsStefan Metzmacher2012-06-202-8/+45
| | | | | | | | | 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
* script/autobuild: don't use 'make -j 4' for bin/smbtorture4Stefan Metzmacher2012-06-201-1/+1
| | | | | | The '4' has no effect there, which results in NUM_JOBS == NUM_CORES. metze
* script/autobuild: don't use make -j for small projectsStefan Metzmacher2012-06-201-11/+11
| | | | | | | The top level and source3 builds take much longer than the standalone projects, so there's no need to use 'make -j'. metze
* TDB2: Goodbye TDB2, Hello NTDB.Rusty Russell2012-06-191-1/+10
| | | | | | | | | | | 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>
* TDB2: make SAMBA use tdb1 again for the moment.Rusty Russell2012-06-191-12/+3
| | | | | | | Otherwise the following surgery will break the SAMBA build and testsuite. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* script/commit_mark.sh: add the current branch nameStefan Metzmacher2012-06-071-4/+6
| | | | | | | | | | | | | 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
* autobuild: Run ABI check on samba4-libs as well.Andrew Bartlett2012-05-181-5/+5
| | | | | | | 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
* remove --enable-developer from samba4-libs autobuildAndrew Bartlett2012-04-111-5/+5
| | | | | | This will ensure everything works for end users without --enable-developer. Andrew Bartlett
* autobuild: Also test a distribution-style build with external libsAndrew Bartlett2012-04-091-1/+24
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 9 10:06:38 CEST 2012 on sn-devel-104
* autobuild: Enable standalone tdb2 testsAmitay Isaacs2012-03-081-1/+10
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Thu Mar 8 09:32:24 CET 2012 on sn-devel-104
* autobuild.py: Catch only true exceptions in except statementAmitay Isaacs2012-01-241-3/+3
| | | | | | 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.
* script/autobuild.py: cleanup on rebase failureStefan Metzmacher2012-01-211-0/+2
| | | | | | | | | 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
* param: Connect lp_security to the lib/param code to allow testsAndrew Bartlett2011-11-171-0/+1
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* param: calculate server role from security, and security from server roleAndrew Bartlett2011-11-171-0/+1
| | | | | | | | | | | | | 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>
* script/autobuild.py: split 'samba3' 'make -j 4 everything' into multiple stepsStefan Metzmacher2011-10-111-1/+5
| | | | | | | 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