{"action":"opened","number":65,"pull_request":{"url":"https://api.github.com/repos/hyperhq/hyper/pulls/65","id":45022673,"html_url":"https://github.com/hyperhq/hyper/pull/65","diff_url":"https://github.com/hyperhq/hyper/pull/65.diff","patch_url":"https://github.com/hyperhq/hyper/pull/65.patch","issue_url":"https://api.github.com/repos/hyperhq/hyper/issues/65","number":65,"state":"open","locked":false,"title":"notice the user when the image's name can not be used as container name","user":{"login":"carmark","id":1132167,"avatar_url":"https://avatars.githubusercontent.com/u/1132167?v=3","gravatar_id":"","url":"https://api.github.com/users/carmark","html_url":"https://github.com/carmark","followers_url":"https://api.github.com/users/carmark/followers","following_url":"https://api.github.com/users/carmark/following{/other_user}","gists_url":"https://api.github.com/users/carmark/gists{/gist_id}","starred_url":"https://api.github.com/users/carmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carmark/subscriptions","organizations_url":"https://api.github.com/users/carmark/orgs","repos_url":"https://api.github.com/users/carmark/repos","events_url":"https://api.github.com/users/carmark/events{/privacy}","received_events_url":"https://api.github.com/users/carmark/received_events","type":"User","site_admin":false},"body":"Now, `hyper` will use image's name as the container's name, but the container's name can only be `^/?[a-zA-Z0-9][a-zA-Z0-9_.-]+$`.  So it will notice the user when the image's name is invalid for the rule of container's name.\r\n\r\n### Test Result\r\n\r\n```\r\nroot@ubuntu:/home/lei/src/github.com/hyperhq/hyper# ./hyper run danielbodart/crazyfast.build bash\r\n./hyper ERROR: please provide your container's name, you can find help via 'run --help'.\r\n```\r\n\r\n\r\n","created_at":"2015-09-15T08:44:20Z","updated_at":"2015-09-15T08:44:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hyperhq/hyper/pulls/65/commits","review_comments_url":"https://api.github.com/repos/hyperhq/hyper/pulls/65/comments","review_comment_url":"https://api.github.com/repos/hyperhq/hyper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperhq/hyper/issues/65/comments","statuses_url":"https://api.github.com/repos/hyperhq/hyper/statuses/154b95844b5a730e750340119fbe218a6e46ef6a","head":{"label":"carmark:format_container_name","ref":"format_container_name","sha":"154b95844b5a730e750340119fbe218a6e46ef6a","user":{"login":"carmark","id":1132167,"avatar_url":"https://avatars.githubusercontent.com/u/1132167?v=3","gravatar_id":"","url":"https://api.github.com/users/carmark","html_url":"https://github.com/carmark","followers_url":"https://api.github.com/users/carmark/followers","following_url":"https://api.github.com/users/carmark/following{/other_user}","gists_url":"https://api.github.com/users/carmark/gists{/gist_id}","starred_url":"https://api.github.com/users/carmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carmark/subscriptions","organizations_url":"https://api.github.com/users/carmark/orgs","repos_url":"https://api.github.com/users/carmark/repos","events_url":"https://api.github.com/users/carmark/events{/privacy}","received_events_url":"https://api.github.com/users/carmark/received_events","type":"User","site_admin":false},"repo":{"id":40707896,"name":"hyper","full_name":"carmark/hyper","owner":{"login":"carmark","id":1132167,"avatar_url":"https://avatars.githubusercontent.com/u/1132167?v=3","gravatar_id":"","url":"https://api.github.com/users/carmark","html_url":"https://github.com/carmark","followers_url":"https://api.github.com/users/carmark/followers","following_url":"https://api.github.com/users/carmark/following{/other_user}","gists_url":"https://api.github.com/users/carmark/gists{/gist_id}","starred_url":"https://api.github.com/users/carmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carmark/subscriptions","organizations_url":"https://api.github.com/users/carmark/orgs","repos_url":"https://api.github.com/users/carmark/repos","events_url":"https://api.github.com/users/carmark/events{/privacy}","received_events_url":"https://api.github.com/users/carmark/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carmark/hyper","description":"CLI and  Daemon for Hyper","fork":true,"url":"https://api.github.com/repos/carmark/hyper","forks_url":"https://api.github.com/repos/carmark/hyper/forks","keys_url":"https://api.github.com/repos/carmark/hyper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carmark/hyper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carmark/hyper/teams","hooks_url":"https://api.github.com/repos/carmark/hyper/hooks","issue_events_url":"https://api.github.com/repos/carmark/hyper/issues/events{/number}","events_url":"https://api.github.com/repos/carmark/hyper/events","assignees_url":"https://api.github.com/repos/carmark/hyper/assignees{/user}","branches_url":"https://api.github.com/repos/carmark/hyper/branches{/branch}","tags_url":"https://api.github.com/repos/carmark/hyper/tags","blobs_url":"https://api.github.com/repos/carmark/hyper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carmark/hyper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carmark/hyper/git/refs{/sha}","trees_url":"https://api.github.com/repos/carmark/hyper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carmark/hyper/statuses/{sha}","languages_url":"https://api.github.com/repos/carmark/hyper/languages","stargazers_url":"https://api.github.com/repos/carmark/hyper/stargazers","contributors_url":"https://api.github.com/repos/carmark/hyper/contributors","subscribers_url":"https://api.github.com/repos/carmark/hyper/subscribers","subscription_url":"https://api.github.com/repos/carmark/hyper/subscription","commits_url":"https://api.github.com/repos/carmark/hyper/commits{/sha}","git_commits_url":"https://api.github.com/repos/carmark/hyper/git/commits{/sha}","comments_url":"https://api.github.com/repos/carmark/hyper/comments{/number}","issue_comment_url":"https://api.github.com/repos/carmark/hyper/issues/comments{/number}","contents_url":"https://api.github.com/repos/carmark/hyper/contents/{+path}","compare_url":"https://api.github.com/repos/carmark/hyper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carmark/hyper/merges","archive_url":"https://api.github.com/repos/carmark/hyper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carmark/hyper/downloads","issues_url":"https://api.github.com/repos/carmark/hyper/issues{/number}","pulls_url":"https://api.github.com/repos/carmark/hyper/pulls{/number}","milestones_url":"https://api.github.com/repos/carmark/hyper/milestones{/number}","notifications_url":"https://api.github.com/repos/carmark/hyper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carmark/hyper/labels{/name}","releases_url":"https://api.github.com/repos/carmark/hyper/releases{/id}","created_at":"2015-08-14T09:47:20Z","updated_at":"2015-08-14T09:47:22Z","pushed_at":"2015-09-15T08:39:07Z","git_url":"git://github.com/carmark/hyper.git","ssh_url":"git@github.com:carmark/hyper.git","clone_url":"https://github.com/carmark/hyper.git","svn_url":"https://github.com/carmark/hyper","homepage":"","size":13536,"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":"hyperhq:master","ref":"master","sha":"f996877e8d48b345202c1af1cf3dcdfaee859e89","user":{"login":"hyperhq","id":12324138,"avatar_url":"https://avatars.githubusercontent.com/u/12324138?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperhq","html_url":"https://github.com/hyperhq","followers_url":"https://api.github.com/users/hyperhq/followers","following_url":"https://api.github.com/users/hyperhq/following{/other_user}","gists_url":"https://api.github.com/users/hyperhq/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperhq/subscriptions","organizations_url":"https://api.github.com/users/hyperhq/orgs","repos_url":"https://api.github.com/users/hyperhq/repos","events_url":"https://api.github.com/users/hyperhq/events{/privacy}","received_events_url":"https://api.github.com/users/hyperhq/received_events","type":"Organization","site_admin":false},"repo":{"id":36214040,"name":"hyper","full_name":"hyperhq/hyper","owner":{"login":"hyperhq","id":12324138,"avatar_url":"https://avatars.githubusercontent.com/u/12324138?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperhq","html_url":"https://github.com/hyperhq","followers_url":"https://api.github.com/users/hyperhq/followers","following_url":"https://api.github.com/users/hyperhq/following{/other_user}","gists_url":"https://api.github.com/users/hyperhq/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperhq/subscriptions","organizations_url":"https://api.github.com/users/hyperhq/orgs","repos_url":"https://api.github.com/users/hyperhq/repos","events_url":"https://api.github.com/users/hyperhq/events{/privacy}","received_events_url":"https://api.github.com/users/hyperhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperhq/hyper","description":"CLI and  Daemon for Hyper","fork":false,"url":"https://api.github.com/repos/hyperhq/hyper","forks_url":"https://api.github.com/repos/hyperhq/hyper/forks","keys_url":"https://api.github.com/repos/hyperhq/hyper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperhq/hyper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperhq/hyper/teams","hooks_url":"https://api.github.com/repos/hyperhq/hyper/hooks","issue_events_url":"https://api.github.com/repos/hyperhq/hyper/issues/events{/number}","events_url":"https://api.github.com/repos/hyperhq/hyper/events","assignees_url":"https://api.github.com/repos/hyperhq/hyper/assignees{/user}","branches_url":"https://api.github.com/repos/hyperhq/hyper/branches{/branch}","tags_url":"https://api.github.com/repos/hyperhq/hyper/tags","blobs_url":"https://api.github.com/repos/hyperhq/hyper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperhq/hyper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperhq/hyper/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperhq/hyper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperhq/hyper/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperhq/hyper/languages","stargazers_url":"https://api.github.com/repos/hyperhq/hyper/stargazers","contributors_url":"https://api.github.com/repos/hyperhq/hyper/contributors","subscribers_url":"https://api.github.com/repos/hyperhq/hyper/subscribers","subscription_url":"https://api.github.com/repos/hyperhq/hyper/subscription","commits_url":"https://api.github.com/repos/hyperhq/hyper/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperhq/hyper/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperhq/hyper/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperhq/hyper/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperhq/hyper/contents/{+path}","compare_url":"https://api.github.com/repos/hyperhq/hyper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperhq/hyper/merges","archive_url":"https://api.github.com/repos/hyperhq/hyper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperhq/hyper/downloads","issues_url":"https://api.github.com/repos/hyperhq/hyper/issues{/number}","pulls_url":"https://api.github.com/repos/hyperhq/hyper/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperhq/hyper/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperhq/hyper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperhq/hyper/labels{/name}","releases_url":"https://api.github.com/repos/hyperhq/hyper/releases{/id}","created_at":"2015-05-25T06:26:27Z","updated_at":"2015-09-14T15:45:17Z","pushed_at":"2015-09-12T14:30:12Z","git_url":"git://github.com/hyperhq/hyper.git","ssh_url":"git@github.com:hyperhq/hyper.git","clone_url":"https://github.com/hyperhq/hyper.git","svn_url":"https://github.com/hyperhq/hyper","homepage":"","size":13419,"stargazers_count":514,"watchers_count":514,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":20,"forks":51,"open_issues":20,"watchers":514,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperhq/hyper/pulls/65"},"html":{"href":"https://github.com/hyperhq/hyper/pull/65"},"issue":{"href":"https://api.github.com/repos/hyperhq/hyper/issues/65"},"comments":{"href":"https://api.github.com/repos/hyperhq/hyper/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperhq/hyper/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperhq/hyper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperhq/hyper/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/hyperhq/hyper/statuses/154b95844b5a730e750340119fbe218a6e46ef6a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":0,"changed_files":1}}