Class PhabricatorRepositoryCommitMessageParserWorker
Tasks
Methods
private attachToRevision(DifferentialRevision $revision, $actor_phid)
| parameters | DifferentialRevision | $revision | |
| wild | $actor_phid | |
| return | wild | | |
This method is not documented.
private findUserByEmailAddress($email_address)
| parameters | wild | $email_address | |
| return | wild | | |
This method is not documented.
private findUserByRealName($real_name)
| parameters | wild | $real_name | |
| return | wild | | |
This method is not documented.
private findUserByUserName($user_name)
| parameters | wild | $user_name | |
| return | wild | | |
This method is not documented.
protected abstract getCommitHashes(PhabricatorRepository $repository, PhabricatorRepositoryCommit $commit)
| parameters | PhabricatorRepository | $repository | |
| PhabricatorRepositoryCommit | $commit | |
| return | wild | | |
This method is not documented.
private identifyBestRevision(array $revisions)
| parameters | array | $revisions | |
| return | wild | | |
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)
| parameters | array | $revisions | |
| return | wild | | |
Given a set of revisions, returns the revision with the latest
updated time. This is ostensibly the most recent revision.
private loadChangedByCommit(DifferentialDiff $diff)
| parameters | DifferentialDiff | $diff | |
| return | wild | | |
This method is not documented.
private loadUserName($user_phid, $default, PhabricatorUser $actor)
| parameters | wild | $user_phid | |
| wild | $default | |
| PhabricatorUser | $actor | |
| return | wild | | |
This method is not documented.
private lookupUser(PhabricatorRepositoryCommit $commit, $query, $guess)
| parameters | PhabricatorRepositoryCommit | $commit | |
| wild | $query | |
| wild | $guess | |
| return | wild | | |
Emit an event so installs can do custom lookup of commit authors who may
not be naturally resolvable.
private resolveUserPHID($user_name)
| parameters | wild | $user_name | |
| return | wild | | |
This method is not documented.
final protected updateCommitData($author, $message, $committer = null)
| parameters | wild | $author | |
| wild | $message | |
| wild | $committer | |
| return | wild | | |
This method is not documented.