{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/treeherder-ui/pulls/comments/24920355","id":24920355,"diff_hunk":"@@ -3,17 +3,19 @@\n  * file, you can obtain one at http://mozilla.org/MPL/2.0/. */\n \n 'use strict';\n+var production = \"https://treeherder.mozilla.org\";\n+var stage = \"https://treeherder.allizom.org\";\n+var dev = \"http://treeherder-dev.allizom.org\";\n+var same_host = \"\";","path":"webapp/app/js/config/sample.local.conf.js","position":7,"original_position":7,"commit_id":"bd16f7a42fe055f2b22e5bda3c16b161642e0281","original_commit_id":"fa1c888a60cae7688f62e5d08ea415c875e2a081","user":{"login":"tojonmz","id":3660661,"avatar_url":"https://avatars.githubusercontent.com/u/3660661?v=3","gravatar_id":"","url":"https://api.github.com/users/tojonmz","html_url":"https://github.com/tojonmz","followers_url":"https://api.github.com/users/tojonmz/followers","following_url":"https://api.github.com/users/tojonmz/following{/other_user}","gists_url":"https://api.github.com/users/tojonmz/gists{/gist_id}","starred_url":"https://api.github.com/users/tojonmz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tojonmz/subscriptions","organizations_url":"https://api.github.com/users/tojonmz/orgs","repos_url":"https://api.github.com/users/tojonmz/repos","events_url":"https://api.github.com/users/tojonmz/events{/privacy}","received_events_url":"https://api.github.com/users/tojonmz/received_events","type":"User","site_admin":false},"body":"I might vote for 'vagrant' in that case, if we think it might result in less questions in channel?","created_at":"2015-02-18T17:23:55Z","updated_at":"2015-02-18T17:23:55Z","html_url":"https://github.com/mozilla/treeherder-ui/pull/371#discussion_r24920355","pull_request_url":"https://api.github.com/repos/mozilla/treeherder-ui/pulls/371","_links":{"self":{"href":"https://api.github.com/repos/mozilla/treeherder-ui/pulls/comments/24920355"},"html":{"href":"https://github.com/mozilla/treeherder-ui/pull/371#discussion_r24920355"},"pull_request":{"href":"https://api.github.com/repos/mozilla/treeherder-ui/pulls/371"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/treeherder-ui/pulls/371","id":29527235,"html_url":"https://github.com/mozilla/treeherder-ui/pull/371","diff_url":"https://github.com/mozilla/treeherder-ui/pull/371.diff","patch_url":"https://github.com/mozilla/treeherder-ui/pull/371.patch","issue_url":"https://api.github.com/repos/mozilla/treeherder-ui/issues/371","number":371,"state":"open","locked":false,"title":"Improve the initial setup experience for new contributors to the UI","user":{"login":"edmorley","id":501702,"avatar_url":"https://avatars.githubusercontent.com/u/501702?v=3","gravatar_id":"","url":"https://api.github.com/users/edmorley","html_url":"https://github.com/edmorley","followers_url":"https://api.github.com/users/edmorley/followers","following_url":"https://api.github.com/users/edmorley/following{/other_user}","gists_url":"https://api.github.com/users/edmorley/gists{/gist_id}","starred_url":"https://api.github.com/users/edmorley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edmorley/subscriptions","organizations_url":"https://api.github.com/users/edmorley/orgs","repos_url":"https://api.github.com/users/edmorley/repos","events_url":"https://api.github.com/users/edmorley/events{/privacy}","received_events_url":"https://api.github.com/users/edmorley/received_events","type":"User","site_admin":false},"body":"* The sample config is optional, so don't use it for tests …\r\nWe want the sample config to now point at the production service API to make the first-run experience for new contributors easier. However the tests use the sample config as part of the test run, so this breaks them. However since the sample config is now optional, we can just not use it at all during the tests to fix the failures.\r\n\r\n* Improve the API back-end prefs in the sample local config …\r\nIt's now easier to switch between the API back-ends and harder to make typos. The default backend has also been changed to production (instead of using the same host), since local.conf.js is now optional, so if someone just wants to use the same host as the UI for the back-end, then they can just not create local.conf.js in the first place. But for those who _do_ want to use production (eg those using web-server.js), initial setup is now a single |cp sample.local.conf.js local.conf.js| rather than also having to edit the file afterwards.\r\n\r\n* Clean up the treeherder-ui installation instructions","created_at":"2015-02-18T14:04:27Z","updated_at":"2015-02-18T17:23:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86a55c7f390663c56cf5a2dadb85b7dea51bc9cf","assignee":{"login":"edmorley","id":501702,"avatar_url":"https://avatars.githubusercontent.com/u/501702?v=3","gravatar_id":"","url":"https://api.github.com/users/edmorley","html_url":"https://github.com/edmorley","followers_url":"https://api.github.com/users/edmorley/followers","following_url":"https://api.github.com/users/edmorley/following{/other_user}","gists_url":"https://api.github.com/users/edmorley/gists{/gist_id}","starred_url":"https://api.github.com/users/edmorley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edmorley/subscriptions","organizations_url":"https://api.github.com/users/edmorley/orgs","repos_url":"https://api.github.com/users/edmorley/repos","events_url":"https://api.github.com/users/edmorley/events{/privacy}","received_events_url":"https://api.github.com/users/edmorley/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/treeherder-ui/pulls/371/commits","review_comments_url":"https://api.github.com/repos/mozilla/treeherder-ui/pulls/371/comments","review_comment_url":"https://api.github.com/repos/mozilla/treeherder-ui/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mozilla/treeherder-ui/issues/371/comments","statuses_url":"https://api.github.com/repos/mozilla/treeherder-ui/statuses/bd16f7a42fe055f2b22e5bda3c16b161642e0281","head":{"label":"mozilla:improve-ui-instructions","ref":"improve-ui-instructions","sha":"bd16f7a42fe055f2b22e5bda3c16b161642e0281","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":10973059,"name":"treeherder-ui","full_name":"mozilla/treeherder-ui","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/treeherder-ui","description":"The UI for treeherder, a replacement for TBPL. See wiki page for where to file bugs.","fork":false,"url":"https://api.github.com/repos/mozilla/treeherder-ui","forks_url":"https://api.github.com/repos/mozilla/treeherder-ui/forks","keys_url":"https://api.github.com/repos/mozilla/treeherder-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/treeherder-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/treeherder-ui/teams","hooks_url":"https://api.github.com/repos/mozilla/treeherder-ui/hooks","issue_events_url":"https://api.github.com/repos/mozilla/treeherder-ui/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/treeherder-ui/events","assignees_url":"https://api.github.com/repos/mozilla/treeherder-ui/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/treeherder-ui/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/treeherder-ui/tags","blobs_url":"https://api.github.com/repos/mozilla/treeherder-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/treeherder-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/treeherder-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/treeherder-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/treeherder-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/treeherder-ui/languages","stargazers_url":"https://api.github.com/repos/mozilla/treeherder-ui/stargazers","contributors_url":"https://api.github.com/repos/mozilla/treeherder-ui/contributors","subscribers_url":"https://api.github.com/repos/mozilla/treeherder-ui/subscribers","subscription_url":"https://api.github.com/repos/mozilla/treeherder-ui/subscription","commits_url":"https://api.github.com/repos/mozilla/treeherder-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/treeherder-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/treeherder-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/treeherder-ui/issues/comments/{number}","contents_url":"https://api.github.com/repos/mozilla/treeherder-ui/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/treeherder-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/treeherder-ui/merges","archive_url":"https://api.github.com/repos/mozilla/treeherder-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/treeherder-ui/downloads","issues_url":"https://api.github.com/repos/mozilla/treeherder-ui/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/treeherder-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/treeherder-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/treeherder-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/treeherder-ui/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/treeherder-ui/releases{/id}","created_at":"2013-06-26T16:25:19Z","updated_at":"2015-02-18T14:40:08Z","pushed_at":"2015-02-18T16:48:52Z","git_url":"git://github.com/mozilla/treeherder-ui.git","ssh_url":"git@github.com:mozilla/treeherder-ui.git","clone_url":"https://github.com/mozilla/treeherder-ui.git","svn_url":"https://github.com/mozilla/treeherder-ui","homepage":"https://wiki.mozilla.org/Auto-tools/Projects/Treeherder","size":16804,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":9,"forks":28,"open_issues":9,"watchers":18,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"3a4220369eadf4b6d0624e02a583d7bb3b25cf6a","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":10973059,"name":"treeherder-ui","full_name":"mozilla/treeherder-ui","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/treeherder-ui","description":"The UI for treeherder, a replacement for TBPL. See wiki page for where to file bugs.","fork":false,"url":"https://api.github.com/repos/mozilla/treeherder-ui","forks_url":"https://api.github.com/repos/mozilla/treeherder-ui/forks","keys_url":"https://api.github.com/repos/mozilla/treeherder-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/treeherder-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/treeherder-ui/teams","hooks_url":"https://api.github.com/repos/mozilla/treeherder-ui/hooks","issue_events_url":"https://api.github.com/repos/mozilla/treeherder-ui/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/treeherder-ui/events","assignees_url":"https://api.github.com/repos/mozilla/treeherder-ui/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/treeherder-ui/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/treeherder-ui/tags","blobs_url":"https://api.github.com/repos/mozilla/treeherder-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/treeherder-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/treeherder-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/treeherder-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/treeherder-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/treeherder-ui/languages","stargazers_url":"https://api.github.com/repos/mozilla/treeherder-ui/stargazers","contributors_url":"https://api.github.com/repos/mozilla/treeherder-ui/contributors","subscribers_url":"https://api.github.com/repos/mozilla/treeherder-ui/subscribers","subscription_url":"https://api.github.com/repos/mozilla/treeherder-ui/subscription","commits_url":"https://api.github.com/repos/mozilla/treeherder-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/treeherder-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/treeherder-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/treeherder-ui/issues/comments/{number}","contents_url":"https://api.github.com/repos/mozilla/treeherder-ui/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/treeherder-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/treeherder-ui/merges","archive_url":"https://api.github.com/repos/mozilla/treeherder-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/treeherder-ui/downloads","issues_url":"https://api.github.com/repos/mozilla/treeherder-ui/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/treeherder-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/treeherder-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/treeherder-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/treeherder-ui/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/treeherder-ui/releases{/id}","created_at":"2013-06-26T16:25:19Z","updated_at":"2015-02-18T14:40:08Z","pushed_at":"2015-02-18T16:48:52Z","git_url":"git://github.com/mozilla/treeherder-ui.git","ssh_url":"git@github.com:mozilla/treeherder-ui.git","clone_url":"https://github.com/mozilla/treeherder-ui.git","svn_url":"https://github.com/mozilla/treeherder-ui","homepage":"https://wiki.mozilla.org/Auto-tools/Projects/Treeherder","size":16804,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":9,"forks":28,"open_issues":9,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/treeherder-ui/pulls/371"},"html":{"href":"https://github.com/mozilla/treeherder-ui/pull/371"},"issue":{"href":"https://api.github.com/repos/mozilla/treeherder-ui/issues/371"},"comments":{"href":"https://api.github.com/repos/mozilla/treeherder-ui/issues/371/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/treeherder-ui/pulls/371/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/treeherder-ui/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mozilla/treeherder-ui/pulls/371/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/treeherder-ui/statuses/bd16f7a42fe055f2b22e5bda3c16b161642e0281"}}}}