{"action":"opened","number":62,"pull_request":{"url":"https://api.github.com/repos/NYTimes/gizmo/pulls/62","id":73616476,"html_url":"https://github.com/NYTimes/gizmo/pull/62","diff_url":"https://github.com/NYTimes/gizmo/pull/62.diff","patch_url":"https://github.com/NYTimes/gizmo/pull/62.patch","issue_url":"https://api.github.com/repos/NYTimes/gizmo/issues/62","number":62,"state":"open","locked":false,"title":"Breaking up the `config` and `pubsub` packages by dependency","user":{"login":"jprobinson","id":1386065,"avatar_url":"https://avatars.githubusercontent.com/u/1386065?v=3","gravatar_id":"","url":"https://api.github.com/users/jprobinson","html_url":"https://github.com/jprobinson","followers_url":"https://api.github.com/users/jprobinson/followers","following_url":"https://api.github.com/users/jprobinson/following{/other_user}","gists_url":"https://api.github.com/users/jprobinson/gists{/gist_id}","starred_url":"https://api.github.com/users/jprobinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jprobinson/subscriptions","organizations_url":"https://api.github.com/users/jprobinson/orgs","repos_url":"https://api.github.com/users/jprobinson/repos","events_url":"https://api.github.com/users/jprobinson/events{/privacy}","received_events_url":"https://api.github.com/users/jprobinson/received_events","type":"User","site_admin":false},"body":"One of the largest of complaints against Gizmo so far has been how the toolkit lumps all dependencies into the `config` and `pubsub` packages, often requiring users to vendor or fetch an absurd amount of packages just to work with a simple server.\r\n\r\nThis PR hopes to fix this problem by breaking out the `config` and `pubsub` packages into a set of subpackages, which follows a similar structure to Go Kit and it's implementations. The new package structure: \r\n```\r\n├── config\r\n│   ├── aws\r\n│   ├── combined\r\n│   ├── cookie\r\n│   ├── gcp\r\n│   ├── metrics\r\n│   ├── mongodb\r\n│   ├── mysql\r\n│   └── oracle\r\n├── pubsub\r\n│   ├── aws\r\n│   ├── gcp\r\n│   ├── kafka\r\n│   └── pubsubtest\r\n├── server\r\n└── web\r\n```\r\n\r\nNotable changes:\r\n* `config.Config` is now `config/combined.Config`\r\n* `config.Server` is now `server.Config`\r\n* If a \"config\" type got moved to a package with the same name, it is now likely renamed as `Config`.\r\n  * example: `config.MongoDB` moved to `config/mongodb.Config`\r\n","created_at":"2016-06-13T17:54:37Z","updated_at":"2016-06-13T17:54:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca6ed86b60ef67890c9c086fc5bc4264d29e1067","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NYTimes/gizmo/pulls/62/commits","review_comments_url":"https://api.github.com/repos/NYTimes/gizmo/pulls/62/comments","review_comment_url":"https://api.github.com/repos/NYTimes/gizmo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NYTimes/gizmo/issues/62/comments","statuses_url":"https://api.github.com/repos/NYTimes/gizmo/statuses/f8b18798607de67ac216c5dc4211bf4580616233","head":{"label":"NYTimes:config-breakout","ref":"config-breakout","sha":"f8b18798607de67ac216c5dc4211bf4580616233","user":{"login":"NYTimes","id":221409,"avatar_url":"https://avatars.githubusercontent.com/u/221409?v=3","gravatar_id":"","url":"https://api.github.com/users/NYTimes","html_url":"https://github.com/NYTimes","followers_url":"https://api.github.com/users/NYTimes/followers","following_url":"https://api.github.com/users/NYTimes/following{/other_user}","gists_url":"https://api.github.com/users/NYTimes/gists{/gist_id}","starred_url":"https://api.github.com/users/NYTimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYTimes/subscriptions","organizations_url":"https://api.github.com/users/NYTimes/orgs","repos_url":"https://api.github.com/users/NYTimes/repos","events_url":"https://api.github.com/users/NYTimes/events{/privacy}","received_events_url":"https://api.github.com/users/NYTimes/received_events","type":"Organization","site_admin":false},"repo":{"id":48060472,"name":"gizmo","full_name":"NYTimes/gizmo","owner":{"login":"NYTimes","id":221409,"avatar_url":"https://avatars.githubusercontent.com/u/221409?v=3","gravatar_id":"","url":"https://api.github.com/users/NYTimes","html_url":"https://github.com/NYTimes","followers_url":"https://api.github.com/users/NYTimes/followers","following_url":"https://api.github.com/users/NYTimes/following{/other_user}","gists_url":"https://api.github.com/users/NYTimes/gists{/gist_id}","starred_url":"https://api.github.com/users/NYTimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYTimes/subscriptions","organizations_url":"https://api.github.com/users/NYTimes/orgs","repos_url":"https://api.github.com/users/NYTimes/repos","events_url":"https://api.github.com/users/NYTimes/events{/privacy}","received_events_url":"https://api.github.com/users/NYTimes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NYTimes/gizmo","description":"A Microservice Toolkit from The New York Times","fork":false,"url":"https://api.github.com/repos/NYTimes/gizmo","forks_url":"https://api.github.com/repos/NYTimes/gizmo/forks","keys_url":"https://api.github.com/repos/NYTimes/gizmo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NYTimes/gizmo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NYTimes/gizmo/teams","hooks_url":"https://api.github.com/repos/NYTimes/gizmo/hooks","issue_events_url":"https://api.github.com/repos/NYTimes/gizmo/issues/events{/number}","events_url":"https://api.github.com/repos/NYTimes/gizmo/events","assignees_url":"https://api.github.com/repos/NYTimes/gizmo/assignees{/user}","branches_url":"https://api.github.com/repos/NYTimes/gizmo/branches{/branch}","tags_url":"https://api.github.com/repos/NYTimes/gizmo/tags","blobs_url":"https://api.github.com/repos/NYTimes/gizmo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NYTimes/gizmo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NYTimes/gizmo/git/refs{/sha}","trees_url":"https://api.github.com/repos/NYTimes/gizmo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NYTimes/gizmo/statuses/{sha}","languages_url":"https://api.github.com/repos/NYTimes/gizmo/languages","stargazers_url":"https://api.github.com/repos/NYTimes/gizmo/stargazers","contributors_url":"https://api.github.com/repos/NYTimes/gizmo/contributors","subscribers_url":"https://api.github.com/repos/NYTimes/gizmo/subscribers","subscription_url":"https://api.github.com/repos/NYTimes/gizmo/subscription","commits_url":"https://api.github.com/repos/NYTimes/gizmo/commits{/sha}","git_commits_url":"https://api.github.com/repos/NYTimes/gizmo/git/commits{/sha}","comments_url":"https://api.github.com/repos/NYTimes/gizmo/comments{/number}","issue_comment_url":"https://api.github.com/repos/NYTimes/gizmo/issues/comments{/number}","contents_url":"https://api.github.com/repos/NYTimes/gizmo/contents/{+path}","compare_url":"https://api.github.com/repos/NYTimes/gizmo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NYTimes/gizmo/merges","archive_url":"https://api.github.com/repos/NYTimes/gizmo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NYTimes/gizmo/downloads","issues_url":"https://api.github.com/repos/NYTimes/gizmo/issues{/number}","pulls_url":"https://api.github.com/repos/NYTimes/gizmo/pulls{/number}","milestones_url":"https://api.github.com/repos/NYTimes/gizmo/milestones{/number}","notifications_url":"https://api.github.com/repos/NYTimes/gizmo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NYTimes/gizmo/labels{/name}","releases_url":"https://api.github.com/repos/NYTimes/gizmo/releases{/id}","deployments_url":"https://api.github.com/repos/NYTimes/gizmo/deployments","created_at":"2015-12-15T18:09:36Z","updated_at":"2016-06-13T16:54:44Z","pushed_at":"2016-06-13T17:54:37Z","git_url":"git://github.com/NYTimes/gizmo.git","ssh_url":"git@github.com:NYTimes/gizmo.git","clone_url":"https://github.com/NYTimes/gizmo.git","svn_url":"https://github.com/NYTimes/gizmo","homepage":"http://open.blogs.nytimes.com/2015/12/17/introducing-gizmo/","size":402,"stargazers_count":1419,"watchers_count":1419,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":74,"mirror_url":null,"open_issues_count":4,"forks":74,"open_issues":4,"watchers":1419,"default_branch":"master"}},"base":{"label":"NYTimes:master","ref":"master","sha":"46437ab910c2bb66af7d6dd1d2b34d37d1bfd4f3","user":{"login":"NYTimes","id":221409,"avatar_url":"https://avatars.githubusercontent.com/u/221409?v=3","gravatar_id":"","url":"https://api.github.com/users/NYTimes","html_url":"https://github.com/NYTimes","followers_url":"https://api.github.com/users/NYTimes/followers","following_url":"https://api.github.com/users/NYTimes/following{/other_user}","gists_url":"https://api.github.com/users/NYTimes/gists{/gist_id}","starred_url":"https://api.github.com/users/NYTimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYTimes/subscriptions","organizations_url":"https://api.github.com/users/NYTimes/orgs","repos_url":"https://api.github.com/users/NYTimes/repos","events_url":"https://api.github.com/users/NYTimes/events{/privacy}","received_events_url":"https://api.github.com/users/NYTimes/received_events","type":"Organization","site_admin":false},"repo":{"id":48060472,"name":"gizmo","full_name":"NYTimes/gizmo","owner":{"login":"NYTimes","id":221409,"avatar_url":"https://avatars.githubusercontent.com/u/221409?v=3","gravatar_id":"","url":"https://api.github.com/users/NYTimes","html_url":"https://github.com/NYTimes","followers_url":"https://api.github.com/users/NYTimes/followers","following_url":"https://api.github.com/users/NYTimes/following{/other_user}","gists_url":"https://api.github.com/users/NYTimes/gists{/gist_id}","starred_url":"https://api.github.com/users/NYTimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYTimes/subscriptions","organizations_url":"https://api.github.com/users/NYTimes/orgs","repos_url":"https://api.github.com/users/NYTimes/repos","events_url":"https://api.github.com/users/NYTimes/events{/privacy}","received_events_url":"https://api.github.com/users/NYTimes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NYTimes/gizmo","description":"A Microservice Toolkit from The New York Times","fork":false,"url":"https://api.github.com/repos/NYTimes/gizmo","forks_url":"https://api.github.com/repos/NYTimes/gizmo/forks","keys_url":"https://api.github.com/repos/NYTimes/gizmo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NYTimes/gizmo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NYTimes/gizmo/teams","hooks_url":"https://api.github.com/repos/NYTimes/gizmo/hooks","issue_events_url":"https://api.github.com/repos/NYTimes/gizmo/issues/events{/number}","events_url":"https://api.github.com/repos/NYTimes/gizmo/events","assignees_url":"https://api.github.com/repos/NYTimes/gizmo/assignees{/user}","branches_url":"https://api.github.com/repos/NYTimes/gizmo/branches{/branch}","tags_url":"https://api.github.com/repos/NYTimes/gizmo/tags","blobs_url":"https://api.github.com/repos/NYTimes/gizmo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NYTimes/gizmo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NYTimes/gizmo/git/refs{/sha}","trees_url":"https://api.github.com/repos/NYTimes/gizmo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NYTimes/gizmo/statuses/{sha}","languages_url":"https://api.github.com/repos/NYTimes/gizmo/languages","stargazers_url":"https://api.github.com/repos/NYTimes/gizmo/stargazers","contributors_url":"https://api.github.com/repos/NYTimes/gizmo/contributors","subscribers_url":"https://api.github.com/repos/NYTimes/gizmo/subscribers","subscription_url":"https://api.github.com/repos/NYTimes/gizmo/subscription","commits_url":"https://api.github.com/repos/NYTimes/gizmo/commits{/sha}","git_commits_url":"https://api.github.com/repos/NYTimes/gizmo/git/commits{/sha}","comments_url":"https://api.github.com/repos/NYTimes/gizmo/comments{/number}","issue_comment_url":"https://api.github.com/repos/NYTimes/gizmo/issues/comments{/number}","contents_url":"https://api.github.com/repos/NYTimes/gizmo/contents/{+path}","compare_url":"https://api.github.com/repos/NYTimes/gizmo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NYTimes/gizmo/merges","archive_url":"https://api.github.com/repos/NYTimes/gizmo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NYTimes/gizmo/downloads","issues_url":"https://api.github.com/repos/NYTimes/gizmo/issues{/number}","pulls_url":"https://api.github.com/repos/NYTimes/gizmo/pulls{/number}","milestones_url":"https://api.github.com/repos/NYTimes/gizmo/milestones{/number}","notifications_url":"https://api.github.com/repos/NYTimes/gizmo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NYTimes/gizmo/labels{/name}","releases_url":"https://api.github.com/repos/NYTimes/gizmo/releases{/id}","deployments_url":"https://api.github.com/repos/NYTimes/gizmo/deployments","created_at":"2015-12-15T18:09:36Z","updated_at":"2016-06-13T16:54:44Z","pushed_at":"2016-06-13T17:54:37Z","git_url":"git://github.com/NYTimes/gizmo.git","ssh_url":"git@github.com:NYTimes/gizmo.git","clone_url":"https://github.com/NYTimes/gizmo.git","svn_url":"https://github.com/NYTimes/gizmo","homepage":"http://open.blogs.nytimes.com/2015/12/17/introducing-gizmo/","size":402,"stargazers_count":1419,"watchers_count":1419,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":74,"mirror_url":null,"open_issues_count":4,"forks":74,"open_issues":4,"watchers":1419,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NYTimes/gizmo/pulls/62"},"html":{"href":"https://github.com/NYTimes/gizmo/pull/62"},"issue":{"href":"https://api.github.com/repos/NYTimes/gizmo/issues/62"},"comments":{"href":"https://api.github.com/repos/NYTimes/gizmo/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/NYTimes/gizmo/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/NYTimes/gizmo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NYTimes/gizmo/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/NYTimes/gizmo/statuses/f8b18798607de67ac216c5dc4211bf4580616233"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":11,"additions":950,"deletions":917,"changed_files":51}}
{"actor":{"display_login":"jprobinson"}}