Page MenuHomePhabricator
Diviner Phabricator Tech Docs DifferentialReleephRequestFieldSpecification

final class DifferentialReleephRequestFieldSpecification
Phabricator Technical Documentation (Releeph)

This DifferentialFieldSpecification exists for two reason:

1: To parse "Releeph: picks RQ<nn>" headers in commits created by arc-releeph so that RQs committed by arc-releeph have real PhabricatorRepositoryCommits associated with them (instead of just the SHA of the commit, as seen by the pusher).

2: If requestors want to commit directly to their release branch, they can use this header to (i) indicate on a differential revision that this differential revision is for the release branch, and (ii) when they land their diff on to the release branch manually, the ReleephRequest is automatically updated (instead of having to use the "Mark Manually Picked" button.)

Methods

public function getStorageKey()

This method is not documented.
Return
wild

public function getValueForStorage()

This method is not documented.
Return
wild

public function setValueFromStorage($json)

This method is not documented.
Parameters
$json
Return
wild

public function shouldAppearOnRevisionView()

This method is not documented.
Return
wild

public function renderLabelForRevisionView()

This method is not documented.
Return
wild

public function getRequiredHandlePHIDs()

This method is not documented.
Return
wild

public function renderValueForRevisionView()

This method is not documented.
Return
wild

public function shouldAppearOnCommitMessage()

This method is not documented.
Return
wild

public function getCommitMessageKey()

This method is not documented.
Return
wild

public function setValueFromParsedCommitMessage($dict)

This method is not documented.
Parameters
$dict
Return
wild

public function renderValueForCommitMessage($is_edit)

This method is not documented.
Parameters
$is_edit
Return
wild

public function parseValueFromCommitMessage($value)

Releeph fields should look like:

Releeph: picks RQ1 RQ2, RQ3
Releeph: reverts RQ1
Parameters
$value
Return
wild

public function renderLabelForCommitMessage()

This method is not documented.
Return
wild
This method is not documented.
Return
wild

public function didParseCommit($repo, $commit, $data)

This method is not documented.
Parameters
PhabricatorRepository$repo
PhabricatorRepositoryCommit$commit
PhabricatorRepositoryCommitData$data
Return
wild

private function loadReleephRequests()

This method is not documented.
Return
wild

private function isCommitOnBranch($repo, $commit, $releeph_branch)

This method is not documented.
Parameters
PhabricatorRepository$repo
PhabricatorRepositoryCommit$commit
ReleephBranch$releeph_branch
Return
wild