{"action":"opened","number":682,"pull_request":{"url":"https://api.github.com/repos/angular/clutz/pulls/682","id":168329388,"html_url":"https://github.com/angular/clutz/pull/682","diff_url":"https://github.com/angular/clutz/pull/682.diff","patch_url":"https://github.com/angular/clutz/pull/682.patch","issue_url":"https://api.github.com/repos/angular/clutz/issues/682","number":682,"state":"open","locked":false,"title":"add a whitelist for aliasing goog.provides","user":{"login":"evmar","id":3847,"avatar_url":"https://avatars3.githubusercontent.com/u/3847?v=4","gravatar_id":"","url":"https://api.github.com/users/evmar","html_url":"https://github.com/evmar","followers_url":"https://api.github.com/users/evmar/followers","following_url":"https://api.github.com/users/evmar/following{/other_user}","gists_url":"https://api.github.com/users/evmar/gists{/gist_id}","starred_url":"https://api.github.com/users/evmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evmar/subscriptions","organizations_url":"https://api.github.com/users/evmar/orgs","repos_url":"https://api.github.com/users/evmar/repos","events_url":"https://api.github.com/users/evmar/events{/privacy}","received_events_url":"https://api.github.com/users/evmar/received_events","type":"User","site_admin":false},"body":"If a file A has\r\n  goog.provide('mything');\r\n  mything = 3;\r\nand a file B has\r\n  goog.provide('mything.subnamespace');\r\n  mything.subnamespace = 4;\r\n\r\nThen the code is nonsense but clutz has a workaround anyway.\r\n\r\nIn partial mode we look at A without knowledge of B, so we cannot apply\r\nthe workaround without providing a global set of broken inputs like\r\nthese.  This change adds support for the global set and hooks it up to\r\na command-line flag.","created_at":"2018-02-09T19:59:38Z","updated_at":"2018-02-09T19:59:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/angular/clutz/pulls/682/commits","review_comments_url":"https://api.github.com/repos/angular/clutz/pulls/682/comments","review_comment_url":"https://api.github.com/repos/angular/clutz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/clutz/issues/682/comments","statuses_url":"https://api.github.com/repos/angular/clutz/statuses/aa43506b749055901f92b9ec3a996f83ea338d1d","head":{"label":"angular:alias-map","ref":"alias-map","sha":"aa43506b749055901f92b9ec3a996f83ea338d1d","user":{"login":"angular","id":139426,"avatar_url":"https://avatars3.githubusercontent.com/u/139426?v=4","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":31076984,"name":"clutz","full_name":"angular/clutz","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars3.githubusercontent.com/u/139426?v=4","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/clutz","description":"Closure to TypeScript `.d.ts` generator","fork":false,"url":"https://api.github.com/repos/angular/clutz","forks_url":"https://api.github.com/repos/angular/clutz/forks","keys_url":"https://api.github.com/repos/angular/clutz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/clutz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/clutz/teams","hooks_url":"https://api.github.com/repos/angular/clutz/hooks","issue_events_url":"https://api.github.com/repos/angular/clutz/issues/events{/number}","events_url":"https://api.github.com/repos/angular/clutz/events","assignees_url":"https://api.github.com/repos/angular/clutz/assignees{/user}","branches_url":"https://api.github.com/repos/angular/clutz/branches{/branch}","tags_url":"https://api.github.com/repos/angular/clutz/tags","blobs_url":"https://api.github.com/repos/angular/clutz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/clutz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/clutz/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/clutz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/clutz/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/clutz/languages","stargazers_url":"https://api.github.com/repos/angular/clutz/stargazers","contributors_url":"https://api.github.com/repos/angular/clutz/contributors","subscribers_url":"https://api.github.com/repos/angular/clutz/subscribers","subscription_url":"https://api.github.com/repos/angular/clutz/subscription","commits_url":"https://api.github.com/repos/angular/clutz/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/clutz/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/clutz/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/clutz/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/clutz/contents/{+path}","compare_url":"https://api.github.com/repos/angular/clutz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/clutz/merges","archive_url":"https://api.github.com/repos/angular/clutz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/clutz/downloads","issues_url":"https://api.github.com/repos/angular/clutz/issues{/number}","pulls_url":"https://api.github.com/repos/angular/clutz/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/clutz/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/clutz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/clutz/labels{/name}","releases_url":"https://api.github.com/repos/angular/clutz/releases{/id}","deployments_url":"https://api.github.com/repos/angular/clutz/deployments","created_at":"2015-02-20T17:52:24Z","updated_at":"2018-02-06T01:05:48Z","pushed_at":"2018-02-09T19:58:51Z","git_url":"git://github.com/angular/clutz.git","ssh_url":"git@github.com:angular/clutz.git","clone_url":"https://github.com/angular/clutz.git","svn_url":"https://github.com/angular/clutz","homepage":"","size":1830,"stargazers_count":74,"watchers_count":74,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"archived":false,"open_issues_count":77,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":36,"open_issues":77,"watchers":74,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"49579bbcf9f40e4e136217cae7f422202d6aead8","user":{"login":"angular","id":139426,"avatar_url":"https://avatars3.githubusercontent.com/u/139426?v=4","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":31076984,"name":"clutz","full_name":"angular/clutz","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars3.githubusercontent.com/u/139426?v=4","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/clutz","description":"Closure to TypeScript `.d.ts` generator","fork":false,"url":"https://api.github.com/repos/angular/clutz","forks_url":"https://api.github.com/repos/angular/clutz/forks","keys_url":"https://api.github.com/repos/angular/clutz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/clutz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/clutz/teams","hooks_url":"https://api.github.com/repos/angular/clutz/hooks","issue_events_url":"https://api.github.com/repos/angular/clutz/issues/events{/number}","events_url":"https://api.github.com/repos/angular/clutz/events","assignees_url":"https://api.github.com/repos/angular/clutz/assignees{/user}","branches_url":"https://api.github.com/repos/angular/clutz/branches{/branch}","tags_url":"https://api.github.com/repos/angular/clutz/tags","blobs_url":"https://api.github.com/repos/angular/clutz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/clutz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/clutz/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/clutz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/clutz/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/clutz/languages","stargazers_url":"https://api.github.com/repos/angular/clutz/stargazers","contributors_url":"https://api.github.com/repos/angular/clutz/contributors","subscribers_url":"https://api.github.com/repos/angular/clutz/subscribers","subscription_url":"https://api.github.com/repos/angular/clutz/subscription","commits_url":"https://api.github.com/repos/angular/clutz/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/clutz/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/clutz/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/clutz/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/clutz/contents/{+path}","compare_url":"https://api.github.com/repos/angular/clutz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/clutz/merges","archive_url":"https://api.github.com/repos/angular/clutz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/clutz/downloads","issues_url":"https://api.github.com/repos/angular/clutz/issues{/number}","pulls_url":"https://api.github.com/repos/angular/clutz/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/clutz/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/clutz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/clutz/labels{/name}","releases_url":"https://api.github.com/repos/angular/clutz/releases{/id}","deployments_url":"https://api.github.com/repos/angular/clutz/deployments","created_at":"2015-02-20T17:52:24Z","updated_at":"2018-02-06T01:05:48Z","pushed_at":"2018-02-09T19:58:51Z","git_url":"git://github.com/angular/clutz.git","ssh_url":"git@github.com:angular/clutz.git","clone_url":"https://github.com/angular/clutz.git","svn_url":"https://github.com/angular/clutz","homepage":"","size":1830,"stargazers_count":74,"watchers_count":74,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"archived":false,"open_issues_count":77,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":36,"open_issues":77,"watchers":74,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/clutz/pulls/682"},"html":{"href":"https://github.com/angular/clutz/pull/682"},"issue":{"href":"https://api.github.com/repos/angular/clutz/issues/682"},"comments":{"href":"https://api.github.com/repos/angular/clutz/issues/682/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/clutz/pulls/682/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/clutz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/clutz/pulls/682/commits"},"statuses":{"href":"https://api.github.com/repos/angular/clutz/statuses/aa43506b749055901f92b9ec3a996f83ea338d1d"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":53,"deletions":0,"changed_files":5}}
{"actor":{"display_login":"evmar"}}