"make initcomposer" takes too long

Bug #1962417 reported by Gold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
New
Wishlist
Unassigned

Bug Description

Many Makefile targets call the "initcomposer" target to ensure all is in place before they continue to their specific tasks. While we are not managing the composer.lock file we cannot use "composer install" which would be faster.

To speed up the use of initcomposer in other targets we could run a check on the current lock file (built from the call to "composer update") to see how long ago it was run and if the file was last built a set time in the past then we run the update, otherwise we exit the target with no action taken.

I would suggest the check be run once a day at most so as to have the current latest packages that a developer out in the world would be using if they installed their environment "today".

Gold (gold.catalyst)
Changed in mahara:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.