composer/composer — pull request #359 by Seldaek (2012-02-23 22:29:09+00:00)
Title: [WIP] Branch aliases support

A few problems left to tackle:

- Currently the ArrayLoader just loads that alias stuff, so if anyone specifies it, they will get an alias, but they'll also get an alias for each of their feature branch, and then god knows what gets selected by the solver. We can just hope this won't happen, or figure out a fix.
- The locker can not distinguish which package was really selected (the alias or the original one), so it always requests the aliased version. This will be correct in most cases, but will definitely fail sometimes. I guess I can flag the package during install with a `setInstalledAsAlias` or such, that will indicate the filesystemrepo and the locker to skip the alias info and just treat this as a normal package.
- Packagist support still has to be implemented, but that's not so much work once this is finished and stable.