On Thu, Aug 13, 2020 at 4:49 PM Zoran Dori <zorandori4444(a)gmail.com> wrote:
Thanks, but how I can update composer on my instances, as tutorial from DigitalOcean [1]
no works.
[1]
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-com…
Maybe try going to the actual upstream for instructions?
<https://getcomposer.org/download/>. You did not provide any
information about how the tutorial failed you so it is hard to help
you work around any problems that may be in those 3rd party
instructions.
I would personally recommend the direct approach of downloading a phar
file from
https://getcomposer.org/download/ to bootstrap composer
locally and then keeping up with version bumps by occasionally running
`composer self-update`. Downloading the phar file is what Wikimedia's
CI system does these days. We used to maintain a gerrit repo for this
(it's still there, but being deprecated), but in T249461 we switched
to just fetching the phar file from
getcomposer.org and verifying its
published sha256 hash.
Bryan
--
Bryan Davis Technical Engagement Wikimedia Foundation
Principal Software Engineer Boise, ID USA
[[m:User:BDavis_(WMF)]] irc: bd808