Page MenuHomePhabricator

D16247.id39084.diff
No OneTemporary

D16247.id39084.diff

diff --git a/src/applications/repository/storage/PhabricatorRepository.php b/src/applications/repository/storage/PhabricatorRepository.php
--- a/src/applications/repository/storage/PhabricatorRepository.php
+++ b/src/applications/repository/storage/PhabricatorRepository.php
@@ -2400,6 +2400,12 @@
->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 @@
'callsign' => $this->getCallsign(),
'shortName' => $this->getRepositorySlug(),
'status' => $this->getStatus(),
+ 'isImporting' => (bool)$this->isImporting(),
);
}

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 6, 11:26 AM (4 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7244820
Default Alt Text
D16247.id39084.diff (888 B)

Event Timeline