Fix composer.json to prevent infinite loops.
authorTyler Anthony Romeo <tylerromeo@gmail.com>
Wed, 6 Mar 2013 05:16:37 +0000 (00:16 -0500)
committerAntoine Musso <hashar@free.fr>
Thu, 14 Mar 2013 03:23:27 +0000 (04:23 +0100)
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

composer.json

index fa42c29..ded3365 100644 (file)
                }
        ],
        "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",