{"action":"created","comment":{"url":"https://api.github.com/repos/phpbb/phpbb/pulls/comments/54929670","id":54929670,"diff_hunk":"@@ -0,0 +1,239 @@\n+<?php\n+/**\n+ *\n+ * This file is part of the phpBB Forum Software package.\n+ *\n+ * @copyright (c) phpBB Limited <https://www.phpbb.com>\n+ * @license GNU General Public License, version 2 (GPL-2.0)\n+ *\n+ * For full copyright and license information, please see\n+ * the docs/CREDITS.txt file.\n+ *\n+ */\n+\n+namespace phpbb\\install\\module\\update_database\\task;\n+\n+use phpbb\\install\\helper\\container_factory;\n+use phpbb\\install\\helper\\config;\n+use phpbb\\install\\helper\\iohandler\\iohandler_interface;\n+use phpbb\\install\\helper\\update_helper;\n+use phpbb\\install\\task_base;\n+use Symfony\\Component\\Finder\\Finder;\n+\n+/**\n+ * Installs extensions that exist in ext folder upon install\n+ */\n+class update_extensions extends task_base\n+{\n+\t/**\n+\t * @var \\phpbb\\cache\\driver\\driver_interface\n+\t */\n+\tprotected $cache;\n+\n+\t/**\n+\t * @var config\n+\t */\n+\tprotected $install_config;\n+\n+\t/**\n+\t * @var iohandler_interface\n+\t */\n+\tprotected $iohandler;\n+\n+\t/** @var update_helper */\n+\tprotected $update_helper;\n+\n+\t/**\n+\t * @var \\phpbb\\config\\db\n+\t */\n+\tprotected $config;\n+\n+\t/**\n+\t * @var \\phpbb\\log\\log_interface\n+\t */\n+\tprotected $log;\n+\n+\t/**\n+\t * @var \\phpbb\\user\n+\t */\n+\tprotected $user;\n+\n+\t/** @var \\phpbb\\extension\\manager */\n+\tprotected $extension_manager;\n+\n+\t/** @var Finder */\n+\tprotected $finder;\n+\n+\t/** @var string Extension table */\n+\tprotected $extension_table;\n+\n+\t/** @var \\phpbb\\db\\driver\\driver_interface */\n+\tprotected $db;\n+\n+\t/**\n+\t * @var array\tList of default extensions to update, grouped by version\n+\t *\t\t\t\tthey were added\n+\t */\n+\tprivate $default_update = [\n+\t\t'3.2.0-b2' => ['phpbb/viglink']\n+\t];\n+\n+\t/**\n+\t * Constructor\n+\t *\n+\t * @param container_factory\t\t\t$container\n+\t * @param config\t\t\t\t\t$install_config\n+\t * @param iohandler_interface\t\t$iohandler\n+\t * @param $update_helper\t\t\t$update_helper\n+\t * @param string\t\t\t\t\t$phpbb_root_path phpBB root path\n+\t */\n+\tpublic function __construct(container_factory $container, config $install_config, iohandler_interface $iohandler, update_helper $update_helper, $phpbb_root_path)\n+\t{\n+\t\t$this->install_config\t= $install_config;\n+\t\t$this->iohandler\t\t= $iohandler;\n+\t\t$this->extension_table = $container->get_parameter('tables.ext');\n+\n+\t\t$this->log\t\t\t\t= $container->get('log');\n+\t\t$this->user\t\t\t\t= $container->get('user');\n+\t\t$this->extension_manager = $container->get('ext.manager');\n+\t\t$this->cache\t\t\t\t= $container->get('cache.driver');\n+\t\t$this->config\t\t\t= $container->get('config');\n+\t\t$this->db\t\t\t\t= $container->get('dbal.conn');\n+\t\t$this->update_helper = $update_helper;\n+\t\t$this->finder = new Finder();\n+\t\t$this->finder->in($phpbb_root_path . 'ext/')\n+\t\t\t->ignoreUnreadableDirs()\n+\t\t\t->depth('< 3')\n+\t\t\t->files()\n+\t\t\t->name('composer.json');\n+\n+\t\t// Make sure asset version exists in config. Otherwise we might try to\n+\t\t// insert the assets_version setting into the database and cause a\n+\t\t// duplicate entry error.\n+\t\tif (!isset($this->config['assets_version']))\n+\t\t{\n+\t\t\t$this->config['assets_version'] = 0;\n+\t\t}\n+\n+\t\tparent::__construct(true);\n+\t}\n+\n+\t/**\n+\t * {@inheritdoc}\n+\t */\n+\tpublic function run()\n+\t{\n+\t\t$this->user->session_begin();\n+\t\t$this->user->setup(array('common', 'acp/common', 'cli'));\n+\n+\t\t$update_info = $this->install_config->get('update_info_unprocessed', []);\n+\t\t$version_from = !empty($update_info) ? $update_info['version']['from'] : $this->config['version_update_from'];\n+\n+\t\tif (!empty($version_from))\n+\t\t{\n+\t\t\t$update_extensions = $this->iohandler->get_input('update-extensions', []);\n+\n+\t\t\t// Create list of default extensions that need to be enabled in update\n+\t\t\t$default_update_extensions = [];\n+\t\t\tforeach ($this->default_update as $version => $extensions)\n+\t\t\t{\n+\t\t\t\tif ($this->update_helper->phpbb_version_compare($version_from, $version, '<'))\n+\t\t\t\t{\n+\t\t\t\t\t$default_update_extensions = array_merge($default_update_extensions, $extensions);\n+\t\t\t\t}\n+\t\t\t}\n+\n+\t\t\t// Find available extensions\n+\t\t\tforeach ($this->finder as $file)\n+\t\t\t{\n+\t\t\t\t/** @var \\SplFileInfo $file */\n+\t\t\t\t$ext_name = preg_replace('#(.+[\\\\/\\\\\\]ext[\\\\/\\\\\\])(\\w+)[\\\\/\\\\\\](\\w+)#', '$2/$3', dirname($file->getRealPath()));\n+\n+\t\t\t\t// Update extensions if:\n+\t\t\t\t//\t1) Extension is currently enabled\n+\t\t\t\t//\t2) Extension was implicitly defined as needing an update\n+\t\t\t\t//\t3) Extension was newly added as default phpBB extension in\n+\t\t\t\t//\t\tthis update and should be enabled by default.\n+\t\t\t\tif ($this->extension_manager->is_available($ext_name) &&\n+\t\t\t\t\t(\n+\t\t\t\t\t\t$this->extension_manager->is_enabled($ext_name) ||\n+\t\t\t\t\t\tin_array($ext_name, $update_extensions) ||\n+\t\t\t\t\t\tin_array($ext_name, $default_update_extensions)\n+\t\t\t\t\t)\n+\t\t\t\t)\n+\t\t\t\t{\n+\t\t\t\t\t$extension_enabled = $this->extension_manager->is_enabled($ext_name);\n+\t\t\t\t\tif ($extension_enabled)\n+\t\t\t\t\t{\n+\t\t\t\t\t\t$this->extension_manager->disable($ext_name);\n+\t\t\t\t\t}\n+\t\t\t\t\t$this->extension_manager->enable($ext_name);\n+\t\t\t\t\t$extensions = $this->get_extensions();\n+\n+\t\t\t\t\tif (isset($extensions[$ext_name]) && $extensions[$ext_name]['ext_active'])\n+\t\t\t\t\t{\n+\t\t\t\t\t\t// Create log\n+\t\t\t\t\t\t$this->log->add('admin', ANONYMOUS, '', 'LOG_EXT_ENABLE', time(), array($ext_name));\n+\t\t\t\t\t} else\n+\t\t\t\t\t{\n+\t\t\t\t\t\t$this->iohandler->add_log_message('CLI_EXTENSION_ENABLE_FAILURE', array($ext_name));\n+\t\t\t\t\t}\n+\n+\t\t\t\t\t// Disable extensions if it was disabled by the admin before\n+\t\t\t\t\tif (!$extension_enabled && !in_array($ext_name, $default_update_extensions))\n+\t\t\t\t\t{\n+\t\t\t\t\t\t$this->extension_manager->disable($ext_name);","path":"phpBB/phpbb/install/module/update_database/task/update_extensions.php","position":185,"original_position":185,"commit_id":"687ee21f5435670b6fc52ef091f136dcf2c5aea9","original_commit_id":"687ee21f5435670b6fc52ef091f136dcf2c5aea9","user":{"login":"marc1706","id":394418,"avatar_url":"https://avatars.githubusercontent.com/u/394418?v=3","gravatar_id":"","url":"https://api.github.com/users/marc1706","html_url":"https://github.com/marc1706","followers_url":"https://api.github.com/users/marc1706/followers","following_url":"https://api.github.com/users/marc1706/following{/other_user}","gists_url":"https://api.github.com/users/marc1706/gists{/gist_id}","starred_url":"https://api.github.com/users/marc1706/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marc1706/subscriptions","organizations_url":"https://api.github.com/users/marc1706/orgs","repos_url":"https://api.github.com/users/marc1706/repos","events_url":"https://api.github.com/users/marc1706/events{/privacy}","received_events_url":"https://api.github.com/users/marc1706/received_events","type":"User","site_admin":false},"body":"This will only be the case if the admin \"forces\" a set of extensions to update during an update using the CLI config. In that case the admin is explicitly stating which extensions should be updated. Therefore this is no case of accidental enabling / disabling.","created_at":"2016-03-03T19:04:59Z","updated_at":"2016-03-03T19:04:59Z","html_url":"https://github.com/phpbb/phpbb/pull/4189#discussion_r54929670","pull_request_url":"https://api.github.com/repos/phpbb/phpbb/pulls/4189","_links":{"self":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/comments/54929670"},"html":{"href":"https://github.com/phpbb/phpbb/pull/4189#discussion_r54929670"},"pull_request":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/4189"}}},"pull_request":{"url":"https://api.github.com/repos/phpbb/phpbb/pulls/4189","id":60046027,"html_url":"https://github.com/phpbb/phpbb/pull/4189","diff_url":"https://github.com/phpbb/phpbb/pull/4189.diff","patch_url":"https://github.com/phpbb/phpbb/pull/4189.patch","issue_url":"https://api.github.com/repos/phpbb/phpbb/issues/4189","number":4189,"state":"open","locked":false,"title":"[ticket/14492] Improve send stats page and include VigLink","user":{"login":"marc1706","id":394418,"avatar_url":"https://avatars.githubusercontent.com/u/394418?v=3","gravatar_id":"","url":"https://api.github.com/users/marc1706","html_url":"https://github.com/marc1706","followers_url":"https://api.github.com/users/marc1706/followers","following_url":"https://api.github.com/users/marc1706/following{/other_user}","gists_url":"https://api.github.com/users/marc1706/gists{/gist_id}","starred_url":"https://api.github.com/users/marc1706/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marc1706/subscriptions","organizations_url":"https://api.github.com/users/marc1706/orgs","repos_url":"https://api.github.com/users/marc1706/repos","events_url":"https://api.github.com/users/marc1706/events{/privacy}","received_events_url":"https://api.github.com/users/marc1706/received_events","type":"User","site_admin":false},"body":"Todo:\r\n\r\n- [x] Improve console command for install/update incl. info on commands\r\n- [x] Checkout tags of ext in build script\r\n- [x] Make sure to allow install when updating from pre-PR version\r\n- [x] Redirect to help phpBB page after install\r\n\r\nTicket: https://tracker.phpbb.com/browse/PHPBB3-14492","created_at":"2016-02-20T11:44:30Z","updated_at":"2016-03-03T19:04:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d56cd15265d1acf8ec70900875178d8dabbbb123","assignee":null,"milestone":{"url":"https://api.github.com/repos/phpbb/phpbb/milestones/14","html_url":"https://github.com/phpbb/phpbb/milestones/3.2.0-b2","labels_url":"https://api.github.com/repos/phpbb/phpbb/milestones/14/labels","id":1563284,"number":14,"title":"3.2.0-b2","description":"","creator":{"login":"Nicofuma","id":591456,"avatar_url":"https://avatars.githubusercontent.com/u/591456?v=3","gravatar_id":"","url":"https://api.github.com/users/Nicofuma","html_url":"https://github.com/Nicofuma","followers_url":"https://api.github.com/users/Nicofuma/followers","following_url":"https://api.github.com/users/Nicofuma/following{/other_user}","gists_url":"https://api.github.com/users/Nicofuma/gists{/gist_id}","starred_url":"https://api.github.com/users/Nicofuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nicofuma/subscriptions","organizations_url":"https://api.github.com/users/Nicofuma/orgs","repos_url":"https://api.github.com/users/Nicofuma/repos","events_url":"https://api.github.com/users/Nicofuma/events{/privacy}","received_events_url":"https://api.github.com/users/Nicofuma/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":20,"state":"open","created_at":"2016-02-04T13:44:12Z","updated_at":"2016-03-03T11:44:02Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/phpbb/phpbb/pulls/4189/commits","review_comments_url":"https://api.github.com/repos/phpbb/phpbb/pulls/4189/comments","review_comment_url":"https://api.github.com/repos/phpbb/phpbb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phpbb/phpbb/issues/4189/comments","statuses_url":"https://api.github.com/repos/phpbb/phpbb/statuses/687ee21f5435670b6fc52ef091f136dcf2c5aea9","head":{"label":"marc1706:ticket/14492","ref":"ticket/14492","sha":"687ee21f5435670b6fc52ef091f136dcf2c5aea9","user":{"login":"marc1706","id":394418,"avatar_url":"https://avatars.githubusercontent.com/u/394418?v=3","gravatar_id":"","url":"https://api.github.com/users/marc1706","html_url":"https://github.com/marc1706","followers_url":"https://api.github.com/users/marc1706/followers","following_url":"https://api.github.com/users/marc1706/following{/other_user}","gists_url":"https://api.github.com/users/marc1706/gists{/gist_id}","starred_url":"https://api.github.com/users/marc1706/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marc1706/subscriptions","organizations_url":"https://api.github.com/users/marc1706/orgs","repos_url":"https://api.github.com/users/marc1706/repos","events_url":"https://api.github.com/users/marc1706/events{/privacy}","received_events_url":"https://api.github.com/users/marc1706/received_events","type":"User","site_admin":false},"repo":{"id":901025,"name":"phpbb","full_name":"marc1706/phpbb","owner":{"login":"marc1706","id":394418,"avatar_url":"https://avatars.githubusercontent.com/u/394418?v=3","gravatar_id":"","url":"https://api.github.com/users/marc1706","html_url":"https://github.com/marc1706","followers_url":"https://api.github.com/users/marc1706/followers","following_url":"https://api.github.com/users/marc1706/following{/other_user}","gists_url":"https://api.github.com/users/marc1706/gists{/gist_id}","starred_url":"https://api.github.com/users/marc1706/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marc1706/subscriptions","organizations_url":"https://api.github.com/users/marc1706/orgs","repos_url":"https://api.github.com/users/marc1706/repos","events_url":"https://api.github.com/users/marc1706/events{/privacy}","received_events_url":"https://api.github.com/users/marc1706/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marc1706/phpbb","description":" phpBB 3 Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.","fork":true,"url":"https://api.github.com/repos/marc1706/phpbb","forks_url":"https://api.github.com/repos/marc1706/phpbb/forks","keys_url":"https://api.github.com/repos/marc1706/phpbb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marc1706/phpbb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marc1706/phpbb/teams","hooks_url":"https://api.github.com/repos/marc1706/phpbb/hooks","issue_events_url":"https://api.github.com/repos/marc1706/phpbb/issues/events{/number}","events_url":"https://api.github.com/repos/marc1706/phpbb/events","assignees_url":"https://api.github.com/repos/marc1706/phpbb/assignees{/user}","branches_url":"https://api.github.com/repos/marc1706/phpbb/branches{/branch}","tags_url":"https://api.github.com/repos/marc1706/phpbb/tags","blobs_url":"https://api.github.com/repos/marc1706/phpbb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marc1706/phpbb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marc1706/phpbb/git/refs{/sha}","trees_url":"https://api.github.com/repos/marc1706/phpbb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marc1706/phpbb/statuses/{sha}","languages_url":"https://api.github.com/repos/marc1706/phpbb/languages","stargazers_url":"https://api.github.com/repos/marc1706/phpbb/stargazers","contributors_url":"https://api.github.com/repos/marc1706/phpbb/contributors","subscribers_url":"https://api.github.com/repos/marc1706/phpbb/subscribers","subscription_url":"https://api.github.com/repos/marc1706/phpbb/subscription","commits_url":"https://api.github.com/repos/marc1706/phpbb/commits{/sha}","git_commits_url":"https://api.github.com/repos/marc1706/phpbb/git/commits{/sha}","comments_url":"https://api.github.com/repos/marc1706/phpbb/comments{/number}","issue_comment_url":"https://api.github.com/repos/marc1706/phpbb/issues/comments{/number}","contents_url":"https://api.github.com/repos/marc1706/phpbb/contents/{+path}","compare_url":"https://api.github.com/repos/marc1706/phpbb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marc1706/phpbb/merges","archive_url":"https://api.github.com/repos/marc1706/phpbb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marc1706/phpbb/downloads","issues_url":"https://api.github.com/repos/marc1706/phpbb/issues{/number}","pulls_url":"https://api.github.com/repos/marc1706/phpbb/pulls{/number}","milestones_url":"https://api.github.com/repos/marc1706/phpbb/milestones{/number}","notifications_url":"https://api.github.com/repos/marc1706/phpbb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marc1706/phpbb/labels{/name}","releases_url":"https://api.github.com/repos/marc1706/phpbb/releases{/id}","deployments_url":"https://api.github.com/repos/marc1706/phpbb/deployments","created_at":"2010-09-10T10:16:28Z","updated_at":"2015-02-17T16:13:49Z","pushed_at":"2016-03-03T11:33:44Z","git_url":"git://github.com/marc1706/phpbb.git","ssh_url":"git@github.com:marc1706/phpbb.git","clone_url":"https://github.com/marc1706/phpbb.git","svn_url":"https://github.com/marc1706/phpbb","homepage":"http://www.phpbb.com","size":55411,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":4,"default_branch":"3.1.x"}},"base":{"label":"phpbb:3.2.x","ref":"3.2.x","sha":"942383d74320612ca8d4eb413c1d23459942028a","user":{"login":"phpbb","id":176697,"avatar_url":"https://avatars.githubusercontent.com/u/176697?v=3","gravatar_id":"","url":"https://api.github.com/users/phpbb","html_url":"https://github.com/phpbb","followers_url":"https://api.github.com/users/phpbb/followers","following_url":"https://api.github.com/users/phpbb/following{/other_user}","gists_url":"https://api.github.com/users/phpbb/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbb/subscriptions","organizations_url":"https://api.github.com/users/phpbb/orgs","repos_url":"https://api.github.com/users/phpbb/repos","events_url":"https://api.github.com/users/phpbb/events{/privacy}","received_events_url":"https://api.github.com/users/phpbb/received_events","type":"Organization","site_admin":false},"repo":{"id":541983,"name":"phpbb","full_name":"phpbb/phpbb","owner":{"login":"phpbb","id":176697,"avatar_url":"https://avatars.githubusercontent.com/u/176697?v=3","gravatar_id":"","url":"https://api.github.com/users/phpbb","html_url":"https://github.com/phpbb","followers_url":"https://api.github.com/users/phpbb/followers","following_url":"https://api.github.com/users/phpbb/following{/other_user}","gists_url":"https://api.github.com/users/phpbb/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbb/subscriptions","organizations_url":"https://api.github.com/users/phpbb/orgs","repos_url":"https://api.github.com/users/phpbb/repos","events_url":"https://api.github.com/users/phpbb/events{/privacy}","received_events_url":"https://api.github.com/users/phpbb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phpbb/phpbb","description":" phpBB 3 Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.","fork":false,"url":"https://api.github.com/repos/phpbb/phpbb","forks_url":"https://api.github.com/repos/phpbb/phpbb/forks","keys_url":"https://api.github.com/repos/phpbb/phpbb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpbb/phpbb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpbb/phpbb/teams","hooks_url":"https://api.github.com/repos/phpbb/phpbb/hooks","issue_events_url":"https://api.github.com/repos/phpbb/phpbb/issues/events{/number}","events_url":"https://api.github.com/repos/phpbb/phpbb/events","assignees_url":"https://api.github.com/repos/phpbb/phpbb/assignees{/user}","branches_url":"https://api.github.com/repos/phpbb/phpbb/branches{/branch}","tags_url":"https://api.github.com/repos/phpbb/phpbb/tags","blobs_url":"https://api.github.com/repos/phpbb/phpbb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpbb/phpbb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpbb/phpbb/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpbb/phpbb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpbb/phpbb/statuses/{sha}","languages_url":"https://api.github.com/repos/phpbb/phpbb/languages","stargazers_url":"https://api.github.com/repos/phpbb/phpbb/stargazers","contributors_url":"https://api.github.com/repos/phpbb/phpbb/contributors","subscribers_url":"https://api.github.com/repos/phpbb/phpbb/subscribers","subscription_url":"https://api.github.com/repos/phpbb/phpbb/subscription","commits_url":"https://api.github.com/repos/phpbb/phpbb/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpbb/phpbb/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpbb/phpbb/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpbb/phpbb/issues/comments{/number}","contents_url":"https://api.github.com/repos/phpbb/phpbb/contents/{+path}","compare_url":"https://api.github.com/repos/phpbb/phpbb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpbb/phpbb/merges","archive_url":"https://api.github.com/repos/phpbb/phpbb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpbb/phpbb/downloads","issues_url":"https://api.github.com/repos/phpbb/phpbb/issues{/number}","pulls_url":"https://api.github.com/repos/phpbb/phpbb/pulls{/number}","milestones_url":"https://api.github.com/repos/phpbb/phpbb/milestones{/number}","notifications_url":"https://api.github.com/repos/phpbb/phpbb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpbb/phpbb/labels{/name}","releases_url":"https://api.github.com/repos/phpbb/phpbb/releases{/id}","deployments_url":"https://api.github.com/repos/phpbb/phpbb/deployments","created_at":"2010-03-01T22:33:17Z","updated_at":"2016-03-03T13:22:28Z","pushed_at":"2016-03-03T11:55:41Z","git_url":"git://github.com/phpbb/phpbb.git","ssh_url":"git@github.com:phpbb/phpbb.git","clone_url":"https://github.com/phpbb/phpbb.git","svn_url":"https://github.com/phpbb/phpbb","homepage":"http://www.phpbb.com","size":176770,"stargazers_count":842,"watchers_count":842,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":534,"mirror_url":null,"open_issues_count":58,"forks":534,"open_issues":58,"watchers":842,"default_branch":"3.1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/4189"},"html":{"href":"https://github.com/phpbb/phpbb/pull/4189"},"issue":{"href":"https://api.github.com/repos/phpbb/phpbb/issues/4189"},"comments":{"href":"https://api.github.com/repos/phpbb/phpbb/issues/4189/comments"},"review_comments":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/4189/comments"},"review_comment":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/4189/commits"},"statuses":{"href":"https://api.github.com/repos/phpbb/phpbb/statuses/687ee21f5435670b6fc52ef091f136dcf2c5aea9"}}}}