Convert diffusion.looksoon to use repository identifiers instead of callsigns

Summary:
Ref T4245. Like everything else, accept more identifiers.

This needs a change in `arc`, which I've made a note about elsewhere.

Test Plan: Used "Update Now" from web UI, saw update get scheduled.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4245

Differential Revision: https://secure.phabricator.com/D14932
This commit is contained in:
epriestley
2016-01-02 12:03:08 -08:00
parent be5b89687e
commit 9febfb26a0
4 changed files with 15 additions and 9 deletions

View File

@@ -212,7 +212,7 @@ abstract class DiffusionController extends PhabricatorController {
'path' => '',
)),
),
'r'.$drequest->getRepository()->getCallsign());
$drequest->getRepository()->getDisplayName());
$links[] = $divider;
$accum = '';
$last_key = last_key($path_parts);

View File

@@ -25,8 +25,8 @@ final class DiffusionRepositoryEditUpdateController
if ($request->isFormPost()) {
$params = array(
'callsigns' => array(
$repository->getCallsign(),
'repositories' => array(
$repository->getPHID(),
),
);