@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.

Add a missing (string) cast to repository.query

Summary: The method returns a PhutilURI object, which json_encode() encodes as "{}" since all the properties are private.

Test Plan:
Examined the output of "repository.query" more carefully:

"0" : {
"name" : "Phabricator",
"callsign" : "P",
"vcs" : "git",
"uri" : "http:\/\/local.aphront.com:8080\/diffusion\/P\/",
"remoteURI" : "git:\/\/github.com\/facebook\/phabricator.git",
"tracking" : true
},

Reviewers: csilvers, btrahan, vrana, jungejason

Reviewed By: csilvers

CC: aran

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

+1 -1
+1 -1
src/applications/conduit/method/repository/base/ConduitAPI_repository_Method.php
··· 27 27 'callsign' => $repository->getCallsign(), 28 28 'vcs' => $repository->getVersionControlSystem(), 29 29 'uri' => PhabricatorEnv::getProductionURI($repository->getURI()), 30 - 'remoteURI' => $repository->getPublicRemoteURI(), 30 + 'remoteURI' => (string)$repository->getPublicRemoteURI(), 31 31 'tracking' => $repository->getDetail('tracking-enabled'), 32 32 ); 33 33 }