An open API service indexing awesome lists of open source software.

https://github.com/planktonfun/compositeur

composer parallel update plugin for vcs
https://github.com/planktonfun/compositeur

composer git php

Last synced: about 2 months ago
JSON representation

composer parallel update plugin for vcs

Awesome Lists containing this project

README

          

# Compositeur
[![Build Status](https://api.travis-ci.org/planktonfun/compositeur.svg?branch=master)](https://travis-ci.org/planktonfun/compositeur)

[composer](https://getcomposer.org) 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

```bash
$ composer update --prefer-stable
```

## Uninstall

```bash
$ composer remove planktonfun/compositeur
```

## Benchmark Example

Before (4m 13.948s)

```bash
$ time composer update --prefer-stable -o
```

![vcsbefore](https://cloud.githubusercontent.com/assets/1837825/23534316/07bb9626-fff2-11e6-9447-3fe056b0e0fc.gif)

After (7.093s)

```bash
$ time ./bin/compositeur
```

![vcsafter](https://cloud.githubusercontent.com/assets/1837825/23534317/09e9ebd2-fff2-11e6-86fd-3fd6cc44febe.gif)

## Config

### `compositeur ^0.1`

There are no configs.

## Usage

```bash
$ 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

```bash
$ 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

```bash
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.