-
Notifications
You must be signed in to change notification settings - Fork 37
Use local phpmanager dependencies installer during development #154
Comments
Okie took me a bit to work out why the changes here: Wasn't being picked up by a Doesn't actually invoke the I suggest that we move this script to the following location If however the idea of the shell folder is to provision the vagrant box on to ensure these dependancies are run around the same time. One arguement for moving these files to be installed on first run, is that it can take rather a long time to build all the phpmanager dependancies. |
@yiendos Installing these increases the size (and time needed) of the build considerably. Most users do not need this so that's why we only install it when the phpmanager script is run for the first time. |
@stevenrombauts okie great thanks for the feedback, we are agreed that the install of dependencies should occur when the user first invokes a I think for ease of developing the phpmanager in the future we should ensure that this script is installed alongside the phpmanager script. That way any changes you make to the install dependencies means they are easily tested locally. Moving this file from the |
@yiendos Good point, would make things easier. As we discussed on Slack, I've added a check to the script to use the local copy in development and still use the online version otherwise. |
#154: drop g++ and gcc from phpmanager install
Attempting to use the box php commands results in a failure:
For the relevant part of the code that attempts to install the dependencies:
https://github.com/joomlatools/joomlatools-vagrant/blob/master/shell/install-phpmanager-dependencies.sh#L120
However, it would seem as though
build-essential
already containsg++
as part of it's package:https://packages.ubuntu.com/bionic/build-essential
And further it would seem we install this here:
https://github.com/joomlatools/joomlatools-vagrant/blob/master/puppet/environments/box/modules/profiles/manifests/base.pp#L12
We should be covered. However further tweaks might still be required for the phpmanager script to work correctly.
The text was updated successfully, but these errors were encountered: