{"action":"created","comment":{"url":"https://api.github.com/repos/projectatomic/atomic/pulls/comments/58508214","id":58508214,"diff_hunk":"@@ -327,6 +337,18 @@ if __name__ == '__main__':\n         epilog=\"push the latest specified image to a repository.\")\n     pushp.set_defaults(func='push')\n \n+    # atomic pull\n+    pullp = subparser.add_parser(\"pull\", help=_(\"pull latest image from a repository\"),\n+        epilog=\"pull the latest specified image from a repository.\")\n+    pullp.add_argument(\"--tar\", dest=\"tar\", action=\"store_true\",\n+                       help=_(\"import from a Docker save'd tarball.\"))\n+    pullp.add_argument(\"--docker\", dest=\"docker\", action=\"store_true\",\n+                       help=_(\"import from a Docker registry.\"))\n+    pullp.add_argument(\"--ostree\", dest=\"ostree\", action=\"store_true\",\n+                       help=_(\"import from an OSTree repository.\"))\n+    pullp.add_argument(\"image\", help=_(\"image id\"))\n+    pullp.set_defaults(func='pull_image')\n+","path":"atomic","position":39,"original_position":39,"commit_id":"3fdbfe6bd7cf30f44de6ad720ab54a797926db61","original_commit_id":"3fdbfe6bd7cf30f44de6ad720ab54a797926db61","user":{"login":"runcom","id":849915,"avatar_url":"https://avatars.githubusercontent.com/u/849915?v=3","gravatar_id":"","url":"https://api.github.com/users/runcom","html_url":"https://github.com/runcom","followers_url":"https://api.github.com/users/runcom/followers","following_url":"https://api.github.com/users/runcom/following{/other_user}","gists_url":"https://api.github.com/users/runcom/gists{/gist_id}","starred_url":"https://api.github.com/users/runcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runcom/subscriptions","organizations_url":"https://api.github.com/users/runcom/orgs","repos_url":"https://api.github.com/users/runcom/repos","events_url":"https://api.github.com/users/runcom/events{/privacy}","received_events_url":"https://api.github.com/users/runcom/received_events","type":"User","site_admin":false},"body":"I'm more for the image prefix as a way to standardize those flags","created_at":"2016-04-05T09:29:00Z","updated_at":"2016-04-05T09:29:00Z","html_url":"https://github.com/projectatomic/atomic/pull/334#discussion_r58508214","pull_request_url":"https://api.github.com/repos/projectatomic/atomic/pulls/334","_links":{"self":{"href":"https://api.github.com/repos/projectatomic/atomic/pulls/comments/58508214"},"html":{"href":"https://github.com/projectatomic/atomic/pull/334#discussion_r58508214"},"pull_request":{"href":"https://api.github.com/repos/projectatomic/atomic/pulls/334"}}},"pull_request":{"url":"https://api.github.com/repos/projectatomic/atomic/pulls/334","id":64954896,"html_url":"https://github.com/projectatomic/atomic/pull/334","diff_url":"https://github.com/projectatomic/atomic/pull/334.diff","patch_url":"https://github.com/projectatomic/atomic/pull/334.patch","issue_url":"https://api.github.com/repos/projectatomic/atomic/issues/334","number":334,"state":"open","locked":false,"title":"[RFC][DO NOT MERGE] System containers","user":{"login":"giuseppe","id":67430,"avatar_url":"https://avatars.githubusercontent.com/u/67430?v=3","gravatar_id":"","url":"https://api.github.com/users/giuseppe","html_url":"https://github.com/giuseppe","followers_url":"https://api.github.com/users/giuseppe/followers","following_url":"https://api.github.com/users/giuseppe/following{/other_user}","gists_url":"https://api.github.com/users/giuseppe/gists{/gist_id}","starred_url":"https://api.github.com/users/giuseppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giuseppe/subscriptions","organizations_url":"https://api.github.com/users/giuseppe/orgs","repos_url":"https://api.github.com/users/giuseppe/repos","events_url":"https://api.github.com/users/giuseppe/events{/privacy}","received_events_url":"https://api.github.com/users/giuseppe/received_events","type":"User","site_admin":false},"body":"these patches are the current status of system containers.  There are a few things missing on Atomic Host before this feature can be used:\r\n\r\n- skopeo\r\n- runc\r\n- python3-gobject-base\r\n\r\nFor an idea of how they work, I prepared a demo here: https://asciinema.org/a/40300\r\n\r\n","created_at":"2016-04-01T14:42:54Z","updated_at":"2016-04-05T09:29:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a9c682c8ffae2d95a7c82cd288de041466a01f2f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/projectatomic/atomic/pulls/334/commits","review_comments_url":"https://api.github.com/repos/projectatomic/atomic/pulls/334/comments","review_comment_url":"https://api.github.com/repos/projectatomic/atomic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectatomic/atomic/issues/334/comments","statuses_url":"https://api.github.com/repos/projectatomic/atomic/statuses/3fdbfe6bd7cf30f44de6ad720ab54a797926db61","head":{"label":"giuseppe:system-containers","ref":"system-containers","sha":"3fdbfe6bd7cf30f44de6ad720ab54a797926db61","user":{"login":"giuseppe","id":67430,"avatar_url":"https://avatars.githubusercontent.com/u/67430?v=3","gravatar_id":"","url":"https://api.github.com/users/giuseppe","html_url":"https://github.com/giuseppe","followers_url":"https://api.github.com/users/giuseppe/followers","following_url":"https://api.github.com/users/giuseppe/following{/other_user}","gists_url":"https://api.github.com/users/giuseppe/gists{/gist_id}","starred_url":"https://api.github.com/users/giuseppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giuseppe/subscriptions","organizations_url":"https://api.github.com/users/giuseppe/orgs","repos_url":"https://api.github.com/users/giuseppe/repos","events_url":"https://api.github.com/users/giuseppe/events{/privacy}","received_events_url":"https://api.github.com/users/giuseppe/received_events","type":"User","site_admin":false},"repo":{"id":51300220,"name":"atomic","full_name":"giuseppe/atomic","owner":{"login":"giuseppe","id":67430,"avatar_url":"https://avatars.githubusercontent.com/u/67430?v=3","gravatar_id":"","url":"https://api.github.com/users/giuseppe","html_url":"https://github.com/giuseppe","followers_url":"https://api.github.com/users/giuseppe/followers","following_url":"https://api.github.com/users/giuseppe/following{/other_user}","gists_url":"https://api.github.com/users/giuseppe/gists{/gist_id}","starred_url":"https://api.github.com/users/giuseppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giuseppe/subscriptions","organizations_url":"https://api.github.com/users/giuseppe/orgs","repos_url":"https://api.github.com/users/giuseppe/repos","events_url":"https://api.github.com/users/giuseppe/events{/privacy}","received_events_url":"https://api.github.com/users/giuseppe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/giuseppe/atomic","description":"Atomic Run Tool for installing/running/managing container images.","fork":true,"url":"https://api.github.com/repos/giuseppe/atomic","forks_url":"https://api.github.com/repos/giuseppe/atomic/forks","keys_url":"https://api.github.com/repos/giuseppe/atomic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giuseppe/atomic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giuseppe/atomic/teams","hooks_url":"https://api.github.com/repos/giuseppe/atomic/hooks","issue_events_url":"https://api.github.com/repos/giuseppe/atomic/issues/events{/number}","events_url":"https://api.github.com/repos/giuseppe/atomic/events","assignees_url":"https://api.github.com/repos/giuseppe/atomic/assignees{/user}","branches_url":"https://api.github.com/repos/giuseppe/atomic/branches{/branch}","tags_url":"https://api.github.com/repos/giuseppe/atomic/tags","blobs_url":"https://api.github.com/repos/giuseppe/atomic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giuseppe/atomic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giuseppe/atomic/git/refs{/sha}","trees_url":"https://api.github.com/repos/giuseppe/atomic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giuseppe/atomic/statuses/{sha}","languages_url":"https://api.github.com/repos/giuseppe/atomic/languages","stargazers_url":"https://api.github.com/repos/giuseppe/atomic/stargazers","contributors_url":"https://api.github.com/repos/giuseppe/atomic/contributors","subscribers_url":"https://api.github.com/repos/giuseppe/atomic/subscribers","subscription_url":"https://api.github.com/repos/giuseppe/atomic/subscription","commits_url":"https://api.github.com/repos/giuseppe/atomic/commits{/sha}","git_commits_url":"https://api.github.com/repos/giuseppe/atomic/git/commits{/sha}","comments_url":"https://api.github.com/repos/giuseppe/atomic/comments{/number}","issue_comment_url":"https://api.github.com/repos/giuseppe/atomic/issues/comments{/number}","contents_url":"https://api.github.com/repos/giuseppe/atomic/contents/{+path}","compare_url":"https://api.github.com/repos/giuseppe/atomic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giuseppe/atomic/merges","archive_url":"https://api.github.com/repos/giuseppe/atomic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giuseppe/atomic/downloads","issues_url":"https://api.github.com/repos/giuseppe/atomic/issues{/number}","pulls_url":"https://api.github.com/repos/giuseppe/atomic/pulls{/number}","milestones_url":"https://api.github.com/repos/giuseppe/atomic/milestones{/number}","notifications_url":"https://api.github.com/repos/giuseppe/atomic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giuseppe/atomic/labels{/name}","releases_url":"https://api.github.com/repos/giuseppe/atomic/releases{/id}","deployments_url":"https://api.github.com/repos/giuseppe/atomic/deployments","created_at":"2016-02-08T13:45:27Z","updated_at":"2016-02-08T13:45:28Z","pushed_at":"2016-04-04T13:35:38Z","git_url":"git://github.com/giuseppe/atomic.git","ssh_url":"git@github.com:giuseppe/atomic.git","clone_url":"https://github.com/giuseppe/atomic.git","svn_url":"https://github.com/giuseppe/atomic","homepage":null,"size":1401,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"projectatomic:master","ref":"master","sha":"cd1db7d82f3084e47e1b274902f4265904c4490b","user":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars.githubusercontent.com/u/6852258?v=3","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":29267754,"name":"atomic","full_name":"projectatomic/atomic","owner":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars.githubusercontent.com/u/6852258?v=3","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/atomic","description":"Atomic Run Tool for installing/running/managing container images.","fork":false,"url":"https://api.github.com/repos/projectatomic/atomic","forks_url":"https://api.github.com/repos/projectatomic/atomic/forks","keys_url":"https://api.github.com/repos/projectatomic/atomic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectatomic/atomic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectatomic/atomic/teams","hooks_url":"https://api.github.com/repos/projectatomic/atomic/hooks","issue_events_url":"https://api.github.com/repos/projectatomic/atomic/issues/events{/number}","events_url":"https://api.github.com/repos/projectatomic/atomic/events","assignees_url":"https://api.github.com/repos/projectatomic/atomic/assignees{/user}","branches_url":"https://api.github.com/repos/projectatomic/atomic/branches{/branch}","tags_url":"https://api.github.com/repos/projectatomic/atomic/tags","blobs_url":"https://api.github.com/repos/projectatomic/atomic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectatomic/atomic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectatomic/atomic/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectatomic/atomic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectatomic/atomic/statuses/{sha}","languages_url":"https://api.github.com/repos/projectatomic/atomic/languages","stargazers_url":"https://api.github.com/repos/projectatomic/atomic/stargazers","contributors_url":"https://api.github.com/repos/projectatomic/atomic/contributors","subscribers_url":"https://api.github.com/repos/projectatomic/atomic/subscribers","subscription_url":"https://api.github.com/repos/projectatomic/atomic/subscription","commits_url":"https://api.github.com/repos/projectatomic/atomic/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectatomic/atomic/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectatomic/atomic/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectatomic/atomic/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectatomic/atomic/contents/{+path}","compare_url":"https://api.github.com/repos/projectatomic/atomic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectatomic/atomic/merges","archive_url":"https://api.github.com/repos/projectatomic/atomic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectatomic/atomic/downloads","issues_url":"https://api.github.com/repos/projectatomic/atomic/issues{/number}","pulls_url":"https://api.github.com/repos/projectatomic/atomic/pulls{/number}","milestones_url":"https://api.github.com/repos/projectatomic/atomic/milestones{/number}","notifications_url":"https://api.github.com/repos/projectatomic/atomic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectatomic/atomic/labels{/name}","releases_url":"https://api.github.com/repos/projectatomic/atomic/releases{/id}","deployments_url":"https://api.github.com/repos/projectatomic/atomic/deployments","created_at":"2015-01-14T21:54:06Z","updated_at":"2016-04-03T22:25:48Z","pushed_at":"2016-04-04T18:10:03Z","git_url":"git://github.com/projectatomic/atomic.git","ssh_url":"git@github.com:projectatomic/atomic.git","clone_url":"https://github.com/projectatomic/atomic.git","svn_url":"https://github.com/projectatomic/atomic","homepage":null,"size":1520,"stargazers_count":152,"watchers_count":152,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":81,"mirror_url":null,"open_issues_count":24,"forks":81,"open_issues":24,"watchers":152,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectatomic/atomic/pulls/334"},"html":{"href":"https://github.com/projectatomic/atomic/pull/334"},"issue":{"href":"https://api.github.com/repos/projectatomic/atomic/issues/334"},"comments":{"href":"https://api.github.com/repos/projectatomic/atomic/issues/334/comments"},"review_comments":{"href":"https://api.github.com/repos/projectatomic/atomic/pulls/334/comments"},"review_comment":{"href":"https://api.github.com/repos/projectatomic/atomic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectatomic/atomic/pulls/334/commits"},"statuses":{"href":"https://api.github.com/repos/projectatomic/atomic/statuses/3fdbfe6bd7cf30f44de6ad720ab54a797926db61"}}}}