Subversion Repositories DevTools

Rev

Rev 7337 | Rev 7457 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%
2
'=====================================================
131 ghuddy 3
'               CONFIG FILE
119 ghuddy 4
'=====================================================
5
%>
6
<!--#include file="base_conf.asp"-->
7
 
8
<%
9
' -- Variable Definition ------------------------------
131 ghuddy 10
Dim OraSession, OraDatabase      ' DB connection
119 ghuddy 11
Dim scriptName
12
Dim rootPath
5251 dpurdie 13
Dim DocRepositiryLink, DocRepositiryLinkOld, DocBrowseLink
119 ghuddy 14
Dim APP_ROOT, QUERIES_PATH
177 brianf 15
Dim archive_server
6070 dpurdie 16
Dim lxr_server
17
Dim LXR_URL
177 brianf 18
Dim dpkg_archiveURL
19
Dim HTTP_PKG_ARCHIVE
1326 dpurdie 20
Dim release_archiveURL
21
Dim ACCESS_MANAGER_URL
4028 dpurdie 22
Dim DEPLOYMENT_MANAGER_URL
5357 dpurdie 23
Dim PRODUCTION_MANAGER_URL
24
Dim RELEASE_MANAGER_URL
7260 dpurdie 25
Dim ABTLOG_URL
2365 dpurdie 26
Dim strRelativePath             ' Rel Path from script to URL
5357 dpurdie 27
Dim managerSuiteBase            ' Url to the base of the Manager Suite
6688 dpurdie 28
Dim siteRootUrl                 ' Full url to the base of the site
3959 dpurdie 29
Dim MAIL_SERVER
5168 dpurdie 30
Dim FAULT_EMAIL_LIST
5357 dpurdie 31
Dim FavIcon                     ' Favorite Icon
5975 dpurdie 32
Dim ServiceConfig               ' All service config
6181 dpurdie 33
Dim ForcePageLogon              ' Page Protection Mode
7063 dpurdie 34
Dim IndefPause                  ' Global indication of error
7337 dpurdie 35
Dim VixVerNum : VixVerNum = 34  ' Bump to force cache reload of many resources
1326 dpurdie 36
 
119 ghuddy 37
' -- Variable Initialisation --------------------------
38
'Set OraSession = CreateObject("OracleInProcServer.XOraSession")
39
'OraSession.CreateDatabasePool 1,2,1, TNS_NAME, DB_AUTHENTICATION, 0
40
'Set OraDatabase = OraSession.GetDatabaseFromPool(5000)
41
 
42
'Set OraSession = Application("ORA_SESSION")
131 ghuddy 43
'Set OraDatabase =    OraSession.GetDatabaseFromPool(5000)
119 ghuddy 44
Set OraSession = CreateObject("OracleInProcServer.XOraSession")
45
Set OraDatabase = OraSession.OpenDatabase( TNS_NAME, DB_AUTHENTICATION, Cint(0))
5975 dpurdie 46
Set ServiceConfig = CreateObject("Scripting.Dictionary")
47
GetServiceConfig()
7063 dpurdie 48
GetIndefPause()
119 ghuddy 49
 
177 brianf 50
'--------------------------------------------------------------------------------------
5975 dpurdie 51
'Populate ServiceConfig
7063 dpurdie 52
Sub GetIndefPause()
53
    IndefPause = FALSE
54
 
55
    Dim sqry : sqry = "select * from run_level_schedule rls where rls.indefinite_pause = 'P'"
56
    Dim rsTemp : Set rsTemp = OraDatabase.DbCreateDynaset( sqry , cint(0) )
57
 
58
    If rsTemp.RecordCount > 0 Then
59
        IndefPause = TRUE
60
    End If
61
   rsTemp.Close()
62
   Set rsTemp = Nothing
63
End Sub
64
 
65
'--------------------------------------------------------------------------------------
66
'Populate ServiceConfig
5975 dpurdie 67
Sub GetServiceConfig()
68
   Dim sqry: sqry = "SELECT * FROM BUILD_SERVICE_CONFIG WHERE service NOT IN ('MUTEX','WEB SERVER')"
69
   Dim rsTemp : Set rsTemp = OraDatabase.DbCreateDynaset( sqry , cint(0) )
