C# Class MonkeyWrench.Configuration

显示文件 Open project: mono/monkeywrench

Public Properties

Property Type Description
AllowAnonymousAccess bool
AllowPasswordLogin bool
AllowedCommitReporterIPs string
AutomaticScheduler bool
AutomaticSchedulerInterval int
ChildProcessAlgorithm string
CleanLargeObjects bool
CompressFiles bool
ConnectionRetryDuration int
DataDirectory string
DatabaseHost string
DatabaseName string
DatabasePassword string
DatabasePort int
DatabaseUser string
ExecuteDeletionDirectives bool
ForceFullUpdate bool
GitHubOauthClientId string
GitHubOauthClientSecret string
GitHubOauthRedirect string
GitHubOrganizationList string[]
Host string
LockingAlgorithm string
LogFile string
LogLevel string
MoveFilesToDatabase bool
MoveFilesToFileSystem bool
NoOutputTimeout int
NoProgressTimeout int
OauthClientId string
OauthClientSecret string
OauthRedirect string
OpenIdProvider string
OpenIdRoles string[]
Platform string
RevDataDirectory string
SchedulerAccount string
SchedulerPassword string
SiteSkin string
StoreFilesInDB bool
UploadPort int
WebServicePassword string
WebServiceUrl string
WebSiteUrl string

Public Methods

Method Description
CygwinizePath ( string path ) : string
GetArch ( ) : string

Get the architecture of the machine we're running on. Either BUILDER_ARCH or 'Default'

GetCIncludePath ( int lane_id, string revision ) : string
GetCPlusIncludePath ( int lane_id, string revision ) : string
GetDataInstallDir ( int lane_id, string revision ) : string

BUILD_DATA/lanes/BUILD_LANE/BUILD_REVISION/install

GetDataLane ( int lane_id ) : string
GetDataLogDir ( int lane_id, string revision ) : string

BUILD_DATA/lanes/BUILD_LANE/BUILD_REVISION/logs

GetDataRevisionDir ( int lane_id, string revision ) : string

BUILD_DATA/lanes/BUILD_LANE/BUILD_REVISION

GetDataSourceDir ( int lane_id, string revision ) : string

BUILD_DATA/lanes/BUILD_LANE/BUILD_REVISION/source

GetDependentDownloadDirectory ( int lane_id, string dependent_lane, string revision ) : string
GetFilesDirectory ( ) : string

The directory where the database stores the files (as opposed to storing the files in the db itself)

GetHost ( ) : string

Get the host name of the machine we're running on. Either BUILDER_HOST or 'Default'

GetLdLibraryPath ( int lane_id, string revision ) : string
GetPath ( int lane_id, string revision ) : string
GetPkgConfigPath ( int lane_id, string revision ) : string
GetPlatform ( ) : System.Platform

The platform we're currently executing on.

GetReleaseDirectory ( ) : string

The directory where the monkeywrench releases are stored

GetSchedulerCommitsDirectory ( ) : string

The web frontend receives files to ReportCommit.aspx, these files are written into this directory. The scheduler looks for files in this directory and only accesses the remote repository when it determines that something has been committed.

GetSchedulerRepositoryCacheDirectory ( string repository ) : string

A repository cache directory for the schedulers which may need it (git)

GetWebSiteUrl ( ) : string
LoadConfiguration ( string arguments ) : bool

Loads any configuration. Returns false if loading fails, in which case the application must exit asap. There's no need to report errors, an error message have been printed to stderr.

LoadConfiguration ( string arguments, string file ) : bool
VerifyBuildBotConfiguration ( ) : bool

Private Methods

Method Description
ExecuteSuspendedProcessHack ( string arguments ) : void
GetNodeValue ( this node, string @default ) : string
ShowHelp ( OptionSet options ) : void
setupLog4Net ( ) : void

Method Details

CygwinizePath() public static method

public static CygwinizePath ( string path ) : string
path string
return string

GetArch() public static method

Get the architecture of the machine we're running on. Either BUILDER_ARCH or 'Default'
public static GetArch ( ) : string
return string

GetCIncludePath() public static method

public static GetCIncludePath ( int lane_id, string revision ) : string
lane_id int
revision string
return string

GetCPlusIncludePath() public static method

public static GetCPlusIncludePath ( int lane_id, string revision ) : string
lane_id int
revision string
return string

GetDataInstallDir() public static method

BUILD_DATA/lanes/BUILD_LANE/BUILD_REVISION/install
public static GetDataInstallDir ( int lane_id, string revision ) : string
lane_id int
revision string
return string

GetDataLane() public static method

public static GetDataLane ( int lane_id ) : string
lane_id int
return string

GetDataLogDir() public static method

BUILD_DATA/lanes/BUILD_LANE/BUILD_REVISION/logs
public static GetDataLogDir ( int lane_id, string revision ) : string
lane_id int
revision string
return string

GetDataRevisionDir() public static method

BUILD_DATA/lanes/BUILD_LANE/BUILD_REVISION
public static GetDataRevisionDir ( int lane_id, string revision ) : string
lane_id int
revision string
return string

GetDataSourceDir() public static method

BUILD_DATA/lanes/BUILD_LANE/BUILD_REVISION/source
public static GetDataSourceDir ( int lane_id, string revision ) : string
lane_id int
revision string
return string

GetDependentDownloadDirectory() public static method

public static GetDependentDownloadDirectory ( int lane_id, string dependent_lane, string revision ) : string
lane_id int
dependent_lane string
revision string
return string

GetFilesDirectory() public static method

The directory where the database stores the files (as opposed to storing the files in the db itself)
public static GetFilesDirectory ( ) : string
return string

