Homec4science

Add an event for looking up names from repositories

Authored by epriestley <git@epriestley.com> on Jul 24 2012, 20:59.

Description

Add an event for looking up names from repositories

Summary:
Currently, we have this cumbersome PhabricatorRepositoryCommitMessageDetailParser hook. This is really old and outdated; I want to just use the Differential custom field parser. See T945 for a specific application.

However, it allows installs to override author/committer association. Instead, provide an event hook for doing this.

Test Plan: Added a listener, made every commit resolve to "turtle", parsed some commits, verified the events looked sane and they now correctly were all attributed to "turtle".

Reviewers: btrahan, vrana, nh

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1337

Differential Revision: https://secure.phabricator.com/D3040

Details

Committed
epriestley <git@epriestley.com>Jul 24 2012, 20:59
Pushed
aubortJan 31 2017, 17:16
Parents
rPH17e20bc36313: Remove AphrontConnection from Phabricator
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH514ee3526c3d: Add an event for looking up names from repositories (authored by epriestley <git@epriestley.com>).Jul 24 2012, 20:59