← Back to team overview

mahara-contributors team mailing list archive

[Bug 1962417] [NEW] "make initcomposer" takes too long

 

Public bug reported:

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".

** Affects: mahara
     Importance: Wishlist
         Status: New

** Changed in: mahara
   Importance: Undecided => Wishlist

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1962417

Title:
  "make initcomposer" takes too long

Status in Mahara:
  New

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".

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1962417/+subscriptions