Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistWorkflow.php
| Show First 20 Lines • Show All 2,428 Lines • ▼ Show 20 Lines | final protected function readStdin() { | ||||
| while ($stdin->update()) { | while ($stdin->update()) { | ||||
| PhutilChannel::waitForAny(array($stdin)); | PhutilChannel::waitForAny(array($stdin)); | ||||
| } | } | ||||
| return $stdin->read(); | return $stdin->read(); | ||||
| } | } | ||||
| protected function getAbsoluteURI($raw_uri) { | final public function getAbsoluteURI($raw_uri) { | ||||
| // TODO: "ArcanistRevisionRef", at least, may return a relative URI. | // TODO: "ArcanistRevisionRef", at least, may return a relative URI. | ||||
| // If we get a relative URI, guess the correct absolute URI based on | // If we get a relative URI, guess the correct absolute URI based on | ||||
| // the Conduit URI. This might not be correct for Conduit over SSH. | // the Conduit URI. This might not be correct for Conduit over SSH. | ||||
| $raw_uri = new PhutilURI($raw_uri); | $raw_uri = new PhutilURI($raw_uri); | ||||
| if (!strlen($raw_uri->getDomain())) { | if (!strlen($raw_uri->getDomain())) { | ||||
| $base_uri = $this->getConduitEngine() | $base_uri = $this->getConduitEngine() | ||||
| ->getConduitURI(); | ->getConduitURI(); | ||||
| Show All 37 Lines | |||||