Project

General

Profile

Feature #8110

Remove fxp/composer-asset-plugin from management by composer and push assets directly

Added by Yannick Warnier almost 4 years ago. Updated almost 4 years ago.

Status:
Feature implemented
Priority:
Urgent
Assignee:
Category:
System
Target version:
Start date:
25/02/2016
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

As the result of a developers conversation around composer and the many issues we are facing when installing development version of Chamilo (repeated requirements of auth token, considerable slowliness vs relatively rare required updates of the corresponding libraries, disappearances of repositories that have been renamed without notification through composer, unjustified conflicts between versions, etc), we have decided to try and live without fxp/composer-asset-plugin.

Please remove this dependency from composer and "git add" the fixed libraries to composer in a way that we can still manage them (as developers) through bower directly.

I would like to have this ready as soon as possible. Ideally before releasing 1.10.4.

Associated revisions

Revision 677ec8c3 (diff)
Added by Yannick Warnier almost 4 years ago

Minor - Remove fxp/composer-assets-plugin references from README.md - refs #8110

History

#1

Updated by Julio Montoya almost 4 years ago

  • Status changed from Assigned to Needs more info

I added bower.json file to update js and css, to do this:

bower install /var/www/html/chamilo/src/Chamilo/CoreBundle/Resources/config/bower.json

Then files are added in /var/www/html/chamilo/app/Resources/public/assets

Then with a "composer update" this files will be copied inside public/assets.

This bower install should be only run when there's a new js/css library.

In "non developer" (bower not installed) just "git pull + composer update"

#2

Updated by Yannick Warnier almost 4 years ago

I'll update the README.md

#3

Updated by Yannick Warnier almost 4 years ago

  • Status changed from Needs more info to Feature implemented
  • % Done changed from 0 to 100

Done. Thanks for this change. Much better now in terms of composer updates.

Also available in: Atom PDF