Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15384050
D15296.id36902.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D15296.id36902.diff
View Options
diff --git a/src/applications/diviner/workflow/DivinerGenerateWorkflow.php b/src/applications/diviner/workflow/DivinerGenerateWorkflow.php
--- a/src/applications/diviner/workflow/DivinerGenerateWorkflow.php
+++ b/src/applications/diviner/workflow/DivinerGenerateWorkflow.php
@@ -27,7 +27,7 @@
),
array(
'name' => 'repository',
- 'param' => 'callsign',
+ 'param' => 'identifier',
'help' => pht('Repository that the documentation belongs to.'),
),
));
@@ -192,19 +192,19 @@
}
$publisher = newv($publisher_class, array());
- $callsign = $args->getArg('repository');
+ $identifier = $args->getArg('repository');
$repository = null;
- if ($callsign) {
+ if (strlen($identifier)) {
$repository = id(new PhabricatorRepositoryQuery())
->setViewer(PhabricatorUser::getOmnipotentUser())
- ->withCallsigns(array($callsign))
+ ->withIdentifiers(array($identifier))
->executeOne();
if (!$repository) {
throw new PhutilArgumentUsageException(
pht(
- "Repository '%s' does not exist.",
- $callsign));
+ 'Repository "%s" does not exist.',
+ $identifier));
}
$publisher->setRepositoryPHID($repository->getPHID());
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 15, 6:38 PM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7701256
Default Alt Text
D15296.id36902.diff (1 KB)
Attached To
Mode
D15296: Make `bin/diviner generate --repository <repository>` accept identifiers
Attached
Detach File
Event Timeline
Log In to Comment