avalanche123/AvalancheImagineBundle — pull request #97 by butt (2012-11-14 11:48:06+00:00)
Title: Updated composer workflow

I have error **The requested package avalanche123/imagine-bundle could not be found in any version, there may be a typo in the package name.** when I add to composer.json

"require": {
"avalanche123/imagine-bundle": "*"
}

If I change "*" to "master-dev" error is
**- Installation request for avalanche123/imagine-bundle master-dev -> satisfiable by avalanche123/imagine-bundle dev-master.
- avalanche123/imagine-bundle dev-master requires imagine/imagine dev-master -> no matching package found.**

composer did not find imagine/imagine package and I have to add code to my composer.json like:

"repositories":[
{
"type":"git",
"url":"git://github.com/avalanche123/Imagine.git"
}
],
"require":{
"imagine/Imagine": "dev-master",
"avalanche123/imagine-bundle": "master-dev"
}

Using dev version of the library in production project is actually bad idea, but tag symfony-2.0 cant be used by composer. If I try to use code

"avalanche123/imagine-bundle": "symfony-2.0"

I got error
**[UnexpectedValueException]
Could not parse version constraint symfony-2.0**

So, I have such a suggestions
1) add repository section to the avalanche123 / AvalancheImagineBundle composer.json, because composer cant find imagine/imagine
2) add tags **v2.1** to the avalanche123 / AvalancheImagineBundle and Imagine/Imagine
3) update composer.json file to use v2.1 tag
4) update installation instructions to use v2.1 instead

All updates (except tag v2.1 for both bundles) included in this PR