GetHost() public static method

Get the host name of the machine we're running on. Either BUILDER_HOST or 'Default'
public static GetHost ( ) : string
return string

GetLdLibraryPath() public static method

public static GetLdLibraryPath ( int lane_id, string revision ) : string
lane_id int
revision string
return string

GetPath() public static method

public static GetPath ( int lane_id, string revision ) : string
lane_id int
revision string
return string

GetPkgConfigPath() public static method

public static GetPkgConfigPath ( int lane_id, string revision ) : string
lane_id int
revision string
return string

GetPlatform() public static method

The platform we're currently executing on.
public static GetPlatform ( ) : System.Platform
return System.Platform

GetReleaseDirectory() public static method

The directory where the monkeywrench releases are stored
public static GetReleaseDirectory ( ) : string
return string

GetSchedulerCommitsDirectory() public static method

The web frontend receives files to ReportCommit.aspx, these files are written into this directory. The scheduler looks for files in this directory and only accesses the remote repository when it determines that something has been committed.
public static GetSchedulerCommitsDirectory ( ) : string
return string

GetSchedulerRepositoryCacheDirectory() public static method

A repository cache directory for the schedulers which may need it (git)
public static GetSchedulerRepositoryCacheDirectory ( string repository ) : string
repository string
return string

GetWebSiteUrl() public static method

public static GetWebSiteUrl ( ) : string
return string

LoadConfiguration() public static method

Loads any configuration. Returns false if loading fails, in which case the application must exit asap. There's no need to report errors, an error message have been printed to stderr.
public static LoadConfiguration ( string arguments ) : bool
arguments string
return bool

LoadConfiguration() public static method

public static LoadConfiguration ( string arguments, string file ) : bool
arguments string
file string
return bool

VerifyBuildBotConfiguration() public static method

public static VerifyBuildBotConfiguration ( ) : bool
return bool

Property Details

AllowAnonymousAccess public_oe static_oe property

public static bool AllowAnonymousAccess
return bool

AllowPasswordLogin public_oe static_oe property

public static bool AllowPasswordLogin
return bool

AllowedCommitReporterIPs public_oe static_oe property

public static string AllowedCommitReporterIPs
return string

AutomaticScheduler public_oe static_oe property

public static bool AutomaticScheduler
return bool

AutomaticSchedulerInterval public_oe static_oe property

public static int AutomaticSchedulerInterval
return int

ChildProcessAlgorithm public_oe static_oe property

public static string ChildProcessAlgorithm
return string

CleanLargeObjects public_oe static_oe property

public static bool CleanLargeObjects
return bool

CompressFiles public_oe static_oe property

public static bool CompressFiles
return bool

ConnectionRetryDuration public_oe static_oe property

public static int ConnectionRetryDuration
return int

DataDirectory public_oe static_oe property

public static string DataDirectory
return string

DatabaseHost public_oe static_oe property

public static string DatabaseHost
return string

DatabaseName public_oe static_oe property

public static string DatabaseName
return string

DatabasePassword public_oe static_oe property

public static string DatabasePassword
return string

DatabasePort public_oe static_oe property

public static int DatabasePort
return int

DatabaseUser public_oe static_oe property

public static string DatabaseUser
return string

ExecuteDeletionDirectives public_oe static_oe property

public static bool ExecuteDeletionDirectives
return bool

ForceFullUpdate public_oe static_oe property

public static bool ForceFullUpdate
return bool

GitHubOauthClientId public_oe static_oe property

public static string GitHubOauthClientId
return string

GitHubOauthClientSecret public_oe static_oe property

public static string GitHubOauthClientSecret
return string

GitHubOauthRedirect public_oe static_oe property

public static string GitHubOauthRedirect
return string

GitHubOrganizationList public_oe static_oe property

public static string[] GitHubOrganizationList
return string[]

Host public_oe static_oe property

public static string Host
return string

LockingAlgorithm public_oe static_oe property

public static string LockingAlgorithm
return string

LogFile public_oe static_oe property

public static string LogFile
return string

LogLevel public_oe static_oe property

public static string LogLevel
return string

MoveFilesToDatabase public_oe static_oe property

public static bool MoveFilesToDatabase
return bool

MoveFilesToFileSystem public_oe static_oe property

public static bool MoveFilesToFileSystem
return bool

NoOutputTimeout public_oe static_oe property

public static int NoOutputTimeout
return int

NoProgressTimeout public_oe static_oe property

public static int NoProgressTimeout
return int

OauthClientId public_oe static_oe property

public static string OauthClientId
return string

OauthClientSecret public_oe static_oe property

public static string OauthClientSecret
return string

OauthRedirect public_oe static_oe property

public static string OauthRedirect
return string

OpenIdProvider public_oe static_oe property

public static string OpenIdProvider
return string

OpenIdRoles public_oe static_oe property

public static string[] OpenIdRoles
return string[]

Platform public_oe static_oe property

public static string Platform
return string

RevDataDirectory public_oe static_oe property

public static string RevDataDirectory
return string

SchedulerAccount public_oe static_oe property

public static string SchedulerAccount
return string

SchedulerPassword public_oe static_oe property

public static string SchedulerPassword
return string

SiteSkin public_oe static_oe property

public static string SiteSkin
return string

StoreFilesInDB public_oe static_oe property

public static bool StoreFilesInDB
return bool

UploadPort public_oe static_oe property

public static int UploadPort
return int

WebServicePassword public_oe static_oe property

public static string WebServicePassword
return string

WebServiceUrl public_oe static_oe property

public static string WebServiceUrl
return string

WebSiteUrl public_oe static_oe property

public static string WebSiteUrl
return string