119 ghuddy 70
 
5975 dpurdie 71
   Do While(rsTemp.EOF=FALSE)
72
        Dim name : name = rsTemp(0)
73
        Dim val : val  = rsTemp(1)
74
        ServiceConfig.Add name, val
75
        rsTemp.MoveNext
76
   Loop
3959 dpurdie 77
 
5168 dpurdie 78
   rsTemp.Close()
79
   Set rsTemp = Nothing
80
 
5975 dpurdie 81
End Sub
82
 
5168 dpurdie 83
'--------------------------------------------------------------------------------------
2365 dpurdie 84
'Return a relative path to the server base. Used for relative pathing to 'images'
5357 dpurdie 85
'Assumes server base is two directores below the web serve root (ManageSuite/Release_Manager)
2365 dpurdie 86
Function GetPathToBase()
87
    Dim url,depth,rv,ii
88
    url = request.servervariables("URL")
89
    depth =  len(url) - len(replace(url, "/", ""))
90
    rv = ""
5357 dpurdie 91
    For ii = 4 To depth
2365 dpurdie 92
        rv = rv & "../"
93
    Next
94
    GetPathToBase = rv
95
End Function
96
 
5357 dpurdie 97
' Return a URL to the base of the Manager suite
98
' Assumes this is one directory down from the web server root
99
Function GetManagerSuiteBase
100
    Dim data
101
    data = Split(request.servervariables("URL"),"/")
102
    GetManagerSuiteBase =  "/" & data(1)
103
End Function
104
 
2365 dpurdie 105
'--------------------------------------------------------------------------------------
6688 dpurdie 106
Function getSiteRootUrl()
107
    dim siteRootUrl, protocol, hostname, port
108
 
109
    if Request.ServerVariables("HTTPS") = "off" then
110
        protocol = "http"
111
    else
112
        protocol = "https"
113
    end if
114
    siteRootUrl = protocol & "://"
115
 
116
    hostname = Request.ServerVariables("HTTP_HOST")
117
    siteRootUrl = siteRootUrl & hostname        
118
 
119
    getSiteRootUrl = siteRootUrl
120
End Function
121
 
