{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/2916","labels_url":"https://api.github.com/repos/coreos/etcd/issues/2916/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/2916/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/2916/events","html_url":"https://github.com/coreos/etcd/pull/2916","id":85332542,"number":2916,"title":"Unexpected dependency in build script","user":{"login":"luan","id":223760,"avatar_url":"https://avatars.githubusercontent.com/u/223760?v=3","gravatar_id":"","url":"https://api.github.com/users/luan","html_url":"https://github.com/luan","followers_url":"https://api.github.com/users/luan/followers","following_url":"https://api.github.com/users/luan/following{/other_user}","gists_url":"https://api.github.com/users/luan/gists{/gist_id}","starred_url":"https://api.github.com/users/luan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luan/subscriptions","organizations_url":"https://api.github.com/users/luan/orgs","repos_url":"https://api.github.com/users/luan/repos","events_url":"https://api.github.com/users/luan/events{/privacy}","received_events_url":"https://api.github.com/users/luan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-04T23:46:16Z","updated_at":"2015-06-05T05:30:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/coreos/etcd/pulls/2916","html_url":"https://github.com/coreos/etcd/pull/2916","diff_url":"https://github.com/coreos/etcd/pull/2916.diff","patch_url":"https://github.com/coreos/etcd/pull/2916.patch"},"body":"This line: https://github.com/coreos/etcd/blob/v2.0.11/build#L14 introduced by https://github.com/coreos/etcd/commit/d30e764b2d20a783a0f569d2677a125da1832936 introduces an unexpected build-time dependency on git. This breaks any build where you ship the code to a remote machine to compile where you don't have, and don't want to have, git.\r\n\r\nIs there any way we can get versioning information for that script without adding the extra dependency?\r\nHow about writing \"N/A\" or some other default in case git cannot be found?"},"comment":{"url":"https://api.github.com/repos/coreos/etcd/issues/comments/109167576","html_url":"https://github.com/coreos/etcd/pull/2916#issuecomment-109167576","issue_url":"https://api.github.com/repos/coreos/etcd/issues/2916","id":109167576,"user":{"login":"yichengq","id":2976232,"avatar_url":"https://avatars.githubusercontent.com/u/2976232?v=3","gravatar_id":"","url":"https://api.github.com/users/yichengq","html_url":"https://github.com/yichengq","followers_url":"https://api.github.com/users/yichengq/followers","following_url":"https://api.github.com/users/yichengq/following{/other_user}","gists_url":"https://api.github.com/users/yichengq/gists{/gist_id}","starred_url":"https://api.github.com/users/yichengq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yichengq/subscriptions","organizations_url":"https://api.github.com/users/yichengq/orgs","repos_url":"https://api.github.com/users/yichengq/repos","events_url":"https://api.github.com/users/yichengq/events{/privacy}","received_events_url":"https://api.github.com/users/yichengq/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T05:30:36Z","updated_at":"2015-06-05T05:30:36Z","body":"@luan could you update commit title to `build: default git sha to GitNotFound in case git fails`?"}}