{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/buck/issues/320","labels_url":"https://api.github.com/repos/facebook/buck/issues/320/labels{/name}","comments_url":"https://api.github.com/repos/facebook/buck/issues/320/comments","events_url":"https://api.github.com/repos/facebook/buck/issues/320/events","html_url":"https://github.com/facebook/buck/issues/320","id":82311750,"number":320,"title":"remote_file sha question","user":{"login":"zserge","id":1911760,"avatar_url":"https://avatars.githubusercontent.com/u/1911760?v=3","gravatar_id":"","url":"https://api.github.com/users/zserge","html_url":"https://github.com/zserge","followers_url":"https://api.github.com/users/zserge/followers","following_url":"https://api.github.com/users/zserge/following{/other_user}","gists_url":"https://api.github.com/users/zserge/gists{/gist_id}","starred_url":"https://api.github.com/users/zserge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zserge/subscriptions","organizations_url":"https://api.github.com/users/zserge/orgs","repos_url":"https://api.github.com/users/zserge/repos","events_url":"https://api.github.com/users/zserge/events{/privacy}","received_events_url":"https://api.github.com/users/zserge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-29T07:37:48Z","updated_at":"2015-05-29T09:47:27Z","closed_at":null,"body":"Most android people are used to how gradle defines maven dependencies, e.g. 'com.squareup:otto:1.3.7' (without specifying the SHA checksum). I believe SHA checksum can be read from the maven server? Why is it a required, not optional field?\r\n\r\nAlso, since currently it's required - I made a quick macro that is expanded into a remote_file and prebuit_jar, also it fetches the SHA from the maven server, but I currently hard code the url (http://repo1.maven.org/maven2). I also see that it can be defined or overridden in the buckconfig.\r\n\r\nSo I wonder if a BUCK script can actually read the values from the buckconfig file? If so - I would just use the \"maven_repo\" variable inside my macro."},"comment":{"url":"https://api.github.com/repos/facebook/buck/issues/comments/106760387","html_url":"https://github.com/facebook/buck/issues/320#issuecomment-106760387","issue_url":"https://api.github.com/repos/facebook/buck/issues/320","id":106760387,"user":{"login":"k21","id":981525,"avatar_url":"https://avatars.githubusercontent.com/u/981525?v=3","gravatar_id":"","url":"https://api.github.com/users/k21","html_url":"https://github.com/k21","followers_url":"https://api.github.com/users/k21/followers","following_url":"https://api.github.com/users/k21/following{/other_user}","gists_url":"https://api.github.com/users/k21/gists{/gist_id}","starred_url":"https://api.github.com/users/k21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k21/subscriptions","organizations_url":"https://api.github.com/users/k21/orgs","repos_url":"https://api.github.com/users/k21/repos","events_url":"https://api.github.com/users/k21/events{/privacy}","received_events_url":"https://api.github.com/users/k21/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T09:47:27Z","updated_at":"2015-05-29T09:47:27Z","body":"I guess it might make Buck slightly easier to use but repeatable builds are higher priority for us than this convenience. Even making the field optional means that you can no longer trust a Buck project to have repeatable builds unless you are the only developer working on it or you review all of its commits, which is impossible for any bigger project."}}