1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 10:52:41 +01:00
phorge-phorge/src/applications/repository/controller
epriestley d89b8ce2b2 Modernize architecture of phd
Summary:
Ref T1670. Mostly, use PhutilArgumentParser. This breaks up the mismash of functional stuff and PhabriatorDaemonControl into proper argumentparser Workflows.

There are no functional changes, except that I removed the "pingConduit()" call prior to starting daemons, because I intend to remove all Conduit integration.

Test Plan:
- Ran `phd list`.
- Ran `phd status` (running daemons).
- Ran `phd status` (no running daemons).
- Ran `phd stop <pid>` (dead task).
- Ran `phd stop <pid>` (live task).
- Ran `phd stop zebra` (invalid PID).
- Ran `phd stop 1` (bad PID).
- Ran `phd stop`.
- Ran `phd debug zebra` (no match).
- Ran `phd debug e` (ambiguous).
- Ran `phd debug task`.
- Ran `phd launch task`.
- Ran `phd launch 0 task` (invalid arg).
- Ran `phd launch 2 task`.
- Ran `phd help`.
- Ran `phd help list`.
- Ran `phd start`.
- Ran `phd restart`.
- Looked at Repositories (daemon running).
- Looked at Repositories (daemon not running).

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1670

Differential Revision: https://secure.phabricator.com/D6490
2013-07-18 15:28:56 -07:00
..
PhabricatorRepositoryArcanistProjectDeleteController.php Convert some phutil_escape_html() to hsprintf() 2013-02-08 15:59:02 -08:00
PhabricatorRepositoryArcanistProjectEditController.php Convert setCaption() to safe HTML 2013-02-05 15:52:43 -08:00
PhabricatorRepositoryController.php Modernize architecture of phd 2013-07-18 15:28:56 -07:00
PhabricatorRepositoryCreateController.php Update form styles, implement in many places 2013-05-07 14:07:06 -07:00
PhabricatorRepositoryDeleteController.php Convert some phutil_escape_html() to hsprintf() 2013-02-08 15:59:02 -08:00
PhabricatorRepositoryEditController.php Update form styles, implement in many places 2013-05-07 14:07:06 -07:00
PhabricatorRepositoryListController.php Restore merge of phutil_tag. 2013-02-13 14:51:18 -08:00