mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #37617
[Bug 1622788] Re: Update the dependencies error for ssphp
On further research, since we are downloading the release tarball we do
*not* need to run "composer --update".
The .tar.gz file that we download is built using the bin/build-
release.sh script in the simplesamlphp git repo:
https://github.com/simplesamlphp/simplesamlphp/blob/f5ff7c4643b9b784957f5e1fbf86fc740cd6b78a/bin
/build-release.sh
The build script clones a new repo based on the tag for the release.
Then it runs "composer install" to get all the basic simplesamlphp
dependencies, *and* "composer require" to install a big list of optional
plugins. "composer require" does two things. It downloads the actual
packages and their dependency files to the specified location, and it
updates the composer.json file.
So that means that, indeed, the tarball actually does contain all its
PHP files already. So we can skip running "composer update" after
upgrading it.
The SimpleSAMLPHP OpenID plugins are the only ones that need GMP. So we
can change the listing for that to an optional depedency, only required
if you want to use SimpleSAMLPHP as an OpenID IdP consumer.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1622788
Title:
Update the dependencies error for ssphp
Status in Mahara:
New
Bug description:
Here are some more things that need to be installed before 'make
ssphp' will run.
php5-gmp and php-sqlite
so we need to update our error messages to suit
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1622788/+subscriptions
References