payload: {"action":"created","issue":{"url":"https://api.github.com/repos/gradle/gradle/issues/7018","repository_url":"https://api.github.com/repos/gradle/gradle","labels_url":"https://api.github.com/repos/gradle/gradle/issues/7018/labels{/name}","comments_url":"https://api.github.com/repos/gradle/gradle/issues/7018/comments","events_url":"https://api.github.com/repos/gradle/gradle/issues/7018/events","html_url":"https://github.com/gradle/gradle/issues/7018","id":366704709,"node_id":"MDU6SXNzdWUzNjY3MDQ3MDk=","number":7018,"title":"Make periodic cache cleanup retention times configurable","user":{"login":"wszeboreq","id":38911260,"node_id":"MDQ6VXNlcjM4OTExMjYw","avatar_url":"https://avatars2.githubusercontent.com/u/38911260?v=4","gravatar_id":"","url":"https://api.github.com/users/wszeboreq","html_url":"https://github.com/wszeboreq","followers_url":"https://api.github.com/users/wszeboreq/followers","following_url":"https://api.github.com/users/wszeboreq/following{/other_user}","gists_url":"https://api.github.com/users/wszeboreq/gists{/gist_id}","starred_url":"https://api.github.com/users/wszeboreq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wszeboreq/subscriptions","organizations_url":"https://api.github.com/users/wszeboreq/orgs","repos_url":"https://api.github.com/users/wszeboreq/repos","events_url":"https://api.github.com/users/wszeboreq/events{/privacy}","received_events_url":"https://api.github.com/users/wszeboreq/received_events","type":"User","site_admin":false},"labels":[{"id":1214985740,"node_id":"MDU6TGFiZWwxMjE0OTg1NzQw","url":"https://api.github.com/repos/gradle/gradle/labels/@core","name":"@core","color":"ce7542","default":false},{"id":460356753,"node_id":"MDU6TGFiZWw0NjAzNTY3NTM=","url":"https://api.github.com/repos/gradle/gradle/labels/a:feature","name":"a:feature","color":"0e8a16","default":false},{"id":478384995,"node_id":"MDU6TGFiZWw0NzgzODQ5OTU=","url":"https://api.github.com/repos/gradle/gradle/labels/from:contributor","name":"from:contributor","color":"0052cc","default":false},{"id":285742270,"node_id":"MDU6TGFiZWwyODU3NDIyNzA=","url":"https://api.github.com/repos/gradle/gradle/labels/in:core","name":"in:core","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"marcphilipp","id":214207,"node_id":"MDQ6VXNlcjIxNDIwNw==","avatar_url":"https://avatars2.githubusercontent.com/u/214207?v=4","gravatar_id":"","url":"https://api.github.com/users/marcphilipp","html_url":"https://github.com/marcphilipp","followers_url":"https://api.github.com/users/marcphilipp/followers","following_url":"https://api.github.com/users/marcphilipp/following{/other_user}","gists_url":"https://api.github.com/users/marcphilipp/gists{/gist_id}","starred_url":"https://api.github.com/users/marcphilipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcphilipp/subscriptions","organizations_url":"https://api.github.com/users/marcphilipp/orgs","repos_url":"https://api.github.com/users/marcphilipp/repos","events_url":"https://api.github.com/users/marcphilipp/events{/privacy}","received_events_url":"https://api.github.com/users/marcphilipp/received_events","type":"User","site_admin":false},"assignees":[{"login":"marcphilipp","id":214207,"node_id":"MDQ6VXNlcjIxNDIwNw==","avatar_url":"https://avatars2.githubusercontent.com/u/214207?v=4","gravatar_id":"","url":"https://api.github.com/users/marcphilipp","html_url":"https://github.com/marcphilipp","followers_url":"https://api.github.com/users/marcphilipp/followers","following_url":"https://api.github.com/users/marcphilipp/following{/other_user}","gists_url":"https://api.github.com/users/marcphilipp/gists{/gist_id}","starred_url":"https://api.github.com/users/marcphilipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcphilipp/subscriptions","organizations_url":"https://api.github.com/users/marcphilipp/orgs","repos_url":"https://api.github.com/users/marcphilipp/repos","events_url":"https://api.github.com/users/marcphilipp/events{/privacy}","received_events_url":"https://api.github.com/users/marcphilipp/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/gradle/gradle/milestones/83","html_url":"https://github.com/gradle/gradle/milestone/83","labels_url":"https://api.github.com/repos/gradle/gradle/milestones/83/labels","id":3738233,"node_id":"MDk6TWlsZXN0b25lMzczODIzMw==","number":83,"title":"6.0 RC1","description":null,"creator":{"login":"oehme","id":1191797,"node_id":"MDQ6VXNlcjExOTE3OTc=","avatar_url":"https://avatars2.githubusercontent.com/u/1191797?v=4","gravatar_id":"","url":"https://api.github.com/users/oehme","html_url":"https://github.com/oehme","followers_url":"https://api.github.com/users/oehme/followers","following_url":"https://api.github.com/users/oehme/following{/other_user}","gists_url":"https://api.github.com/users/oehme/gists{/gist_id}","starred_url":"https://api.github.com/users/oehme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oehme/subscriptions","organizations_url":"https://api.github.com/users/oehme/orgs","repos_url":"https://api.github.com/users/oehme/repos","events_url":"https://api.github.com/users/oehme/events{/privacy}","received_events_url":"https://api.github.com/users/oehme/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":0,"state":"open","created_at":"2018-10-15T07:45:02Z","updated_at":"2019-03-11T20:50:06Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2018-10-04T09:41:07Z","updated_at":"2019-03-18T08:44:41Z","closed_at":null,"author_association":"NONE","body":"### Expected Behavior\r\nPeriodic Gradle cache cleanup was implemented as https://github.com/gradle/gradle/issues/1085. Comment https://github.com/gradle/gradle/issues/1085#issuecomment-411986845 summarizes the implemented strategy. It would be great to have various hardcoded cleanup algorithm parameters configurable, at least the 7/30 days retention times. This would give the additional flexibility and allow tuning the periodic cache cleanup to fit various possible scenarios and environments.\r\n\r\n### Current Behavior\r\nCurrently the 7/30 days retention times described in the mentioned comment are not configurable.\r\n\r\n### Context\r\nOur projects use some dependency artifacts having significant disk sizes (e.g. 1 GB). Practically each day we have a new version of majority of these dependencies. This leads to '.gradle/caches/modules-2/files-2.1' grow bigger and bigger each day, leading to free disk space problems on the build servers. 30 days of cache retention time in this scenario may lead to requirement of 30 GB free cache disk space for each bigger dependency.\r\n\r\n### Your Environment\r\n```\r\n------------------------------------------------------------\r\nGradle 4.10.1\r\n------------------------------------------------------------\r\n\r\nBuild time:   2018-09-12 11:33:27 UTC\r\nRevision:     76c9179ea9bddc32810f9125ad97c3315c544919\r\n\r\nKotlin DSL:   1.0-rc-6\r\nKotlin:       1.2.61\r\nGroovy:       2.4.15\r\nAnt:          Apache Ant(TM) version 1.9.11 compiled on March 23 2018\r\nJVM:          1.8.0_151 (Oracle Corporation 25.151-b12)\r\nOS:           Windows 10 10.0 amd64\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/gradle/gradle/issues/comments/473818985","html_url":"https://github.com/gradle/gradle/issues/7018#issuecomment-473818985","issue_url":"https://api.github.com/repos/gradle/gradle/issues/7018","id":473818985,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3MzgxODk4NQ==","user":{"login":"marcphilipp","id":214207,"node_id":"MDQ6VXNlcjIxNDIwNw==","avatar_url":"https://avatars2.githubusercontent.com/u/214207?v=4","gravatar_id":"","url":"https://api.github.com/users/marcphilipp","html_url":"https://github.com/marcphilipp","followers_url":"https://api.github.com/users/marcphilipp/followers","following_url":"https://api.github.com/users/marcphilipp/following{/other_user}","gists_url":"https://api.github.com/users/marcphilipp/gists{/gist_id}","starred_url":"https://api.github.com/users/marcphilipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcphilipp/subscriptions","organizations_url":"https://api.github.com/users/marcphilipp/orgs","repos_url":"https://api.github.com/users/marcphilipp/repos","events_url":"https://api.github.com/users/marcphilipp/events{/privacy}","received_events_url":"https://api.github.com/users/marcphilipp/received_events","type":"User","site_admin":false},"created_at":"2019-03-18T08:44:41Z","updated_at":"2019-03-18T08:44:41Z","author_association":"MEMBER","body":"@lukeu It's not yet documented because it only works when specified in `~/.gradle/gradle.properties`."}}
other: {"actor":{"display_login":"marcphilipp"}}