Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Text case for repository URL in composer.json #6

Closed
phindmarsh opened this Issue Apr 8, 2013 · 12 comments

Comments

Projects
None yet
5 participants

I've just tried to update via composer which results in a RuntimeError of Repository not found.

It looks like either the repo name has been changed to lowercase, or github is now case-sensitive. I've been able to update it if I make the repository name lowercase in my composer.json.

I think you might need to update the URL in packagist to be the lowercase equivalent (github.com/AlekseyKorzun/recaptcha-php-5)

Owner

AlekseyKorzun commented Apr 9, 2013

I updated the URI in question but I don't think that's the issue.

Can you make sure you pulled the latest code and try again? I updated URI schema over the weekend so you might be trying to pull using old composer.json.

Thanks!

 composer install
Loading composer repositories with package information
Installing dependencies
Nothing to install or update

Problem is you can't update via composer without changing the URL...

Sent from my mobile

On Tue, Apr 9, 2013 at 12:36 PM, Aleksey Korzun notifications@github.com
wrote:

I updated the URI in question but I don't think that's the issue.
Can you make sure you pulled the latest code and try again? I updated URI schema over the weekend so you might be trying to pull using old composer.json.
Thanks!

 composer install
Loading composer repositories with package information
Installing dependencies
Nothing to install or update

Reply to this email directly or view it on GitHub:
https://github.com/AlekseyKorzun/recaptcha-php-5/issues/6#issuecomment-16087806

I had the same issue - if you manually set the package to git://github.com/AlekseyKorzun/recaptcha-php-5.git it works, otherwise composer fails with

[RuntimeException]
Failed to clone http://github.com/AlekseyKorzun/reCaptcha-PHP-5.git via git, https and http protocols, aborting.

This was from a fresh start with composer.lock and all vendor directories deleted.

PhiloNL commented Apr 9, 2013

Having the same issue..

Same issue.

Owner

AlekseyKorzun commented Apr 9, 2013

Okay I'm going to create that repository that will contain current code that points to new branch guys, sorry.

Owner

AlekseyKorzun commented Apr 9, 2013

Does it work now guys? Apparently GitHub has case sensitive URI's but only when you clone. Blah

Yes, it does. Thanks.

Owner

AlekseyKorzun commented Apr 9, 2013

Awesome, sorry about that guys.

Owner

AlekseyKorzun commented Apr 9, 2013

@phindmarsh Could you confirm 🌴

Can confirm this looks to be fixed now :)

👍

Owner

AlekseyKorzun commented Apr 10, 2013

Yay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment