Page MenuHomeIn-Portal Phabricator

INP-1394 - Enable Composer Support
ClosedPublic

Authored by alex on Dec 27 2014, 4:27 AM.

Details

Summary
  1. added new check to "System Requirements Check" step during installation/upgrade with instructions on how to install composer/dependencies when missing
  2. PHP version requirement updated to 5.3.2 to match Composer's own PHP version requirement
  3. added check for "/vendor/autoload.php" presense to "/core/kernel/startup.php"
  4. the "/vendor" folder added to "svn:ignore"
Test Plan
  1. do a fresh SVN checkout
  2. try installing In-Portal by going to /core/install.php script and confirm that Composer-related error is immediately shown
  3. install dependencies and confirm that after reloading a page Composer-related error is gone
  4. complete In-Portal installation and verify that Front-End and Admin Console are working
  5. delete the "/vendor" folder and confirm that Front-End and Admin Console both stopped working and Composer-related error is shown
  6. install dependencies and confirm that Front-End and Admin Console both are working again

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.2.x
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

alex updated this revision to Diff 79.Dec 27 2014, 4:27 AM
alex retitled this revision from to INP-1394 - Enable Composer Support.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1394.
alex updated this revision to Diff 80.Dec 27 2014, 4:32 AM
alex edited edge metadata.

Changes to "svn:ignore" property of root folder were missing in previous version.

alex updated this revision to Diff 81.Dec 27 2014, 4:33 AM

Accidentally removed all other changes from patch

glebs accepted this revision.Dec 30 2014, 6:06 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.Dec 30 2014, 6:06 AM
This revision was automatically updated to reflect the committed changes.