{"action":"closed","number":11,"pull_request":{"url":"https://api.github.com/repos/mozilla/vaani.client/pulls/11","id":77543884,"html_url":"https://github.com/mozilla/vaani.client/pull/11","diff_url":"https://github.com/mozilla/vaani.client/pull/11.diff","patch_url":"https://github.com/mozilla/vaani.client/pull/11.patch","issue_url":"https://api.github.com/repos/mozilla/vaani.client/issues/11","number":11,"state":"closed","locked":false,"title":"Optionally get the OAUTH token from an environment variable","user":{"login":"davidflanagan","id":516914,"avatar_url":"https://avatars.githubusercontent.com/u/516914?v=3","gravatar_id":"","url":"https://api.github.com/users/davidflanagan","html_url":"https://github.com/davidflanagan","followers_url":"https://api.github.com/users/davidflanagan/followers","following_url":"https://api.github.com/users/davidflanagan/following{/other_user}","gists_url":"https://api.github.com/users/davidflanagan/gists{/gist_id}","starred_url":"https://api.github.com/users/davidflanagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidflanagan/subscriptions","organizations_url":"https://api.github.com/users/davidflanagan/orgs","repos_url":"https://api.github.com/users/davidflanagan/repos","events_url":"https://api.github.com/users/davidflanagan/events{/privacy}","received_events_url":"https://api.github.com/users/davidflanagan/received_events","type":"User","site_admin":false},"body":"This PR modifies the vaani.service file so that Vaani runs as the user pi, instead of as root.\r\n\r\nAnd it modifies index.js so that it reads the oauth token from an environment variable. This will allow the vaani.setup service to start vaani with the user's token","created_at":"2016-07-14T23:42:30Z","updated_at":"2016-07-15T11:53:02Z","closed_at":"2016-07-15T11:53:02Z","merged_at":"2016-07-15T11:53:02Z","merge_commit_sha":"a25839565bf9558c65d203f4f409d2d560cab3cb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/vaani.client/pulls/11/commits","review_comments_url":"https://api.github.com/repos/mozilla/vaani.client/pulls/11/comments","review_comment_url":"https://api.github.com/repos/mozilla/vaani.client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/vaani.client/issues/11/comments","statuses_url":"https://api.github.com/repos/mozilla/vaani.client/statuses/26cfec1a5afa8340ca18adaf74bcedc61abd3657","head":{"label":"davidflanagan:djf5","ref":"djf5","sha":"26cfec1a5afa8340ca18adaf74bcedc61abd3657","user":{"login":"davidflanagan","id":516914,"avatar_url":"https://avatars.githubusercontent.com/u/516914?v=3","gravatar_id":"","url":"https://api.github.com/users/davidflanagan","html_url":"https://github.com/davidflanagan","followers_url":"https://api.github.com/users/davidflanagan/followers","following_url":"https://api.github.com/users/davidflanagan/following{/other_user}","gists_url":"https://api.github.com/users/davidflanagan/gists{/gist_id}","starred_url":"https://api.github.com/users/davidflanagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidflanagan/subscriptions","organizations_url":"https://api.github.com/users/davidflanagan/orgs","repos_url":"https://api.github.com/users/davidflanagan/repos","events_url":"https://api.github.com/users/davidflanagan/events{/privacy}","received_events_url":"https://api.github.com/users/davidflanagan/received_events","type":"User","site_admin":false},"repo":{"id":63279427,"name":"vaani.client","full_name":"davidflanagan/vaani.client","owner":{"login":"davidflanagan","id":516914,"avatar_url":"https://avatars.githubusercontent.com/u/516914?v=3","gravatar_id":"","url":"https://api.github.com/users/davidflanagan","html_url":"https://github.com/davidflanagan","followers_url":"https://api.github.com/users/davidflanagan/followers","following_url":"https://api.github.com/users/davidflanagan/following{/other_user}","gists_url":"https://api.github.com/users/davidflanagan/gists{/gist_id}","starred_url":"https://api.github.com/users/davidflanagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidflanagan/subscriptions","organizations_url":"https://api.github.com/users/davidflanagan/orgs","repos_url":"https://api.github.com/users/davidflanagan/repos","events_url":"https://api.github.com/users/davidflanagan/events{/privacy}","received_events_url":"https://api.github.com/users/davidflanagan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidflanagan/vaani.client","description":"Vaani client","fork":true,"url":"https://api.github.com/repos/davidflanagan/vaani.client","forks_url":"https://api.github.com/repos/davidflanagan/vaani.client/forks","keys_url":"https://api.github.com/repos/davidflanagan/vaani.client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidflanagan/vaani.client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidflanagan/vaani.client/teams","hooks_url":"https://api.github.com/repos/davidflanagan/vaani.client/hooks","issue_events_url":"https://api.github.com/repos/davidflanagan/vaani.client/issues/events{/number}","events_url":"https://api.github.com/repos/davidflanagan/vaani.client/events","assignees_url":"https://api.github.com/repos/davidflanagan/vaani.client/assignees{/user}","branches_url":"https://api.github.com/repos/davidflanagan/vaani.client/branches{/branch}","tags_url":"https://api.github.com/repos/davidflanagan/vaani.client/tags","blobs_url":"https://api.github.com/repos/davidflanagan/vaani.client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidflanagan/vaani.client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidflanagan/vaani.client/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidflanagan/vaani.client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidflanagan/vaani.client/statuses/{sha}","languages_url":"https://api.github.com/repos/davidflanagan/vaani.client/languages","stargazers_url":"https://api.github.com/repos/davidflanagan/vaani.client/stargazers","contributors_url":"https://api.github.com/repos/davidflanagan/vaani.client/contributors","subscribers_url":"https://api.github.com/repos/davidflanagan/vaani.client/subscribers","subscription_url":"https://api.github.com/repos/davidflanagan/vaani.client/subscription","commits_url":"https://api.github.com/repos/davidflanagan/vaani.client/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidflanagan/vaani.client/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidflanagan/vaani.client/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidflanagan/vaani.client/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidflanagan/vaani.client/contents/{+path}","compare_url":"https://api.github.com/repos/davidflanagan/vaani.client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidflanagan/vaani.client/merges","archive_url":"https://api.github.com/repos/davidflanagan/vaani.client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidflanagan/vaani.client/downloads","issues_url":"https://api.github.com/repos/davidflanagan/vaani.client/issues{/number}","pulls_url":"https://api.github.com/repos/davidflanagan/vaani.client/pulls{/number}","milestones_url":"https://api.github.com/repos/davidflanagan/vaani.client/milestones{/number}","notifications_url":"https://api.github.com/repos/davidflanagan/vaani.client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidflanagan/vaani.client/labels{/name}","releases_url":"https://api.github.com/repos/davidflanagan/vaani.client/releases{/id}","deployments_url":"https://api.github.com/repos/davidflanagan/vaani.client/deployments","created_at":"2016-07-13T21:05:06Z","updated_at":"2016-07-15T11:52:02Z","pushed_at":"2016-07-14T23:40:56Z","git_url":"git://github.com/davidflanagan/vaani.client.git","ssh_url":"git@github.com:davidflanagan/vaani.client.git","clone_url":"https://github.com/davidflanagan/vaani.client.git","svn_url":"https://github.com/davidflanagan/vaani.client","homepage":null,"size":127,"stargazers_count":1,"watchers_count":1,"language":"Shell","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":1,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"593714d8cb456d3c8747ec89552556b28f6d96f5","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":61526224,"name":"vaani.client","full_name":"mozilla/vaani.client","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/vaani.client","description":"Vaani client","fork":false,"url":"https://api.github.com/repos/mozilla/vaani.client","forks_url":"https://api.github.com/repos/mozilla/vaani.client/forks","keys_url":"https://api.github.com/repos/mozilla/vaani.client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/vaani.client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/vaani.client/teams","hooks_url":"https://api.github.com/repos/mozilla/vaani.client/hooks","issue_events_url":"https://api.github.com/repos/mozilla/vaani.client/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/vaani.client/events","assignees_url":"https://api.github.com/repos/mozilla/vaani.client/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/vaani.client/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/vaani.client/tags","blobs_url":"https://api.github.com/repos/mozilla/vaani.client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/vaani.client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/vaani.client/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/vaani.client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/vaani.client/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/vaani.client/languages","stargazers_url":"https://api.github.com/repos/mozilla/vaani.client/stargazers","contributors_url":"https://api.github.com/repos/mozilla/vaani.client/contributors","subscribers_url":"https://api.github.com/repos/mozilla/vaani.client/subscribers","subscription_url":"https://api.github.com/repos/mozilla/vaani.client/subscription","commits_url":"https://api.github.com/repos/mozilla/vaani.client/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/vaani.client/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/vaani.client/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/vaani.client/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/vaani.client/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/vaani.client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/vaani.client/merges","archive_url":"https://api.github.com/repos/mozilla/vaani.client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/vaani.client/downloads","issues_url":"https://api.github.com/repos/mozilla/vaani.client/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/vaani.client/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/vaani.client/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/vaani.client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/vaani.client/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/vaani.client/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/vaani.client/deployments","created_at":"2016-06-20T07:38:07Z","updated_at":"2016-07-15T04:26:12Z","pushed_at":"2016-07-15T11:53:02Z","git_url":"git://github.com/mozilla/vaani.client.git","ssh_url":"git@github.com:mozilla/vaani.client.git","clone_url":"https://github.com/mozilla/vaani.client.git","svn_url":"https://github.com/mozilla/vaani.client","homepage":null,"size":130,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/vaani.client/pulls/11"},"html":{"href":"https://github.com/mozilla/vaani.client/pull/11"},"issue":{"href":"https://api.github.com/repos/mozilla/vaani.client/issues/11"},"comments":{"href":"https://api.github.com/repos/mozilla/vaani.client/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/vaani.client/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/vaani.client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/vaani.client/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/vaani.client/statuses/26cfec1a5afa8340ca18adaf74bcedc61abd3657"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"andrenatal","id":973388,"avatar_url":"https://avatars.githubusercontent.com/u/973388?v=3","gravatar_id":"","url":"https://api.github.com/users/andrenatal","html_url":"https://github.com/andrenatal","followers_url":"https://api.github.com/users/andrenatal/followers","following_url":"https://api.github.com/users/andrenatal/following{/other_user}","gists_url":"https://api.github.com/users/andrenatal/gists{/gist_id}","starred_url":"https://api.github.com/users/andrenatal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrenatal/subscriptions","organizations_url":"https://api.github.com/users/andrenatal/orgs","repos_url":"https://api.github.com/users/andrenatal/repos","events_url":"https://api.github.com/users/andrenatal/events{/privacy}","received_events_url":"https://api.github.com/users/andrenatal/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":23,"deletions":1,"changed_files":3}}
{"actor":{"display_login":"andrenatal"}}