composer/composer — Issue #168: Repositories failing to register during install/update
Author: danapplegate
Created: 2011-12-22 00:20:21+00:00
State: open

Hi, I've been using Composer pretty easily on my own dev box, Ubuntu 11.10. I wanted to use some third party libraries that aren't namespaced, so I forked them and threw modified versions up onto my company's github. I then added the repositories to my project's composer.json, and everything works fine on my computer. But when my co-worker (Windows 7, using msysgit) tried to pull the project and install using `php composer.phar install`, we get this output:

```
Found lockfile. Reading.

[LogicException]

Can not find "rokkan/mailchimp-master-dev" package in registered repositories

install [--dev] [--dry-run] [--no-install-recommends] [--install-suggests]
```

Figuring that maybe we should try to re-create the lock file, we ran `php composer.phar update` and got this:

```
Updating dependencies.

[UnexpectedValueException]

Package rokkan/facebook-php-sdk was not found in the package pool, check the name for typos.

update [--dev] [--dry-run] [--no-install-recommends] [--install-suggests]
```

So it looks like Composer is not able to pull from those repo locations. I tried doing a `git clone` directly from those urls using his git config, and he's fine, so it's not a ssh key or github authentication issue. Ran a `php composer.phar debug:packages` and noticed that none of my packages I defined in my project's composer.json are present in the list. I've included a dump of that below.

Any ideas?

[Related files](https://gist.github.com/d6a73b5bf1517ddcfe50/949ed54772cf2bfa9b74aecd9d7e10598db29998)