122
'--------------------------------------------------------------------------------------
5143 dpurdie 123
' Determine if a variable or Const exists and is not empty
124
'   Use to check if a vbscript variable has been declared and contains a non-empty value
125
Function isDefined( var)
126
    If (not IsEmpty(Eval(var))) AND Eval(var & " <> """"") Then
127
        isDefined = TRUE
128
    Else
129
        isDefined = FALSE
130
   End If
131
End Function
2365 dpurdie 132
 
6176 dpurdie 133
'--------------------------------------------------------------------------------------
6183 dpurdie 134
'   Get an application varibale as a Boolean with defult value
135
Function bGetApplication(name, defvalue)
136
    If IsEmpty (Application(name)) Then
137
        bGetApplication = CBool(defvalue)
138
    Else
139
        bGetApplication = CBool(Application(name))
140
   End If
141
End Function
142
 
143
'--------------------------------------------------------------------------------------
6176 dpurdie 144
' Debug Support function
145
'   Add string to the debug string
146
Sub AddRmDebug(str)
147
    If Len(RmDebug) > 0  Then RmDebug = RmDebug + ":"
148
    RmDebug = RmDebug + Cstr(str)
149
End Sub
150
 
5957 dpurdie 151
'-----------------------------------------------------------------------------------------------------------------------------
152
'   Destroy_All_Objects
153
'   Should be used by ALL pages and error handling code in order to reduce memory and handle leaks
154
'   Needs to kept in sync with common/destructor.asp
155
Sub Destroy_All_Objects
156
    On Error Resume Next
157
 
158
    '   Some global objects
159
    Set objAccessControl = Nothing
160
    Set objPMod = Nothing
161
    Set objEH = Nothing
162
    Set objTabControl = Nothing
5975 dpurdie 163
    Set ServiceConfig = Nothing
5957 dpurdie 164
 
165
    '   Global package info
166
    Set pkgInfoHash = Nothing
167
    Set releaseInfoHash = Nothing
168
 
169
    '   Delete ALL Oracle bound variables
170
    '   Note: Bound Variables that remain at the end of a Page Process will cause an Oracle Session leak
171
    If TypeName(OraDatabase) = "IOraDatabase" Then
172
        While OraDatabase.Parameters.Count > 0
173
            OraDatabase.Parameters.Remove(0)
174
        Wend
175
    End  If
176
 
177
    '   Some commonly used database objects
178
    rsTemp.Close
179
    Set rsTemp = Nothing
180
 
181
    rsRep.Close
182
    Set rsRep = Nothing
183
 
184
    rsQry.Close
185
    Set rsQry = Nothing
186
 
187
    '   Database objects
188
    set OraDatabase = Nothing
189
    set OraSession = Nothing
190
End Sub
5143 dpurdie 191
'--------------------------------------------------------------------------------------
5975 dpurdie 192
archive_server = ServiceConfig("ARCHIVE SERVER")
6070 dpurdie 193
lxr_server = ServiceConfig("LXR SERVER")
194
LXR_URL = "http://" & lxr_server & "/lxr/source"
5975 dpurdie 195
MAIL_SERVER = ServiceConfig("MAIL SERVER")
196
FAULT_EMAIL_LIST = ServiceConfig("FAULT EMAIL ADDRESS LIST")
2365 dpurdie 197
strRelativePath = GetPathToBase()
5357 dpurdie 198
managerSuiteBase = GetManagerSuiteBase()
6688 dpurdie 199
siteRootUrl = getSiteRootUrl()
119 ghuddy 200
APP_ROOT = Server.MapPath(".")
201
QUERIES_PATH = APP_ROOT &"\queries"
202
scriptName = Mid(Request.ServerVariables("SCRIPT_NAME"), InStrRev(Request.ServerVariables("SCRIPT_NAME"), "/") + 1 )
203
rootPath = Left( Server.MapPath( scriptName ), InStrRev(Server.MapPath( scriptName ), "\") )
204
DocRepositiryLink = DOC_REPOSITORY_URL & "docLinkTo.asp?docnum="
205
DocRepositiryLinkOld = DOC_REPOSITORY_URL & "docLinkTo.asp?old=1&fileid="
5251 dpurdie 206
DocBrowseLink = DOC_REPOSITORY_URL & "docbrowse.asp"
5369 dpurdie 207
FavIcon = strRelativePath & "favicons/RM" & Application("FavIconSuffix") & ".png"
6181 dpurdie 208
ForcePageLogon = TRUE
119 ghuddy 209
 
210
' -- Constants ----------------------------------------
5357 dpurdie 211
HTTP_PKG_ARCHIVE        = "http://" & archive_server
212
dpkg_archiveURL         = HTTP_PKG_ARCHIVE & "/dpkg_archive/"
213
release_archiveURL      = HTTP_PKG_ARCHIVE & "/releases/"
214
ACCESS_MANAGER_URL      = ManagerSuiteBase & "/Access_Manager"
215
DEPLOYMENT_MANAGER_URL  = ManagerSuiteBase & "/Deployment_Manager"
216
PRODUCTION_MANAGER_URL  = ManagerSuiteBase & "/Production_Manager"
217
RELEASE_MANAGER_URL     = ManagerSuiteBase & "/Release_Manager"
7260 dpurdie 218
ABTLOG_URL              = HTTP_PKG_ARCHIVE & "/devl/abtlog"
119 ghuddy 219
%>
220
<%
221
'-- ERROR MESSAGES ---------------------------
131 ghuddy 222
Const enum_MSG_ERROR    = "msg_error.asp"
223
Const enum_WMSG_ERROR   = "wmsg_error.asp"
224
 
225
Const enum_MSG_SELECTED_PACKAGES_NOW_OFFICIAL               = "msg_selected_packages_now_official.asp"
226
Const enum_MSG_PACKAGES_NOT_MADE_OFFICIAL                   = "msg_packages_not_made_official.asp"
227
Const enum_MSG_PACKAGE_NOT_MADE_OFFICIAL                    = "msg_package_not_made_official.asp"
228
Const enum_MSG_PACKAGE_NOT_MADE_OFFICIAL_2                  = "msg_package_not_made_official_2.asp"
229
Const enum_MSG_UNOFFICIAL_DEPENDENCIES                      = "msg_unofficial_dependencies.asp"
230
Const enum_MSG_PACKAGE_CHANGETYPE_INCOMPLETE                = "msg_change_type_incomplete.asp"
231
Const enum_MSG_PACKAGE_SBOMPRIORITY_INCOMPLETE              = "msg_sbom_priority_incomplete.asp"
232
Const enum_MSG_VERSION_EXISTS                               = "msg_version_exists.asp"
233
Const enum_DUPLICATE_RUNTIME_DEPENDENCY                     = "msg_duplicate_runtime_dependency.asp"
234
Const enum_DUPLICATE_BUILD_DEPENDENCIES_IGNORED             = "msg_duplicate_build_dependencies_ignored.asp"
235
Const enum_MSG_BROKEN_DEPENDENCIES_FOUND                    = "msg_broken_dependencies_found.asp"
236
Const enum_MSG_MISSING_DEPENDENCIES                         = "msg_missing_dependencies.asp"
237
Const enum_MSG_UNOFFICIAL_DEPENDENCIES_FOUND                = "msg_unofficial_dependencies_found.asp"
238
Const enum_MSG_RELEASE_IS_NOW_OFFICIAL                      = "msg_release_is_now_official.asp"
239
Const enum_MSG_NEW_UNOFFICIAL_RELEASE_CREATED               = "msg_new_unofficial_release_created.asp"
240
Const enum_MSG_DUPLICATE_AN                                 = "msg_duplicate_an.asp"
241
Const enum_MSG_DUPLICATE_UT                                 = "msg_duplicate_ut.asp"
242
Const enum_MSG_PACKAGE_INFORMATION_INCOMPLETE               = "msg_package_information_incomplete.asp"
1376 dpurdie 243
Const enum_MSG_VCS_INFORMATION_INCOMPLETE                   = "msg_vcs_information_incomplete.asp"
2365 dpurdie 244
Const enum_MSG_VCS_SUBVERSION_CC_MIX                        = "msg_vcs_subversion_cc_mix.asp"
1376 dpurdie 245
Const enum_MSG_VCS_SVN_NOT_PEGGED                           = "msg_vcs_svn_not_pegged.asp"
131 ghuddy 246
Const enum_MSG_AUTOBUILD_PACKAGE_IS_UNCONTROLLED            = "msg_autobuild_package_is_uncontrolled.asp"
129 ghuddy 247
Const enum_MSG_AUTOBUILD_PACKAGE_REQUIRES_BUILD_STD_AND_ENV = "msg_autobuild_package_requires_build_std_and_env.asp"
131 ghuddy 248
Const enum_MSG_UNIT_TESTS_NOT_SUPPLIED                      = "msg_unit_tests_not_supplied.asp"
249
Const enum_MSG_REASON_FOR_THIS_VERSION_NOT_SUPLIED          = "msg_reason_for_this_version_not_suplied.asp"
250
Const enum_MSG_CANNOT_REMOVE_PACKAGE                        = "msg_cannot_remove_package.asp"
251
Const enum_MSG_PACKAGE_IN_USE                               = "msg_package_in_use.asp"
252
Const enum_MSG_PROCESS_EXISTS                               = "msg_process_exists.asp"
253
Const enum_MSG_NO_LICENCES_EXIST                            = "msg_no_licences.asp"
254
Const enum_MSG_PACKAGE_VERSION_EXISTS                       = "msg_package_version_exists.asp"
255
Const enum_MSG_PACKAGE_WIP_EXISTS                           = "msg_package_wip_exists.asp"
256
Const enum_MSG_PACKAGE_VERSION_INVALID                      = "msg_package_version_invalid.asp"
257
Const enum_MSG_CANNOT_AUTO_GENERATE_COTS_PKG                = "msg_cannot_auto_generate_cots_pkg.asp"
151 ghuddy 258
Const enum_MSG_PACKAGE_WIP_EXISTS_BULK_RELEASE              = "msg_package_wip_exists_bulk_release.asp"
259
Const enum_MSG_PERMISSION_PROBLEMS_BULK_RELEASE             = "msg_permission_problems_bulk_release.asp"
5898 dpurdie 260
Const enum_MSG_UNBUILDABLE_PACKAGE                          = "msg_unbuildable_package.asp"
119 ghuddy 261
'---------------------------------------------
262
%>
263
<%
6615 dpurdie 264
'-- ICONS Package State ----------------------
131 ghuddy 265
Const enum_imgBlank               = "<img src='images/h_trsp_dot.gif' width='19' height='17' border='0'>"
183 brianf 266
Const enum_imgCritical            = "<img src='images/s_critical.gif' width='19' height='17' border='0' title='Not ready to be built.  Dependent packages, with a major or minor version, require building'>"
267
Const enum_imgDeprecated          = "<img src='images/bomb.gif' width='19' height='17' border='0' title='Deprecated'>"
268
Const enum_imgProductRejected     = "<img src='icons/i_product_rejected.gif' width='19' height='17' border='0' title='Rejected'>"
269
Const enum_imgDeprecatedDependent = "<img src='images/bomb_dependant.gif' width='19' height='17' border='0' title='Dependent deprecated'>"
270
Const enum_imgCReady              = "<img src='images/s_update_critical.gif' width='19' height='17' border='0' title='Ready to build, however at least one dependency has been superseded with a major or minor version'>"
271
Const enum_imgAR                  = "<img src='images/i_advisory_ripple.gif' width='19' height='17' border='0' title='Marked as advisory ripple'>"
272
Const enum_imgARD                 = "<img src='images/s_advisory_ripple_dependant.png' width='19' height='17' border='0' title='Dependent marked as advisory ripple'>"
273
Const enum_imgWarning             = "<img src='images/s_warning.gif' width='19' height='17' border='0' title='Not ready to be built.  Dependent packages, with a patch version, require building'>"
274
Const enum_imgWReady              = "<img src='images/s_update_warning.gif' width='19' height='17' border='0' title='Ready to build, however at least one dependency has been superseded with a patch version'>"
185 brianf 275
Const enum_imgBuilding            = "<img src='images/s_gear.gif' width='19' height='17' border='0' title='Work in progress'>"
183 brianf 276
Const enum_imgNotFound            = "<img src='images/s_not_found.gif' width='19' height='17' border='0' title='Not found'>"
131 ghuddy 277
Const enum_imgIgnoring            = "<img src='images/s_ignoring.gif' width='15' height='15' border='0' title='Latest version is ignored'>"
278
Const enum_imgPatchIgnoring       = "<img src='images/s_patch_ignoring.gif' width='19' height='17' border='0' title='Latest version is included in a patch'>"
279
Const enum_imgPatchAvailable      = "<img src='images/s_patch_available.gif' width='19' height='17' border='0' title='New patch is required'>"
280
Const enum_imgPatch               = "<img src='images/i_patch.gif' width='18' height='23' border='0' align='absmiddle' hspace='5' title='This is a patch'>"
281
Const enum_imgPatchObsolete       = "<img src='images/i_patch_obsolete.gif' width='18' height='23' border='0' align='absmiddle' hspace='5' title='Patch is obsolete'>"
183 brianf 282
Const enum_imgUser                = "<img src='images/i_user.gif' width='10' height='13' hspace='2' border='0' align='absmiddle' title='User'>"
6610 dpurdie 283
Const enum_imgUserLg              = "<img src='images/i_user.gif' hspace='3' border='0' align='absmiddle' title='User'>"
183 brianf 284
Const enum_imgGreenPin            = "<img src='images/i_green_pin.gif' width='19' height='17' border='0' title='Pegged to prevent it being ripple built'>"
7029 dpurdie 285
Const enum_imgPending             = "<img src='icons/i_pending.gif' width='11' height='17' border='0' title='Package Pending Build Approval'>"
286
Const enum_imgApproved            = "<img src='icons/i_approved.gif' width='11' height='17' border='0' title='Package Build Approved'>"
4390 dpurdie 287
Const enum_imgReleasedLocked      = "<img src='images/i_locked.gif' width='13' height='15' border='0' title='Released and locked'>"
288
Const enum_imgReleasedUnlocked    = "<img src='images/i_unlocked.gif' width='16' height='15' border='0' title='Released and unlocked'>"
4710 dpurdie 289
Const enum_imgNotInArchive        = "<img src='images/s_package_not_present.gif' width='16' height='15' border='0' title='Not found in archive'>"
4764 dpurdie 290
Const enum_imgNotInRelease        = "<img src='images/s_not_inrelease.gif' width='16' height='15' border='0' title='This Version is not a member of this Release'>"
5080 dpurdie 291
Const enum_imgSdkImport           = "<img src='images/i_sdkpkg.png' width='15' height='15' border='0' title='This version imported via an SDK'>"
292
Const enum_imgSdkDep              = "<img src='images/i_sdkdep.png' width='15' height='15' border='0' title='Not Found. Is a dependency only of the SDK and not required to be in this release.'>"
5899 dpurdie 293
Const enum_imgUnBuildable         = "<img src='icons/s_unbuildable.png' width='15' height='15' border='0' title='This package is unbuildable.'>"
6440 dpurdie 294
Const enum_imgRippleStop          = "<img src='images/RippleStop.gif' width='16' height='16' border='0' title='Package is waiting for user to release the ripple stop'>"
295
Const enum_imgRippleGo            = "<img src='images/RippleGo.gif' width='16' height='16' border='0' title='Ripple stop released. Package waiting to build.'>"
6688 dpurdie 296
Const enum_imgClipBoard           = "<img src='images/CopyToClipboard.ico' width='15' height='15' border='0' title='Copy package details to clipboard'>"
6610 dpurdie 297
Const enum_imgClipBoard10         = "<img src='images/CopyToClipboard.ico' width='10' height='10' border='0' title='Copy names to clipboard'>"
298
Const enum_imgClipBoard12         = "<img src='images/CopyToClipboard.ico' width='12' height='12' border='0' align='absmiddle' title='Copy names to clipboard'>"
7030 dpurdie 299
Const enum_imgCompiling           = "<img src='images/compile.gif' width='17' height='17' border='0' title='Actively Building'>"
7029 dpurdie 300
Const enum_imgScheduled           = "<img src='images/future.png' width='17' height='17' border='0' title='Scheduled to Build'>"
301
Const enum_imgBuildFail           = "<img src='images/build_failed.png' width='17' height='17' border='0' title='Package excluded from build'>"
302
Const enum_imgBuildExclude        = "<img src='images/build_excluded.png' width='17' height='17' border='0' title='Package indirectly excluded from build'>"
131 ghuddy 303
 
6615 dpurdie 304
'------------ Release and Sdk States -----------
305
Const LIMG_OPEN_MODE = "<img src='images/i_rtag_open_mode.gif' border='0' align='absmiddle' hspace='2' title='Open Mode'>"
306
Const LIMG_RESTRICTIVE_MODE = "<img src='images/i_rtag_restrictive_mode.gif' border='0' align='absmiddle' hspace='2' title='Restrictive Mode'>"
307
Const LIMG_CCB_MODE = "<img src='images/i_rtag_ccb_mode.gif' border='0' align='absmiddle' hspace='2' title='CCB Mode'>"
308
Const LIMG_CLOSED_MODE = "<img src='images/i_rtag_closed_mode.gif' border='0' align='absmiddle' hspace='2' title='Closed Mode'>"
309
Const LIMG_CLOSED_MODE_WARN = "<img src='images/i_rtag_closed_mode_warn.gif' border='0' align='absmiddle' hspace='2'>"
310
Const LIMG_PRESERVE_MODE = "<img src='images/i_rtag_preserve_mode.gif' border='0' align='absmiddle' hspace='2' title='Preserved Mode'>"
311
Const LIMG_ARCHIVE_MODE = "<img src='images/i_rtag_archive_mode.gif' border='0' align='absmiddle' hspace='2' title='Archived'>"
4390 dpurdie 312
 
119 ghuddy 313
'-- ICONS SMALL ------------------------------
131 ghuddy 314
Const enum_SMALL_imgOK           = "<img src='images/si_ok.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
315
Const enum_SMALL_imgCritical     = "<img src='images/si_critical.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
316
Const enum_SMALL_imgCReady       = "<img src='images/si_update_critical.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
317
Const enum_SMALL_imgWarning      = "<img src='images/si_warning.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
318
Const enum_SMALL_imgWReady       = "<img src='images/si_update_warning.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
319
Const enum_SMALL_imgBuilding     = "<img src='images/si_gear.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
320
Const enum_SMALL_imgNotFound     = "<img src='images/si_not_found.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
5925 dpurdie 321
 
322
'-- ICONS MISC ------------------------------
323
Const enum_IMG_Critical           = "<img src='images/i_critical.gif' width='33' height='33' border='0' align='absmiddle' vspace='1' hspace='2'>"
324
Const imgPkgLocked                = "<img src='images/i_locked.gif' width='7' height='10' hspace='4' align='absmiddle'>"
325
Const imgPkgLockSpacer            = "<img src='images/spacer.gif' width='7' height='10' hspace='4' align='absmiddle'>"
326
 
6783 dpurdie 327
Const LIMG_NDEL                   = "<img src='icons/i_remove.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"
328
Const LIMG_NDEL_DISABLED          = "<img src='icons/i_remove_dis.gif' width='16' height='16' hspace='2' border='0' align='absmiddle' class='lessOpacity'>"
329
Const LIMG_USER                   = "<img src='images/i_user.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"
330
Const LIMG_USER_DISABLED          = "<img src='images/i_user_disabled.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"
331
Const LIMG_EDIT                   = "<img src='icons/i_edit.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"
332
Const LIMG_EDIT_DISABLED          = "<img src='icons/i_edit.gif' width='16' height='16' hspace='2' border='0' align='absmiddle' class='lessOpacity'>"
333
 
334
 
335
 
129 ghuddy 336
'-- VERSION CONTROL CONSTANTS ------------------------------
131 ghuddy 337
Const enum_VCS_UNCONTROLLED_TAG  = "UC"
338
Const enum_VCS_CLEARCASE_TAG     = "CC"
339
Const enum_VCS_SUBVERSION_TAG    = "SVN"
139 ghuddy 340
Const enum_VCS_CVS_TAG           = "CVS"
7379 dpurdie 341
Const enum_VCS_GIT_TAG           = "GIT"
149 ghuddy 342
 
147 ghuddy 343
'-- OP CODES for DAEMON INSTRUCTIONS, both in terms of strings and integers -------------------------------------------
149 ghuddy 344
'
345
'-- When adding to these, always update daemon_instructions.asp accordingly.
346
'-- Sometimes it might be necessary to update wAddDaemonInstruction.asp as well.
347
 
348
'-- human readable string names
147 ghuddy 349
Const OP_CODE_0_STR = "Ripple Build Package"          ' Corresponds to OP_CODE_0_RIPPLE_BUILD_PACKAGE
149 ghuddy 350
Const OP_CODE_1_STR = "Test Build Package"            ' Corresponds to OP_CODE_1_TEST_BUILD_PACKAGE
7022 dpurdie 351
Const OP_CODE_2_STR = "Future Build"                  ' Corresponds to OP_CODE_2_FUTURE_BUILD
147 ghuddy 352
 
149 ghuddy 353
'-- equivalent integer values for use in query strings
147 ghuddy 354
Const OP_CODE_0_RIPPLE_BUILD_PACKAGE = "0"
149 ghuddy 355
Const OP_CODE_1_TEST_BUILD_PACKAGE   = "1"
7022 dpurdie 356
Const OP_CODE_2_FUTURE_BUILD         = "2"
147 ghuddy 357
 
167 brianf 358
'-- PACKAGE AREA CONSTANTS ------------------------------
359
Const enum_PKG_AREA_WIP = 0
360
Const enum_PKG_AREA_PLANNED = 1
361
Const enum_PKG_AREA_RELEASED = 2
362
 
171 brianf 363
'-- BUILD DAEMON STATE CONSTANTS ------------------------------
364
Const enum_DAEMON_ENABLE = NULL
365
Const enum_DAEMON_PAUSE = 1
366
Const enum_DAEMON_DISABLE = 2
367
 
5168 dpurdie 368
'-- Windows event logger types --------------------------------
369
' Used in Raise_Event
370
Const enumEVENT_SUCCESS = 0
371
Const enumEVENT_ERROR = 1
372
Const enumEVENT_WARNING = 2
373
Const enumEVENT_INFORMATION = 4
374
 
119 ghuddy 375
%>