]> khamidou — GitHub mirrors - arcanist.git/commit
Allow "arc liberate" to liberate v2 libraries and upgrade v1 -> v2
authorepriestley <git@epriestley.com>
Wed, 30 May 2012 21:18:11 +0000 (14:18 -0700)
committerepriestley <git@epriestley.com>
Wed, 30 May 2012 21:18:11 +0000 (14:18 -0700)
commita8ddec4f64d90228ca65a398ed470b4df4e363e4
treefa6f1b14878eb97ddf29784302bac3b388b56535
parent7a4c97f9c306670b8dc9b18c1890b56fb1b931f7
Allow "arc liberate" to liberate v2 libraries and upgrade v1 -> v2

Summary:
  - "arc liberate" now works for v1 or v2 libraries.
  - "arc liberate --upgrade" converts a v1 to a v2.
  - We delete __init__.php files but do not move Class.php files, since this is vastly simpler. Authors can do this on their own if they want. We'll do it separately.
  - v2 has less lint support than v1, but I think we can move first and migrate lint support later. Much of the v1 lint is bad anyway.

Test Plan: Upgraded libphutil, arcanist and phabricator to v2

Reviewers: vrana, btrahan, jungejason

Reviewed By: vrana

CC: aran
Maniphest Tasks: T1103

Differential Revision: https://secure.phabricator.com/D2588
src/lint/linter/phutilmodule/ArcanistPhutilModuleLinter.php
src/workflow/liberate/ArcanistLiberateWorkflow.php