"make initcomposer" takes too long
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".
Changed in mahara: | |
importance: | Undecided → Wishlist |