{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/buildpacks-ci/issues/2","labels_url":"https://api.github.com/repos/cloudfoundry/buildpacks-ci/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/buildpacks-ci/issues/2/comments","events_url":"https://api.github.com/repos/cloudfoundry/buildpacks-ci/issues/2/events","html_url":"https://github.com/cloudfoundry/buildpacks-ci/pull/2","id":94493978,"number":2,"title":"ensure lock is released if fetching sources fails","user":{"login":"vito","id":1880,"avatar_url":"https://avatars.githubusercontent.com/u/1880?v=3","gravatar_id":"","url":"https://api.github.com/users/vito","html_url":"https://github.com/vito","followers_url":"https://api.github.com/users/vito/followers","following_url":"https://api.github.com/users/vito/following{/other_user}","gists_url":"https://api.github.com/users/vito/gists{/gist_id}","starred_url":"https://api.github.com/users/vito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vito/subscriptions","organizations_url":"https://api.github.com/users/vito/orgs","repos_url":"https://api.github.com/users/vito/repos","events_url":"https://api.github.com/users/vito/events{/privacy}","received_events_url":"https://api.github.com/users/vito/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-11T17:40:12Z","updated_at":"2015-07-14T15:00:12Z","closed_at":"2015-07-14T15:00:12Z","pull_request":{"url":"https://api.github.com/repos/cloudfoundry/buildpacks-ci/pulls/2","html_url":"https://github.com/cloudfoundry/buildpacks-ci/pull/2","diff_url":"https://github.com/cloudfoundry/buildpacks-ci/pull/2.diff","patch_url":"https://github.com/cloudfoundry/buildpacks-ci/pull/2.patch"},"body":"previously the lock would only be released after running the task; if for whatever reason fetching resources fails, the lock would still be held.\r\n\r\nthis change comes at the cost of additional nesting in pretty much every job though, which might not be worth it if fetching resources pretty much never fails (the lock could always just be manually released).\r\n\r\nfeel free to close if so; just wanted to point it out."},"comment":{"url":"https://api.github.com/repos/cloudfoundry/buildpacks-ci/issues/comments/121273463","html_url":"https://github.com/cloudfoundry/buildpacks-ci/pull/2#issuecomment-121273463","issue_url":"https://api.github.com/repos/cloudfoundry/buildpacks-ci/issues/2","id":121273463,"user":{"login":"jtarchie","id":75184,"avatar_url":"https://avatars.githubusercontent.com/u/75184?v=3","gravatar_id":"","url":"https://api.github.com/users/jtarchie","html_url":"https://github.com/jtarchie","followers_url":"https://api.github.com/users/jtarchie/followers","following_url":"https://api.github.com/users/jtarchie/following{/other_user}","gists_url":"https://api.github.com/users/jtarchie/gists{/gist_id}","starred_url":"https://api.github.com/users/jtarchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtarchie/subscriptions","organizations_url":"https://api.github.com/users/jtarchie/orgs","repos_url":"https://api.github.com/users/jtarchie/repos","events_url":"https://api.github.com/users/jtarchie/events{/privacy}","received_events_url":"https://api.github.com/users/jtarchie/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T15:00:12Z","updated_at":"2015-07-14T15:00:12Z","body":"Closing, for now..."}}