简体   繁体   中英

Can I install Composer in selected snapshot or only in “official” version

It turned out, that both my global and local installations of Composer are in different snapshot versions -- global is 2015-07-12_15-39-36-42bfe9c and local in 2015-06-26_13-40-26-943107c . Both updates to newest version / snapshot, but always rolls back to previous one in installation history, not to previous one in release history (ie not to the one before latest snapshot, not to the same one).

Is there any way, I can roll back each installation of Composer to a specific snapshot? To have both installations in the same version / snapshot, but not the newest one ( which has some bugs )?

I know , that I can install Composer in any version, I want, using --version switch. But, this covers only an official versions, where the latest one before latest snapshot is 1.0.0-alpha10 (2015-04-14) , that is far before versions, to which my current installations rolls back.

As for local installations of Composer, this is of course possible and only requires copying composer.phar file, in selected version, over all projects, that are using local installation of Composer. This way, all of them will have local Composer in the very same version / snapshot.

As for global installation, this seems to be impossible.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM