{"action":"created","issue":{"url":"https://api.github.com/repos/JimGaylard/tbd/issues/21","labels_url":"https://api.github.com/repos/JimGaylard/tbd/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/JimGaylard/tbd/issues/21/comments","events_url":"https://api.github.com/repos/JimGaylard/tbd/issues/21/events","html_url":"https://github.com/JimGaylard/tbd/issues/21","id":59002047,"number":21,"title":"tbd_build should increment build number when rebuilding a tree","user":{"login":"JimGaylard","id":1128120,"avatar_url":"https://avatars.githubusercontent.com/u/1128120?v=3","gravatar_id":"","url":"https://api.github.com/users/JimGaylard","html_url":"https://github.com/JimGaylard","followers_url":"https://api.github.com/users/JimGaylard/followers","following_url":"https://api.github.com/users/JimGaylard/following{/other_user}","gists_url":"https://api.github.com/users/JimGaylard/gists{/gist_id}","starred_url":"https://api.github.com/users/JimGaylard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimGaylard/subscriptions","organizations_url":"https://api.github.com/users/JimGaylard/orgs","repos_url":"https://api.github.com/users/JimGaylard/repos","events_url":"https://api.github.com/users/JimGaylard/events{/privacy}","received_events_url":"https://api.github.com/users/JimGaylard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JimGaylard/tbd/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-26T01:23:58Z","updated_at":"2015-02-26T01:52:02Z","closed_at":null,"body":"e.g. \r\n\r\n```\r\nrefs/builds/<treeid>/1/specs/SDOUT\r\nrefs/builds/<treeid>/1/specs/SDERR\r\nrefs/builds/<treeid>/1/specs/OUTPUT\r\n\r\nrefs/builds/<treeid>/2/specs/SDOUT\r\nrefs/builds/<treeid>/2/specs/SDERR\r\nrefs/builds/<treeid>/2/specs/OUTPUT\r\n```\r\n\r\nor build-1, build-2 to make it clearer"},"comment":{"url":"https://api.github.com/repos/JimGaylard/tbd/issues/comments/76107881","html_url":"https://github.com/JimGaylard/tbd/issues/21#issuecomment-76107881","issue_url":"https://api.github.com/repos/JimGaylard/tbd/issues/21","id":76107881,"user":{"login":"DanielHeath","id":47430,"avatar_url":"https://avatars.githubusercontent.com/u/47430?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielHeath","html_url":"https://github.com/DanielHeath","followers_url":"https://api.github.com/users/DanielHeath/followers","following_url":"https://api.github.com/users/DanielHeath/following{/other_user}","gists_url":"https://api.github.com/users/DanielHeath/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielHeath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielHeath/subscriptions","organizations_url":"https://api.github.com/users/DanielHeath/orgs","repos_url":"https://api.github.com/users/DanielHeath/repos","events_url":"https://api.github.com/users/DanielHeath/events{/privacy}","received_events_url":"https://api.github.com/users/DanielHeath/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T01:52:02Z","updated_at":"2015-02-26T01:52:02Z","body":"Given that builds can happen on different nodes at the same time, an incrementing ID might not be 100% suitable.\r\n\r\nHostname + time sounds like it'd work better, but hostnames can be duplicated too.\r\n\r\nI suggest taking the sha of the build notes (e.g. `build <passed> on <machine> at <time> with <artefacts>`) and using that as the ID."}}