summaryrefslogtreecommitdiff
path: root/source4/script
AgeCommit message (Collapse)AuthorFilesLines
2021-04-28python: remove all 'from __future__ import print_function'Douglas Bagnall1-1/+0
This made Python 2's print behave like Python 3's print(). In some cases, where we had: from __future__ import print_function """Intended module documentation...""" this will have the side effect of making the intended module documentation work as the actual module documentation (i.e. becoming __doc__), because it is once again the first statement in the module. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-12-14PY3: change shebang to python3 in source4/dsdb dirJoe Guo1-1/+1
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Noel Power <npower@samba.org>
2018-11-01s4/script/depfilter.py: use py3 compatible regex importDouglas Bagnall1-2/+2
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <noel.power@suse.com>
2018-08-24PEP8: fix E401: multiple imports on one lineJoe Guo1-1/+2
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2018-08-24PEP8: fix E305: expected 2 blank lines after class or function definition, ↵Joe Guo1-0/+1
found 1 Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2018-08-24PEP8: fix E302: expected 2 blank lines, found 1Joe Guo1-0/+1
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2018-08-24PEP8: fix W601: .has_key() is deprecated, use 'in'Joe Guo1-2/+2
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2018-03-23s4/script: convert print func to be py2/py3 compatibleNoel Power1-4/+5
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2014-08-31find_unused_macros: Remove obsolete script that finds unused macros.Jelmer Vernooij1-38/+0
There are various static checkers that can do this nowadays, with better accuracy. Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2014-08-31source4: Remove script to find unused makefile variables.Jelmer Vernooij1-55/+0
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2014-02-12lib/param: generate the param_functions.h containing the prototypesGarming Sam1-41/+0
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>
2011-10-11lib/param move source4 param code to the top levelAndrew Bartlett1-186/+0
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-09-13script/librelease.sh: automate Samba4 alpha releasesAndrew Bartlett1-19/+0
2011-08-26s3-param: Add a dump() method to output parametersAmitay Isaacs1-0/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-13param: Add smb.conf loading support to s3/s4 loadparm bridgeAndrew Bartlett1-0/+1
2011-07-14s4-param finish services hooks for s4->s3 loadparm contextAndrew Bartlett1-0/+4
2011-07-08lib/param: Merge struct loadparm_service into commonAndrew Bartlett1-21/+33
This is handled by a common header and a .c file that is included into both loadparm.c files. In the process, _lp functions were renamed to lp__ to allow the common function definition declarations to be used by source3 and source4 (which have different macro definitions). The only parameter to change type is 'strict_locking' which was a bool, and is now an int, to accommodate the 'Auto' value from source3. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 8 12:35:56 CEST 2011 on sn-devel-104
2011-07-08param: Add hooks to s3 parm_struct and the parameters void * pointerAndrew Bartlett1-1/+4
This is to that the pyparam hooks can use the hooks to connect with the s3 loadparm system. This now also includes per-service parameters. Andrew Bartlett
2011-07-02s3-param Generate parameter tablesAndrew Bartlett1-192/+0
2011-06-21s4-param Autogenerate the loadparm_globals and loadparm_service tablesAndrew Bartlett1-0/+192
This makes it much easier and less error prone to add new parameters as we merge the s3 and s4 loadparm systems. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jun 21 04:41:54 CEST 2011 on sn-devel-104
2011-06-21s4-param Add my authorship to this scriptAndrew Bartlett1-2/+3
2011-06-06s3-s4-param: Add hooks for parametric options in the s3/s4 glue layerAndrew Bartlett1-0/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 6 10:48:53 CEST 2011 on sn-devel-104
2011-06-06s4-param Add hook between Samba3 and Samba4 loadparm systems.Andrew Bartlett1-0/+175
In the top level build, this allows calls to code that requires a lpcfg_ style loadparm_context, while using the global parameters loaded from the source3 loadparm code. Andrew Bartlett
2011-04-24Fix release script to cope with moved Samba 4 build tools.Jelmer Vernooij1-3/+2
2011-02-07s4-build: remove a bunch of unused build scriptsAndrew Tridgell10-345/+0
these were leftover from the autoconf build Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Feb 7 04:09:40 CET 2011 on sn-devel-104
2011-02-02Remove unused installmisc.sh script, from old build systemAndrew Bartlett1-98/+0
2010-12-24mkrelease: Simplify further.Jelmer Vernooij1-7/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 24 02:01:10 CET 2010 on sn-devel-104
2010-11-12s4: Remove obsolete mkversion.shJelmer Vernooij1-133/+0
2010-10-01autobuild-remote: Support autobuild.py rather than land.py.Jelmer Vernooij1-50/+0
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Oct 1 09:46:37 UTC 2010 on sn-devel-104
2010-10-01Remove land.py - it's been obsoleted by autobuild.py.Jelmer Vernooij1-118/+0
2010-09-21s4-land: Print commands that are being run.Jelmer Vernooij1-10/+20
2010-09-21s4: Add script for landing a branch through a remote server, such as sn.Jelmer Vernooij1-0/+40
2010-09-21s4: Add convenience script for building and landing a tree in theJelmer Vernooij1-0/+118
background, sending results by email.
2010-09-20s4-mkrelease: Update for waf.samba-4.0.0alpha13Jelmer Vernooij1-29/+14
2010-09-20s4-mkrelease: Update to use waf build.Jelmer Vernooij1-6/+4
2010-09-11s4-param: move back to auto-generation of loadparm prototypesAndrew Tridgell1-3/+3
2010-06-24s4-python: python is not always in /usr/binAndrew Tridgell1-1/+1
Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-05-28s4:build Don't automatically mark as 'not a git snapshot'.Andrew Bartlett1-2/+0
If we generate a tarball, it may well be a git snapshot - we will change the VERSION file if it really is a release. Andrew Bartlett
2010-05-28s4:build use autotools for mkrelease.shAndrew Bartlett1-1/+3
The mkrelease.sh script only works with the autotools build. However, it isn't recommended. Andrew Bartlett
2010-05-04s4-script: added a --waf option to minimal_includes.plAndrew Tridgell1-0/+7
This takes advantage of the new waf target syntax
2010-04-29s4: remove unused references to swatStefan Metzmacher1-37/+0
metze
2010-04-27Install spn_update_list to setup/ dirMarcel Ritter1-0/+1
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-04-27s4-dns: install samba_spnupdateAndrew Tridgell1-1/+1
2010-04-15Revert "Revert "s4:script/installmisc.sh - install "dns_update_list" to ↵Stefan Metzmacher1-0/+1
target setup folder"" This reverts commit a34eafc693d8750c0883823068e5c6f7355efa04. This commit was correct. metze
2010-04-15Revert "s4:"dns_update_list" file: install it properly into the private ↵Stefan Metzmacher1-9/+6
directory" This reverts commit fde707aa0c563d239c2f8c442cddfee0b6ff057f. This is wrong, we need to install it into the setup directory, so that provision will find it and copy it to private dir. metze
2010-04-07Move configure_check_unused script to root scriptdir, as it is usefulJelmer Vernooij1-124/+0
for both s3 and s4.
2010-04-07s4: Remove unused pkg-config replacement in perl.Jelmer Vernooij1-145/+0
2010-04-01s4-python: Ensure __init__ exists in samba.external, or importing will fail.Jelmer Vernooij1-0/+1
2010-04-01s4-python: Install external packages to a different directory but import intoJelmer Vernooij1-3/+4
the normal namespace when the system doesn't have it available.
2010-03-31s4-python: Install external included packages only if they're not present on ↵Jelmer Vernooij1-4/+5
the system.