1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 06:42:42 +01:00
phorge-phorge/scripts
epriestley 32d23254c9 Use --user and --password from bin/storage in PHP migrations
Summary:
Fixes T2059. Ref T2517.

Currently, you can run `bin/storage upgrade` with `--user` and `--password` arguments. However, these clownishly apply only to `.sql` patches -- the `.php` migrations still use the default user and password.

This is dumb. Stop doing it. Respect `--user` and `--password` for PHP patches.

(I implemented "override", which is very similar to "repair", but kept them separate since I think they're semantically distinct enough to differentiate.)

Test Plan: Ran `./bin/storage upgrade --user x --pass y --apply phabricator:20130219.commitsummarymig.php`. Verified the correct user and password were used both for the initial connect and patch application.

Reviewers: chad, vrana

Reviewed By: chad

CC: aran

Maniphest Tasks: T2059, T2517

Differential Revision: https://secure.phabricator.com/D5115
2013-02-25 22:20:23 -08:00
..
aphront Delete license headers from files 2012-11-05 11:16:51 -08:00
calendar Increment year. 2013-01-03 05:45:08 -08:00
celerity Fix conpherence sprites 2013-02-15 19:04:25 -08:00
daemon Remove legacy support for 'phd repository-launch' and 'phd repository-launch-readonly' 2013-01-22 12:26:08 -08:00
differential Delete license headers from files 2012-11-05 11:16:51 -08:00
diviner Port Diviner Core to Phabricator 2013-01-07 14:04:23 -08:00
drydock Allow leases to be explicitly released via web or CLI 2012-12-14 15:42:58 -08:00
fact Delete license headers from files 2012-11-05 11:16:51 -08:00
files Store width and height metadata of image files 2013-01-07 09:46:43 -08:00
fpm Delete license headers from files 2012-11-05 11:16:51 -08:00
install Simplify the "update_phabricator.sh" script 2013-02-14 07:22:43 -08:00
mail de-duplicate emails received by phabricator multiple times 2013-01-03 17:04:30 -08:00
profile Delete license headers from files 2012-11-05 11:16:51 -08:00
repository Add HarbormasterRunnerWorker, for running CI tests 2012-12-17 13:43:26 -08:00
search Improve Search architecture 2012-12-21 14:21:31 -08:00
setup Increase the power of bin/config 2013-01-21 15:27:42 -08:00
sql Use --user and --password from bin/storage in PHP migrations 2013-02-25 22:20:23 -08:00
ssh Fix various issues with SSH receivers 2012-12-19 11:11:32 -08:00
symbols Delete license headers from files 2012-11-05 11:16:51 -08:00
user Delete license headers from files 2012-11-05 11:16:51 -08:00
util Delete license headers from files 2012-11-05 11:16:51 -08:00
__init_script__.php Consolidate environmental initialization 2012-12-25 06:15:28 -08:00
celerity_mapper.php Implement basic transaction detail blocks 2013-02-17 06:37:02 -08:00