{"action":"closed","issue":{"url":"https://api.github.com/repos/hach-que/Protobuild/issues/100","labels_url":"https://api.github.com/repos/hach-que/Protobuild/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/hach-que/Protobuild/issues/100/comments","events_url":"https://api.github.com/repos/hach-que/Protobuild/issues/100/events","html_url":"https://github.com/hach-que/Protobuild/issues/100","id":93068713,"number":100,"title":"When a package refers to a branch, avoid using the cache unless necessary","user":{"login":"hach-que","id":504826,"avatar_url":"https://avatars.githubusercontent.com/u/504826?v=3","gravatar_id":"","url":"https://api.github.com/users/hach-que","html_url":"https://github.com/hach-que","followers_url":"https://api.github.com/users/hach-que/followers","following_url":"https://api.github.com/users/hach-que/following{/other_user}","gists_url":"https://api.github.com/users/hach-que/gists{/gist_id}","starred_url":"https://api.github.com/users/hach-que/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hach-que/subscriptions","organizations_url":"https://api.github.com/users/hach-que/orgs","repos_url":"https://api.github.com/users/hach-que/repos","events_url":"https://api.github.com/users/hach-que/events{/privacy}","received_events_url":"https://api.github.com/users/hach-que/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hach-que/Protobuild/labels/Bug","name":"Bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-05T02:37:40Z","updated_at":"2015-07-05T02:57:02Z","closed_at":"2015-07-05T02:57:02Z","body":"We can't use the cache for lookup requests whenever a package is referred to a branch because the lookup might be out of date (the branch might have changed on the remote to point to another commit in the mean time).\r\n\r\nWhen this is the case, we should only use the cache if we can't actually perform the lookup (i.e. the internet is unavailable)."}}