{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/brew/issues/568","repository_url":"https://api.github.com/repos/Homebrew/brew","labels_url":"https://api.github.com/repos/Homebrew/brew/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/568/comments","events_url":"https://api.github.com/repos/Homebrew/brew/issues/568/events","html_url":"https://github.com/Homebrew/brew/issues/568","id":166901414,"number":568,"title":"Cache should have subdirectories for e.g formulae and versions","user":{"login":"MikeMcQuaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeMcQuaid","html_url":"https://github.com/MikeMcQuaid","followers_url":"https://api.github.com/users/MikeMcQuaid/followers","following_url":"https://api.github.com/users/MikeMcQuaid/following{/other_user}","gists_url":"https://api.github.com/users/MikeMcQuaid/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeMcQuaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeMcQuaid/subscriptions","organizations_url":"https://api.github.com/users/MikeMcQuaid/orgs","repos_url":"https://api.github.com/users/MikeMcQuaid/repos","events_url":"https://api.github.com/users/MikeMcQuaid/events{/privacy}","received_events_url":"https://api.github.com/users/MikeMcQuaid/received_events","type":"User","site_admin":true},"labels":[{"url":"https://api.github.com/repos/Homebrew/brew/labels/help%20wanted","name":"help wanted","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-21T19:43:01Z","updated_at":"2016-07-21T20:29:20Z","closed_at":null,"body":"The `HOMEBREW_CACHE` should be reordered to have a format something like the following:\r\n\r\n```\r\nformula/version/source/file.tgz\r\nformula/version/bottles/bottle.tar.gz\r\nresources/resource-$SHA256.tar.gz\r\npatches/patch.diff\r\n```\r\n\r\nThis will allow simplifying the cleanup of the cache without needing to know as much about formula state."},"comment":{"url":"https://api.github.com/repos/Homebrew/brew/issues/comments/234374085","html_url":"https://github.com/Homebrew/brew/issues/568#issuecomment-234374085","issue_url":"https://api.github.com/repos/Homebrew/brew/issues/568","id":234374085,"user":{"login":"chdiza","id":3311113,"avatar_url":"https://avatars.githubusercontent.com/u/3311113?v=3","gravatar_id":"","url":"https://api.github.com/users/chdiza","html_url":"https://github.com/chdiza","followers_url":"https://api.github.com/users/chdiza/followers","following_url":"https://api.github.com/users/chdiza/following{/other_user}","gists_url":"https://api.github.com/users/chdiza/gists{/gist_id}","starred_url":"https://api.github.com/users/chdiza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chdiza/subscriptions","organizations_url":"https://api.github.com/users/chdiza/orgs","repos_url":"https://api.github.com/users/chdiza/repos","events_url":"https://api.github.com/users/chdiza/events{/privacy}","received_events_url":"https://api.github.com/users/chdiza/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T20:29:20Z","updated_at":"2016-07-21T20:29:20Z","body":"Is there a reason why the source tarball go in a subdir named \"source\", rather than sitting loose in \"version\"?  I'm not keen on subdirs that only hold one item, which seems to be what the \"source\" dir would be.  (I've never seen multiple sourceballs for one version of a formula, AFAICR.)\r\n\r\n\"Resources\" and \"patches\" are fine because there will frequently be multiple children of each if someone brews enough formulas.\r\n\r\n\"Bottles\" will only ever have one child except for bottle revisions, which it seems to me is akin to \"resources\" and \"patches\".\r\n\r\n"}}
{"actor":{"display_login":"chdiza"}}