{"action":"created","comment":{"url":"https://api.github.com/repos/SUSE/zypper-docker/pulls/comments/39060368","id":39060368,"diff_hunk":"@@ -189,6 +189,63 @@\n       expect(exception.stdout).to include('security patches')\n       expect(exception.stdout).to include('patches needed')\n     end\n+  end\n+\n+  context \"analyze a running container\" do\n+    before :all do\n+      @keep_alpine = docker_image_exists?(\"alpine\", \"latest\")\n+      if !@keep_alpine","path":"spec/patches_operations_spec.rb","position":9,"original_position":9,"commit_id":"c99ca4f59ad98412c19cbcc842e849003cac7099","original_commit_id":"c99ca4f59ad98412c19cbcc842e849003cac7099","user":{"login":"mssola","id":767943,"avatar_url":"https://avatars.githubusercontent.com/u/767943?v=3","gravatar_id":"","url":"https://api.github.com/users/mssola","html_url":"https://github.com/mssola","followers_url":"https://api.github.com/users/mssola/followers","following_url":"https://api.github.com/users/mssola/following{/other_user}","gists_url":"https://api.github.com/users/mssola/gists{/gist_id}","starred_url":"https://api.github.com/users/mssola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mssola/subscriptions","organizations_url":"https://api.github.com/users/mssola/orgs","repos_url":"https://api.github.com/users/mssola/repos","events_url":"https://api.github.com/users/mssola/events{/privacy}","received_events_url":"https://api.github.com/users/mssola/received_events","type":"User","site_admin":false},"body":"```ruby\r\npull_image(\"alpine:latest\") unless @keep_alpine\r\n```","created_at":"2015-09-09T15:51:08Z","updated_at":"2015-09-09T15:51:08Z","html_url":"https://github.com/SUSE/zypper-docker/pull/46#discussion_r39060368","pull_request_url":"https://api.github.com/repos/SUSE/zypper-docker/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/SUSE/zypper-docker/pulls/comments/39060368"},"html":{"href":"https://github.com/SUSE/zypper-docker/pull/46#discussion_r39060368"},"pull_request":{"href":"https://api.github.com/repos/SUSE/zypper-docker/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/SUSE/zypper-docker/pulls/46","id":44567089,"html_url":"https://github.com/SUSE/zypper-docker/pull/46","diff_url":"https://github.com/SUSE/zypper-docker/pull/46.diff","patch_url":"https://github.com/SUSE/zypper-docker/pull/46.patch","issue_url":"https://api.github.com/repos/SUSE/zypper-docker/issues/46","number":46,"state":"open","locked":false,"title":"Integration tests","user":{"login":"flavio","id":22728,"avatar_url":"https://avatars.githubusercontent.com/u/22728?v=3","gravatar_id":"","url":"https://api.github.com/users/flavio","html_url":"https://github.com/flavio","followers_url":"https://api.github.com/users/flavio/followers","following_url":"https://api.github.com/users/flavio/following{/other_user}","gists_url":"https://api.github.com/users/flavio/gists{/gist_id}","starred_url":"https://api.github.com/users/flavio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flavio/subscriptions","organizations_url":"https://api.github.com/users/flavio/orgs","repos_url":"https://api.github.com/users/flavio/repos","events_url":"https://api.github.com/users/flavio/events{/privacy}","received_events_url":"https://api.github.com/users/flavio/received_events","type":"User","site_admin":false},"body":"more tests","created_at":"2015-09-09T15:49:34Z","updated_at":"2015-09-09T15:51:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c09e43f10e8e328594500408efe024b55ba9b829","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SUSE/zypper-docker/pulls/46/commits","review_comments_url":"https://api.github.com/repos/SUSE/zypper-docker/pulls/46/comments","review_comment_url":"https://api.github.com/repos/SUSE/zypper-docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SUSE/zypper-docker/issues/46/comments","statuses_url":"https://api.github.com/repos/SUSE/zypper-docker/statuses/c99ca4f59ad98412c19cbcc842e849003cac7099","head":{"label":"SUSE:integration_tests","ref":"integration_tests","sha":"c99ca4f59ad98412c19cbcc842e849003cac7099","user":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":39391741,"name":"zypper-docker","full_name":"SUSE/zypper-docker","owner":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SUSE/zypper-docker","description":"Simple patch and update solution for Docker images","fork":false,"url":"https://api.github.com/repos/SUSE/zypper-docker","forks_url":"https://api.github.com/repos/SUSE/zypper-docker/forks","keys_url":"https://api.github.com/repos/SUSE/zypper-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SUSE/zypper-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SUSE/zypper-docker/teams","hooks_url":"https://api.github.com/repos/SUSE/zypper-docker/hooks","issue_events_url":"https://api.github.com/repos/SUSE/zypper-docker/issues/events{/number}","events_url":"https://api.github.com/repos/SUSE/zypper-docker/events","assignees_url":"https://api.github.com/repos/SUSE/zypper-docker/assignees{/user}","branches_url":"https://api.github.com/repos/SUSE/zypper-docker/branches{/branch}","tags_url":"https://api.github.com/repos/SUSE/zypper-docker/tags","blobs_url":"https://api.github.com/repos/SUSE/zypper-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SUSE/zypper-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SUSE/zypper-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/SUSE/zypper-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SUSE/zypper-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/SUSE/zypper-docker/languages","stargazers_url":"https://api.github.com/repos/SUSE/zypper-docker/stargazers","contributors_url":"https://api.github.com/repos/SUSE/zypper-docker/contributors","subscribers_url":"https://api.github.com/repos/SUSE/zypper-docker/subscribers","subscription_url":"https://api.github.com/repos/SUSE/zypper-docker/subscription","commits_url":"https://api.github.com/repos/SUSE/zypper-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/SUSE/zypper-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/SUSE/zypper-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/SUSE/zypper-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/SUSE/zypper-docker/contents/{+path}","compare_url":"https://api.github.com/repos/SUSE/zypper-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SUSE/zypper-docker/merges","archive_url":"https://api.github.com/repos/SUSE/zypper-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SUSE/zypper-docker/downloads","issues_url":"https://api.github.com/repos/SUSE/zypper-docker/issues{/number}","pulls_url":"https://api.github.com/repos/SUSE/zypper-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/SUSE/zypper-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/SUSE/zypper-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SUSE/zypper-docker/labels{/name}","releases_url":"https://api.github.com/repos/SUSE/zypper-docker/releases{/id}","created_at":"2015-07-20T15:23:17Z","updated_at":"2015-08-28T09:41:27Z","pushed_at":"2015-09-09T15:49:34Z","git_url":"git://github.com/SUSE/zypper-docker.git","ssh_url":"git@github.com:SUSE/zypper-docker.git","clone_url":"https://github.com/SUSE/zypper-docker.git","svn_url":"https://github.com/SUSE/zypper-docker","homepage":null,"size":555,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":4,"default_branch":"master"}},"base":{"label":"SUSE:master","ref":"master","sha":"513afb521d7ac2d64660cbb9e53c7aec28d33e3a","user":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":39391741,"name":"zypper-docker","full_name":"SUSE/zypper-docker","owner":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SUSE/zypper-docker","description":"Simple patch and update solution for Docker images","fork":false,"url":"https://api.github.com/repos/SUSE/zypper-docker","forks_url":"https://api.github.com/repos/SUSE/zypper-docker/forks","keys_url":"https://api.github.com/repos/SUSE/zypper-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SUSE/zypper-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SUSE/zypper-docker/teams","hooks_url":"https://api.github.com/repos/SUSE/zypper-docker/hooks","issue_events_url":"https://api.github.com/repos/SUSE/zypper-docker/issues/events{/number}","events_url":"https://api.github.com/repos/SUSE/zypper-docker/events","assignees_url":"https://api.github.com/repos/SUSE/zypper-docker/assignees{/user}","branches_url":"https://api.github.com/repos/SUSE/zypper-docker/branches{/branch}","tags_url":"https://api.github.com/repos/SUSE/zypper-docker/tags","blobs_url":"https://api.github.com/repos/SUSE/zypper-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SUSE/zypper-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SUSE/zypper-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/SUSE/zypper-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SUSE/zypper-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/SUSE/zypper-docker/languages","stargazers_url":"https://api.github.com/repos/SUSE/zypper-docker/stargazers","contributors_url":"https://api.github.com/repos/SUSE/zypper-docker/contributors","subscribers_url":"https://api.github.com/repos/SUSE/zypper-docker/subscribers","subscription_url":"https://api.github.com/repos/SUSE/zypper-docker/subscription","commits_url":"https://api.github.com/repos/SUSE/zypper-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/SUSE/zypper-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/SUSE/zypper-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/SUSE/zypper-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/SUSE/zypper-docker/contents/{+path}","compare_url":"https://api.github.com/repos/SUSE/zypper-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SUSE/zypper-docker/merges","archive_url":"https://api.github.com/repos/SUSE/zypper-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SUSE/zypper-docker/downloads","issues_url":"https://api.github.com/repos/SUSE/zypper-docker/issues{/number}","pulls_url":"https://api.github.com/repos/SUSE/zypper-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/SUSE/zypper-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/SUSE/zypper-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SUSE/zypper-docker/labels{/name}","releases_url":"https://api.github.com/repos/SUSE/zypper-docker/releases{/id}","created_at":"2015-07-20T15:23:17Z","updated_at":"2015-08-28T09:41:27Z","pushed_at":"2015-09-09T15:49:34Z","git_url":"git://github.com/SUSE/zypper-docker.git","ssh_url":"git@github.com:SUSE/zypper-docker.git","clone_url":"https://github.com/SUSE/zypper-docker.git","svn_url":"https://github.com/SUSE/zypper-docker","homepage":null,"size":555,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SUSE/zypper-docker/pulls/46"},"html":{"href":"https://github.com/SUSE/zypper-docker/pull/46"},"issue":{"href":"https://api.github.com/repos/SUSE/zypper-docker/issues/46"},"comments":{"href":"https://api.github.com/repos/SUSE/zypper-docker/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/SUSE/zypper-docker/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/SUSE/zypper-docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SUSE/zypper-docker/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/SUSE/zypper-docker/statuses/c99ca4f59ad98412c19cbcc842e849003cac7099"}}}}