{"action":"created","comment":{"url":"https://api.github.com/repos/projectatomic/libpod/pulls/comments/181566374","pull_request_review_id":112221940,"id":181566374,"diff_hunk":"@@ -117,18 +117,20 @@ func (ir *Runtime) NewFromLocal(name string) (*Image, error) {\n \n // New creates a new image object where the image could be local\n // or remote\n-func (ir *Runtime) New(name, signaturePolicyPath, authfile string, writer io.Writer, dockeroptions *DockerRegistryOptions, signingoptions SigningOptions) (*Image, error) {\n+func (ir *Runtime) New(name, signaturePolicyPath, authfile string, writer io.Writer, dockeroptions *DockerRegistryOptions, signingoptions SigningOptions, forceRemote bool) (*Image, error) {","path":"libpod/image/image.go","position":5,"original_position":5,"commit_id":"072c12bc0a5d2d937752391182e34c7f542f82c7","original_commit_id":"072c12bc0a5d2d937752391182e34c7f542f82c7","user":{"login":"baude","id":8824535,"avatar_url":"https://avatars3.githubusercontent.com/u/8824535?v=4","gravatar_id":"","url":"https://api.github.com/users/baude","html_url":"https://github.com/baude","followers_url":"https://api.github.com/users/baude/followers","following_url":"https://api.github.com/users/baude/following{/other_user}","gists_url":"https://api.github.com/users/baude/gists{/gist_id}","starred_url":"https://api.github.com/users/baude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baude/subscriptions","organizations_url":"https://api.github.com/users/baude/orgs","repos_url":"https://api.github.com/users/baude/repos","events_url":"https://api.github.com/users/baude/events{/privacy}","received_events_url":"https://api.github.com/users/baude/received_events","type":"User","site_admin":false},"body":"Fixed","created_at":"2018-04-14T23:35:08Z","updated_at":"2018-04-14T23:35:08Z","html_url":"https://github.com/projectatomic/libpod/pull/618#discussion_r181566374","pull_request_url":"https://api.github.com/repos/projectatomic/libpod/pulls/618","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/projectatomic/libpod/pulls/comments/181566374"},"html":{"href":"https://github.com/projectatomic/libpod/pull/618#discussion_r181566374"},"pull_request":{"href":"https://api.github.com/repos/projectatomic/libpod/pulls/618"}},"in_reply_to_id":181563148},"pull_request":{"url":"https://api.github.com/repos/projectatomic/libpod/pulls/618","id":181666125,"html_url":"https://github.com/projectatomic/libpod/pull/618","diff_url":"https://github.com/projectatomic/libpod/pull/618.diff","patch_url":"https://github.com/projectatomic/libpod/pull/618.patch","issue_url":"https://api.github.com/repos/projectatomic/libpod/issues/618","number":618,"state":"open","locked":false,"title":"podman pull should always try to pull","user":{"login":"baude","id":8824535,"avatar_url":"https://avatars3.githubusercontent.com/u/8824535?v=4","gravatar_id":"","url":"https://api.github.com/users/baude","html_url":"https://github.com/baude","followers_url":"https://api.github.com/users/baude/followers","following_url":"https://api.github.com/users/baude/following{/other_user}","gists_url":"https://api.github.com/users/baude/gists{/gist_id}","starred_url":"https://api.github.com/users/baude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baude/subscriptions","organizations_url":"https://api.github.com/users/baude/orgs","repos_url":"https://api.github.com/users/baude/repos","events_url":"https://api.github.com/users/baude/events{/privacy}","received_events_url":"https://api.github.com/users/baude/received_events","type":"User","site_admin":false},"body":"In the case where you have an image local, if the the user runs\r\npodman pull, we should always attempt to pull an updated image.\r\n\r\nAdded a forceRemote bool to New (image) so we can differentiate\r\nbetween \"pull\" or run because the actions differ.  Run does not\r\nneed to pull the latest -- only run.\r\n\r\nSigned-off-by: baude <bbaude@redhat.com>","created_at":"2018-04-14T20:38:21Z","updated_at":"2018-04-14T23:35:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dbf313047b2e4c2ca6cc2a517b14fd8fa78895a0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/projectatomic/libpod/pulls/618/commits","review_comments_url":"https://api.github.com/repos/projectatomic/libpod/pulls/618/comments","review_comment_url":"https://api.github.com/repos/projectatomic/libpod/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectatomic/libpod/issues/618/comments","statuses_url":"https://api.github.com/repos/projectatomic/libpod/statuses/072c12bc0a5d2d937752391182e34c7f542f82c7","head":{"label":"baude:repull","ref":"repull","sha":"072c12bc0a5d2d937752391182e34c7f542f82c7","user":{"login":"baude","id":8824535,"avatar_url":"https://avatars3.githubusercontent.com/u/8824535?v=4","gravatar_id":"","url":"https://api.github.com/users/baude","html_url":"https://github.com/baude","followers_url":"https://api.github.com/users/baude/followers","following_url":"https://api.github.com/users/baude/following{/other_user}","gists_url":"https://api.github.com/users/baude/gists{/gist_id}","starred_url":"https://api.github.com/users/baude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baude/subscriptions","organizations_url":"https://api.github.com/users/baude/orgs","repos_url":"https://api.github.com/users/baude/repos","events_url":"https://api.github.com/users/baude/events{/privacy}","received_events_url":"https://api.github.com/users/baude/received_events","type":"User","site_admin":false},"repo":{"id":109146017,"name":"libpod","full_name":"baude/libpod","owner":{"login":"baude","id":8824535,"avatar_url":"https://avatars3.githubusercontent.com/u/8824535?v=4","gravatar_id":"","url":"https://api.github.com/users/baude","html_url":"https://github.com/baude","followers_url":"https://api.github.com/users/baude/followers","following_url":"https://api.github.com/users/baude/following{/other_user}","gists_url":"https://api.github.com/users/baude/gists{/gist_id}","starred_url":"https://api.github.com/users/baude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baude/subscriptions","organizations_url":"https://api.github.com/users/baude/orgs","repos_url":"https://api.github.com/users/baude/repos","events_url":"https://api.github.com/users/baude/events{/privacy}","received_events_url":"https://api.github.com/users/baude/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/baude/libpod","description":"libpod is a library used to create container pods.","fork":true,"url":"https://api.github.com/repos/baude/libpod","forks_url":"https://api.github.com/repos/baude/libpod/forks","keys_url":"https://api.github.com/repos/baude/libpod/keys{/key_id}","collaborators_url":"https://api.github.com/repos/baude/libpod/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/baude/libpod/teams","hooks_url":"https://api.github.com/repos/baude/libpod/hooks","issue_events_url":"https://api.github.com/repos/baude/libpod/issues/events{/number}","events_url":"https://api.github.com/repos/baude/libpod/events","assignees_url":"https://api.github.com/repos/baude/libpod/assignees{/user}","branches_url":"https://api.github.com/repos/baude/libpod/branches{/branch}","tags_url":"https://api.github.com/repos/baude/libpod/tags","blobs_url":"https://api.github.com/repos/baude/libpod/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/baude/libpod/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/baude/libpod/git/refs{/sha}","trees_url":"https://api.github.com/repos/baude/libpod/git/trees{/sha}","statuses_url":"https://api.github.com/repos/baude/libpod/statuses/{sha}","languages_url":"https://api.github.com/repos/baude/libpod/languages","stargazers_url":"https://api.github.com/repos/baude/libpod/stargazers","contributors_url":"https://api.github.com/repos/baude/libpod/contributors","subscribers_url":"https://api.github.com/repos/baude/libpod/subscribers","subscription_url":"https://api.github.com/repos/baude/libpod/subscription","commits_url":"https://api.github.com/repos/baude/libpod/commits{/sha}","git_commits_url":"https://api.github.com/repos/baude/libpod/git/commits{/sha}","comments_url":"https://api.github.com/repos/baude/libpod/comments{/number}","issue_comment_url":"https://api.github.com/repos/baude/libpod/issues/comments{/number}","contents_url":"https://api.github.com/repos/baude/libpod/contents/{+path}","compare_url":"https://api.github.com/repos/baude/libpod/compare/{base}...{head}","merges_url":"https://api.github.com/repos/baude/libpod/merges","archive_url":"https://api.github.com/repos/baude/libpod/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/baude/libpod/downloads","issues_url":"https://api.github.com/repos/baude/libpod/issues{/number}","pulls_url":"https://api.github.com/repos/baude/libpod/pulls{/number}","milestones_url":"https://api.github.com/repos/baude/libpod/milestones{/number}","notifications_url":"https://api.github.com/repos/baude/libpod/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/baude/libpod/labels{/name}","releases_url":"https://api.github.com/repos/baude/libpod/releases{/id}","deployments_url":"https://api.github.com/repos/baude/libpod/deployments","created_at":"2017-11-01T15:05:39Z","updated_at":"2017-11-01T15:01:27Z","pushed_at":"2018-04-14T20:37:58Z","git_url":"git://github.com/baude/libpod.git","ssh_url":"git@github.com:baude/libpod.git","clone_url":"https://github.com/baude/libpod.git","svn_url":"https://github.com/baude/libpod","homepage":null,"size":10836,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"projectatomic:master","ref":"master","sha":"62b59df053357f040d85c26727734815046e2bc3","user":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars1.githubusercontent.com/u/6852258?v=4","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"repo":{"id":109145553,"name":"libpod","full_name":"projectatomic/libpod","owner":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars1.githubusercontent.com/u/6852258?v=4","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectatomic/libpod","description":"libpod is a library used to create container pods.","fork":false,"url":"https://api.github.com/repos/projectatomic/libpod","forks_url":"https://api.github.com/repos/projectatomic/libpod/forks","keys_url":"https://api.github.com/repos/projectatomic/libpod/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectatomic/libpod/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectatomic/libpod/teams","hooks_url":"https://api.github.com/repos/projectatomic/libpod/hooks","issue_events_url":"https://api.github.com/repos/projectatomic/libpod/issues/events{/number}","events_url":"https://api.github.com/repos/projectatomic/libpod/events","assignees_url":"https://api.github.com/repos/projectatomic/libpod/assignees{/user}","branches_url":"https://api.github.com/repos/projectatomic/libpod/branches{/branch}","tags_url":"https://api.github.com/repos/projectatomic/libpod/tags","blobs_url":"https://api.github.com/repos/projectatomic/libpod/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectatomic/libpod/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectatomic/libpod/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectatomic/libpod/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectatomic/libpod/statuses/{sha}","languages_url":"https://api.github.com/repos/projectatomic/libpod/languages","stargazers_url":"https://api.github.com/repos/projectatomic/libpod/stargazers","contributors_url":"https://api.github.com/repos/projectatomic/libpod/contributors","subscribers_url":"https://api.github.com/repos/projectatomic/libpod/subscribers","subscription_url":"https://api.github.com/repos/projectatomic/libpod/subscription","commits_url":"https://api.github.com/repos/projectatomic/libpod/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectatomic/libpod/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectatomic/libpod/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectatomic/libpod/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectatomic/libpod/contents/{+path}","compare_url":"https://api.github.com/repos/projectatomic/libpod/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectatomic/libpod/merges","archive_url":"https://api.github.com/repos/projectatomic/libpod/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectatomic/libpod/downloads","issues_url":"https://api.github.com/repos/projectatomic/libpod/issues{/number}","pulls_url":"https://api.github.com/repos/projectatomic/libpod/pulls{/number}","milestones_url":"https://api.github.com/repos/projectatomic/libpod/milestones{/number}","notifications_url":"https://api.github.com/repos/projectatomic/libpod/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectatomic/libpod/labels{/name}","releases_url":"https://api.github.com/repos/projectatomic/libpod/releases{/id}","deployments_url":"https://api.github.com/repos/projectatomic/libpod/deployments","created_at":"2017-11-01T15:01:27Z","updated_at":"2018-04-14T19:20:56Z","pushed_at":"2018-04-14T21:40:41Z","git_url":"git://github.com/projectatomic/libpod.git","ssh_url":"git@github.com:projectatomic/libpod.git","clone_url":"https://github.com/projectatomic/libpod.git","svn_url":"https://github.com/projectatomic/libpod","homepage":null,"size":10592,"stargazers_count":87,"watchers_count":87,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"archived":false,"open_issues_count":48,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":38,"open_issues":48,"watchers":87,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectatomic/libpod/pulls/618"},"html":{"href":"https://github.com/projectatomic/libpod/pull/618"},"issue":{"href":"https://api.github.com/repos/projectatomic/libpod/issues/618"},"comments":{"href":"https://api.github.com/repos/projectatomic/libpod/issues/618/comments"},"review_comments":{"href":"https://api.github.com/repos/projectatomic/libpod/pulls/618/comments"},"review_comment":{"href":"https://api.github.com/repos/projectatomic/libpod/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectatomic/libpod/pulls/618/commits"},"statuses":{"href":"https://api.github.com/repos/projectatomic/libpod/statuses/072c12bc0a5d2d937752391182e34c7f542f82c7"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"baude"}}