{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/exoscale/clojure-exoscale/pulls/2","id":266221788,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY2MjIxNzg4","html_url":"https://github.com/exoscale/clojure-exoscale/pull/2","diff_url":"https://github.com/exoscale/clojure-exoscale/pull/2.diff","patch_url":"https://github.com/exoscale/clojure-exoscale/pull/2.patch","issue_url":"https://api.github.com/repos/exoscale/clojure-exoscale/issues/2","number":2,"state":"closed","locked":false,"title":"Destroy function & few bug fixes","user":{"login":"dajac","id":157182,"node_id":"MDQ6VXNlcjE1NzE4Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/157182?v=4","gravatar_id":"","url":"https://api.github.com/users/dajac","html_url":"https://github.com/dajac","followers_url":"https://api.github.com/users/dajac/followers","following_url":"https://api.github.com/users/dajac/following{/other_user}","gists_url":"https://api.github.com/users/dajac/gists{/gist_id}","starred_url":"https://api.github.com/users/dajac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dajac/subscriptions","organizations_url":"https://api.github.com/users/dajac/orgs","repos_url":"https://api.github.com/users/dajac/repos","events_url":"https://api.github.com/users/dajac/events{/privacy}","received_events_url":"https://api.github.com/users/dajac/received_events","type":"User","site_admin":false},"body":"This PR adds a `destroy` function to, as its name says, destroy a virtual machine.\r\n\r\nMeanwhile, it also fixes or enhances few other things:\r\n* `max-polls` parameter is correctly handled;\r\n* `(d/future (Thread/sleep ...))` is replaced by `manifold.time/in` to avoid acquiring a thread to block it;\r\n* `sanitize-vm` handles edge cases, mainly when resolution of async job fails or when `max-polls` is set to 0.","created_at":"2019-04-01T12:35:36Z","updated_at":"2019-04-03T09:07:06Z","closed_at":"2019-04-03T09:07:06Z","merged_at":"2019-04-03T09:07:06Z","merge_commit_sha":"912fb808945ade8077a63ca0f1d62b2c6a24a6a1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/exoscale/clojure-exoscale/pulls/2/commits","review_comments_url":"https://api.github.com/repos/exoscale/clojure-exoscale/pulls/2/comments","review_comment_url":"https://api.github.com/repos/exoscale/clojure-exoscale/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exoscale/clojure-exoscale/issues/2/comments","statuses_url":"https://api.github.com/repos/exoscale/clojure-exoscale/statuses/9fd204947ee231305664b08efeb4c905c76004d1","head":{"label":"exoscale:feature/destroy-and-more","ref":"feature/destroy-and-more","sha":"9fd204947ee231305664b08efeb4c905c76004d1","user":{"login":"exoscale","id":2023286,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMjMyODY=","avatar_url":"https://avatars3.githubusercontent.com/u/2023286?v=4","gravatar_id":"","url":"https://api.github.com/users/exoscale","html_url":"https://github.com/exoscale","followers_url":"https://api.github.com/users/exoscale/followers","following_url":"https://api.github.com/users/exoscale/following{/other_user}","gists_url":"https://api.github.com/users/exoscale/gists{/gist_id}","starred_url":"https://api.github.com/users/exoscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exoscale/subscriptions","organizations_url":"https://api.github.com/users/exoscale/orgs","repos_url":"https://api.github.com/users/exoscale/repos","events_url":"https://api.github.com/users/exoscale/events{/privacy}","received_events_url":"https://api.github.com/users/exoscale/received_events","type":"Organization","site_admin":false},"repo":{"id":159136614,"node_id":"MDEwOlJlcG9zaXRvcnkxNTkxMzY2MTQ=","name":"clojure-exoscale","full_name":"exoscale/clojure-exoscale","private":false,"owner":{"login":"exoscale","id":2023286,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMjMyODY=","avatar_url":"https://avatars3.githubusercontent.com/u/2023286?v=4","gravatar_id":"","url":"https://api.github.com/users/exoscale","html_url":"https://github.com/exoscale","followers_url":"https://api.github.com/users/exoscale/followers","following_url":"https://api.github.com/users/exoscale/following{/other_user}","gists_url":"https://api.github.com/users/exoscale/gists{/gist_id}","starred_url":"https://api.github.com/users/exoscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exoscale/subscriptions","organizations_url":"https://api.github.com/users/exoscale/orgs","repos_url":"https://api.github.com/users/exoscale/repos","events_url":"https://api.github.com/users/exoscale/events{/privacy}","received_events_url":"https://api.github.com/users/exoscale/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/exoscale/clojure-exoscale","description":"A Clojure library for Exoscale resources","fork":false,"url":"https://api.github.com/repos/exoscale/clojure-exoscale","forks_url":"https://api.github.com/repos/exoscale/clojure-exoscale/forks","keys_url":"https://api.github.com/repos/exoscale/clojure-exoscale/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exoscale/clojure-exoscale/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exoscale/clojure-exoscale/teams","hooks_url":"https://api.github.com/repos/exoscale/clojure-exoscale/hooks","issue_events_url":"https://api.github.com/repos/exoscale/clojure-exoscale/issues/events{/number}","events_url":"https://api.github.com/repos/exoscale/clojure-exoscale/events","assignees_url":"https://api.github.com/repos/exoscale/clojure-exoscale/assignees{/user}","branches_url":"https://api.github.com/repos/exoscale/clojure-exoscale/branches{/branch}","tags_url":"https://api.github.com/repos/exoscale/clojure-exoscale/tags","blobs_url":"https://api.github.com/repos/exoscale/clojure-exoscale/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exoscale/clojure-exoscale/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exoscale/clojure-exoscale/git/refs{/sha}","trees_url":"https://api.github.com/repos/exoscale/clojure-exoscale/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exoscale/clojure-exoscale/statuses/{sha}","languages_url":"https://api.github.com/repos/exoscale/clojure-exoscale/languages","stargazers_url":"https://api.github.com/repos/exoscale/clojure-exoscale/stargazers","contributors_url":"https://api.github.com/repos/exoscale/clojure-exoscale/contributors","subscribers_url":"https://api.github.com/repos/exoscale/clojure-exoscale/subscribers","subscription_url":"https://api.github.com/repos/exoscale/clojure-exoscale/subscription","commits_url":"https://api.github.com/repos/exoscale/clojure-exoscale/commits{/sha}","git_commits_url":"https://api.github.com/repos/exoscale/clojure-exoscale/git/commits{/sha}","comments_url":"https://api.github.com/repos/exoscale/clojure-exoscale/comments{/number}","issue_comment_url":"https://api.github.com/repos/exoscale/clojure-exoscale/issues/comments{/number}","contents_url":"https://api.github.com/repos/exoscale/clojure-exoscale/contents/{+path}","compare_url":"https://api.github.com/repos/exoscale/clojure-exoscale/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exoscale/clojure-exoscale/merges","archive_url":"https://api.github.com/repos/exoscale/clojure-exoscale/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exoscale/clojure-exoscale/downloads","issues_url":"https://api.github.com/repos/exoscale/clojure-exoscale/issues{/number}","pulls_url":"https://api.github.com/repos/exoscale/clojure-exoscale/pulls{/number}","milestones_url":"https://api.github.com/repos/exoscale/clojure-exoscale/milestones{/number}","notifications_url":"https://api.github.com/repos/exoscale/clojure-exoscale/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exoscale/clojure-exoscale/labels{/name}","releases_url":"https://api.github.com/repos/exoscale/clojure-exoscale/releases{/id}","deployments_url":"https://api.github.com/repos/exoscale/clojure-exoscale/deployments","created_at":"2018-11-26T08:37:43Z","updated_at":"2019-03-12T12:03:14Z","pushed_at":"2019-04-03T09:07:06Z","git_url":"git://github.com/exoscale/clojure-exoscale.git","ssh_url":"git@github.com:exoscale/clojure-exoscale.git","clone_url":"https://github.com/exoscale/clojure-exoscale.git","svn_url":"https://github.com/exoscale/clojure-exoscale","homepage":null,"size":76,"stargazers_count":1,"watchers_count":1,"language":"Clojure","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"exoscale:master","ref":"master","sha":"439c09689a4203d9e7026d332f5f17a1019e627c","user":{"login":"exoscale","id":2023286,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMjMyODY=","avatar_url":"https://avatars3.githubusercontent.com/u/2023286?v=4","gravatar_id":"","url":"https://api.github.com/users/exoscale","html_url":"https://github.com/exoscale","followers_url":"https://api.github.com/users/exoscale/followers","following_url":"https://api.github.com/users/exoscale/following{/other_user}","gists_url":"https://api.github.com/users/exoscale/gists{/gist_id}","starred_url":"https://api.github.com/users/exoscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exoscale/subscriptions","organizations_url":"https://api.github.com/users/exoscale/orgs","repos_url":"https://api.github.com/users/exoscale/repos","events_url":"https://api.github.com/users/exoscale/events{/privacy}","received_events_url":"https://api.github.com/users/exoscale/received_events","type":"Organization","site_admin":false},"repo":{"id":159136614,"node_id":"MDEwOlJlcG9zaXRvcnkxNTkxMzY2MTQ=","name":"clojure-exoscale","full_name":"exoscale/clojure-exoscale","private":false,"owner":{"login":"exoscale","id":2023286,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMjMyODY=","avatar_url":"https://avatars3.githubusercontent.com/u/2023286?v=4","gravatar_id":"","url":"https://api.github.com/users/exoscale","html_url":"https://github.com/exoscale","followers_url":"https://api.github.com/users/exoscale/followers","following_url":"https://api.github.com/users/exoscale/following{/other_user}","gists_url":"https://api.github.com/users/exoscale/gists{/gist_id}","starred_url":"https://api.github.com/users/exoscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exoscale/subscriptions","organizations_url":"https://api.github.com/users/exoscale/orgs","repos_url":"https://api.github.com/users/exoscale/repos","events_url":"https://api.github.com/users/exoscale/events{/privacy}","received_events_url":"https://api.github.com/users/exoscale/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/exoscale/clojure-exoscale","description":"A Clojure library for Exoscale resources","fork":false,"url":"https://api.github.com/repos/exoscale/clojure-exoscale","forks_url":"https://api.github.com/repos/exoscale/clojure-exoscale/forks","keys_url":"https://api.github.com/repos/exoscale/clojure-exoscale/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exoscale/clojure-exoscale/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exoscale/clojure-exoscale/teams","hooks_url":"https://api.github.com/repos/exoscale/clojure-exoscale/hooks","issue_events_url":"https://api.github.com/repos/exoscale/clojure-exoscale/issues/events{/number}","events_url":"https://api.github.com/repos/exoscale/clojure-exoscale/events","assignees_url":"https://api.github.com/repos/exoscale/clojure-exoscale/assignees{/user}","branches_url":"https://api.github.com/repos/exoscale/clojure-exoscale/branches{/branch}","tags_url":"https://api.github.com/repos/exoscale/clojure-exoscale/tags","blobs_url":"https://api.github.com/repos/exoscale/clojure-exoscale/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exoscale/clojure-exoscale/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exoscale/clojure-exoscale/git/refs{/sha}","trees_url":"https://api.github.com/repos/exoscale/clojure-exoscale/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exoscale/clojure-exoscale/statuses/{sha}","languages_url":"https://api.github.com/repos/exoscale/clojure-exoscale/languages","stargazers_url":"https://api.github.com/repos/exoscale/clojure-exoscale/stargazers","contributors_url":"https://api.github.com/repos/exoscale/clojure-exoscale/contributors","subscribers_url":"https://api.github.com/repos/exoscale/clojure-exoscale/subscribers","subscription_url":"https://api.github.com/repos/exoscale/clojure-exoscale/subscription","commits_url":"https://api.github.com/repos/exoscale/clojure-exoscale/commits{/sha}","git_commits_url":"https://api.github.com/repos/exoscale/clojure-exoscale/git/commits{/sha}","comments_url":"https://api.github.com/repos/exoscale/clojure-exoscale/comments{/number}","issue_comment_url":"https://api.github.com/repos/exoscale/clojure-exoscale/issues/comments{/number}","contents_url":"https://api.github.com/repos/exoscale/clojure-exoscale/contents/{+path}","compare_url":"https://api.github.com/repos/exoscale/clojure-exoscale/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exoscale/clojure-exoscale/merges","archive_url":"https://api.github.com/repos/exoscale/clojure-exoscale/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exoscale/clojure-exoscale/downloads","issues_url":"https://api.github.com/repos/exoscale/clojure-exoscale/issues{/number}","pulls_url":"https://api.github.com/repos/exoscale/clojure-exoscale/pulls{/number}","milestones_url":"https://api.github.com/repos/exoscale/clojure-exoscale/milestones{/number}","notifications_url":"https://api.github.com/repos/exoscale/clojure-exoscale/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exoscale/clojure-exoscale/labels{/name}","releases_url":"https://api.github.com/repos/exoscale/clojure-exoscale/releases{/id}","deployments_url":"https://api.github.com/repos/exoscale/clojure-exoscale/deployments","created_at":"2018-11-26T08:37:43Z","updated_at":"2019-03-12T12:03:14Z","pushed_at":"2019-04-03T09:07:06Z","git_url":"git://github.com/exoscale/clojure-exoscale.git","ssh_url":"git@github.com:exoscale/clojure-exoscale.git","clone_url":"https://github.com/exoscale/clojure-exoscale.git","svn_url":"https://github.com/exoscale/clojure-exoscale","homepage":null,"size":76,"stargazers_count":1,"watchers_count":1,"language":"Clojure","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/exoscale/clojure-exoscale/pulls/2"},"html":{"href":"https://github.com/exoscale/clojure-exoscale/pull/2"},"issue":{"href":"https://api.github.com/repos/exoscale/clojure-exoscale/issues/2"},"comments":{"href":"https://api.github.com/repos/exoscale/clojure-exoscale/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/exoscale/clojure-exoscale/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/exoscale/clojure-exoscale/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exoscale/clojure-exoscale/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/exoscale/clojure-exoscale/statuses/9fd204947ee231305664b08efeb4c905c76004d1"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"dajac","id":157182,"node_id":"MDQ6VXNlcjE1NzE4Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/157182?v=4","gravatar_id":"","url":"https://api.github.com/users/dajac","html_url":"https://github.com/dajac","followers_url":"https://api.github.com/users/dajac/followers","following_url":"https://api.github.com/users/dajac/following{/other_user}","gists_url":"https://api.github.com/users/dajac/gists{/gist_id}","starred_url":"https://api.github.com/users/dajac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dajac/subscriptions","organizations_url":"https://api.github.com/users/dajac/orgs","repos_url":"https://api.github.com/users/dajac/repos","events_url":"https://api.github.com/users/dajac/events{/privacy}","received_events_url":"https://api.github.com/users/dajac/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":41,"deletions":23,"changed_files":3}}
{"actor":{"display_login":"dajac"}}