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

When a repository is inactive, mark its handle as "closed"

Summary: See downstream <https://phabricator.wikimedia.org/T182232>. We currently don't mark repository handles as closed.

Test Plan: Mentioned two repositories with `R1` (active) and `R2` (inactive). After patch, saw `R2` visually indicated as closed/inactive.

Reviewers: amckinley

Reviewed By: amckinley

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

+4
+4
src/applications/repository/phid/PhabricatorRepositoryRepositoryPHIDType.php
··· 46 46 ->setFullName("{$monogram} {$name}") 47 47 ->setURI($uri) 48 48 ->setMailStampName($monogram); 49 + 50 + if ($repository->getStatus() !== PhabricatorRepository::STATUS_ACTIVE) { 51 + $handle->setStatus(PhabricatorObjectHandle::STATUS_CLOSED); 52 + } 49 53 } 50 54 } 51 55