Diviner

Class PhabricatorRepositoryCommitMessageParserWorker

Definedsrc/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php:3
ExtendsPhabricatorRepositoryCommitParserWorker

Tasks

Methods

private attachToRevision(DifferentialRevision $revision, $actor_phid)

parametersDifferentialRevision$revision
wild$actor_phid
returnwild
This method is not documented.

private findUserByEmailAddress($email_address)

parameterswild$email_address
returnwild
This method is not documented.

private findUserByRealName($real_name)

parameterswild$real_name
returnwild
This method is not documented.

private findUserByUserName($user_name)

parameterswild$user_name
returnwild
This method is not documented.

protected abstract getCommitHashes(PhabricatorRepository $repository, PhabricatorRepositoryCommit $commit)

parametersPhabricatorRepository$repository
PhabricatorRepositoryCommit$commit
returnwild
This method is not documented.

private identifyBestRevision(array $revisions)

parametersarray$revisions
returnwild

When querying for revisions by hash, more than one revision may be found. This function identifies the "best" revision from such a set. Typically, there is only one revision found. Otherwise, we try to pick an accepted revision first, followed by an open revision, and otherwise we go with a closed or abandoned revision as a last resort.

private identifyMostRecentRevision(array $revisions)

parametersarray$revisions
returnwild

Given a set of revisions, returns the revision with the latest updated time. This is ostensibly the most recent revision.

private loadChangedByCommit(DifferentialDiff $diff)

parametersDifferentialDiff$diff
returnwild
This method is not documented.

private loadUserName($user_phid, $default, PhabricatorUser $actor)

parameterswild$user_phid
wild$default
PhabricatorUser$actor
returnwild
This method is not documented.

private lookupUser(PhabricatorRepositoryCommit $commit, $query, $guess)

parametersPhabricatorRepositoryCommit$commit
wild$query
wild$guess
returnwild

Emit an event so installs can do custom lookup of commit authors who may not be naturally resolvable.

private resolveUserPHID($user_name)

parameterswild$user_name
returnwild
This method is not documented.

final protected updateCommitData($author, $message, $committer = null)

parameterswild$author
wild$message
wild$committer
returnwild
This method is not documented.