planktonfun/compositeur

There is no license information available for the latest version (0.01) of this package.

Composer parallel update plugin for vcs

0.01 2017-03-03 05:02 UTC

This package is not auto-updated.

Last update: 2024-04-17 18:25:34 UTC


README

Build Status

composer parallel update plugin for vcs

Requirements

  • composer >=1.0.0 (includes dev-master)
  • PHP >=5.3, (suggest >=5.5, because curl_share_init)
  • ext-curl

Install

Simply add a dependency on liuggio/fastest to your project's composer.json file:

{
    "require": {
	    "planktonfun/compositeur": "~0.1",
    }
}

then run

$ composer update --prefer-stable

Uninstall

$ composer remove planktonfun/compositeur

Benchmark Example

Before (4m 13.948s)

$ time composer update --prefer-stable -o

vcsbefore

After (7.093s)

$ time ./bin/compositeur

vcsafter

Config

compositeur ^0.1

There are no configs.

Usage

$ time ./bin/compositeur

Known Limitations

It only updates existing repositories not install them

Compositeur doesn't install new vendors it just updates them. if you need to install new vendors you have to install them manually

$ composer install

Only available in linux systems

Unfortunately, automating adding of passwords via ssh-agent on windows is not possible via command but there's a workaround

ssh-keygen -t dsa

name it compositeur_dsa and no passwords

save it in ~/.ssh/compositeur_dsa

and save the ~/.ssh/compositeur_dsa.pub in your vendor site

in my case its https://bitbucket.org

then your done. try again.