Re: [RFC] Deprecate PEAR/PECL & Replace with composer/pickle
| From: | Rowan Collins | Date: | Tue, 06 Sep 2016 08:06:43 +0000 |
| Subject: | Re: [RFC] Deprecate PEAR/PECL & Replace with composer/pickle | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-95689@lists.php.net to get a copy of this message | ||
On 6 September 2016 08:17:20 BST, Tony Marston <TonyMarston@hotmail.com> wrote:
>>I do NOT want the replacement PEAR library to update itself in the
>>> background.
>>
>>Composer doesn't do that.
>
>Then how come I've seen several complaints in various forums about
>composer
>updating libraries in the background and screwing things up.
I would imagine for the same reason Stack Overflow is full of questions about their JS loop not
running their PHP properly, or "resource expected, boolean found" errors: they don't
understand what they're doing, or haven't read the manual properly.
Composer updates your libraries when you run "composer update", or fetches the latest that
you've said are valid if you run "composer install" and don't have a lock file
listing which versions you last updated to (i.e. you deleted it or didn't commit it to version
control). It updates *itself* if you run "composer self-update". And that's it, as
far as I know; I'm not even sure what it would mean for it to do stuff "in the
background", because (much like pear) it's just an admin tool, not something you include
at runtime.
Regards,
--
Rowan Collins
[IMSoP]