1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 17:32:41 +01:00
phorge-phorge/src/applications/repository/management
epriestley f5ca647d2c Add bin/repository edit for CLI repository editing
Summary:
Ref T4039. This is mostly to deal with that, to prevent the security issues associated with mutable local paths. The next diff will lock them in the web UI.

I also added a confirmation prompt to `bin/repository delete`, which was a little scary without one.

See one comment inline about the `--as` flag. I don't love this, but when I started adding all the stuff we'd need to let this transaction show up as "Administrator" it quickly got pretty big.

Test Plan: Ran `bin/repository edit ...`, saw an edit with a transaction show up on the web UI.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4039

Differential Revision: https://secure.phabricator.com/D7579
2013-11-13 11:26:05 -08:00
..
PhabricatorRepositoryManagementDeleteWorkflow.php Add bin/repository edit for CLI repository editing 2013-11-13 11:26:05 -08:00
PhabricatorRepositoryManagementDiscoverWorkflow.php Remove PhabricatorRepository::loadAllByPHIDOrCallsign() 2013-09-26 12:36:24 -07:00
PhabricatorRepositoryManagementEditWorkflow.php Add bin/repository edit for CLI repository editing 2013-11-13 11:26:05 -08:00
PhabricatorRepositoryManagementImportingWorkflow.php Add an administrative bin/repository importing command to list importing commits 2013-11-06 11:26:41 -08:00
PhabricatorRepositoryManagementListWorkflow.php Make most repository reads policy-aware 2013-09-25 16:54:48 -07:00
PhabricatorRepositoryManagementMarkImportedWorkflow.php Add an administrative bin/repository mark-imported command 2013-11-06 11:26:24 -08:00
PhabricatorRepositoryManagementPullWorkflow.php Remove PhabricatorRepository::loadAllByPHIDOrCallsign() 2013-09-26 12:36:24 -07:00
PhabricatorRepositoryManagementWorkflow.php Remove PhabricatorRepository::loadAllByPHIDOrCallsign() 2013-09-26 12:36:24 -07:00