{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/7616","repository_url":"https://api.github.com/repos/composer/composer","labels_url":"https://api.github.com/repos/composer/composer/issues/7616/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/7616/comments","events_url":"https://api.github.com/repos/composer/composer/issues/7616/events","html_url":"https://github.com/composer/composer/issues/7616","id":356803409,"node_id":"MDU6SXNzdWUzNTY4MDM0MDk=","number":7616,"title":"Could not find package \"ximen/ucenter\"","user":{"login":"g30225579","id":17231597,"node_id":"MDQ6VXNlcjE3MjMxNTk3","avatar_url":"https://avatars1.githubusercontent.com/u/17231597?v=4","gravatar_id":"","url":"https://api.github.com/users/g30225579","html_url":"https://github.com/g30225579","followers_url":"https://api.github.com/users/g30225579/followers","following_url":"https://api.github.com/users/g30225579/following{/other_user}","gists_url":"https://api.github.com/users/g30225579/gists{/gist_id}","starred_url":"https://api.github.com/users/g30225579/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g30225579/subscriptions","organizations_url":"https://api.github.com/users/g30225579/orgs","repos_url":"https://api.github.com/users/g30225579/repos","events_url":"https://api.github.com/users/g30225579/events{/privacy}","received_events_url":"https://api.github.com/users/g30225579/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-04T13:11:18Z","updated_at":"2018-09-05T05:55:59Z","closed_at":"2018-09-04T13:16:59Z","author_association":"NONE","body":"Output of `composer diagnose`:\r\n\r\n```\r\nroot@2515969e72b1:/opt/test# composer diagnose\r\nDo not run Composer as root/super user! See https://getcomposer.org/root for details\r\nChecking composer.json: WARNING\r\nNo license specified, it is recommended to do so. For closed-source software you may use \"proprietary\" as license.\r\nChecking platform settings: OK\r\nChecking git settings: OK\r\nChecking http connectivity to packagist: OK\r\nChecking https connectivity to packagist: OK\r\nChecking github.com rate limit: OK\r\nChecking disk free space: OK\r\nChecking pubkeys: \r\nTags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0  87719BA6 8F3BB723 4E5D42D0 84A14642\r\nDev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B  0C708369 153E328C AD90147D AFE50952\r\nOK\r\nChecking composer version: OK\r\nComposer version: 1.7.2\r\nPHP version: 7.0.22\r\nPHP binary path: /usr/bin/php7.0\r\n```\r\n\r\nWhen I run this command:\r\n\r\n```\r\ncomposer require ximen/ucenter\r\n```\r\n\r\nI get the following output:\r\n\r\n```\r\n [InvalidArgumentException]                                                                                                           \r\n  Could not find a version of package ximen/ucenter matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability.\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/418608214","html_url":"https://github.com/composer/composer/issues/7616#issuecomment-418608214","issue_url":"https://api.github.com/repos/composer/composer/issues/7616","id":418608214,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODYwODIxNA==","user":{"login":"alcohol","id":21414,"node_id":"MDQ6VXNlcjIxNDE0","avatar_url":"https://avatars0.githubusercontent.com/u/21414?v=4","gravatar_id":"","url":"https://api.github.com/users/alcohol","html_url":"https://github.com/alcohol","followers_url":"https://api.github.com/users/alcohol/followers","following_url":"https://api.github.com/users/alcohol/following{/other_user}","gists_url":"https://api.github.com/users/alcohol/gists{/gist_id}","starred_url":"https://api.github.com/users/alcohol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alcohol/subscriptions","organizations_url":"https://api.github.com/users/alcohol/orgs","repos_url":"https://api.github.com/users/alcohol/repos","events_url":"https://api.github.com/users/alcohol/events{/privacy}","received_events_url":"https://api.github.com/users/alcohol/received_events","type":"User","site_admin":false},"created_at":"2018-09-05T05:55:59Z","updated_at":"2018-09-05T05:55:59Z","author_association":"MEMBER","body":"Honestly I am not sure. I am confused by the line\r\n\r\n```\r\n```\r\n\r\nI do not get such a download during my process. Do you run composer with plugins? Can you try and see if clearing your cache (`rm -rf /root/.composer/cache`) and then running the command again with `--no-plugins` makes any differences?\r\n\r\nMy output is:\r\n\r\n```\r\nrob@galaga /tmp $ composer require ximen/ucenter -vvv\r\nLoading config file /home/rob/.config/composer/auth.json\r\nFailed to initialize global composer: Composer could not find the config file: /home/rob/.config/composer/composer.json\r\nTo initialize a project, please create a composer.json file as described in the https://getcomposer.org/ \"Getting Started\" section\r\nRunning 1.7.2 (2018-08-16 16:57:12) with PHP 7.2.9 on Linux / 4.18.5-arch1-1-ARCH\r\nLoading config file /home/rob/.config/composer/auth.json\r\nFailed to initialize global composer: Composer could not find the config file: /home/rob/.config/composer/composer.json\r\nTo initialize a project, please create a composer.json file as described in the https://getcomposer.org/ \"Getting Started\" section\r\nReading ./composer.json\r\nLoading config file /home/rob/.config/composer/auth.json\r\nLoading config file ./composer.json\r\nChecked CA file /etc/ssl/certs/ca-certificates.crt: valid\r\nExecuting command (/workdir): git branch --no-color --no-abbrev -v\r\nExecuting command (/workdir): git describe --exact-match --tags\r\nExecuting command (/workdir): git log --pretty=\"%H\" -n1 HEAD\r\nExecuting command (/workdir): hg branch\r\nExecuting command (/workdir): fossil branch list\r\nExecuting command (/workdir): fossil tag list\r\nExecuting command (/workdir): svn info --xml\r\nFailed to initialize global composer: Composer could not find the config file: /home/rob/.config/composer/composer.json\r\nTo initialize a project, please create a composer.json file as described in the https://getcomposer.org/ \"Getting Started\" section\r\nDownloading https://repo.packagist.org/packages.json\r\nWriting /home/rob/.cache/composer/repo/https---repo.packagist.org/packages.json into cache\r\nDownloading http://repo.packagist.org/p/provider-2013%24ff6b45f370c6a8807825974c74e362467948123d63a57986bbbf0c1a1c4f8fb7.json\r\nWriting /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2013.json into cache\r\nDownloading http://repo.packagist.org/p/provider-2014%24560744dda0c661537d56a50b9fc0961db56f70b9fb57fd5e1af98f43200e44ff.json\r\nWriting /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2014.json into cache\r\nDownloading http://repo.packagist.org/p/provider-2015%248db0dfe9fa2218521aba2cc34c6e78c049e5a0701e34e7285e6f6fe31e4d1014.json\r\nWriting /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2015.json into cache\r\nDownloading http://repo.packagist.org/p/provider-2016%24d6d47063a04ce248cb76f778309b294d462228fd39798fc9713d7873e6eca7a1.json\r\nWriting /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2016.json into cache\r\nDownloading http://repo.packagist.org/p/provider-2017%249d47e9b83270d18cb3ec60988c286f33a57cb3202171979b057c26de072321ac.json\r\nWriting /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2017.json into cache\r\nDownloading http://repo.packagist.org/p/provider-2017-10%24dbe699b670615d4ea80875d0d3fe65552eb530deb1b1b0bdfc1493c983267dab.json\r\nWriting /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2017-10.json into cache\r\nDownloading http://repo.packagist.org/p/provider-2018-01%2475e84598e15e7495c56891c1b287fb025ec97b8a90e5f7100f6eb56339fd5b00.json\r\nWriting /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2018-01.json into cache\r\nDownloading http://repo.packagist.org/p/provider-2018-04%2408eaca59d1b307d27f505f27b0fc344d860ec90fe29bb0ec42715567bed93a3a.json\r\nWriting /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2018-04.json into cache\r\nDownloading http://repo.packagist.org/p/provider-2018-07%2467f794e352fc8a9ac275724e6c65b683d5ff1f426223d14570c05a0b1b2a75c5.json\r\nWriting /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2018-07.json into cache\r\nReading /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-archived.json from cache\r\nDownloading http://repo.packagist.org/p/provider-latest%24a8525d575e7f20fc9beef488e88a4728b168439458cfece918aa7aae33f6bff2.json\r\nWriting /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-latest.json into cache\r\nReading /home/rob/.cache/composer/repo/https---repo.packagist.org/provider-ximen$ucenter.json from cache\r\nUsing version ^1.0 for ximen/ucenter\r\n./composer.json has been created\r\nReading ./composer.json\r\nLoading config file /home/rob/.config/composer/auth.json\r\nLoading config file ./composer.json\r\nExecuting command (/workdir): git branch --no-color --no-abbrev -v\r\nExecuting command (/workdir): git describe --exact-match --tags\r\nExecuting command (/workdir): git log --pretty=\"%H\" -n1 HEAD\r\nExecuting command (/workdir): hg branch\r\nExecuting command (/workdir): fossil branch list\r\nExecuting command (/workdir): fossil tag list\r\nExecuting command (/workdir): svn info --xml\r\nFailed to initialize global composer: Composer could not find the config file: /home/rob/.config/composer/composer.json\r\nTo initialize a project, please create a composer.json file as described in the https://getcomposer.org/ \"Getting Started\" section\r\nLoading composer repositories with package information\r\nDownloading https://repo.packagist.org/packages.json\r\nWriting /home/rob/.cache/composer/repo/https---repo.packagist.org/packages.json into cache\r\nUpdating dependencies (including require-dev)\r\nReading /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2013.json from cache\r\nReading /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2014.json from cache\r\nReading /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2015.json from cache\r\nReading /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2016.json from cache\r\nReading /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2017.json from cache\r\nReading /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2017-10.json from cache\r\nReading /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2018-01.json from cache\r\nReading /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2018-04.json from cache\r\nReading /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-2018-07.json from cache\r\nReading /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-archived.json from cache\r\nReading /home/rob/.cache/composer/repo/https---repo.packagist.org/p-provider-latest.json from cache\r\nReading /home/rob/.cache/composer/repo/https---repo.packagist.org/provider-ximen$ucenter.json from cache\r\nResolving dependencies through SAT\r\nLooking at all rules.\r\n\r\nDependency resolution completed in 0.000 seconds\r\nAnalyzed 42 packages to resolve dependencies\r\nAnalyzed 43 rules to resolve dependencies\r\nPackage operations: 1 install, 0 updates, 0 removals\r\nInstalls: ximen/ucenter:v1.0.1\r\n  - Installing ximen/ucenter (v1.0.1): Reading /home/rob/.cache/composer/files/ximen/ucenter/b269c30b88031d8b83b974013305b1f3015c1846.zip from cache\r\nLoading from cache\r\n Extracting archiveExecuting command (CWD): unzip -qq  '/workdir/vendor/ximen/ucenter/dcb4478127164e1d2736dd5e8c56c585' -d '/workdir/vendor/composer/7829af7d'\r\n    REASON: Required by the root package: Install command rule (install ximen/ucenter v1.0.1)\r\n\r\nReading /workdir/vendor/composer/installed.json\r\nWriting lock file\r\nGenerating autoload files\r\n```"}}
{"actor":{"display_login":"alcohol"}}