diff --git a/src/applications/repository/storage/PhabricatorRepository.php b/src/applications/repository/storage/PhabricatorRepository.php index 4a7e3d4681..654ea42c3e 100644 --- a/src/applications/repository/storage/PhabricatorRepository.php +++ b/src/applications/repository/storage/PhabricatorRepository.php @@ -2400,6 +2400,12 @@ final class PhabricatorRepository extends PhabricatorRepositoryDAO ->setKey('status') ->setType('string') ->setDescription(pht('Active or inactive status.')), + id(new PhabricatorConduitSearchFieldSpecification()) + ->setKey('isImporting') + ->setType('bool') + ->setDescription( + pht( + 'True if the repository is importing initial commits.')), ); } @@ -2410,6 +2416,7 @@ final class PhabricatorRepository extends PhabricatorRepositoryDAO 'callsign' => $this->getCallsign(), 'shortName' => $this->getRepositorySlug(), 'status' => $this->getStatus(), + 'isImporting' => (bool)$this->isImporting(), ); }