{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/source-to-image/pulls/comments/22717390","id":22717390,"diff_hunk":"@@ -92,6 +92,24 @@ func newCmdBuild(req *api.Request) *cobra.Command {\n \treturn buildCmd\n }\n \n+func newCmdCreate() *cobra.Command {\n+\treturn &cobra.Command{\n+\t\tUse:   \"create <image> <source>\",","path":"cmd/sti/main.go","position":6,"original_position":6,"commit_id":"12b53db86f3142960a69e3e261ce448a494d0ae5","original_commit_id":"87e9643e9863de4688bb0a75ff65e2746030bd02","user":{"login":"soltysh","id":576341,"avatar_url":"https://avatars.githubusercontent.com/u/576341?v=3","gravatar_id":"","url":"https://api.github.com/users/soltysh","html_url":"https://github.com/soltysh","followers_url":"https://api.github.com/users/soltysh/followers","following_url":"https://api.github.com/users/soltysh/following{/other_user}","gists_url":"https://api.github.com/users/soltysh/gists{/gist_id}","starred_url":"https://api.github.com/users/soltysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soltysh/subscriptions","organizations_url":"https://api.github.com/users/soltysh/orgs","repos_url":"https://api.github.com/users/soltysh/repos","events_url":"https://api.github.com/users/soltysh/events{/privacy}","received_events_url":"https://api.github.com/users/soltysh/received_events","type":"User","site_admin":false},"body":"Change:\r\n* image -> imageName\r\n* source -> [destination] directory\r\nImprove long descriptions with what is what.","created_at":"2015-01-09T14:16:10Z","updated_at":"2015-01-09T14:16:10Z","html_url":"https://github.com/openshift/source-to-image/pull/104#discussion_r22717390","pull_request_url":"https://api.github.com/repos/openshift/source-to-image/pulls/104","_links":{"self":{"href":"https://api.github.com/repos/openshift/source-to-image/pulls/comments/22717390"},"html":{"href":"https://github.com/openshift/source-to-image/pull/104#discussion_r22717390"},"pull_request":{"href":"https://api.github.com/repos/openshift/source-to-image/pulls/104"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/source-to-image/pulls/104","id":27100017,"html_url":"https://github.com/openshift/source-to-image/pull/104","diff_url":"https://github.com/openshift/source-to-image/pull/104.diff","patch_url":"https://github.com/openshift/source-to-image/pull/104.patch","issue_url":"https://api.github.com/repos/openshift/source-to-image/issues/104","number":104,"state":"open","locked":false,"title":"[WIP] Added STI image generator","user":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"body":"This is an attempt to provide a generator for new STI images. As an author of a new STI image, I don't want to spend time creating and copying content to STI scripts / etc but I want to have a boilerplate I can start work with.\r\n\r\n```\r\nmkdir new-image\r\nsti create openshift/new-image ./new_image\r\n```\r\n\r\nThis will create `.sti` folder with sample STI scripts, Dockerfile, `test/run` script and Makefile.","created_at":"2015-01-09T13:36:28Z","updated_at":"2015-01-09T14:16:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b0528c7dbc1baa0bc907f5861037796f8128709","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openshift/source-to-image/pulls/104/commits","review_comments_url":"https://api.github.com/repos/openshift/source-to-image/pulls/104/comments","review_comment_url":"https://api.github.com/repos/openshift/source-to-image/pulls/comments/{number}","comments_url":"https://api.github.com/repos/openshift/source-to-image/issues/104/comments","statuses_url":"https://api.github.com/repos/openshift/source-to-image/statuses/12b53db86f3142960a69e3e261ce448a494d0ae5","head":{"label":"mfojtik:sti_image_generator","ref":"sti_image_generator","sha":"12b53db86f3142960a69e3e261ce448a494d0ae5","user":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"repo":{"id":26119317,"name":"source-to-image","full_name":"mfojtik/source-to-image","owner":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mfojtik/source-to-image","description":"A tool for building/building artifacts from source and injecting into docker images","fork":true,"url":"https://api.github.com/repos/mfojtik/source-to-image","forks_url":"https://api.github.com/repos/mfojtik/source-to-image/forks","keys_url":"https://api.github.com/repos/mfojtik/source-to-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mfojtik/source-to-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mfojtik/source-to-image/teams","hooks_url":"https://api.github.com/repos/mfojtik/source-to-image/hooks","issue_events_url":"https://api.github.com/repos/mfojtik/source-to-image/issues/events{/number}","events_url":"https://api.github.com/repos/mfojtik/source-to-image/events","assignees_url":"https://api.github.com/repos/mfojtik/source-to-image/assignees{/user}","branches_url":"https://api.github.com/repos/mfojtik/source-to-image/branches{/branch}","tags_url":"https://api.github.com/repos/mfojtik/source-to-image/tags","blobs_url":"https://api.github.com/repos/mfojtik/source-to-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mfojtik/source-to-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mfojtik/source-to-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/mfojtik/source-to-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mfojtik/source-to-image/statuses/{sha}","languages_url":"https://api.github.com/repos/mfojtik/source-to-image/languages","stargazers_url":"https://api.github.com/repos/mfojtik/source-to-image/stargazers","contributors_url":"https://api.github.com/repos/mfojtik/source-to-image/contributors","subscribers_url":"https://api.github.com/repos/mfojtik/source-to-image/subscribers","subscription_url":"https://api.github.com/repos/mfojtik/source-to-image/subscription","commits_url":"https://api.github.com/repos/mfojtik/source-to-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/mfojtik/source-to-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/mfojtik/source-to-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/mfojtik/source-to-image/issues/comments/{number}","contents_url":"https://api.github.com/repos/mfojtik/source-to-image/contents/{+path}","compare_url":"https://api.github.com/repos/mfojtik/source-to-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mfojtik/source-to-image/merges","archive_url":"https://api.github.com/repos/mfojtik/source-to-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mfojtik/source-to-image/downloads","issues_url":"https://api.github.com/repos/mfojtik/source-to-image/issues{/number}","pulls_url":"https://api.github.com/repos/mfojtik/source-to-image/pulls{/number}","milestones_url":"https://api.github.com/repos/mfojtik/source-to-image/milestones{/number}","notifications_url":"https://api.github.com/repos/mfojtik/source-to-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mfojtik/source-to-image/labels{/name}","releases_url":"https://api.github.com/repos/mfojtik/source-to-image/releases{/id}","created_at":"2014-11-03T13:18:28Z","updated_at":"2015-01-09T09:43:24Z","pushed_at":"2015-01-09T14:15:11Z","git_url":"git://github.com/mfojtik/source-to-image.git","ssh_url":"git@github.com:mfojtik/source-to-image.git","clone_url":"https://github.com/mfojtik/source-to-image.git","svn_url":"https://github.com/mfojtik/source-to-image","homepage":"","size":550,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"openshift:master","ref":"master","sha":"07ef520b6bd520d4924fa367377a586f5864a919","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":16323162,"name":"source-to-image","full_name":"openshift/source-to-image","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/source-to-image","description":"A tool for building/building artifacts from source and injecting into docker images","fork":false,"url":"https://api.github.com/repos/openshift/source-to-image","forks_url":"https://api.github.com/repos/openshift/source-to-image/forks","keys_url":"https://api.github.com/repos/openshift/source-to-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/source-to-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/source-to-image/teams","hooks_url":"https://api.github.com/repos/openshift/source-to-image/hooks","issue_events_url":"https://api.github.com/repos/openshift/source-to-image/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/source-to-image/events","assignees_url":"https://api.github.com/repos/openshift/source-to-image/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/source-to-image/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/source-to-image/tags","blobs_url":"https://api.github.com/repos/openshift/source-to-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/source-to-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/source-to-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/source-to-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/source-to-image/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/source-to-image/languages","stargazers_url":"https://api.github.com/repos/openshift/source-to-image/stargazers","contributors_url":"https://api.github.com/repos/openshift/source-to-image/contributors","subscribers_url":"https://api.github.com/repos/openshift/source-to-image/subscribers","subscription_url":"https://api.github.com/repos/openshift/source-to-image/subscription","commits_url":"https://api.github.com/repos/openshift/source-to-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/source-to-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/source-to-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/source-to-image/issues/comments/{number}","contents_url":"https://api.github.com/repos/openshift/source-to-image/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/source-to-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/source-to-image/merges","archive_url":"https://api.github.com/repos/openshift/source-to-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/source-to-image/downloads","issues_url":"https://api.github.com/repos/openshift/source-to-image/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/source-to-image/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/source-to-image/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/source-to-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/source-to-image/labels{/name}","releases_url":"https://api.github.com/repos/openshift/source-to-image/releases{/id}","created_at":"2014-01-28T19:32:40Z","updated_at":"2015-01-08T16:00:37Z","pushed_at":"2015-01-08T16:00:37Z","git_url":"git://github.com/openshift/source-to-image.git","ssh_url":"git@github.com:openshift/source-to-image.git","clone_url":"https://github.com/openshift/source-to-image.git","svn_url":"https://github.com/openshift/source-to-image","homepage":"","size":1212,"stargazers_count":58,"watchers_count":58,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":8,"forks":22,"open_issues":8,"watchers":58,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/source-to-image/pulls/104"},"html":{"href":"https://github.com/openshift/source-to-image/pull/104"},"issue":{"href":"https://api.github.com/repos/openshift/source-to-image/issues/104"},"comments":{"href":"https://api.github.com/repos/openshift/source-to-image/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/source-to-image/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/source-to-image/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/openshift/source-to-image/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/source-to-image/statuses/12b53db86f3142960a69e3e261ce448a494d0ae5"}}}}