| Line 120... |
Line 120... |
| 120 |
|
120 |
|
| 121 |
'We can only do this operation if the build daemon is not going to be doing anything with the entry in
|
121 |
'We can only do this operation if the build daemon is not going to be doing anything with the entry in
|
| 122 |
'the "package versions" table. We can only guarantee this
|
122 |
'the "package versions" table. We can only guarantee this
|
| 123 |
' if the Daemon has failed to build the package version and placed an entry for it in the "do not ripple" table
|
123 |
' if the Daemon has failed to build the package version and placed an entry for it in the "do not ripple" table
|
| 124 |
' OR the release has no active build daemons
|
124 |
' OR the release has no active build daemons
|
| - |
|
125 |
'
|
| - |
|
126 |
' Note: Must match code in _pkg_action_buttons.asp
|
| - |
|
127 |
'
|
| 125 |
If activeDaemonCount(parRtag_id) = 0 OR isInDoNotRippleTable( Request("rtag_id"), Request("pv_id") ) = TRUE Then
|
128 |
If activeDaemonCount(parRtag_id) = 0 OR isInDoNotRippleTable( Request("rtag_id"), Request("pv_id") ) = TRUE OR hasFutureBuild( Request("rtag_id"), Request("pv_id")) Then
|
| 126 |
Call RejectAutobuild()
|
129 |
Call RejectAutobuild()
|
| 127 |
Else
|
130 |
Else
|
| 128 |
Call RaiseMsg(enum_MSG_ERROR, "Cannot reject unless item is certain not to be examined concurrently by a build daemon during the reject operation. Wait for the build to fail.")
|
131 |
Call RaiseMsg(enum_MSG_ERROR, "Cannot reject unless item is certain not to be examined concurrently by a build daemon during the reject operation. Wait for the build to fail.")
|
| 129 |
End If
|
132 |
End If
|
| 130 |
Else
|
133 |
Else
|