config.py revision cf22150eaeeb72431bf1cf65c309a431454fb22b
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# -*- coding: utf-8 -*-
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncTest Manager Configuration.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncCopyright (C) 2012-2014 Oracle Corporation
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncThis file is part of VirtualBox Open Source Edition (OSE), as
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncavailable from http://www.virtualbox.org. This file is free software;
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncyou can redistribute it and/or modify it under the terms of the GNU
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncGeneral Public License (GPL) as published by the Free Software
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncFoundation, in version 2 as it comes in the "COPYING" file of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncVirtualBox OSE distribution. VirtualBox OSE is distributed in the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsynchope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncThe contents of this file may alternatively be used under the terms
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncof the Common Development and Distribution License Version 1.0
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync(CDDL) only, as it comes in the "COPYING.CDDL" file of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncVirtualBox OSE distribution, in which case the provisions of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncCDDL are applicable instead of those of the GPL.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncYou may elect to license modified versions of this file under the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncterms and conditions of either the GPL or the CDDL or both.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Test Manager version string.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Test Manager revision string.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Enable VBox specific stuff.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## @name Used by the TMDatabaseConnection class.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## @name User handling.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Whether login names are case insensitive (True) or case sensitive (False).
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## @note Implemented by inserting lower case names into DB and lower case
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## bind variables in WHERE clauses.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## @name File locations
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The TestManager directory.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_ksTestManagerDir = os.path.dirname(os.path.abspath(__file__));
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The Validation Kit directory.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_ksValidationKitDir = os.path.dirname(g_ksTestManagerDir);
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The TestManager htdoc directory.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_ksTmHtDocDir = os.path.join(g_ksTestManagerDir, 'htdocs');
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The TestManager download directory (under htdoc somewhere), for validationkit zips.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_ksTmDownloadDir = os.path.join(g_ksTmHtDocDir, 'download');
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The base URL relative path of the TM download directory (g_ksTmDownloadDir).
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The root of the file area (referred to as TM_FILE_DIR in database docs).
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The root of the file area with the zip files (best put on a big storage server).
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## URL prefix for trac log viewer.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_ksTracLogUrlPrefix = 'https://linserv.de.oracle.com/vbox/log/'
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## URL prefix for trac log viewer.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_ksTracChangsetUrlFmt = 'https://linserv.de.oracle.com/%(sRepository)s/changeset/%(iRevision)s'
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## URL prefix for unprefixed build logs.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## URL prefix for unprefixed build binaries.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The local path prefix for unprefixed build binaries. (Host file system, not web server.)
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## File on the build binary share that can be used to check that it's mounted.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The time to wait for a gang to gather (in seconds).
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The max time allowed to spend looking for a new task (in seconds).
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## @name Test result limits.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## In general, we will fail the test when reached and stop accepting further results.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The max number of test results per test set.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The max number of test results (children) per test result.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The max number of test result values per test set.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The max number of test result values per test result.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The max number of test result message per test result.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The max test result nesting depth.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The max length of a test result name.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The max length of a test result value name.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The max length of a test result message.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The max size of the main log file.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The max size of an uploaded file (individual).
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The max size of all uploaded file.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## The max number of files that can be uploaded.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## @name Debug Features
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Enables extra DB exception information.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Where to write the glue debug.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# None indicates apache error log, string indicates a file.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#g_ksSrcGlueDebugLogDst = '/tmp/testmanager-srv-glue.log';
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Whether to enable CGI trace back in the server glue.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Enables glue debug output.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Timestamp the glue debug output.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Enables task scheduler debug output to g_ksSrcGlueDebugLogDst.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Enables the SQL trace back.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Enables the explain in the SQL trace back.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Whether the postgresql version supports the TIMING option on EXPLAIN (>= 9.2).
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Display time spent processing the page.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Enables WebUI debug output.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Enables WebUI SQL debug output print() calls (requires g_kfWebUiDebug).
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Enables the debug panel at the bottom of the page.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## When not None,