Subversion Repositories DevTools

Rev

Rev 6827 | Rev 6874 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6827 Rev 6873
Line 1009... Line 1009...
1009
   Case "DOC_NUMBER_NOTFOUND"
1009
   Case "DOC_NUMBER_NOTFOUND"
1010
      msg = "<span class='err_alert'>Document number "& Request("doc_num") &" does not correspond to any document!</span>"
1010
      msg = "<span class='err_alert'>Document number "& Request("doc_num") &" does not correspond to any document!</span>"
1011
   Case "DOC_NUMBER_FOUND"
1011
   Case "DOC_NUMBER_FOUND"
1012
      msg = "Document found. Click &quot;Import&quot; to link the document."
1012
      msg = "Document found. Click &quot;Import&quot; to link the document."
1013
   Case "UNIT_TEST_NOT_DONE"
1013
   Case "UNIT_TEST_NOT_DONE"
1014
      msg = "<b>Unit test is Not Done!</b><br><a href='_wform_reason_for_unit_test_not_done.asp?pv_id="& Request("pv_id") &"&rtag_id="& Request("rtag_id") &"'class='txt_linked vixIframeDialog' title='Edit Reason'>Click here</a> to supply/edit reason."
1014
      msg = "<b>Unit test is Not Done!</b><br><span href='_wform_reason_for_unit_test_not_done.asp?pv_id="& Request("pv_id") &"&rtag_id="& Request("rtag_id") &"'class='pointer txt_linked vixIframeDialog' title='Edit Reason'>Click here</span> to supply/edit reason."
1015
   Case "PACKAGE_NOT_PART_OF_RELEASE"
1015
   Case "PACKAGE_NOT_PART_OF_RELEASE"
1016
      msg = "<b>Package is Not Part of This Release Anymore!</b><br>This package cannot be found in the list on the left-hand side.<br>You can use 'lookup:' on the left-hand side to find the package inside this release. "
1016
      msg = "<b>Package is Not Part of This Release Anymore!</b><br>This package cannot be found in the list on the left-hand side.<br>You can use 'lookup:' on the left-hand side to find the package inside this release. "
1017
 
1017
 
1018
   Case "NOT_FOUND_IN_PKG_ARCHIVE_FILE_GENERATE"
1018
   Case "NOT_FOUND_IN_PKG_ARCHIVE_FILE_GENERATE"
1019
      msg = "<b>This package is not found in dpkg_archive!</b><br>Files and folders are not captured."
1019
      msg = "<b>This package is not found in dpkg_archive!</b><br>Files and folders are not captured."
Line 1516... Line 1516...
1516
      Is_Critical_Section_Editable = FALSE
1516
      Is_Critical_Section_Editable = FALSE
1517
   End If
1517
   End If
1518
End Function
1518
End Function
1519
 
1519
 
1520
'---------------------------------------------------------------
1520
'---------------------------------------------------------------
1521
' Function: Codestriker_Command
-
 
1522
'
-
 
1523
' Purpose:   Forms a codestriker differencing command for use when
-
 
1524
'            preparing codestriker reviews. This will be used mainly
-
 
1525
'            on release notes pages.
-
 
1526
'
-
 
1527
' Arguments: old_label   : The previous or older label
-
 
1528
'            new_label   : The current or newer label
-
 
1529
'
-
 
1530
Function Codestriker_Command (oldLabel, new_label)
-
 
1531
 
-
 
1532
   If ( IsNull(new_label) ) Then
-
 
1533
      Codestriker_Command = "Label not defined"
-
 
1534
   ElseIf (IsNull(oldLabel) OR oldLabel = "" ) Then
-
 
1535
      Codestriker_Command = "jats CCdiff -new=" & new_label
-
 
1536
   Else
-
 
1537
      Codestriker_Command = "jats CCdiff -old=" & oldLabel & " -new=" & new_label
-
 
1538
   End If
-
 
1539
End Function
-
 
1540
 
-
 
1541
'---------------------------------------------------------------
-
 
1542
' Function: getLastNonRippleVersionPVID
1521
' Function: getLastNonRippleVersionPVID
1543
'
1522
'
1544
' Purpose: returns the last non-ripple version of the package
1523
' Purpose: returns the last non-ripple version of the package
1545
'
1524
'
1546
' Arguments: this_pv_id : string
1525
' Arguments: this_pv_id : string
Line 1923... Line 1902...
1923
   Dim rsTemp, Query_String
1902
   Dim rsTemp, Query_String
1924
 
1903
 
1925
   activeDaemonCount = 0
1904
   activeDaemonCount = 0
1926
 
1905
 
1927
   If NNrtag_id <> ""  Then
1906
   If NNrtag_id <> ""  Then
1928
      Query_String = "SELECT count(*) as Count FROM release_config rc, run_level rl WHERE rc.rtag_id = " & NNrtag_id &  " AND rc.RCON_ID = rl.rcon_id AND NVL(rl.pause, 0 ) = 0"
1907
      Query_String = "SELECT count(*) as Count FROM release_config rc, run_level rl WHERE rc.rtag_id = " & NNrtag_id &  " AND rc.RCON_ID = rl.rcon_id(+) AND NVL(rl.pause, 0 ) = 0"
1929
 
1908
 
1930
      Set rsTemp = OraDatabase.DbCreateDynaset(Query_String, cint(0))
1909
      Set rsTemp = OraDatabase.DbCreateDynaset(Query_String, cint(0))
1931
      If rsTemp.RecordCount <> 0  Then
1910
      If rsTemp.RecordCount <> 0  Then
1932
         activeDaemonCount = rsTemp("Count")
1911
         activeDaemonCount = rsTemp("Count")
1933
      End If
1912
      End If