{"action":"created","comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments/221468795","pull_request_review_id":160123939,"id":221468795,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTQ2ODc5NQ==","diff_hunk":"@@ -0,0 +1,648 @@\n+<?php\n+/**\n+ * Joomla! Content Management System\n+ *\n+ * @copyright  Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.\n+ * @license    GNU General Public License version 2 or later; see LICENSE.txt\n+ */\n+\n+namespace Joomla\\CMS\\WebAsset;\n+\n+defined('JPATH_PLATFORM') or die;\n+\n+use Joomla\\CMS\\Document\\Document;\n+use Joomla\\CMS\\Event\\AbstractEvent;\n+use Joomla\\CMS\\Factory;\n+use Joomla\\CMS\\Filesystem\\Path;\n+use Joomla\\Event\\DispatcherAwareInterface;\n+use Joomla\\Event\\DispatcherAwareTrait;\n+\n+/**\n+ * Web Asset Factory class\n+ *\n+ * @since  __DEPLOY_VERSION__\n+ */\n+class WebAssetRegistry implements DispatcherAwareInterface\n+{\n+\tuse DispatcherAwareTrait;\n+\n+\t/**\n+\t * Mark the new registry file\n+\t *\n+\t * @var integer\n+\t *\n+\t * @since  __DEPLOY_VERSION__\n+\t */\n+\tconst REGISTRY_FILE_NEW = 1;\n+\n+\t/**\n+\t * Mark already parsed registry file\n+\t *\n+\t * @var integer\n+\t *\n+\t * @since  __DEPLOY_VERSION__\n+\t */\n+\tconst REGISTRY_FILE_PARSED = 2;\n+\n+\t/**\n+\t * Mark a broken/not-existing registry file\n+\t *\n+\t * @var integer\n+\t *\n+\t * @since  __DEPLOY_VERSION__\n+\t */\n+\tconst REGISTRY_FILE_INVALID = -1;\n+\n+\t/**\n+\t * Files with Asset info. File path should be relative.\n+\t *\n+\t * @example of data file:\n+\t *\n+\t * {\n+\t *\t\t\"title\" : \"Example\",\n+\t *\t\t\"name\"  : \"com_example\",\n+\t *\t\t\"author\": \"Joomla! CMS\",\n+\t *\t\t\"assets\": [\n+\t *\t\t\t{\n+\t *\t\t\t\t\"name\": \"library1\",\n+\t *\t\t\t\t\"version\": \"3.5.0\",\n+\t *\t\t\t\t\"js\": [\n+\t *\t\t\t\t\t\"com_example/library1.min.js\"\n+\t *\t\t\t\t]\n+\t *\t\t\t},\n+\t *\t\t\t{\n+\t *\t\t\t\t\"name\": \"library2\",\n+\t *\t\t\t\t\"version\": \"3.5.0\",\n+\t *\t\t\t\t\"js\": [\n+\t *\t\t\t\t\t\"com_example/library2.min.js\"\n+\t *\t\t\t\t],\n+\t *\t\t\t\t\"css\": [\n+\t *\t\t\t\t\t\"com_example/library2.css\"\n+\t *\t\t\t\t],\n+\t *\t\t\t\t\"dependency\": [\n+\t *\t\t\t\t\t\"core\",\n+\t *\t\t\t\t\t\"library1\"\n+\t *\t\t\t\t],\n+\t *\t\t\t\t\"attribute\": {\n+\t *\t\t\t\t\t\"com_example/library2.min.js\": {\n+\t *\t\t\t\t\t\t\"attrname\": \"attrvalue\"\n+\t *\t\t\t\t\t},\n+\t *\t\t\t\t\t\"com_example/library2.css\": {\n+\t *\t\t\t\t\t\t\"media\": \"all\"\n+\t *\t\t\t\t\t}\n+\t *\t\t\t\t}\n+\t *\t\t\t},\n+\t *\t\t]\n+\t *\t}\n+\t *\n+\t * @var    array\n+\t *\n+\t * @since  __DEPLOY_VERSION__\n+\t */\n+\tprotected $dataFiles = [];\n+\n+\t/**\n+\t * Registry of available Assets\n+\t *\n+\t * @var array\n+\t *\n+\t * @since  __DEPLOY_VERSION__\n+\t */\n+\tprotected $assets = [];\n+\n+\t/**\n+\t * Weight of the most heavier and active asset\n+\t *\n+\t * @var float\n+\t *\n+\t * @since  __DEPLOY_VERSION__\n+\t */\n+\tprotected $lastItemWeight = 1;\n+\n+\t/**\n+\t * Class constructor\n+\t *\n+\t * @since  __DEPLOY_VERSION__\n+\t */\n+\tpublic function __construct()\n+\t{\n+\t\t$app = Factory::getApplication();\n+\n+\t\t// Core registry files\n+\t\t$this->addRegistryFile('media/system/joomla.asset.json');\n+\t\t$this->addRegistryFile('media/vendor/joomla.asset.json');\n+\t\t$this->addRegistryFile('media/legacy/joomla.asset.json');\n+\n+\t\t// Add for active component","path":"libraries/src/WebAsset/WebAssetRegistry.php","position":136,"original_position":136,"commit_id":"3b05879e01e7924a826858f7833c717c78680b7d","original_commit_id":"3b05879e01e7924a826858f7833c717c78680b7d","user":{"login":"Fedik","id":1568198,"node_id":"MDQ6VXNlcjE1NjgxOTg=","avatar_url":"https://avatars1.githubusercontent.com/u/1568198?v=4","gravatar_id":"","url":"https://api.github.com/users/Fedik","html_url":"https://github.com/Fedik","followers_url":"https://api.github.com/users/Fedik/followers","following_url":"https://api.github.com/users/Fedik/following{/other_user}","gists_url":"https://api.github.com/users/Fedik/gists{/gist_id}","starred_url":"https://api.github.com/users/Fedik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fedik/subscriptions","organizations_url":"https://api.github.com/users/Fedik/orgs","repos_url":"https://api.github.com/users/Fedik/repos","events_url":"https://api.github.com/users/Fedik/events{/privacy}","received_events_url":"https://api.github.com/users/Fedik/received_events","type":"User","site_admin":false},"body":"I also not sure where this belong. I can move it everywhere, just need to find a good place.\r\n\r\nThe thing, is ordering. The files should be added in specific order, because each next file will override assets from previous file, if there are the same assets.\r\n\r\nThe idea that first goes:\r\n - core assets\r\n - component assets\r\n - template assets\r\n\r\nSo I assume that the Core assets should be added immediately after `new WebAssetRegistry`.\r\nAll else, maybe you are right, I try in `$app->dispatch()`\r\n","created_at":"2018-09-30T18:34:18Z","updated_at":"2018-09-30T18:34:18Z","html_url":"https://github.com/joomla/joomla-cms/pull/22435#discussion_r221468795","pull_request_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/22435","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments/221468795"},"html":{"href":"https://github.com/joomla/joomla-cms/pull/22435#discussion_r221468795"},"pull_request":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/22435"}},"in_reply_to_id":221463498},"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/22435","id":219198401,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5MTk4NDAx","html_url":"https://github.com/joomla/joomla-cms/pull/22435","diff_url":"https://github.com/joomla/joomla-cms/pull/22435.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/22435.patch","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/22435","number":22435,"state":"open","locked":false,"title":"[4.0][RFC]  Elephant can manage assets also. The WebAssetRegistry class to manage assets and it`s dependacies","user":{"login":"Fedik","id":1568198,"node_id":"MDQ6VXNlcjE1NjgxOTg=","avatar_url":"https://avatars1.githubusercontent.com/u/1568198?v=4","gravatar_id":"","url":"https://api.github.com/users/Fedik","html_url":"https://github.com/Fedik","followers_url":"https://api.github.com/users/Fedik/followers","following_url":"https://api.github.com/users/Fedik/following{/other_user}","gists_url":"https://api.github.com/users/Fedik/gists{/gist_id}","starred_url":"https://api.github.com/users/Fedik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fedik/subscriptions","organizations_url":"https://api.github.com/users/Fedik/orgs","repos_url":"https://api.github.com/users/Fedik/repos","events_url":"https://api.github.com/users/Fedik/events{/privacy}","received_events_url":"https://api.github.com/users/Fedik/received_events","type":"User","site_admin":false},"body":"Pull Request for Issue #12402, improved version of #8913 .\r\n\r\n### Summary of Changes\r\nThe patch introduce new class `WebAssetRegistry` to manage the assets, and it's dependencies.\r\n**The assets** - > read as CSS/JS library.\r\n\r\n#### How it works\r\nAll registry information stored in a registry file, a simple `json` file called `joomla.asset.json`.\r\nI made an example for `media/vendor/joomla.asset.json`, `media/system/joomla.asset.json`, and for each template `atum/joomla.asset.json`, `cassiopeia/joomla.asset.json`.\r\n\r\nThe Registry file are for:\r\n * The registry file contain an information about provided assets. \r\n * Each asset provide dependencies, and js/css files which be attached to the Document on header rendering event.\r\n * Each asset can be overridden by another registry file (take a look in `atum/joomla.asset.json` where overridden `bootstrap.css`, and `font-awesome`).\r\n\r\n**To add your registry file:**\r\n```php\r\nFactory::getContainer()->get('webasset')\r\n  ->addRegistryFile('media/blabla/path/joomla.asset.json')\r\n```\r\n\r\n**How to use, enable/disable assets:**\r\n```php\r\n/** @var Joomla\\CMS\\WebAsset\\WebAssetRegistry $wa */\r\n$wa = Factory::getContainer()->get('webasset');\r\n\r\n// Enable Core asset\r\n$wa->enableAsset('core');\r\n// If the asset do not exists, then Exception will be thrown\r\n\r\n// Disable Bootstrap CSS\r\n$wa->disableAsset('bootstrap.css'); \r\n// bootstrap.css - is an asset name, not a file name !!!\r\n// look in media/vendor/joomla.asset.json to see why\r\n```\r\n\r\n**NOTE:** Method `enableAsset()` / `disableAsset()` do NOT add anything to the document. It just change the asset state. The files of all active assets will be attached to the Document on before header rendering.\r\n\r\n\r\nBy default `WebAssetRegistry` use a \"lazy loading\" of assets.\r\nThe registry file parsed only when `WebAssetRegistry` requested for new asset.\r\nAll dependencies will be resolved while attaching WebAssetRegistry to the document. See `WebAssetRegistry::attach()`\r\n\r\n\r\nAlso I have made an example in `behavior.core`, `bootstrap.framework`.\r\n\r\n### Further changes/ideas\r\nAllow custom class per asset, that can handle stuff like in 'behavior.core':\r\n```php\r\nfunction onBeforeAtach() {\r\n  $doc->addScriptOptions('system.paths', [\r\n\t'root' => Uri::root(true),\r\n\t'rootFull' => Uri::root(),\r\n\t'base' => Uri::base(true),\r\n  ]);\r\n}\r\n```\r\nIn theory, this allow to clean up JHtml from adding a scripts.\r\n\r\nFor now feedback are welcome! :neckbeard: \r\n\r\n### Documentation Changes Required\r\nyes, if it will be accepted\r\n\r\nping @wilsonge @mbabker @dgrammatiko @C-Lodder @laoneo \r\nalso everyone else who doing frondend stuff\r\n","created_at":"2018-09-30T10:40:12Z","updated_at":"2018-09-30T18:34:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b26993b9738c53b571d25b9ba98046fbad905f79","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":444033883,"node_id":"MDU6TGFiZWw0NDQwMzM4ODM=","url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-4.0-dev","name":"PR-4.0-dev","color":"ededed","default":false},{"id":31297684,"node_id":"MDU6TGFiZWwzMTI5NzY4NA==","url":"https://api.github.com/repos/joomla/joomla-cms/labels/Request%20for%20Comment","name":"Request for Comment","color":"02d7e1","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/22435/commits","review_comments_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/22435/comments","review_comment_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/22435/comments","statuses_url":"https://api.github.com/repos/joomla/joomla-cms/statuses/3b05879e01e7924a826858f7833c717c78680b7d","head":{"label":"Fedik:asset4","ref":"asset4","sha":"3b05879e01e7924a826858f7833c717c78680b7d","user":{"login":"Fedik","id":1568198,"node_id":"MDQ6VXNlcjE1NjgxOTg=","avatar_url":"https://avatars1.githubusercontent.com/u/1568198?v=4","gravatar_id":"","url":"https://api.github.com/users/Fedik","html_url":"https://github.com/Fedik","followers_url":"https://api.github.com/users/Fedik/followers","following_url":"https://api.github.com/users/Fedik/following{/other_user}","gists_url":"https://api.github.com/users/Fedik/gists{/gist_id}","starred_url":"https://api.github.com/users/Fedik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fedik/subscriptions","organizations_url":"https://api.github.com/users/Fedik/orgs","repos_url":"https://api.github.com/users/Fedik/repos","events_url":"https://api.github.com/users/Fedik/events{/privacy}","received_events_url":"https://api.github.com/users/Fedik/received_events","type":"User","site_admin":false},"repo":{"id":7179494,"node_id":"MDEwOlJlcG9zaXRvcnk3MTc5NDk0","name":"joomla-cms","full_name":"Fedik/joomla-cms","private":false,"owner":{"login":"Fedik","id":1568198,"node_id":"MDQ6VXNlcjE1NjgxOTg=","avatar_url":"https://avatars1.githubusercontent.com/u/1568198?v=4","gravatar_id":"","url":"https://api.github.com/users/Fedik","html_url":"https://github.com/Fedik","followers_url":"https://api.github.com/users/Fedik/followers","following_url":"https://api.github.com/users/Fedik/following{/other_user}","gists_url":"https://api.github.com/users/Fedik/gists{/gist_id}","starred_url":"https://api.github.com/users/Fedik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fedik/subscriptions","organizations_url":"https://api.github.com/users/Fedik/orgs","repos_url":"https://api.github.com/users/Fedik/repos","events_url":"https://api.github.com/users/Fedik/events{/privacy}","received_events_url":"https://api.github.com/users/Fedik/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Fedik/joomla-cms","description":"Home of the Joomla! Content Management System","fork":true,"url":"https://api.github.com/repos/Fedik/joomla-cms","forks_url":"https://api.github.com/repos/Fedik/joomla-cms/forks","keys_url":"https://api.github.com/repos/Fedik/joomla-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fedik/joomla-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fedik/joomla-cms/teams","hooks_url":"https://api.github.com/repos/Fedik/joomla-cms/hooks","issue_events_url":"https://api.github.com/repos/Fedik/joomla-cms/issues/events{/number}","events_url":"https://api.github.com/repos/Fedik/joomla-cms/events","assignees_url":"https://api.github.com/repos/Fedik/joomla-cms/assignees{/user}","branches_url":"https://api.github.com/repos/Fedik/joomla-cms/branches{/branch}","tags_url":"https://api.github.com/repos/Fedik/joomla-cms/tags","blobs_url":"https://api.github.com/repos/Fedik/joomla-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fedik/joomla-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fedik/joomla-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fedik/joomla-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fedik/joomla-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/Fedik/joomla-cms/languages","stargazers_url":"https://api.github.com/repos/Fedik/joomla-cms/stargazers","contributors_url":"https://api.github.com/repos/Fedik/joomla-cms/contributors","subscribers_url":"https://api.github.com/repos/Fedik/joomla-cms/subscribers","subscription_url":"https://api.github.com/repos/Fedik/joomla-cms/subscription","commits_url":"https://api.github.com/repos/Fedik/joomla-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fedik/joomla-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fedik/joomla-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fedik/joomla-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fedik/joomla-cms/contents/{+path}","compare_url":"https://api.github.com/repos/Fedik/joomla-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fedik/joomla-cms/merges","archive_url":"https://api.github.com/repos/Fedik/joomla-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fedik/joomla-cms/downloads","issues_url":"https://api.github.com/repos/Fedik/joomla-cms/issues{/number}","pulls_url":"https://api.github.com/repos/Fedik/joomla-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/Fedik/joomla-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/Fedik/joomla-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fedik/joomla-cms/labels{/name}","releases_url":"https://api.github.com/repos/Fedik/joomla-cms/releases{/id}","deployments_url":"https://api.github.com/repos/Fedik/joomla-cms/deployments","created_at":"2012-12-15T13:09:18Z","updated_at":"2018-01-09T18:07:35Z","pushed_at":"2018-09-30T11:10:55Z","git_url":"git://github.com/Fedik/joomla-cms.git","ssh_url":"git@github.com:Fedik/joomla-cms.git","clone_url":"https://github.com/Fedik/joomla-cms.git","svn_url":"https://github.com/Fedik/joomla-cms","homepage":"http://joomla.org","size":245420,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"joomla:4.0-dev","ref":"4.0-dev","sha":"ae48350950b4da6906fa3f38d7cb78bd2ceed452","user":{"login":"joomla","id":751633,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1MTYzMw==","avatar_url":"https://avatars3.githubusercontent.com/u/751633?v=4","gravatar_id":"","url":"https://api.github.com/users/joomla","html_url":"https://github.com/joomla","followers_url":"https://api.github.com/users/joomla/followers","following_url":"https://api.github.com/users/joomla/following{/other_user}","gists_url":"https://api.github.com/users/joomla/gists{/gist_id}","starred_url":"https://api.github.com/users/joomla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joomla/subscriptions","organizations_url":"https://api.github.com/users/joomla/orgs","repos_url":"https://api.github.com/users/joomla/repos","events_url":"https://api.github.com/users/joomla/events{/privacy}","received_events_url":"https://api.github.com/users/joomla/received_events","type":"Organization","site_admin":false},"repo":{"id":2464908,"node_id":"MDEwOlJlcG9zaXRvcnkyNDY0OTA4","name":"joomla-cms","full_name":"joomla/joomla-cms","private":false,"owner":{"login":"joomla","id":751633,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1MTYzMw==","avatar_url":"https://avatars3.githubusercontent.com/u/751633?v=4","gravatar_id":"","url":"https://api.github.com/users/joomla","html_url":"https://github.com/joomla","followers_url":"https://api.github.com/users/joomla/followers","following_url":"https://api.github.com/users/joomla/following{/other_user}","gists_url":"https://api.github.com/users/joomla/gists{/gist_id}","starred_url":"https://api.github.com/users/joomla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joomla/subscriptions","organizations_url":"https://api.github.com/users/joomla/orgs","repos_url":"https://api.github.com/users/joomla/repos","events_url":"https://api.github.com/users/joomla/events{/privacy}","received_events_url":"https://api.github.com/users/joomla/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/joomla/joomla-cms","description":"Home of the Joomla! Content Management System","fork":false,"url":"https://api.github.com/repos/joomla/joomla-cms","forks_url":"https://api.github.com/repos/joomla/joomla-cms/forks","keys_url":"https://api.github.com/repos/joomla/joomla-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joomla/joomla-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joomla/joomla-cms/teams","hooks_url":"https://api.github.com/repos/joomla/joomla-cms/hooks","issue_events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/events{/number}","events_url":"https://api.github.com/repos/joomla/joomla-cms/events","assignees_url":"https://api.github.com/repos/joomla/joomla-cms/assignees{/user}","branches_url":"https://api.github.com/repos/joomla/joomla-cms/branches{/branch}","tags_url":"https://api.github.com/repos/joomla/joomla-cms/tags","blobs_url":"https://api.github.com/repos/joomla/joomla-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joomla/joomla-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joomla/joomla-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/joomla/joomla-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joomla/joomla-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/joomla/joomla-cms/languages","stargazers_url":"https://api.github.com/repos/joomla/joomla-cms/stargazers","contributors_url":"https://api.github.com/repos/joomla/joomla-cms/contributors","subscribers_url":"https://api.github.com/repos/joomla/joomla-cms/subscribers","subscription_url":"https://api.github.com/repos/joomla/joomla-cms/subscription","commits_url":"https://api.github.com/repos/joomla/joomla-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/joomla/joomla-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/joomla/joomla-cms/contents/{+path}","compare_url":"https://api.github.com/repos/joomla/joomla-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joomla/joomla-cms/merges","archive_url":"https://api.github.com/repos/joomla/joomla-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joomla/joomla-cms/downloads","issues_url":"https://api.github.com/repos/joomla/joomla-cms/issues{/number}","pulls_url":"https://api.github.com/repos/joomla/joomla-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/joomla/joomla-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/joomla/joomla-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joomla/joomla-cms/labels{/name}","releases_url":"https://api.github.com/repos/joomla/joomla-cms/releases{/id}","deployments_url":"https://api.github.com/repos/joomla/joomla-cms/deployments","created_at":"2011-09-27T02:07:38Z","updated_at":"2018-09-30T17:38:21Z","pushed_at":"2018-09-30T12:57:49Z","git_url":"git://github.com/joomla/joomla-cms.git","ssh_url":"git@github.com:joomla/joomla-cms.git","clone_url":"https://github.com/joomla/joomla-cms.git","svn_url":"https://github.com/joomla/joomla-cms","homepage":"https://www.joomla.org","size":244210,"stargazers_count":2926,"watchers_count":2926,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2763,"mirror_url":null,"archived":false,"open_issues_count":798,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":2763,"open_issues":798,"watchers":2926,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/22435"},"html":{"href":"https://github.com/joomla/joomla-cms/pull/22435"},"issue":{"href":"https://api.github.com/repos/joomla/joomla-cms/issues/22435"},"comments":{"href":"https://api.github.com/repos/joomla/joomla-cms/issues/22435/comments"},"review_comments":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/22435/comments"},"review_comment":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/22435/commits"},"statuses":{"href":"https://api.github.com/repos/joomla/joomla-cms/statuses/3b05879e01e7924a826858f7833c717c78680b7d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Fedik"}}