{"action":"created","comment":{"url":"https://api.github.com/repos/neos/flow-development-collection/pulls/comments/44790552","id":44790552,"diff_hunk":"@@ -358,7 +358,7 @@ protected function flushConfigurationCachesByChangedFiles(array $changedFiles)\n         $objectConfigurationCache = $this->getCache('Flow_Object_Configuration');\n         $caches = array(\n             '/Policy\\.yaml/' => array('Flow_Security_Authorization_Privilege_Method', 'Flow_Persistence_Doctrine', 'Flow_Persistence_Doctrine_Results', 'Flow_Aop_RuntimeExpressions'),\n-            '/Routes([^\\/]*)\\.yaml/' => array('Flow_Mvc_Routing_Route', 'Flow_Mvc_Routing_Resolve'),\n+            '/Routes|Settings([^\\/]*)\\.yaml/' => array('Flow_Mvc_Routing_Route', 'Flow_Mvc_Routing_Resolve'),","path":"TYPO3.Flow/Classes/TYPO3/Flow/Cache/CacheManager.php","position":5,"original_position":5,"commit_id":"03be5a919b91e7e75d2bd7b469f75585f7308a8a","original_commit_id":"aa4dae68f20a8b7a42489390fd2b072b6e5d1962","user":{"login":"albe","id":4259532,"avatar_url":"https://avatars.githubusercontent.com/u/4259532?v=3","gravatar_id":"","url":"https://api.github.com/users/albe","html_url":"https://github.com/albe","followers_url":"https://api.github.com/users/albe/followers","following_url":"https://api.github.com/users/albe/following{/other_user}","gists_url":"https://api.github.com/users/albe/gists{/gist_id}","starred_url":"https://api.github.com/users/albe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albe/subscriptions","organizations_url":"https://api.github.com/users/albe/orgs","repos_url":"https://api.github.com/users/albe/repos","events_url":"https://api.github.com/users/albe/events{/privacy}","received_events_url":"https://api.github.com/users/albe/received_events","type":"User","site_admin":false},"body":"\"Or we make this clevererer so that it only triggers this when a setting in TYPO3.Flow.mvc.routes changed..!?\" - I see not much other than that. Could be a cool feature anyway to only flush specific caches depending on specific settings.","created_at":"2015-11-13T15:02:23Z","updated_at":"2015-11-13T15:02:23Z","html_url":"https://github.com/neos/flow-development-collection/pull/129#discussion_r44790552","pull_request_url":"https://api.github.com/repos/neos/flow-development-collection/pulls/129","_links":{"self":{"href":"https://api.github.com/repos/neos/flow-development-collection/pulls/comments/44790552"},"html":{"href":"https://github.com/neos/flow-development-collection/pull/129#discussion_r44790552"},"pull_request":{"href":"https://api.github.com/repos/neos/flow-development-collection/pulls/129"}}},"pull_request":{"url":"https://api.github.com/repos/neos/flow-development-collection/pulls/129","id":50640823,"html_url":"https://github.com/neos/flow-development-collection/pull/129","diff_url":"https://github.com/neos/flow-development-collection/pull/129.diff","patch_url":"https://github.com/neos/flow-development-collection/pull/129.patch","issue_url":"https://api.github.com/repos/neos/flow-development-collection/issues/129","number":129,"state":"open","locked":false,"title":"[FEATURE] Routes via Settings","user":{"login":"bwaidelich","id":307571,"avatar_url":"https://avatars.githubusercontent.com/u/307571?v=3","gravatar_id":"","url":"https://api.github.com/users/bwaidelich","html_url":"https://github.com/bwaidelich","followers_url":"https://api.github.com/users/bwaidelich/followers","following_url":"https://api.github.com/users/bwaidelich/following{/other_user}","gists_url":"https://api.github.com/users/bwaidelich/gists{/gist_id}","starred_url":"https://api.github.com/users/bwaidelich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwaidelich/subscriptions","organizations_url":"https://api.github.com/users/bwaidelich/orgs","repos_url":"https://api.github.com/users/bwaidelich/repos","events_url":"https://api.github.com/users/bwaidelich/events{/privacy}","received_events_url":"https://api.github.com/users/bwaidelich/received_events","type":"User","site_admin":false},"body":"This change allows routes to be included via `Settings.yaml` like follows::\r\n\r\n    TYPO3:\r\n      Flow:\r\n        mvc:\r\n          routes:\r\n            'Some.Package': TRUE\r\n\r\nThis would append the main `Routes.yaml` from the package\r\n``Some.Package`` (including its subroutes, if any) to existing\r\nroute definitions.\r\n\r\nIt's also possible to specify the order in relation to other packages::\r\n\r\n    TYPO3:\r\n      Flow:\r\n        mvc:\r\n          routes:\r\n            'SomeOther.Package':\r\n              position: 'before Some.Package'\r\n\r\nThis will add the ``SomeOther.Package`` routes *before* the routes\r\nof ``Some.Package`` (if those are included).\r\n\r\n*NOTE:* Routes included via main `Configuration/Routes.yaml` will\r\n*always* be included first, it's not possible to add routes before or\r\nin between those via the new setting.\r\nThus it's recommended to remove the main `Routes.yaml` and include\r\nroutes via `Settings.yaml` instead.\r\n\r\nFor the Flow Routes this could look like::\r\n\r\n    TYPO3:\r\n      Flow:\r\n        mvc:\r\n          routes:\r\n            'TYPO3.Flow':\r\n              position: 'start'\r\n\r\nResolves: FLOW-411","created_at":"2015-11-13T13:30:39Z","updated_at":"2015-11-13T15:02:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ffe91feeab79828dda09896a18ceebe8ca024ed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/neos/flow-development-collection/pulls/129/commits","review_comments_url":"https://api.github.com/repos/neos/flow-development-collection/pulls/129/comments","review_comment_url":"https://api.github.com/repos/neos/flow-development-collection/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neos/flow-development-collection/issues/129/comments","statuses_url":"https://api.github.com/repos/neos/flow-development-collection/statuses/03be5a919b91e7e75d2bd7b469f75585f7308a8a","head":{"label":"bwaidelich:routes-in-settings","ref":"routes-in-settings","sha":"03be5a919b91e7e75d2bd7b469f75585f7308a8a","user":{"login":"bwaidelich","id":307571,"avatar_url":"https://avatars.githubusercontent.com/u/307571?v=3","gravatar_id":"","url":"https://api.github.com/users/bwaidelich","html_url":"https://github.com/bwaidelich","followers_url":"https://api.github.com/users/bwaidelich/followers","following_url":"https://api.github.com/users/bwaidelich/following{/other_user}","gists_url":"https://api.github.com/users/bwaidelich/gists{/gist_id}","starred_url":"https://api.github.com/users/bwaidelich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwaidelich/subscriptions","organizations_url":"https://api.github.com/users/bwaidelich/orgs","repos_url":"https://api.github.com/users/bwaidelich/repos","events_url":"https://api.github.com/users/bwaidelich/events{/privacy}","received_events_url":"https://api.github.com/users/bwaidelich/received_events","type":"User","site_admin":false},"repo":{"id":41787828,"name":"flow-development-collection","full_name":"bwaidelich/flow-development-collection","owner":{"login":"bwaidelich","id":307571,"avatar_url":"https://avatars.githubusercontent.com/u/307571?v=3","gravatar_id":"","url":"https://api.github.com/users/bwaidelich","html_url":"https://github.com/bwaidelich","followers_url":"https://api.github.com/users/bwaidelich/followers","following_url":"https://api.github.com/users/bwaidelich/following{/other_user}","gists_url":"https://api.github.com/users/bwaidelich/gists{/gist_id}","starred_url":"https://api.github.com/users/bwaidelich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwaidelich/subscriptions","organizations_url":"https://api.github.com/users/bwaidelich/orgs","repos_url":"https://api.github.com/users/bwaidelich/repos","events_url":"https://api.github.com/users/bwaidelich/events{/privacy}","received_events_url":"https://api.github.com/users/bwaidelich/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bwaidelich/flow-development-collection","description":"The unified repository containing the Flow core packages, used for Flow development.","fork":true,"url":"https://api.github.com/repos/bwaidelich/flow-development-collection","forks_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/forks","keys_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/teams","hooks_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/hooks","issue_events_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/issues/events{/number}","events_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/events","assignees_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/assignees{/user}","branches_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/branches{/branch}","tags_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/tags","blobs_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/git/refs{/sha}","trees_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/statuses/{sha}","languages_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/languages","stargazers_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/stargazers","contributors_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/contributors","subscribers_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/subscribers","subscription_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/subscription","commits_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/commits{/sha}","git_commits_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/git/commits{/sha}","comments_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/comments{/number}","issue_comment_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/issues/comments{/number}","contents_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/contents/{+path}","compare_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/merges","archive_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/downloads","issues_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/issues{/number}","pulls_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/pulls{/number}","milestones_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/milestones{/number}","notifications_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/labels{/name}","releases_url":"https://api.github.com/repos/bwaidelich/flow-development-collection/releases{/id}","created_at":"2015-09-02T07:54:57Z","updated_at":"2015-09-02T07:55:04Z","pushed_at":"2015-11-13T13:55:42Z","git_url":"git://github.com/bwaidelich/flow-development-collection.git","ssh_url":"git@github.com:bwaidelich/flow-development-collection.git","clone_url":"https://github.com/bwaidelich/flow-development-collection.git","svn_url":"https://github.com/bwaidelich/flow-development-collection","homepage":null,"size":33410,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"neos:master","ref":"master","sha":"0524256c55eb13e713345e9c5e53c94f371ccb3f","user":{"login":"neos","id":11575267,"avatar_url":"https://avatars.githubusercontent.com/u/11575267?v=3","gravatar_id":"","url":"https://api.github.com/users/neos","html_url":"https://github.com/neos","followers_url":"https://api.github.com/users/neos/followers","following_url":"https://api.github.com/users/neos/following{/other_user}","gists_url":"https://api.github.com/users/neos/gists{/gist_id}","starred_url":"https://api.github.com/users/neos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neos/subscriptions","organizations_url":"https://api.github.com/users/neos/orgs","repos_url":"https://api.github.com/users/neos/repos","events_url":"https://api.github.com/users/neos/events{/privacy}","received_events_url":"https://api.github.com/users/neos/received_events","type":"Organization","site_admin":false},"repo":{"id":40963991,"name":"flow-development-collection","full_name":"neos/flow-development-collection","owner":{"login":"neos","id":11575267,"avatar_url":"https://avatars.githubusercontent.com/u/11575267?v=3","gravatar_id":"","url":"https://api.github.com/users/neos","html_url":"https://github.com/neos","followers_url":"https://api.github.com/users/neos/followers","following_url":"https://api.github.com/users/neos/following{/other_user}","gists_url":"https://api.github.com/users/neos/gists{/gist_id}","starred_url":"https://api.github.com/users/neos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neos/subscriptions","organizations_url":"https://api.github.com/users/neos/orgs","repos_url":"https://api.github.com/users/neos/repos","events_url":"https://api.github.com/users/neos/events{/privacy}","received_events_url":"https://api.github.com/users/neos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neos/flow-development-collection","description":"The unified repository containing the Flow core packages, used for Flow development.","fork":false,"url":"https://api.github.com/repos/neos/flow-development-collection","forks_url":"https://api.github.com/repos/neos/flow-development-collection/forks","keys_url":"https://api.github.com/repos/neos/flow-development-collection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neos/flow-development-collection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neos/flow-development-collection/teams","hooks_url":"https://api.github.com/repos/neos/flow-development-collection/hooks","issue_events_url":"https://api.github.com/repos/neos/flow-development-collection/issues/events{/number}","events_url":"https://api.github.com/repos/neos/flow-development-collection/events","assignees_url":"https://api.github.com/repos/neos/flow-development-collection/assignees{/user}","branches_url":"https://api.github.com/repos/neos/flow-development-collection/branches{/branch}","tags_url":"https://api.github.com/repos/neos/flow-development-collection/tags","blobs_url":"https://api.github.com/repos/neos/flow-development-collection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neos/flow-development-collection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neos/flow-development-collection/git/refs{/sha}","trees_url":"https://api.github.com/repos/neos/flow-development-collection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neos/flow-development-collection/statuses/{sha}","languages_url":"https://api.github.com/repos/neos/flow-development-collection/languages","stargazers_url":"https://api.github.com/repos/neos/flow-development-collection/stargazers","contributors_url":"https://api.github.com/repos/neos/flow-development-collection/contributors","subscribers_url":"https://api.github.com/repos/neos/flow-development-collection/subscribers","subscription_url":"https://api.github.com/repos/neos/flow-development-collection/subscription","commits_url":"https://api.github.com/repos/neos/flow-development-collection/commits{/sha}","git_commits_url":"https://api.github.com/repos/neos/flow-development-collection/git/commits{/sha}","comments_url":"https://api.github.com/repos/neos/flow-development-collection/comments{/number}","issue_comment_url":"https://api.github.com/repos/neos/flow-development-collection/issues/comments{/number}","contents_url":"https://api.github.com/repos/neos/flow-development-collection/contents/{+path}","compare_url":"https://api.github.com/repos/neos/flow-development-collection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neos/flow-development-collection/merges","archive_url":"https://api.github.com/repos/neos/flow-development-collection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neos/flow-development-collection/downloads","issues_url":"https://api.github.com/repos/neos/flow-development-collection/issues{/number}","pulls_url":"https://api.github.com/repos/neos/flow-development-collection/pulls{/number}","milestones_url":"https://api.github.com/repos/neos/flow-development-collection/milestones{/number}","notifications_url":"https://api.github.com/repos/neos/flow-development-collection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neos/flow-development-collection/labels{/name}","releases_url":"https://api.github.com/repos/neos/flow-development-collection/releases{/id}","created_at":"2015-08-18T09:48:13Z","updated_at":"2015-11-11T14:01:56Z","pushed_at":"2015-11-13T13:55:42Z","git_url":"git://github.com/neos/flow-development-collection.git","ssh_url":"git@github.com:neos/flow-development-collection.git","clone_url":"https://github.com/neos/flow-development-collection.git","svn_url":"https://github.com/neos/flow-development-collection","homepage":null,"size":34776,"stargazers_count":25,"watchers_count":25,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":36,"forks":34,"open_issues":36,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neos/flow-development-collection/pulls/129"},"html":{"href":"https://github.com/neos/flow-development-collection/pull/129"},"issue":{"href":"https://api.github.com/repos/neos/flow-development-collection/issues/129"},"comments":{"href":"https://api.github.com/repos/neos/flow-development-collection/issues/129/comments"},"review_comments":{"href":"https://api.github.com/repos/neos/flow-development-collection/pulls/129/comments"},"review_comment":{"href":"https://api.github.com/repos/neos/flow-development-collection/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neos/flow-development-collection/pulls/129/commits"},"statuses":{"href":"https://api.github.com/repos/neos/flow-development-collection/statuses/03be5a919b91e7e75d2bd7b469f75585f7308a8a"}}}}