{"action":"opened","number":280,"pull_request":{"url":"https://api.github.com/repos/usefathom/fathom/pulls/280","id":299218332,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk5MjE4MzMy","html_url":"https://github.com/usefathom/fathom/pull/280","diff_url":"https://github.com/usefathom/fathom/pull/280.diff","patch_url":"https://github.com/usefathom/fathom/pull/280.patch","issue_url":"https://api.github.com/repos/usefathom/fathom/issues/280","number":280,"state":"open","locked":false,"title":"fix Heroku env var instructions","user":{"login":"philippbosch","id":57509,"node_id":"MDQ6VXNlcjU3NTA5","avatar_url":"https://avatars2.githubusercontent.com/u/57509?v=4","gravatar_id":"","url":"https://api.github.com/users/philippbosch","html_url":"https://github.com/philippbosch","followers_url":"https://api.github.com/users/philippbosch/followers","following_url":"https://api.github.com/users/philippbosch/following{/other_user}","gists_url":"https://api.github.com/users/philippbosch/gists{/gist_id}","starred_url":"https://api.github.com/users/philippbosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippbosch/subscriptions","organizations_url":"https://api.github.com/users/philippbosch/orgs","repos_url":"https://api.github.com/users/philippbosch/repos","events_url":"https://api.github.com/users/philippbosch/events{/privacy}","received_events_url":"https://api.github.com/users/philippbosch/received_events","type":"User","site_admin":false},"body":"The extra _space_ character between `FATHOM_SECRET` and `$(openssl …)` broke the command becaus it set `FATHOM SECRET` to `''` and interpreted the generated secret as the name of the next env var to set. \r\n\r\n```shell\r\n$ heroku config:set PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/bin \\\r\n  FATHOM_DATABASE_DRIVER=postgres \\\r\n  FATHOM_DATABASE_URL=$(heroku config:get DATABASE_URL) \\\r\n  FATHOM_DEBUG=true \\\r\n  FATHOM_SECRET= $(openssl rand -base64 32) \\\r\n  FATHOM_GZIP=true\r\nSetting PATH, FATHOM_DATABASE_DRIVER, FATHOM_DATABASE_URL, FATHOM_DEBUG, FATHOM_SECRET, 0ACl9FJMKgllHAXZUUqmm7PQ3P92MuQlN6lt/5OLdkg, FATHOM_GZIP and restarting ⬢ my-app-name... !\r\n ▸    Name is invalid\r\n```\r\n\r\n(I'm not using the secret from this snippet anywhere)","created_at":"2019-07-19T07:30:26Z","updated_at":"2019-07-19T07:30:26Z","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/usefathom/fathom/pulls/280/commits","review_comments_url":"https://api.github.com/repos/usefathom/fathom/pulls/280/comments","review_comment_url":"https://api.github.com/repos/usefathom/fathom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/usefathom/fathom/issues/280/comments","statuses_url":"https://api.github.com/repos/usefathom/fathom/statuses/44685a88a9a622c044522ccd4869ac28b044873e","head":{"label":"philippbosch:patch-1","ref":"patch-1","sha":"44685a88a9a622c044522ccd4869ac28b044873e","user":{"login":"philippbosch","id":57509,"node_id":"MDQ6VXNlcjU3NTA5","avatar_url":"https://avatars2.githubusercontent.com/u/57509?v=4","gravatar_id":"","url":"https://api.github.com/users/philippbosch","html_url":"https://github.com/philippbosch","followers_url":"https://api.github.com/users/philippbosch/followers","following_url":"https://api.github.com/users/philippbosch/following{/other_user}","gists_url":"https://api.github.com/users/philippbosch/gists{/gist_id}","starred_url":"https://api.github.com/users/philippbosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippbosch/subscriptions","organizations_url":"https://api.github.com/users/philippbosch/orgs","repos_url":"https://api.github.com/users/philippbosch/repos","events_url":"https://api.github.com/users/philippbosch/events{/privacy}","received_events_url":"https://api.github.com/users/philippbosch/received_events","type":"User","site_admin":false},"repo":{"id":197723552,"node_id":"MDEwOlJlcG9zaXRvcnkxOTc3MjM1NTI=","name":"fathom","full_name":"philippbosch/fathom","private":false,"owner":{"login":"philippbosch","id":57509,"node_id":"MDQ6VXNlcjU3NTA5","avatar_url":"https://avatars2.githubusercontent.com/u/57509?v=4","gravatar_id":"","url":"https://api.github.com/users/philippbosch","html_url":"https://github.com/philippbosch","followers_url":"https://api.github.com/users/philippbosch/followers","following_url":"https://api.github.com/users/philippbosch/following{/other_user}","gists_url":"https://api.github.com/users/philippbosch/gists{/gist_id}","starred_url":"https://api.github.com/users/philippbosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippbosch/subscriptions","organizations_url":"https://api.github.com/users/philippbosch/orgs","repos_url":"https://api.github.com/users/philippbosch/repos","events_url":"https://api.github.com/users/philippbosch/events{/privacy}","received_events_url":"https://api.github.com/users/philippbosch/received_events","type":"User","site_admin":false},"html_url":"https://github.com/philippbosch/fathom","description":"Fathom. Simple, trustworthy website analytics. Built with Golang & Preact.","fork":true,"url":"https://api.github.com/repos/philippbosch/fathom","forks_url":"https://api.github.com/repos/philippbosch/fathom/forks","keys_url":"https://api.github.com/repos/philippbosch/fathom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/philippbosch/fathom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/philippbosch/fathom/teams","hooks_url":"https://api.github.com/repos/philippbosch/fathom/hooks","issue_events_url":"https://api.github.com/repos/philippbosch/fathom/issues/events{/number}","events_url":"https://api.github.com/repos/philippbosch/fathom/events","assignees_url":"https://api.github.com/repos/philippbosch/fathom/assignees{/user}","branches_url":"https://api.github.com/repos/philippbosch/fathom/branches{/branch}","tags_url":"https://api.github.com/repos/philippbosch/fathom/tags","blobs_url":"https://api.github.com/repos/philippbosch/fathom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/philippbosch/fathom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/philippbosch/fathom/git/refs{/sha}","trees_url":"https://api.github.com/repos/philippbosch/fathom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/philippbosch/fathom/statuses/{sha}","languages_url":"https://api.github.com/repos/philippbosch/fathom/languages","stargazers_url":"https://api.github.com/repos/philippbosch/fathom/stargazers","contributors_url":"https://api.github.com/repos/philippbosch/fathom/contributors","subscribers_url":"https://api.github.com/repos/philippbosch/fathom/subscribers","subscription_url":"https://api.github.com/repos/philippbosch/fathom/subscription","commits_url":"https://api.github.com/repos/philippbosch/fathom/commits{/sha}","git_commits_url":"https://api.github.com/repos/philippbosch/fathom/git/commits{/sha}","comments_url":"https://api.github.com/repos/philippbosch/fathom/comments{/number}","issue_comment_url":"https://api.github.com/repos/philippbosch/fathom/issues/comments{/number}","contents_url":"https://api.github.com/repos/philippbosch/fathom/contents/{+path}","compare_url":"https://api.github.com/repos/philippbosch/fathom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/philippbosch/fathom/merges","archive_url":"https://api.github.com/repos/philippbosch/fathom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/philippbosch/fathom/downloads","issues_url":"https://api.github.com/repos/philippbosch/fathom/issues{/number}","pulls_url":"https://api.github.com/repos/philippbosch/fathom/pulls{/number}","milestones_url":"https://api.github.com/repos/philippbosch/fathom/milestones{/number}","notifications_url":"https://api.github.com/repos/philippbosch/fathom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/philippbosch/fathom/labels{/name}","releases_url":"https://api.github.com/repos/philippbosch/fathom/releases{/id}","deployments_url":"https://api.github.com/repos/philippbosch/fathom/deployments","created_at":"2019-07-19T07:24:28Z","updated_at":"2019-07-19T07:24:31Z","pushed_at":"2019-07-19T07:26:26Z","git_url":"git://github.com/philippbosch/fathom.git","ssh_url":"git@github.com:philippbosch/fathom.git","clone_url":"https://github.com/philippbosch/fathom.git","svn_url":"https://github.com/philippbosch/fathom","homepage":"https://usefathom.com/","size":14199,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"usefathom:master","ref":"master","sha":"b683d5606c144ab20b0369987de14d57319a09d7","user":{"login":"usefathom","id":38684088,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4Njg0MDg4","avatar_url":"https://avatars0.githubusercontent.com/u/38684088?v=4","gravatar_id":"","url":"https://api.github.com/users/usefathom","html_url":"https://github.com/usefathom","followers_url":"https://api.github.com/users/usefathom/followers","following_url":"https://api.github.com/users/usefathom/following{/other_user}","gists_url":"https://api.github.com/users/usefathom/gists{/gist_id}","starred_url":"https://api.github.com/users/usefathom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usefathom/subscriptions","organizations_url":"https://api.github.com/users/usefathom/orgs","repos_url":"https://api.github.com/users/usefathom/repos","events_url":"https://api.github.com/users/usefathom/events{/privacy}","received_events_url":"https://api.github.com/users/usefathom/received_events","type":"Organization","site_admin":false},"repo":{"id":74236755,"node_id":"MDEwOlJlcG9zaXRvcnk3NDIzNjc1NQ==","name":"fathom","full_name":"usefathom/fathom","private":false,"owner":{"login":"usefathom","id":38684088,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4Njg0MDg4","avatar_url":"https://avatars0.githubusercontent.com/u/38684088?v=4","gravatar_id":"","url":"https://api.github.com/users/usefathom","html_url":"https://github.com/usefathom","followers_url":"https://api.github.com/users/usefathom/followers","following_url":"https://api.github.com/users/usefathom/following{/other_user}","gists_url":"https://api.github.com/users/usefathom/gists{/gist_id}","starred_url":"https://api.github.com/users/usefathom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usefathom/subscriptions","organizations_url":"https://api.github.com/users/usefathom/orgs","repos_url":"https://api.github.com/users/usefathom/repos","events_url":"https://api.github.com/users/usefathom/events{/privacy}","received_events_url":"https://api.github.com/users/usefathom/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/usefathom/fathom","description":"Fathom. Simple, trustworthy website analytics. Built with Golang & Preact.","fork":false,"url":"https://api.github.com/repos/usefathom/fathom","forks_url":"https://api.github.com/repos/usefathom/fathom/forks","keys_url":"https://api.github.com/repos/usefathom/fathom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/usefathom/fathom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/usefathom/fathom/teams","hooks_url":"https://api.github.com/repos/usefathom/fathom/hooks","issue_events_url":"https://api.github.com/repos/usefathom/fathom/issues/events{/number}","events_url":"https://api.github.com/repos/usefathom/fathom/events","assignees_url":"https://api.github.com/repos/usefathom/fathom/assignees{/user}","branches_url":"https://api.github.com/repos/usefathom/fathom/branches{/branch}","tags_url":"https://api.github.com/repos/usefathom/fathom/tags","blobs_url":"https://api.github.com/repos/usefathom/fathom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/usefathom/fathom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/usefathom/fathom/git/refs{/sha}","trees_url":"https://api.github.com/repos/usefathom/fathom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/usefathom/fathom/statuses/{sha}","languages_url":"https://api.github.com/repos/usefathom/fathom/languages","stargazers_url":"https://api.github.com/repos/usefathom/fathom/stargazers","contributors_url":"https://api.github.com/repos/usefathom/fathom/contributors","subscribers_url":"https://api.github.com/repos/usefathom/fathom/subscribers","subscription_url":"https://api.github.com/repos/usefathom/fathom/subscription","commits_url":"https://api.github.com/repos/usefathom/fathom/commits{/sha}","git_commits_url":"https://api.github.com/repos/usefathom/fathom/git/commits{/sha}","comments_url":"https://api.github.com/repos/usefathom/fathom/comments{/number}","issue_comment_url":"https://api.github.com/repos/usefathom/fathom/issues/comments{/number}","contents_url":"https://api.github.com/repos/usefathom/fathom/contents/{+path}","compare_url":"https://api.github.com/repos/usefathom/fathom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/usefathom/fathom/merges","archive_url":"https://api.github.com/repos/usefathom/fathom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/usefathom/fathom/downloads","issues_url":"https://api.github.com/repos/usefathom/fathom/issues{/number}","pulls_url":"https://api.github.com/repos/usefathom/fathom/pulls{/number}","milestones_url":"https://api.github.com/repos/usefathom/fathom/milestones{/number}","notifications_url":"https://api.github.com/repos/usefathom/fathom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/usefathom/fathom/labels{/name}","releases_url":"https://api.github.com/repos/usefathom/fathom/releases{/id}","deployments_url":"https://api.github.com/repos/usefathom/fathom/deployments","created_at":"2016-11-19T21:34:03Z","updated_at":"2019-07-19T03:01:59Z","pushed_at":"2019-07-12T13:05:29Z","git_url":"git://github.com/usefathom/fathom.git","ssh_url":"git@github.com:usefathom/fathom.git","clone_url":"https://github.com/usefathom/fathom.git","svn_url":"https://github.com/usefathom/fathom","homepage":"https://usefathom.com/","size":14199,"stargazers_count":5657,"watchers_count":5657,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":229,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":41,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":229,"open_issues":41,"watchers":5657,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/usefathom/fathom/pulls/280"},"html":{"href":"https://github.com/usefathom/fathom/pull/280"},"issue":{"href":"https://api.github.com/repos/usefathom/fathom/issues/280"},"comments":{"href":"https://api.github.com/repos/usefathom/fathom/issues/280/comments"},"review_comments":{"href":"https://api.github.com/repos/usefathom/fathom/pulls/280/comments"},"review_comment":{"href":"https://api.github.com/repos/usefathom/fathom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/usefathom/fathom/pulls/280/commits"},"statuses":{"href":"https://api.github.com/repos/usefathom/fathom/statuses/44685a88a9a622c044522ccd4869ac28b044873e"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"philippbosch"}}