1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 02:42:40 +01:00
phorge-phorge/scripts/repository
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
..
audit.php Provide a more flexible script for administrative management of audits 2013-08-05 10:35:01 -07:00
manage_repositories.php Add bin/repository edit for CLI repository editing 2013-11-13 11:26:05 -08:00
rebuild_summaries.php Delete license headers from files 2012-11-05 11:16:51 -08:00
reconcile.php Delete license headers from files 2012-11-05 11:16:51 -08:00
reparse.php Document reparse --min-date more, add validation 2013-04-05 07:35:35 -07:00
save_lint.php Save blame info to lint messages 2013-03-06 16:19:01 -08:00
test_connection.php Delete license headers from files 2012-11-05 11:16:51 -08:00