{"action":"closed","number":472,"pull_request":{"url":"https://api.github.com/repos/Polymer/polymer-cli/pulls/472","id":94515055,"html_url":"https://github.com/Polymer/polymer-cli/pull/472","diff_url":"https://github.com/Polymer/polymer-cli/pull/472.diff","patch_url":"https://github.com/Polymer/polymer-cli/pull/472.patch","issue_url":"https://api.github.com/repos/Polymer/polymer-cli/issues/472","number":472,"state":"closed","locked":false,"title":"Fix generator names","user":{"login":"tony19","id":26580,"avatar_url":"https://avatars.githubusercontent.com/u/26580?v=3","gravatar_id":"","url":"https://api.github.com/users/tony19","html_url":"https://github.com/tony19","followers_url":"https://api.github.com/users/tony19/followers","following_url":"https://api.github.com/users/tony19/following{/other_user}","gists_url":"https://api.github.com/users/tony19/gists{/gist_id}","starred_url":"https://api.github.com/users/tony19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tony19/subscriptions","organizations_url":"https://api.github.com/users/tony19/orgs","repos_url":"https://api.github.com/users/tony19/repos","events_url":"https://api.github.com/users/tony19/events{/privacy}","received_events_url":"https://api.github.com/users/tony19/received_events","type":"User","site_admin":false},"body":"<!--\r\n  Thanks for the PR!\r\n\r\n  If this change has a user visible change (including\r\n  bug fixes, new features, etc) please describe the change in\r\n  CHANGELOG.md.\r\n\r\n  If the change is an entirely package-internal reshuffling/refactoring\r\n  should the change not be described in the CHANGELOG.\r\n\r\n  Consider also updating the README.\r\n\r\n  More info: http://keepachangelog.com/en/0.3.0/\r\n -->\r\n\r\n - [x] CHANGELOG.md has been updated\r\n\r\nThe generator name was parsed from the directory name (`./generator-polymer-init-foo/` --> `\"foo\"`), and this name was given to all sub-generators in the directory, regardless of their individual `package.json` config for `name`, which made them indistinguishable without descriptions. Technically, Yeoman generators are supposed to be named based on their `package.json` config [[1]](http://yeoman.io/authoring/).\r\n\r\n### Example\r\n\r\n```\r\ngenerator-polymer-init-my-app\r\n├── generators\r\n│   ├── foo\r\n│   │   ├── index.js\r\n│   │   ├── package.json   # name: 'polymer-init-foo-el', description: 'My foo element'\r\n│   │   └── templates\r\n│   │      └── _element_test.html\r\n│   └── bar\r\n│       ├── index.js\r\n│       ├── package.json   # name: 'polymer-init-bar-el', description: 'My bar element'\r\n│       └── templates\r\n│          └── _element_test.html\r\n└── package.json # description: 'My test app'\r\n```\r\n\r\n*Before*\r\n```\r\n$ polymer init\r\n? Which starter template would you like to use? \r\n  element - A blank element template \r\n  application - A blank application template \r\n  shop - The \"Shop\" Progressive Web App demo \r\n  starter-kit - A starter application template, with navigation and \"PRPL pattern\" loading \r\n❯ my-app - My foo element\r\n  my-app - My bar element\r\n```\r\n\r\n*After*\r\n```\r\n$ polymer init\r\n? Which starter template would you like to use? \r\n  element - A blank element template \r\n  application - A blank application template \r\n  shop - The \"Shop\" Progressive Web App demo \r\n  starter-kit - A starter application template, with navigation and \"PRPL pattern\" loading \r\n❯ foo-el - My foo element\r\n  bar-el - My bar element\r\n```\r\n","created_at":"2016-11-20T11:36:07Z","updated_at":"2016-12-22T16:51:36Z","closed_at":"2016-12-22T16:51:36Z","merged_at":"2016-12-22T16:51:36Z","merge_commit_sha":"a49f11dd59f45ee4962ce3dc3f59eda53243eef1","assignee":{"login":"justinfagnani","id":522948,"avatar_url":"https://avatars.githubusercontent.com/u/522948?v=3","gravatar_id":"","url":"https://api.github.com/users/justinfagnani","html_url":"https://github.com/justinfagnani","followers_url":"https://api.github.com/users/justinfagnani/followers","following_url":"https://api.github.com/users/justinfagnani/following{/other_user}","gists_url":"https://api.github.com/users/justinfagnani/gists{/gist_id}","starred_url":"https://api.github.com/users/justinfagnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinfagnani/subscriptions","organizations_url":"https://api.github.com/users/justinfagnani/orgs","repos_url":"https://api.github.com/users/justinfagnani/repos","events_url":"https://api.github.com/users/justinfagnani/events{/privacy}","received_events_url":"https://api.github.com/users/justinfagnani/received_events","type":"User","site_admin":false},"assignees":[{"login":"justinfagnani","id":522948,"avatar_url":"https://avatars.githubusercontent.com/u/522948?v=3","gravatar_id":"","url":"https://api.github.com/users/justinfagnani","html_url":"https://github.com/justinfagnani","followers_url":"https://api.github.com/users/justinfagnani/followers","following_url":"https://api.github.com/users/justinfagnani/following{/other_user}","gists_url":"https://api.github.com/users/justinfagnani/gists{/gist_id}","starred_url":"https://api.github.com/users/justinfagnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinfagnani/subscriptions","organizations_url":"https://api.github.com/users/justinfagnani/orgs","repos_url":"https://api.github.com/users/justinfagnani/repos","events_url":"https://api.github.com/users/justinfagnani/events{/privacy}","received_events_url":"https://api.github.com/users/justinfagnani/received_events","type":"User","site_admin":false},{"login":"FredKSchott","id":622227,"avatar_url":"https://avatars.githubusercontent.com/u/622227?v=3","gravatar_id":"","url":"https://api.github.com/users/FredKSchott","html_url":"https://github.com/FredKSchott","followers_url":"https://api.github.com/users/FredKSchott/followers","following_url":"https://api.github.com/users/FredKSchott/following{/other_user}","gists_url":"https://api.github.com/users/FredKSchott/gists{/gist_id}","starred_url":"https://api.github.com/users/FredKSchott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FredKSchott/subscriptions","organizations_url":"https://api.github.com/users/FredKSchott/orgs","repos_url":"https://api.github.com/users/FredKSchott/repos","events_url":"https://api.github.com/users/FredKSchott/events{/privacy}","received_events_url":"https://api.github.com/users/FredKSchott/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Polymer/polymer-cli/pulls/472/commits","review_comments_url":"https://api.github.com/repos/Polymer/polymer-cli/pulls/472/comments","review_comment_url":"https://api.github.com/repos/Polymer/polymer-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Polymer/polymer-cli/issues/472/comments","statuses_url":"https://api.github.com/repos/Polymer/polymer-cli/statuses/f1d7a5f7b664ef1db3cfceb521028fa266fc1df3","head":{"label":"tony19-contrib:fix-generator-names","ref":"fix-generator-names","sha":"f1d7a5f7b664ef1db3cfceb521028fa266fc1df3","user":{"login":"tony19-contrib","id":17185108,"avatar_url":"https://avatars.githubusercontent.com/u/17185108?v=3","gravatar_id":"","url":"https://api.github.com/users/tony19-contrib","html_url":"https://github.com/tony19-contrib","followers_url":"https://api.github.com/users/tony19-contrib/followers","following_url":"https://api.github.com/users/tony19-contrib/following{/other_user}","gists_url":"https://api.github.com/users/tony19-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/tony19-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tony19-contrib/subscriptions","organizations_url":"https://api.github.com/users/tony19-contrib/orgs","repos_url":"https://api.github.com/users/tony19-contrib/repos","events_url":"https://api.github.com/users/tony19-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/tony19-contrib/received_events","type":"Organization","site_admin":false},"repo":{"id":66422523,"name":"polymer-cli","full_name":"tony19-contrib/polymer-cli","owner":{"login":"tony19-contrib","id":17185108,"avatar_url":"https://avatars.githubusercontent.com/u/17185108?v=3","gravatar_id":"","url":"https://api.github.com/users/tony19-contrib","html_url":"https://github.com/tony19-contrib","followers_url":"https://api.github.com/users/tony19-contrib/followers","following_url":"https://api.github.com/users/tony19-contrib/following{/other_user}","gists_url":"https://api.github.com/users/tony19-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/tony19-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tony19-contrib/subscriptions","organizations_url":"https://api.github.com/users/tony19-contrib/orgs","repos_url":"https://api.github.com/users/tony19-contrib/repos","events_url":"https://api.github.com/users/tony19-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/tony19-contrib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tony19-contrib/polymer-cli","description":"A command-line tool for Polymer projects","fork":true,"url":"https://api.github.com/repos/tony19-contrib/polymer-cli","forks_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/forks","keys_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/teams","hooks_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/hooks","issue_events_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/issues/events{/number}","events_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/events","assignees_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/assignees{/user}","branches_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/branches{/branch}","tags_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/tags","blobs_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/languages","stargazers_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/stargazers","contributors_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/contributors","subscribers_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/subscribers","subscription_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/subscription","commits_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/contents/{+path}","compare_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/merges","archive_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/downloads","issues_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/issues{/number}","pulls_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/labels{/name}","releases_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/releases{/id}","deployments_url":"https://api.github.com/repos/tony19-contrib/polymer-cli/deployments","created_at":"2016-08-24T02:40:05Z","updated_at":"2016-12-10T01:00:53Z","pushed_at":"2016-12-20T22:28:06Z","git_url":"git://github.com/tony19-contrib/polymer-cli.git","ssh_url":"git@github.com:tony19-contrib/polymer-cli.git","clone_url":"https://github.com/tony19-contrib/polymer-cli.git","svn_url":"https://github.com/tony19-contrib/polymer-cli","homepage":null,"size":662,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"Polymer:master","ref":"master","sha":"e5ae7a7bfe027fe961806f8a67f21b06aff778a6","user":{"login":"Polymer","id":2159051,"avatar_url":"https://avatars.githubusercontent.com/u/2159051?v=3","gravatar_id":"","url":"https://api.github.com/users/Polymer","html_url":"https://github.com/Polymer","followers_url":"https://api.github.com/users/Polymer/followers","following_url":"https://api.github.com/users/Polymer/following{/other_user}","gists_url":"https://api.github.com/users/Polymer/gists{/gist_id}","starred_url":"https://api.github.com/users/Polymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polymer/subscriptions","organizations_url":"https://api.github.com/users/Polymer/orgs","repos_url":"https://api.github.com/users/Polymer/repos","events_url":"https://api.github.com/users/Polymer/events{/privacy}","received_events_url":"https://api.github.com/users/Polymer/received_events","type":"Organization","site_admin":false},"repo":{"id":51951003,"name":"polymer-cli","full_name":"Polymer/polymer-cli","owner":{"login":"Polymer","id":2159051,"avatar_url":"https://avatars.githubusercontent.com/u/2159051?v=3","gravatar_id":"","url":"https://api.github.com/users/Polymer","html_url":"https://github.com/Polymer","followers_url":"https://api.github.com/users/Polymer/followers","following_url":"https://api.github.com/users/Polymer/following{/other_user}","gists_url":"https://api.github.com/users/Polymer/gists{/gist_id}","starred_url":"https://api.github.com/users/Polymer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polymer/subscriptions","organizations_url":"https://api.github.com/users/Polymer/orgs","repos_url":"https://api.github.com/users/Polymer/repos","events_url":"https://api.github.com/users/Polymer/events{/privacy}","received_events_url":"https://api.github.com/users/Polymer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Polymer/polymer-cli","description":"A command-line tool for Polymer projects","fork":false,"url":"https://api.github.com/repos/Polymer/polymer-cli","forks_url":"https://api.github.com/repos/Polymer/polymer-cli/forks","keys_url":"https://api.github.com/repos/Polymer/polymer-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Polymer/polymer-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Polymer/polymer-cli/teams","hooks_url":"https://api.github.com/repos/Polymer/polymer-cli/hooks","issue_events_url":"https://api.github.com/repos/Polymer/polymer-cli/issues/events{/number}","events_url":"https://api.github.com/repos/Polymer/polymer-cli/events","assignees_url":"https://api.github.com/repos/Polymer/polymer-cli/assignees{/user}","branches_url":"https://api.github.com/repos/Polymer/polymer-cli/branches{/branch}","tags_url":"https://api.github.com/repos/Polymer/polymer-cli/tags","blobs_url":"https://api.github.com/repos/Polymer/polymer-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Polymer/polymer-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Polymer/polymer-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/Polymer/polymer-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Polymer/polymer-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/Polymer/polymer-cli/languages","stargazers_url":"https://api.github.com/repos/Polymer/polymer-cli/stargazers","contributors_url":"https://api.github.com/repos/Polymer/polymer-cli/contributors","subscribers_url":"https://api.github.com/repos/Polymer/polymer-cli/subscribers","subscription_url":"https://api.github.com/repos/Polymer/polymer-cli/subscription","commits_url":"https://api.github.com/repos/Polymer/polymer-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/Polymer/polymer-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/Polymer/polymer-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/Polymer/polymer-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/Polymer/polymer-cli/contents/{+path}","compare_url":"https://api.github.com/repos/Polymer/polymer-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Polymer/polymer-cli/merges","archive_url":"https://api.github.com/repos/Polymer/polymer-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Polymer/polymer-cli/downloads","issues_url":"https://api.github.com/repos/Polymer/polymer-cli/issues{/number}","pulls_url":"https://api.github.com/repos/Polymer/polymer-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/Polymer/polymer-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/Polymer/polymer-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Polymer/polymer-cli/labels{/name}","releases_url":"https://api.github.com/repos/Polymer/polymer-cli/releases{/id}","deployments_url":"https://api.github.com/repos/Polymer/polymer-cli/deployments","created_at":"2016-02-17T19:57:15Z","updated_at":"2016-12-22T14:02:25Z","pushed_at":"2016-12-22T16:51:36Z","git_url":"git://github.com/Polymer/polymer-cli.git","ssh_url":"git@github.com:Polymer/polymer-cli.git","clone_url":"https://github.com/Polymer/polymer-cli.git","svn_url":"https://github.com/Polymer/polymer-cli","homepage":null,"size":705,"stargazers_count":225,"watchers_count":225,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":63,"mirror_url":null,"open_issues_count":106,"forks":63,"open_issues":106,"watchers":225,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Polymer/polymer-cli/pulls/472"},"html":{"href":"https://github.com/Polymer/polymer-cli/pull/472"},"issue":{"href":"https://api.github.com/repos/Polymer/polymer-cli/issues/472"},"comments":{"href":"https://api.github.com/repos/Polymer/polymer-cli/issues/472/comments"},"review_comments":{"href":"https://api.github.com/repos/Polymer/polymer-cli/pulls/472/comments"},"review_comment":{"href":"https://api.github.com/repos/Polymer/polymer-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Polymer/polymer-cli/pulls/472/commits"},"statuses":{"href":"https://api.github.com/repos/Polymer/polymer-cli/statuses/f1d7a5f7b664ef1db3cfceb521028fa266fc1df3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"FredKSchott","id":622227,"avatar_url":"https://avatars.githubusercontent.com/u/622227?v=3","gravatar_id":"","url":"https://api.github.com/users/FredKSchott","html_url":"https://github.com/FredKSchott","followers_url":"https://api.github.com/users/FredKSchott/followers","following_url":"https://api.github.com/users/FredKSchott/following{/other_user}","gists_url":"https://api.github.com/users/FredKSchott/gists{/gist_id}","starred_url":"https://api.github.com/users/FredKSchott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FredKSchott/subscriptions","organizations_url":"https://api.github.com/users/FredKSchott/orgs","repos_url":"https://api.github.com/users/FredKSchott/repos","events_url":"https://api.github.com/users/FredKSchott/events{/privacy}","received_events_url":"https://api.github.com/users/FredKSchott/received_events","type":"User","site_admin":false},"comments":7,"review_comments":22,"commits":6,"additions":141,"deletions":37,"changed_files":4}}
{"actor":{"display_login":"FredKSchott"}}