{"action":"closed","number":427,"pull_request":{"url":"https://api.github.com/repos/okteto/okteto/pulls/427","id":319674553,"node_id":"MDExOlB1bGxSZXF1ZXN0MzE5Njc0NTUz","html_url":"https://github.com/okteto/okteto/pull/427","diff_url":"https://github.com/okteto/okteto/pull/427.diff","patch_url":"https://github.com/okteto/okteto/pull/427.patch","issue_url":"https://api.github.com/repos/okteto/okteto/issues/427","number":427,"state":"closed","locked":false,"title":"Wait for completion based on events","user":{"login":"pchico83","id":7474696,"node_id":"MDQ6VXNlcjc0NzQ2OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/7474696?v=4","gravatar_id":"","url":"https://api.github.com/users/pchico83","html_url":"https://github.com/pchico83","followers_url":"https://api.github.com/users/pchico83/followers","following_url":"https://api.github.com/users/pchico83/following{/other_user}","gists_url":"https://api.github.com/users/pchico83/gists{/gist_id}","starred_url":"https://api.github.com/users/pchico83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchico83/subscriptions","organizations_url":"https://api.github.com/users/pchico83/orgs","repos_url":"https://api.github.com/users/pchico83/repos","events_url":"https://api.github.com/users/pchico83/events{/privacy}","received_events_url":"https://api.github.com/users/pchico83/received_events","type":"User","site_admin":false},"body":"In order to implement #423 I need to check the completion state based on events.\r\n`/rest/db/completion` is high cpu intensive as reported in syncthing documentation:\r\nhttps://docs.syncthing.net/rest/db-completion-get.html\r\n\r\nAfter this change, I can implement the `okteto status` command using the same logic than here\r\n","created_at":"2019-09-20T11:15:33Z","updated_at":"2019-12-09T16:28:03Z","closed_at":"2019-12-09T16:28:03Z","merged_at":null,"merge_commit_sha":"7775fe5ceebea0f6b4a1333377869d4dbb435cb8","assignee":null,"assignees":[],"requested_reviewers":[{"login":"rlamana","id":237819,"node_id":"MDQ6VXNlcjIzNzgxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/237819?v=4","gravatar_id":"","url":"https://api.github.com/users/rlamana","html_url":"https://github.com/rlamana","followers_url":"https://api.github.com/users/rlamana/followers","following_url":"https://api.github.com/users/rlamana/following{/other_user}","gists_url":"https://api.github.com/users/rlamana/gists{/gist_id}","starred_url":"https://api.github.com/users/rlamana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlamana/subscriptions","organizations_url":"https://api.github.com/users/rlamana/orgs","repos_url":"https://api.github.com/users/rlamana/repos","events_url":"https://api.github.com/users/rlamana/events{/privacy}","received_events_url":"https://api.github.com/users/rlamana/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/okteto/okteto/pulls/427/commits","review_comments_url":"https://api.github.com/repos/okteto/okteto/pulls/427/comments","review_comment_url":"https://api.github.com/repos/okteto/okteto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/okteto/okteto/issues/427/comments","statuses_url":"https://api.github.com/repos/okteto/okteto/statuses/18704264fdcca9df0136e92dbd3d54c9808177db","head":{"label":"okteto:status","ref":"status","sha":"18704264fdcca9df0136e92dbd3d54c9808177db","user":{"login":"okteto","id":39767798,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NzY3Nzk4","avatar_url":"https://avatars0.githubusercontent.com/u/39767798?v=4","gravatar_id":"","url":"https://api.github.com/users/okteto","html_url":"https://github.com/okteto","followers_url":"https://api.github.com/users/okteto/followers","following_url":"https://api.github.com/users/okteto/following{/other_user}","gists_url":"https://api.github.com/users/okteto/gists{/gist_id}","starred_url":"https://api.github.com/users/okteto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okteto/subscriptions","organizations_url":"https://api.github.com/users/okteto/orgs","repos_url":"https://api.github.com/users/okteto/repos","events_url":"https://api.github.com/users/okteto/events{/privacy}","received_events_url":"https://api.github.com/users/okteto/received_events","type":"Organization","site_admin":false},"repo":{"id":143846881,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM4NDY4ODE=","name":"okteto","full_name":"okteto/okteto","private":false,"owner":{"login":"okteto","id":39767798,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NzY3Nzk4","avatar_url":"https://avatars0.githubusercontent.com/u/39767798?v=4","gravatar_id":"","url":"https://api.github.com/users/okteto","html_url":"https://github.com/okteto","followers_url":"https://api.github.com/users/okteto/followers","following_url":"https://api.github.com/users/okteto/following{/other_user}","gists_url":"https://api.github.com/users/okteto/gists{/gist_id}","starred_url":"https://api.github.com/users/okteto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okteto/subscriptions","organizations_url":"https://api.github.com/users/okteto/orgs","repos_url":"https://api.github.com/users/okteto/repos","events_url":"https://api.github.com/users/okteto/events{/privacy}","received_events_url":"https://api.github.com/users/okteto/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/okteto/okteto","description":"Build better applications by developing and testing your code directly in Kubernetes","fork":false,"url":"https://api.github.com/repos/okteto/okteto","forks_url":"https://api.github.com/repos/okteto/okteto/forks","keys_url":"https://api.github.com/repos/okteto/okteto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okteto/okteto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okteto/okteto/teams","hooks_url":"https://api.github.com/repos/okteto/okteto/hooks","issue_events_url":"https://api.github.com/repos/okteto/okteto/issues/events{/number}","events_url":"https://api.github.com/repos/okteto/okteto/events","assignees_url":"https://api.github.com/repos/okteto/okteto/assignees{/user}","branches_url":"https://api.github.com/repos/okteto/okteto/branches{/branch}","tags_url":"https://api.github.com/repos/okteto/okteto/tags","blobs_url":"https://api.github.com/repos/okteto/okteto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okteto/okteto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okteto/okteto/git/refs{/sha}","trees_url":"https://api.github.com/repos/okteto/okteto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okteto/okteto/statuses/{sha}","languages_url":"https://api.github.com/repos/okteto/okteto/languages","stargazers_url":"https://api.github.com/repos/okteto/okteto/stargazers","contributors_url":"https://api.github.com/repos/okteto/okteto/contributors","subscribers_url":"https://api.github.com/repos/okteto/okteto/subscribers","subscription_url":"https://api.github.com/repos/okteto/okteto/subscription","commits_url":"https://api.github.com/repos/okteto/okteto/commits{/sha}","git_commits_url":"https://api.github.com/repos/okteto/okteto/git/commits{/sha}","comments_url":"https://api.github.com/repos/okteto/okteto/comments{/number}","issue_comment_url":"https://api.github.com/repos/okteto/okteto/issues/comments{/number}","contents_url":"https://api.github.com/repos/okteto/okteto/contents/{+path}","compare_url":"https://api.github.com/repos/okteto/okteto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okteto/okteto/merges","archive_url":"https://api.github.com/repos/okteto/okteto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okteto/okteto/downloads","issues_url":"https://api.github.com/repos/okteto/okteto/issues{/number}","pulls_url":"https://api.github.com/repos/okteto/okteto/pulls{/number}","milestones_url":"https://api.github.com/repos/okteto/okteto/milestones{/number}","notifications_url":"https://api.github.com/repos/okteto/okteto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okteto/okteto/labels{/name}","releases_url":"https://api.github.com/repos/okteto/okteto/releases{/id}","deployments_url":"https://api.github.com/repos/okteto/okteto/deployments","created_at":"2018-08-07T08:57:27Z","updated_at":"2019-12-09T15:27:08Z","pushed_at":"2019-12-04T15:13:23Z","git_url":"git://github.com/okteto/okteto.git","ssh_url":"git@github.com:okteto/okteto.git","clone_url":"https://github.com/okteto/okteto.git","svn_url":"https://github.com/okteto/okteto","homepage":"https://okteto.com","size":11616,"stargazers_count":615,"watchers_count":615,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":41,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":49,"open_issues":41,"watchers":615,"default_branch":"master"}},"base":{"label":"okteto:master","ref":"master","sha":"53f2e32b579f6085803767557171132147deba86","user":{"login":"okteto","id":39767798,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NzY3Nzk4","avatar_url":"https://avatars0.githubusercontent.com/u/39767798?v=4","gravatar_id":"","url":"https://api.github.com/users/okteto","html_url":"https://github.com/okteto","followers_url":"https://api.github.com/users/okteto/followers","following_url":"https://api.github.com/users/okteto/following{/other_user}","gists_url":"https://api.github.com/users/okteto/gists{/gist_id}","starred_url":"https://api.github.com/users/okteto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okteto/subscriptions","organizations_url":"https://api.github.com/users/okteto/orgs","repos_url":"https://api.github.com/users/okteto/repos","events_url":"https://api.github.com/users/okteto/events{/privacy}","received_events_url":"https://api.github.com/users/okteto/received_events","type":"Organization","site_admin":false},"repo":{"id":143846881,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM4NDY4ODE=","name":"okteto","full_name":"okteto/okteto","private":false,"owner":{"login":"okteto","id":39767798,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NzY3Nzk4","avatar_url":"https://avatars0.githubusercontent.com/u/39767798?v=4","gravatar_id":"","url":"https://api.github.com/users/okteto","html_url":"https://github.com/okteto","followers_url":"https://api.github.com/users/okteto/followers","following_url":"https://api.github.com/users/okteto/following{/other_user}","gists_url":"https://api.github.com/users/okteto/gists{/gist_id}","starred_url":"https://api.github.com/users/okteto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okteto/subscriptions","organizations_url":"https://api.github.com/users/okteto/orgs","repos_url":"https://api.github.com/users/okteto/repos","events_url":"https://api.github.com/users/okteto/events{/privacy}","received_events_url":"https://api.github.com/users/okteto/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/okteto/okteto","description":"Build better applications by developing and testing your code directly in Kubernetes","fork":false,"url":"https://api.github.com/repos/okteto/okteto","forks_url":"https://api.github.com/repos/okteto/okteto/forks","keys_url":"https://api.github.com/repos/okteto/okteto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okteto/okteto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okteto/okteto/teams","hooks_url":"https://api.github.com/repos/okteto/okteto/hooks","issue_events_url":"https://api.github.com/repos/okteto/okteto/issues/events{/number}","events_url":"https://api.github.com/repos/okteto/okteto/events","assignees_url":"https://api.github.com/repos/okteto/okteto/assignees{/user}","branches_url":"https://api.github.com/repos/okteto/okteto/branches{/branch}","tags_url":"https://api.github.com/repos/okteto/okteto/tags","blobs_url":"https://api.github.com/repos/okteto/okteto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okteto/okteto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okteto/okteto/git/refs{/sha}","trees_url":"https://api.github.com/repos/okteto/okteto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okteto/okteto/statuses/{sha}","languages_url":"https://api.github.com/repos/okteto/okteto/languages","stargazers_url":"https://api.github.com/repos/okteto/okteto/stargazers","contributors_url":"https://api.github.com/repos/okteto/okteto/contributors","subscribers_url":"https://api.github.com/repos/okteto/okteto/subscribers","subscription_url":"https://api.github.com/repos/okteto/okteto/subscription","commits_url":"https://api.github.com/repos/okteto/okteto/commits{/sha}","git_commits_url":"https://api.github.com/repos/okteto/okteto/git/commits{/sha}","comments_url":"https://api.github.com/repos/okteto/okteto/comments{/number}","issue_comment_url":"https://api.github.com/repos/okteto/okteto/issues/comments{/number}","contents_url":"https://api.github.com/repos/okteto/okteto/contents/{+path}","compare_url":"https://api.github.com/repos/okteto/okteto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okteto/okteto/merges","archive_url":"https://api.github.com/repos/okteto/okteto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okteto/okteto/downloads","issues_url":"https://api.github.com/repos/okteto/okteto/issues{/number}","pulls_url":"https://api.github.com/repos/okteto/okteto/pulls{/number}","milestones_url":"https://api.github.com/repos/okteto/okteto/milestones{/number}","notifications_url":"https://api.github.com/repos/okteto/okteto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okteto/okteto/labels{/name}","releases_url":"https://api.github.com/repos/okteto/okteto/releases{/id}","deployments_url":"https://api.github.com/repos/okteto/okteto/deployments","created_at":"2018-08-07T08:57:27Z","updated_at":"2019-12-09T15:27:08Z","pushed_at":"2019-12-04T15:13:23Z","git_url":"git://github.com/okteto/okteto.git","ssh_url":"git@github.com:okteto/okteto.git","clone_url":"https://github.com/okteto/okteto.git","svn_url":"https://github.com/okteto/okteto","homepage":"https://okteto.com","size":11616,"stargazers_count":615,"watchers_count":615,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":41,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":49,"open_issues":41,"watchers":615,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/okteto/okteto/pulls/427"},"html":{"href":"https://github.com/okteto/okteto/pull/427"},"issue":{"href":"https://api.github.com/repos/okteto/okteto/issues/427"},"comments":{"href":"https://api.github.com/repos/okteto/okteto/issues/427/comments"},"review_comments":{"href":"https://api.github.com/repos/okteto/okteto/pulls/427/comments"},"review_comment":{"href":"https://api.github.com/repos/okteto/okteto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/okteto/okteto/pulls/427/commits"},"statuses":{"href":"https://api.github.com/repos/okteto/okteto/statuses/18704264fdcca9df0136e92dbd3d54c9808177db"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":6,"maintainer_can_modify":false,"commits":1,"additions":35,"deletions":52,"changed_files":1}}
{"actor":{"display_login":"pchico83"}}