mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-16 00:38:38 +01:00
Summary: Ref T8116. A version has: - a package (like "Arcanist") which it belongs to; - a name (like "v3.1.5"). The name is immutable and unique, like the package key and publisher key. Policy stuff: - Versions have the exact same policies as their packages. - You must be able to edit a package to create new versions of it. This is still entirely uninteresting. Test Plan: {F1731703} Reviewers: chad Reviewed By: chad Maniphest Tasks: T8116 Differential Revision: https://secure.phabricator.com/D16316
19 lines
426 B
PHP
19 lines
426 B
PHP
<?php
|
|
|
|
final class PhabricatorPackagesVersionEditConduitAPIMethod
|
|
extends PhabricatorEditEngineAPIMethod {
|
|
|
|
public function getAPIMethodName() {
|
|
return 'packages.version.edit';
|
|
}
|
|
|
|
public function newEditEngine() {
|
|
return new PhabricatorPackagesVersionEditEngine();
|
|
}
|
|
|
|
public function getMethodSummary() {
|
|
return pht(
|
|
'Apply transactions to create a new version or edit an existing one.');
|
|
}
|
|
|
|
}
|