{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/4269","repository_url":"https://api.github.com/repos/composer/composer","labels_url":"https://api.github.com/repos/composer/composer/issues/4269/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/4269/comments","events_url":"https://api.github.com/repos/composer/composer/issues/4269/events","html_url":"https://github.com/composer/composer/issues/4269","id":95800310,"number":4269,"title":"Add a option to install and update command to controll whether loads provider listings","user":{"login":"xjchengo","id":4819996,"avatar_url":"https://avatars.githubusercontent.com/u/4819996?v=3","gravatar_id":"","url":"https://api.github.com/users/xjchengo","html_url":"https://github.com/xjchengo","followers_url":"https://api.github.com/users/xjchengo/followers","following_url":"https://api.github.com/users/xjchengo/following{/other_user}","gists_url":"https://api.github.com/users/xjchengo/gists{/gist_id}","starred_url":"https://api.github.com/users/xjchengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xjchengo/subscriptions","organizations_url":"https://api.github.com/users/xjchengo/orgs","repos_url":"https://api.github.com/users/xjchengo/repos","events_url":"https://api.github.com/users/xjchengo/events{/privacy}","received_events_url":"https://api.github.com/users/xjchengo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/composer/composer/labels/Feature","name":"Feature","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/composer/composer/milestones/4","html_url":"https://github.com/composer/composer/milestones/Nice%20To%20Have","labels_url":"https://api.github.com/repos/composer/composer/milestones/4/labels","id":119020,"number":4,"title":"Nice To Have","description":"Not urgent/critical features, tasks or bugs that are considered good things to work on","creator":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars.githubusercontent.com/u/183678?v=3","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},"open_issues":52,"closed_issues":269,"state":"open","created_at":"2012-05-13T10:21:25Z","updated_at":"2016-07-02T17:07:27Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-07-18T07:34:16Z","updated_at":"2016-07-03T02:30:12Z","closed_at":null,"body":"Most of time, the provider listings loading process needs a lot of time under my network.\r\n```\r\n[4.3MB/0.02s] Reading ./composer.json\r\n[4.4MB/0.02s] Loading config file /home/vagrant/.composer/config.json\r\n[4.5MB/0.02s] Loading config file /home/vagrant/.composer/auth.json\r\n[4.5MB/0.02s] Loading config file ./composer.json\r\n[5.0MB/0.03s] Executing command (CWD): git describe --exact-match --tags\r\n[5.3MB/0.04s] Executing command (CWD): git branch --no-color --no-abbrev -v\r\n[5.3MB/0.04s] Executing command (CWD): hg branch\r\n[5.3MB/0.05s] Executing command (CWD): svn info --xml\r\n[6.8MB/0.07s] Reading /home/vagrant/.composer/composer.json\r\n[6.8MB/0.08s] Loading config file /home/vagrant/.composer/config.json\r\n[6.8MB/0.08s] Loading config file /home/vagrant/.composer/auth.json\r\n[6.8MB/0.08s] Loading config file /home/vagrant/.composer/composer.json\r\n[6.8MB/0.08s] Loading config file /home/vagrant/.composer/auth.json\r\n[6.8MB/0.08s] Executing command (CWD): git describe --exact-match --tags\r\n[6.8MB/0.09s] Executing command (CWD): git branch --no-color --no-abbrev -v\r\n[6.8MB/0.09s] Executing command (CWD): hg branch\r\n[6.9MB/0.10s] Executing command (CWD): svn info --xml\r\n[7.6MB/0.13s] Loading composer repositories with package information\r\n[7.9MB/0.16s] Downloading https://packagist.org/packages.json\r\n[8.0MB/23.93s] Downloading https://packagist.org/packages.json\r\n[8.0MB/25.05s] Writing /home/vagrant/.composer/cache/repo/https---packagist.org/packages.json into cache\r\n[8.0MB/25.07s] Installing dependencies (including require-dev)\r\n[8.4MB/25.08s] Reading /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-2013.json from cache\r\n[8.4MB/25.08s] Reading /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-2014.json from cache\r\n[8.4MB/25.08s] Reading /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-2014-10.json from cache\r\n[8.4MB/25.08s] Reading /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-2015-01.json from cache\r\n[8.4MB/25.12s] Downloading https://packagist.org/p/provider-2015-04$e116192acc59f914d7df3be6e373553528705eea2f18244f6309af5121b43aa0.json\r\n[10.2MB/157.81s] Downloading https://packagist.org/p/provider-2015-04$e116192acc59f914d7df3be6e373553528705eea2f18244f6309af5121b43aa0.json\r\n[48.9MB/180.26s] Writing /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-2015-04.json into cache\r\n[48.2MB/180.31s] Reading /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-2015-07.json from cache\r\n[42.2MB/180.34s] Reading /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-archived.json from cache\r\n[42.0MB/180.37s] Downloading https://packagist.org/p/provider-latest$906f94c57e4950afdcb384142391fadcd3fe7569f148f788b70b9f10ee0077c2.json\r\n[47.1MB/182.60s] Writing /home/vagrant/.composer/cache/repo/https---packagist.org/p-provider-latest.json into cache\r\n[47.1MB/182.67s] Downloading http://packagist.org/p/vlucas/phpdotenv$919fe0a419aa507aa84bfc58a49a02ac1366a1a6c9fd5fb3ba990bf12b795aa1.json\r\n[47.3MB/183.35s] Writing /home/vagrant/.composer/cache/repo/https---packagist.org/provider-vlucas$phpdotenv.json into cache\r\n[47.7MB/183.48s]   - Installing vlucas/phpdotenv (v1.1.0)\r\n[48.2MB/183.54s] Reading /home/vagrant/.composer/cache/files/vlucas/phpdotenv/732d2adb7d916c9593b9d58c3b0d9ebefead07aa.zip from cache\r\n[48.2MB/183.55s]     Loading from cache\r\n[48.2MB/183.55s]     Extracting archive\r\n[48.2MB/183.56s] Executing command (CWD): unzip '/home/vagrant/Projects/composer-test/vendor/vlucas/phpdotenv/de2d6271ee426d5d56ae484f2bbbfe0b' -d '/home/vagrant/Projects/composer-test/vendor/composer/feb0d38c' && chmod -R u+w '/home/vagrant/Projects/composer-test/vendor/composer/feb0d38c'\r\n[48.3MB/183.91s] \r\n[48.3MB/183.91s]     REASON: Required by root: Install command rule (install vlucas/phpdotenv 1.0.0|install vlucas/phpdotenv v1.1.0)\r\n[48.3MB/183.91s] \r\n[47.8MB/185.97s] Writing lock file\r\n[47.8MB/185.97s] Generating autoload files\r\n[47.8MB/186.03s] Memory usage: 47.84MB (peak: 55.11MB), time: 186.03s\r\n```\r\nCan we add a option to install and update command to indicate whether we need loads provider listings? In order to make this work, packagist needs to add `providers-lazy-url` like toran proxy does."},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/230131724","html_url":"https://github.com/composer/composer/issues/4269#issuecomment-230131724","issue_url":"https://api.github.com/repos/composer/composer/issues/4269","id":230131724,"user":{"login":"hirak","id":835251,"avatar_url":"https://avatars.githubusercontent.com/u/835251?v=3","gravatar_id":"","url":"https://api.github.com/users/hirak","html_url":"https://github.com/hirak","followers_url":"https://api.github.com/users/hirak/followers","following_url":"https://api.github.com/users/hirak/following{/other_user}","gists_url":"https://api.github.com/users/hirak/gists{/gist_id}","starred_url":"https://api.github.com/users/hirak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hirak/subscriptions","organizations_url":"https://api.github.com/users/hirak/orgs","repos_url":"https://api.github.com/users/hirak/repos","events_url":"https://api.github.com/users/hirak/events{/privacy}","received_events_url":"https://api.github.com/users/hirak/received_events","type":"User","site_admin":false},"created_at":"2016-07-03T02:30:12Z","updated_at":"2016-07-03T02:30:12Z","body":"@Seldaek If-Non-Match and weak Etag are supported by cloudflare. It's worth a try.\r\n- https://en.wikipedia.org/wiki/HTTP_ETag\r\n- https://support.cloudflare.com/hc/en-us/articles/218505467-Does-CloudFlare-support-ETag-headers-\r\n"}}
{"actor":{"display_login":"hirak"}}