Page MenuHomePhorge
Diviner Tech Docs DiffusionCommitHookEngine

final class DiffusionCommitHookEngine
Phorge Technical Documentation (Diffusion)

This class is not documented.

Tasks

Configuring the Hook Engine

No methods for this task.

Hook Execution

No methods for this task.

Git Hooks

No methods for this task.

Mercurial Hooks

No methods for this task.

Subversion Hooks

No methods for this task.

Internals

No methods for this task.

Other Methods

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

public function getPhobjectClassConstant($key, $byte_limit)
Inherited

Phobject

Read the value of a class constant.

This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.

Parameters
string$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

public function setRemoteProtocol($remote_protocol)

This method is not documented.
Parameters
$remote_protocol
Return
wild

public function getRemoteProtocol()

This method is not documented.
Return
wild

public function setRemoteAddress($remote_address)

This method is not documented.
Parameters
$remote_address
Return
wild

public function getRemoteAddress()

This method is not documented.
Return
wild

public function setRequestIdentifier($request_identifier)

This method is not documented.
Parameters
$request_identifier
Return
wild

public function getRequestIdentifier()

This method is not documented.
Return
wild

public function setStartTime($start_time)

This method is not documented.
Parameters
$start_time
Return
wild

public function getStartTime()

This method is not documented.
Return
wild

public function setSubversionTransactionInfo($transaction, $repository)

This method is not documented.
Parameters
$transaction
$repository
Return
wild

public function setStdin($stdin)

This method is not documented.
Parameters
$stdin
Return
wild

public function getStdin()

This method is not documented.
Return
wild

public function setOriginalArgv($original_argv)

This method is not documented.
Parameters
array$original_argv
Return
wild

public function getOriginalArgv()

This method is not documented.
Return
wild

public function setRepository($repository)

This method is not documented.
Parameters
PhabricatorRepository$repository
Return
wild

public function getRepository()

This method is not documented.
Return
wild

public function setViewer($viewer)

This method is not documented.
Parameters
PhabricatorUser$viewer
Return
wild

public function getViewer()

This method is not documented.
Return
wild

public function setMercurialHook($mercurial_hook)

This method is not documented.
Parameters
$mercurial_hook
Return
wild

public function getMercurialHook()

This method is not documented.
Return
wild

public function execute()

This method is not documented.
Return
wild

private function findRefUpdates()

This method is not documented.
Return
wild

private function rejectDangerousChanges($ref_updates)

This method is not documented.
Parameters
array$ref_updates
Return
wild

private function findContentUpdates($ref_updates)

This method is not documented.
Parameters
array$ref_updates
Return
wild

private function applyHeraldRefRules($ref_updates)

This method is not documented.
Parameters
array$ref_updates
Return
wild

private function applyHeraldContentRules($content_updates)

This method is not documented.
Parameters
array$content_updates
Return
wild

private function applyHeraldRules($updates, $adapter_template)

This method is not documented.
Parameters
array$updates
HeraldAdapter$adapter_template
Return
wild
This method is not documented.
Return
wild

private function findGitRefUpdates()

This method is not documented.
Return
wild

private function findGitMergeBases($ref_updates)

This method is not documented.
Parameters
array$ref_updates
Return
wild

private function findGitChangeFlags($ref_updates)

This method is not documented.
Parameters
array$ref_updates
Return
wild

private function findGitContentUpdates($ref_updates)

This method is not documented.
Parameters
array$ref_updates
Return
wild

private function applyCustomHooks($updates)

This method is not documented.
Parameters
array$updates
Return
wild

private function getExecutablesInDirectory($directory)

This method is not documented.
Parameters
$directory
Return
wild

private function findMercurialRefUpdates()

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

private function findMercurialContentUpdates($ref_updates)

This method is not documented.
Parameters
array$ref_updates
Return
wild

private function parseMercurialCommits($raw)

This method is not documented.
Parameters
$raw
Return
wild

private function parseMercurialHeads($raw)

This method is not documented.
Parameters
$raw
Return
wild

private function findSubversionRefUpdates()

This method is not documented.
Return
wild

private function findSubversionContentUpdates($ref_updates)

This method is not documented.
Parameters
array$ref_updates
Return
wild

private function newPushLog()

This method is not documented.
Return
wild

private function newPushEvent()

This method is not documented.
Return
wild

private function rejectEnormousChanges($content_updates)

This method is not documented.
Parameters
array$content_updates
Return
wild

private function loadChangesetsForCommit($identifier)

This method is not documented.
Parameters
$identifier
Return
wild

public function getChangesetsForCommit($identifier)

This method is not documented.
Parameters
$identifier
Return
wild

private function rejectOversizedFiles($content_updates)

This method is not documented.
Parameters
array$content_updates
Return
wild

private function rejectCommitsAffectingTooManyPaths($content_updates)

This method is not documented.
Parameters
array$content_updates
Return
wild

public function getFileSizesForCommit($identifier)

This method is not documented.
Parameters
$identifier
Return
wild

private function loadFileSizesForCommit($identifier)

This method is not documented.
Parameters
$identifier
Return
wild

public function loadCommitRefForCommit($identifier)

This method is not documented.
Parameters
$identifier
Return
wild

public function loadBranches($identifier)

This method is not documented.
Parameters
$identifier
Return
wild

private function loadCommitInfoForWorker($all_updates)

This method is not documented.
Parameters
array$all_updates
Return
wild

private function isInitialImport($all_updates)

This method is not documented.
Parameters
array$all_updates
Return
wild