{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/6715","repository_url":"https://api.github.com/repos/composer/composer","labels_url":"https://api.github.com/repos/composer/composer/issues/6715/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/6715/comments","events_url":"https://api.github.com/repos/composer/composer/issues/6715/events","html_url":"https://github.com/composer/composer/issues/6715","id":261848710,"number":6715,"title":"Composer Doesn't Work","user":{"login":"GhaleonZ","id":13869674,"avatar_url":"https://avatars1.githubusercontent.com/u/13869674?v=4","gravatar_id":"","url":"https://api.github.com/users/GhaleonZ","html_url":"https://github.com/GhaleonZ","followers_url":"https://api.github.com/users/GhaleonZ/followers","following_url":"https://api.github.com/users/GhaleonZ/following{/other_user}","gists_url":"https://api.github.com/users/GhaleonZ/gists{/gist_id}","starred_url":"https://api.github.com/users/GhaleonZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GhaleonZ/subscriptions","organizations_url":"https://api.github.com/users/GhaleonZ/orgs","repos_url":"https://api.github.com/users/GhaleonZ/repos","events_url":"https://api.github.com/users/GhaleonZ/events{/privacy}","received_events_url":"https://api.github.com/users/GhaleonZ/received_events","type":"User","site_admin":false},"labels":[{"id":66814887,"url":"https://api.github.com/repos/composer/composer/labels/Support","name":"Support","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-30T14:51:01Z","updated_at":"2018-04-13T09:32:24Z","closed_at":"2018-04-13T09:32:24Z","author_association":"NONE","body":"My `composer.json`:\r\n{\r\n    \"require\": {\r\n         \"mediawiki/semantic-extra-special-properties\": \"~1.5\",\r\n         \"mediawiki/semantic-breadcrumb-links\": \"~1.4\"\r\n    }\r\n}\r\n\r\nOutput of `composer diagnose`:\r\nWTH is composer diagnose?\r\n\r\nWhen I run this command:\r\n\r\ncomposer update -vvv\r\n\r\nI get the following output:\r\n\r\nA bunch of garbage, telling me the global JSON is nowhere to be found. And then Composer spends 5 hours trolling through packagist with a bunch of unnamed JSON downloads, that are less than 20mb total in size. And then writing into the AppData/Local directory's repo folder a variety of JSON files that are already in my vendor folder of the XAMPP installation I'm using.\r\n\r\nAnd I expected this to happen:\r\n\r\nWhat I'm told will happen is that it's supposed to download and install those two extensions for my Mediawiki installation. But it never happens. I've seen the way it's supposed to look, and my log looks NOTHING like that at all.\r\n\r\nIn short, Composer was installed via the Windows Setup exe, directed to the PHP.exe file inside my XAMPP installation. And that is the only thing that has worked in this entire process.\r\n\r\nUsing Composer Require from the command line does edit the composer.json file inside htdocs/zephyr (where my MW installation is).\r\n\r\nBut after that, it does NOTHING like everyone says it does. It doesn't install anything. But instead appears to troll GIT and download stuff that is already in my vendor folders.\r\n\r\nMicrosoft Windows [Version 6.1.7601]\r\nCopyright (c) 2009 Microsoft Corporation.  All rights reserved.\r\n\r\nC:\\Users\\Ghaleon>cd c:\\xampp\\htdocs\\zephyr\r\n\r\nc:\\xampp\\htdocs\\zephyr>composer require mediawiki/semantic-extra-special-propert\r\nies \"~1.5\" -vvv\r\nReading ./composer.json\r\nLoading config file ./composer.json\r\nChecked CA file C:\\Users\\Ghaleon\\AppData\\Local\\Temp\\composer-cacert-e78c8ab7b443\r\n2bd466e64bb942d988f6c0ac91cd785017e465bdc96d42fe9dd0.pem: valid\r\nExecuting command (C:\\xampp\\htdocs\\zephyr): git branch --no-color --no-abbrev -v\r\n\r\nExecuting command (C:\\xampp\\htdocs\\zephyr): git describe --exact-match --tags\r\nExecuting command (C:\\xampp\\htdocs\\zephyr): git log --pretty=\"%H\" -n1 HEAD\r\nExecuting command (C:\\xampp\\htdocs\\zephyr): hg branch\r\nExecuting command (C:\\xampp\\htdocs\\zephyr): fossil branch list\r\nExecuting command (C:\\xampp\\htdocs\\zephyr): fossil tag list\r\nExecuting command (C:\\xampp\\htdocs\\zephyr): svn info --xml\r\nFailed to initialize global composer: Composer could not find the config file: C\r\n:/Users/Ghaleon/AppData/Roaming/Composer/composer.json\r\nTo initialize a project, please create a composer.json file as described in the\r\nhttps://getcomposer.org/ \"Getting Started\" section\r\nReading C:\\xampp\\htdocs\\zephyr/vendor/composer/installed.json\r\nLoading plugin Wikimedia\\Composer\\MergePlugin\r\nRunning 1.5.2 (2017-09-11 16:59:25) with PHP 7.1.7 on Windows NT / 6.1\r\n./composer.json has been updated\r\nReading ./composer.json\r\nLoading config file ./composer.json\r\nExecuting command (C:\\xampp\\htdocs\\zephyr): git branch --no-color --no-abbrev -v\r\n\r\nExecuting command (C:\\xampp\\htdocs\\zephyr): git describe --exact-match --tags\r\nExecuting command (C:\\xampp\\htdocs\\zephyr): git log --pretty=\"%H\" -n1 HEAD\r\nExecuting command (C:\\xampp\\htdocs\\zephyr): hg branch\r\nExecuting command (C:\\xampp\\htdocs\\zephyr): fossil branch list\r\nExecuting command (C:\\xampp\\htdocs\\zephyr): fossil tag list\r\nExecuting command (C:\\xampp\\htdocs\\zephyr): svn info --xml\r\nFailed to initialize global composer: Composer could not find the config file: C\r\n:/Users/Ghaleon/AppData/Roaming/Composer/composer.json\r\nTo initialize a project, please create a composer.json file as described in the\r\nhttps://getcomposer.org/ \"Getting Started\" section\r\nReading C:\\xampp\\htdocs\\zephyr/vendor/composer/installed.json\r\nLoading plugin Wikimedia\\Composer\\MergePlugin_composer_tmp0\r\nLoading composer repositories with package information\r\nDownloading https://packagist.org/packages.json\r\nWriting C:/Users/Ghaleon/AppData/Local/Composer/repo/https---packagist.org/packa\r\nges.json into cache\r\nUpdating dependencies (including require-dev)\r\nReading C:/Users/Ghaleon/AppData/Local/Composer/repo/https---packagist.org/p-pro\r\nvider-2013.json from cache\r\nReading C:/Users/Ghaleon/AppData/Local/Composer/repo/https---packagist.org/p-pro\r\nvider-2014.json from cache\r\nReading C:/Users/Ghaleon/AppData/Local/Composer/repo/https---packagist.org/p-pro\r\nvider-2015.json from cache\r\nReading C:/Users/Ghaleon/AppData/Local/Composer/repo/https---packagist.org/p-pro\r\nvider-2016.json from cache\r\nReading C:/Users/Ghaleon/AppData/Local/Composer/repo/https---packagist.org/p-pro\r\nvider-2016-10.json from cache\r\nDownloading http://packagist.org/p/provider-2017-01%24d88eddadd51717e910cd1bad29\r\n89204217e7add9448808859860c1520b3d294d.json\r\n\r\nI'm extremely frustrated. I don't know what half of the geek speak means. All I want is the ability to use two extensions on my MediaWiki extension. Semantic Breadcrumb Links and Semantic Extra Special Properties.\r\n\r\nAnd nobody on the Internet seems to be able to tell me how I can get these two installed, without a week spent learning CommandLine stuff and Composer commands."},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/381080765","html_url":"https://github.com/composer/composer/issues/6715#issuecomment-381080765","issue_url":"https://api.github.com/repos/composer/composer/issues/6715","id":381080765,"user":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars1.githubusercontent.com/u/183678?v=4","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T09:32:24Z","updated_at":"2018-04-13T09:32:24Z","author_association":"OWNER","body":"Automatically closing as this has not received any updates in a while. Please re-open if it is still relevant."}}
{"actor":{"display_login":"Seldaek"}}