To ease Composer integration with In-Portal I'm proposing to take a bit different approach. For full discussion please go to: [composer] Use Composer.
The idea is to:
- include "
composer.json"
with each In-Portal installation (both In-Portal & Intechnic repository) - as one of installation prerequisites assert that "
vendor/autoload.php
" is present and if it doesn't show composer instructions:- Install Composer by following instructions at https://getcomposer.org/download/
- Install Vendors using instructions from https://getcomposer.org/doc/03-cli.md#install
- add "
/vendor
" folder to "svn:ignore
", so nobody will commit it by accident - run "
composer install --no-dev"
also when releasing new In-Portal version for "vendor
" folder to be included in produced ZIP - add inclusion of "
vendor/autoload.php
" intostartup.php
This way the "vendor" folder (which might contain outdated dependencies) is never commited and is created automatically while project is installed.
Related Tasks
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|