mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Register commits as Diffusion fact objects
Summary: We will need to process them. Maybe it will fit better in Repository application but we don't have it yet. Test Plan: $ ./fact cursors Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin, royw Differential Revision: https://secure.phabricator.com/D3287
This commit is contained in:
parent
3908f7db2e
commit
375400802b
1 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,12 @@ final class PhabricatorApplicationDiffusion extends PhabricatorApplication {
|
|||
return PhabricatorEnv::getDoclink('article/Diffusion_User_Guide.html');
|
||||
}
|
||||
|
||||
public function getFactObjectsForAnalysis() {
|
||||
return array(
|
||||
new PhabricatorRepositoryCommit(),
|
||||
);
|
||||
}
|
||||
|
||||
public function getRoutes() {
|
||||
return array(
|
||||
'/r(?P<callsign>[A-Z]+)(?P<commit>[a-z0-9]+)'
|
||||
|
|
Loading…
Reference in a new issue