mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-21 19:19:12 +01:00
Summary: Ref T10748. Ref T10337. This technically implements this stuff, but it does not do anything useful yet. This skips all the hard stuff. Test Plan: - Technically used `diffusion.repository.search` to get repository information. - Technically used `diffusion.repository.edit` to change a repository name. - Used `editpro/` to edit a repository name. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10337, T10748 Differential Revision: https://secure.phabricator.com/D15736
20 lines
429 B
PHP
20 lines
429 B
PHP
<?php
|
|
|
|
final class DiffusionRepositoryEditConduitAPIMethod
|
|
extends PhabricatorEditEngineAPIMethod {
|
|
|
|
public function getAPIMethodName() {
|
|
return 'diffusion.repository.edit';
|
|
}
|
|
|
|
public function newEditEngine() {
|
|
return new DiffusionRepositoryEditEngine();
|
|
}
|
|
|
|
public function getMethodSummary() {
|
|
return pht(
|
|
'Apply transactions to create a new repository or edit an existing '.
|
|
'one.');
|
|
}
|
|
|
|
}
|