dsdb: reset schema->{classes,attributes}_to_remove_size to 0
[Samba/gebeck_regimport.git] / buildtools / wafadmin / Constants.py
blobe67dda6ecd8c235cf5ae782fd696d9dca3ccf5ec
1 #!/usr/bin/env python
2 # encoding: utf-8
3 # Yinon dot me gmail 2008
5 """
6 these constants are somewhat public, try not to mess them
8 maintainer: the version number is updated from the top-level wscript file
9 """
11 # do not touch these three lines, they are updated automatically
12 HEXVERSION=0x105019
13 WAFVERSION="1.5.19"
14 WAFREVISION = "9709M"
15 ABI = 7
17 # permissions
18 O644 = 420
19 O755 = 493
21 MAXJOBS = 99999999
23 CACHE_DIR = 'c4che'
24 CACHE_SUFFIX = '.cache.py'
25 DBFILE = '.wafpickle-%d' % ABI
26 WSCRIPT_FILE = 'wscript'
27 WSCRIPT_BUILD_FILE = 'wscript_build'
28 WAF_CONFIG_LOG = 'config.log'
29 WAF_CONFIG_H = 'config.h'
31 SIG_NIL = 'iluvcuteoverload'
33 VARIANT = '_VARIANT_'
34 DEFAULT = 'default'
36 SRCDIR = 'srcdir'
37 BLDDIR = 'blddir'
38 APPNAME = 'APPNAME'
39 VERSION = 'VERSION'
41 DEFINES = 'defines'
42 UNDEFINED = ()
44 BREAK = "break"
45 CONTINUE = "continue"
47 # task scheduler options
48 JOBCONTROL = "JOBCONTROL"
49 MAXPARALLEL = "MAXPARALLEL"
50 NORMAL = "NORMAL"
52 # task state
53 NOT_RUN = 0
54 MISSING = 1
55 CRASHED = 2
56 EXCEPTION = 3
57 SKIPPED = 8
58 SUCCESS = 9
60 ASK_LATER = -1
61 SKIP_ME = -2
62 RUN_ME = -3
65 LOG_FORMAT = "%(asctime)s %(c1)s%(zone)s%(c2)s %(message)s"
66 HOUR_FORMAT = "%H:%M:%S"
68 TEST_OK = True
70 CFG_FILES = 'cfg_files'
72 # positive '->' install
73 # negative '<-' uninstall
74 INSTALL = 1337
75 UNINSTALL = -1337