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
- Host: GitHub
- URL: https://github.com/planktonfun/compositeur
- Owner: planktonfun
- Created: 2017-03-03T00:49:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-11T04:14:26.000Z (over 9 years ago)
- Last Synced: 2024-04-23T13:09:44.464Z (about 2 years ago)
- Topics: composer, git, php
- Language: Shell
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Compositeur
[](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
```

After (7.093s)
```bash
$ time ./bin/compositeur
```

## 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.