@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Return "uri" field in `diffusion.querycommits`

Summary: See IRC transcript.

Test Plan: {F110975}

Reviewers: btrahan, spicyj

Reviewed By: spicyj

CC: aran

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

+7 -1
+7 -1
src/applications/diffusion/conduit/ConduitAPI_diffusion_querycommits_Method.php
··· 62 62 63 63 $data = array(); 64 64 foreach ($commits as $commit) { 65 + $callsign = $commit->getRepository()->getCallsign(); 66 + $identifier = $commit->getCommitIdentifier(); 67 + $uri = '/r'.$callsign.$identifier; 68 + $uri = PhabricatorEnv::getProductionURI($uri); 69 + 65 70 $data[$commit->getPHID()] = array( 66 71 'id' => $commit->getID(), 67 72 'phid' => $commit->getPHID(), 68 73 'repositoryPHID' => $commit->getRepository()->getPHID(), 69 - 'identifier' => $commit->getCommitIdentifier(), 74 + 'identifier' => $identifier, 70 75 'epoch' => $commit->getEpoch(), 76 + 'uri' => $uri, 71 77 'isImporting' => !$commit->isImported(), 72 78 ); 73 79 }