]> khamidou — GitHub mirrors - arcanist.git/commit
"arc upgrade", to automatically upgrade arc (client changes)
authorepriestley <git@epriestley.com>
Wed, 9 May 2012 17:01:31 +0000 (10:01 -0700)
committerepriestley <git@epriestley.com>
Wed, 9 May 2012 17:01:31 +0000 (10:01 -0700)
commit19aa759f39e8db1cb4ccd157f0f0d634adb6ff1d
tree1e8e60e83f203fe435a8c5e27e3e59a06510fc13
parentb34915020eba8680a59069044b05223b89eea59e
"arc upgrade", to automatically upgrade arc (client changes)

Summary:
  - Try to limit the pain of //future// version bumps by making arc self-updating.
  - When the server needs a newer version, prompt the user to update.
  - (We need them to reissue their command because we may already have loaded classes which have changed in the update.)
  - Make the message sound exciting!

Test Plan: Artifically bumped server forward, ran "arc list", got to upgrade!

Reviewers: Makinde, nh, jungejason, btrahan

Reviewed By: nh

CC: aran
Differential Revision: https://secure.phabricator.com/D2435
src/__phutil_library_map__.php
src/workflow/base/ArcanistBaseWorkflow.php
src/workflow/upgrade/ArcanistUpgradeWorkflow.php [new file with mode: 0644]
src/workflow/upgrade/__init__.php [new file with mode: 0644]