Homec4science

Add `bin/repository edit` for CLI repository editing

Authored by epriestley <git@epriestley.com> on Nov 13 2013, 20:26.

Description

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

Details

Committed
epriestley <git@epriestley.com>Nov 13 2013, 20:26
Pushed
aubortJan 31 2017, 17:16
Parents
rPH626b3dab3bcb: Fix handle loads in ManiphestTaskListView
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHf5ca647d2c52: Add `bin/repository edit` for CLI repository editing (authored by epriestley <git@epriestley.com>).Nov 13 2013, 20:26