summaryrefslogtreecommitdiffstats
path: root/script
Commit message (Collapse)AuthorAgeFilesLines
* 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
* lib/param move source4 param code to the top levelAndrew Bartlett2011-10-111-0/+186
| | | | | | | | | | | | 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
* param: Use a bool to hold boolean parametersAndrew Bartlett2011-10-071-1/+1
| | | | | | | All three-state parameters invoking Auto (2) are already declared as integers, not booleans. Andrew Bartlett
* autobuild: Remove s3-waf from autobuildAndrew Bartlett2011-10-071-8/+1
|
* script/librelease.sh: automate Samba4 alpha releasesAndrew Bartlett2011-09-131-8/+14
|
* script: Fix the name of the script in autogenerated header fileAmitay Isaacs2011-08-261-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* script/librelease.sh: add git push for the release tagStefan Metzmacher2011-08-091-1/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 9 15:19:07 CEST 2011 on sn-devel-104
* ldb: make ldb a top level library for Samba 4.0Andrew Bartlett2011-07-052-3/+3
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-param Generate parameter tablesAndrew Bartlett2011-07-021-0/+204
|
* script/librelease.sh: keep dots in the release tagStefan Metzmacher2011-06-301-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jun 30 18:52:06 CEST 2011 on sn-devel-104
* script/autobuild.py: don't force usage of ccache and gccStefan Metzmacher2011-04-301-2/+0
| | | | | | | | | | | 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
* script/autobuild.py: make sure --with-selftest-prefix keeps workingStefan Metzmacher2011-04-301-1/+1
| | | | metze
* script/librelease: display the permission on the serverStefan Metzmacher2011-04-221-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Apr 22 11:40:13 CEST 2011 on sn-devel-104
* script/librelease: add more error checkingStefan Metzmacher2011-04-221-3/+9
| | | | metze
* script/librelease: set umask 0022Stefan Metzmacher2011-04-221-0/+1
| | | | | | Releases should be readable by everyone. metze
* script/librelease: use a GPG_KEYID variable to hold the signing keyStefan Metzmacher2011-04-221-1/+2
| | | | metze
* script: add hardcoded library release key idStefan Metzmacher2011-04-211-1/+1
| | | | | | | | | | 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
* autobuild: enabled samba3-waf buildAndrew Tridgell2011-03-011-1/+8
| | | | | | | 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
* python: use os.environ[] instead of os.putenv()Andrew Tridgell2011-02-222-2/+2
| | | | | | | using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* script: sign library releases with Samba Library Distribution KeyAndrew Tridgell2011-02-141-1/+3
|
* script/autobuild.py: git diff has a '--stat' option, no need to use 'diffstat'Stefan Metzmacher2011-02-071-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Feb 7 14:55:10 CET 2011 on sn-devel-104
* autobuild: lib/replace doesn't need autogen.shAndrew Tridgell2011-02-071-2/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* autobuild: fixed clone source for build treesAndrew Tridgell2011-02-071-1/+1
| | | | | | | | | 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>
* autobuild: add a bit more debug info in autobuildAndrew Tridgell2011-02-071-7/+8
| | | | | | this may help to track down rebase problems in future Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>