Merge branch 'master' into blender-tweaks
This commit is contained in:
@@ -649,7 +649,7 @@ final class ManiphestTransactionEditor
|
||||
$old_value = $object->getOwnerPHID();
|
||||
$new_value = $xaction->getNewValue();
|
||||
if ($old_value === $new_value) {
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
|
||||
// When a task is reassigned, move the old owner to the subscriber
|
||||
|
||||
@@ -44,6 +44,15 @@ final class PhabricatorRepositorySearchEngine
|
||||
->setKey('uris')
|
||||
->setDescription(
|
||||
pht('Search for repositories by clone/checkout URI.')),
|
||||
id(new PhabricatorPHIDsSearchField())
|
||||
->setLabel(pht('Services'))
|
||||
->setKey('almanacServicePHIDs')
|
||||
->setAliases(
|
||||
array(
|
||||
'almanacServicePHID',
|
||||
'almanacService',
|
||||
'almanacServices',
|
||||
)),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -80,6 +89,10 @@ final class PhabricatorRepositorySearchEngine
|
||||
$query->withURIs($map['uris']);
|
||||
}
|
||||
|
||||
if ($map['almanacServicePHIDs']) {
|
||||
$query->withAlmanacServicePHIDs($map['almanacServicePHIDs']);
|
||||
}
|
||||
|
||||
return $query;
|
||||
}
|
||||
|
||||
|
||||
@@ -2773,6 +2773,13 @@ final class PhabricatorRepository extends PhabricatorRepositoryDAO
|
||||
->setDescription(
|
||||
pht(
|
||||
'True if the repository is importing initial commits.')),
|
||||
id(new PhabricatorConduitSearchFieldSpecification())
|
||||
->setKey('almanacServicePHID')
|
||||
->setType('phid?')
|
||||
->setDescription(
|
||||
pht(
|
||||
'The Almanac Service that hosts this repository, if the '.
|
||||
'repository is clustered.')),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -2784,6 +2791,7 @@ final class PhabricatorRepository extends PhabricatorRepositoryDAO
|
||||
'shortName' => $this->getRepositorySlug(),
|
||||
'status' => $this->getStatus(),
|
||||
'isImporting' => (bool)$this->isImporting(),
|
||||
'almanacServicePHID' => $this->getAlmanacServicePHID(),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user