{"action":"created","issue":{"url":"https://api.github.com/repos/ianb/personal-history-archive/issues/118","repository_url":"https://api.github.com/repos/ianb/personal-history-archive","labels_url":"https://api.github.com/repos/ianb/personal-history-archive/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/ianb/personal-history-archive/issues/118/comments","events_url":"https://api.github.com/repos/ianb/personal-history-archive/issues/118/events","html_url":"https://github.com/ianb/personal-history-archive/issues/118","id":347967320,"node_id":"MDU6SXNzdWUzNDc5NjczMjA=","number":118,"title":"Track channel and user agent in logins","user":{"login":"ianb","id":44390,"node_id":"MDQ6VXNlcjQ0Mzkw","avatar_url":"https://avatars1.githubusercontent.com/u/44390?v=4","gravatar_id":"","url":"https://api.github.com/users/ianb","html_url":"https://github.com/ianb","followers_url":"https://api.github.com/users/ianb/followers","following_url":"https://api.github.com/users/ianb/following{/other_user}","gists_url":"https://api.github.com/users/ianb/gists{/gist_id}","starred_url":"https://api.github.com/users/ianb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianb/subscriptions","organizations_url":"https://api.github.com/users/ianb/orgs","repos_url":"https://api.github.com/users/ianb/repos","events_url":"https://api.github.com/users/ianb/events{/privacy}","received_events_url":"https://api.github.com/users/ianb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-06T15:16:24Z","updated_at":"2018-08-06T15:43:40Z","closed_at":"2018-08-06T15:43:40Z","author_association":"OWNER","body":"We want to distinguish pre-release users (i.e., Nightly and Beta users) from release Firefox users. Right now we're not saving enough in the device table to know the difference.\r\n\r\nIf we can get the channel information and add it to the login/register call that should be sufficient. Getting the User-Agent wouldn't be as helpful, as you have to match up dates to determine the channel based on the User-Agent. But we could consider User-Agent, as it could be done server-only.\r\n\r\nWe might want to consider copying the channel information to the shot (data) table on shot creation, so we track which channel the user was using at the moment they uploaded."},"comment":{"url":"https://api.github.com/repos/ianb/personal-history-archive/issues/comments/410753259","html_url":"https://github.com/ianb/personal-history-archive/issues/118#issuecomment-410753259","issue_url":"https://api.github.com/repos/ianb/personal-history-archive/issues/118","id":410753259,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDc1MzI1OQ==","user":{"login":"ianb","id":44390,"node_id":"MDQ6VXNlcjQ0Mzkw","avatar_url":"https://avatars1.githubusercontent.com/u/44390?v=4","gravatar_id":"","url":"https://api.github.com/users/ianb","html_url":"https://github.com/ianb","followers_url":"https://api.github.com/users/ianb/followers","following_url":"https://api.github.com/users/ianb/following{/other_user}","gists_url":"https://api.github.com/users/ianb/gists{/gist_id}","starred_url":"https://api.github.com/users/ianb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianb/subscriptions","organizations_url":"https://api.github.com/users/ianb/orgs","repos_url":"https://api.github.com/users/ianb/repos","events_url":"https://api.github.com/users/ianb/events{/privacy}","received_events_url":"https://api.github.com/users/ianb/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T15:43:40Z","updated_at":"2018-08-06T15:43:40Z","author_association":"OWNER","body":"Doh, wrong repo"}}
{"actor":{"display_login":"ianb"}}