Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistLandWorkflow.php
Show First 20 Lines • Show All 231 Lines • ▼ Show 20 Lines | return array( | ||||
$this->newPrompt('arc.land.large-working-set') | $this->newPrompt('arc.land.large-working-set') | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Confirms landing more than %s commit(s) in a single operation.', | 'Confirms landing more than %s commit(s) in a single operation.', | ||||
new PhutilNumber($this->getLargeWorkingSetLimit()))), | new PhutilNumber($this->getLargeWorkingSetLimit()))), | ||||
$this->newPrompt('arc.land.confirm') | $this->newPrompt('arc.land.confirm') | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Confirms that the correct changes have been selected.')), | 'Confirms that the correct changes have been selected to '. | ||||
'land.')), | |||||
$this->newPrompt('arc.land.implicit') | $this->newPrompt('arc.land.implicit') | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Confirms that local commits which are not associated with '. | 'Confirms that local commits which are not associated with '. | ||||
'a revision should land.')), | 'a revision have been associated correctly and should land.')), | ||||
$this->newPrompt('arc.land.unauthored') | $this->newPrompt('arc.land.unauthored') | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Confirms that revisions you did not author should land.')), | 'Confirms that revisions you did not author should land.')), | ||||
$this->newPrompt('arc.land.changes-planned') | $this->newPrompt('arc.land.changes-planned') | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Confirms that revisions with changes planned should land.')), | 'Confirms that revisions with changes planned should land.')), | ||||
$this->newPrompt('arc.land.closed') | $this->newPrompt('arc.land.closed') | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Confirms that revisions that are already closed should land.')), | 'Confirms that revisions that are already closed should land.')), | ||||
$this->newPrompt('arc.land.not-accepted') | $this->newPrompt('arc.land.not-accepted') | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Confirms that revisions that are not accepted should land.')), | 'Confirms that revisions that are not accepted should land.')), | ||||
$this->newPrompt('arc.land.open-parents') | $this->newPrompt('arc.land.open-parents') | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Confirms that revisions with open parent revisions should '. | 'Confirms that revisions with open parent revisions should '. | ||||
'land.')), | 'land.')), | ||||
$this->newPrompt('arc.land.failed-builds') | $this->newPrompt('arc.land.failed-builds') | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Confirms that revisions with failed builds.')), | 'Confirms that revisions with failed builds should land.')), | ||||
$this->newPrompt('arc.land.ongoing-builds') | $this->newPrompt('arc.land.ongoing-builds') | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Confirms that revisions with ongoing builds.')), | 'Confirms that revisions with ongoing builds should land.')), | ||||
); | ); | ||||
} | } | ||||
public function getLargeWorkingSetLimit() { | public function getLargeWorkingSetLimit() { | ||||
return 50; | return 50; | ||||
} | } | ||||
public function runWorkflow() { | public function runWorkflow() { | ||||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |