From: Tyler Anthony Romeo Date: Wed, 6 Mar 2013 05:16:37 +0000 (-0500) Subject: Fix composer.json to prevent infinite loops. X-Git-Tag: 1.31.0-rc.0~20348 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=25eb7cd0ee6e57c3279b8b41ccec48fec4ada700;p=lhc%2Fweb%2Fwiklou.git Fix composer.json to prevent infinite loops. So it turns out you're not supposed to specify the repository in composer.json, as that's only for dependencies. Otherwise it will loop infinitely. The repository tag isn't for the current application, it's for dependencies of the application. I've tried doing "composer install" with MediaWiki master and it loops infinitely because it goes to the repository, sees that it has a composer.json, reads it, sees that it has a repository, etc. This patch thus Remove the 'repositories' statement pointing to Wikimedia gerrit installation which as added with 0ee7f355 Change-Id: I9a77d28f33a0b966f42c8c2e952b922809acc20d --- diff --git a/composer.json b/composer.json index fa42c295e0..ded3365261 100644 --- a/composer.json +++ b/composer.json @@ -10,12 +10,6 @@ } ], "license": "GPL-2.0", - "repositories": [ - { - "type": "vcs", - "url": "https://gerrit.wikimedia.org/r/p/mediawiki/core.git" - } - ], "support": { "issues": "https://bugzilla.wikimedia.org/", "irc": "irc://irc.freenode.net/mediawiki",