{"action":"created","comment":{"url":"https://api.github.com/repos/noseglid/atom-build/pulls/comments/48141888","id":48141888,"diff_hunk":"@@ -4,14 +4,19 @@ import _ from 'lodash';\n import fs from 'fs-extra';\n import temp from 'temp';\n import specHelpers from 'atom-build-spec-helpers';\n+import os from 'os';\n+","path":"spec/build-confirm-spec.js","position":5,"original_position":5,"commit_id":"d1161ffc240b556a2247c06b41348e38a818153c","original_commit_id":"d1161ffc240b556a2247c06b41348e38a818153c","user":{"login":"academo","id":227916,"avatar_url":"https://avatars.githubusercontent.com/u/227916?v=3","gravatar_id":"","url":"https://api.github.com/users/academo","html_url":"https://github.com/academo","followers_url":"https://api.github.com/users/academo/followers","following_url":"https://api.github.com/users/academo/following{/other_user}","gists_url":"https://api.github.com/users/academo/gists{/gist_id}","starred_url":"https://api.github.com/users/academo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/academo/subscriptions","organizations_url":"https://api.github.com/users/academo/orgs","repos_url":"https://api.github.com/users/academo/repos","events_url":"https://api.github.com/users/academo/events{/privacy}","received_events_url":"https://api.github.com/users/academo/received_events","type":"User","site_admin":false},"body":"I am not sure I understand what you mean here.","created_at":"2015-12-21T12:38:56Z","updated_at":"2015-12-21T12:38:56Z","html_url":"https://github.com/noseglid/atom-build/pull/264#discussion_r48141888","pull_request_url":"https://api.github.com/repos/noseglid/atom-build/pulls/264","_links":{"self":{"href":"https://api.github.com/repos/noseglid/atom-build/pulls/comments/48141888"},"html":{"href":"https://github.com/noseglid/atom-build/pull/264#discussion_r48141888"},"pull_request":{"href":"https://api.github.com/repos/noseglid/atom-build/pulls/264"}}},"pull_request":{"url":"https://api.github.com/repos/noseglid/atom-build/pulls/264","id":54112904,"html_url":"https://github.com/noseglid/atom-build/pull/264","diff_url":"https://github.com/noseglid/atom-build/pull/264.diff","patch_url":"https://github.com/noseglid/atom-build/pull/264.patch","issue_url":"https://api.github.com/repos/noseglid/atom-build/issues/264","number":264,"state":"open","locked":false,"title":"Add posibility to use an atom-build config file from the user's home","user":{"login":"academo","id":227916,"avatar_url":"https://avatars.githubusercontent.com/u/227916?v=3","gravatar_id":"","url":"https://api.github.com/users/academo","html_url":"https://github.com/academo","followers_url":"https://api.github.com/users/academo/followers","following_url":"https://api.github.com/users/academo/following{/other_user}","gists_url":"https://api.github.com/users/academo/gists{/gist_id}","starred_url":"https://api.github.com/users/academo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/academo/subscriptions","organizations_url":"https://api.github.com/users/academo/orgs","repos_url":"https://api.github.com/users/academo/repos","events_url":"https://api.github.com/users/academo/events{/privacy}","received_events_url":"https://api.github.com/users/academo/received_events","type":"User","site_admin":false},"body":"As discussed on https://github.com/noseglid/atom-build/issues/209\r\n\r\nAdding the possibility to use global config files, as a first step, to use the user's home directory looking for any of the supported config file types.\r\n\r\nas a bug: the plugin can't watch the whole directory structure, if an atom build file is added to the home directory after the project is loaded, atom build won't recognize the new file, the project needs to be reloaded.\r\n\r\nThis commit may looks big but tests required lots of modification to support the new \"isElegible\" method fallback to use user home directory.\r\n","created_at":"2015-12-18T15:13:39Z","updated_at":"2015-12-21T12:38:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b05b013558506918f2a4783327a6a7599e7c5a37","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/noseglid/atom-build/pulls/264/commits","review_comments_url":"https://api.github.com/repos/noseglid/atom-build/pulls/264/comments","review_comment_url":"https://api.github.com/repos/noseglid/atom-build/pulls/comments{/number}","comments_url":"https://api.github.com/repos/noseglid/atom-build/issues/264/comments","statuses_url":"https://api.github.com/repos/noseglid/atom-build/statuses/d1161ffc240b556a2247c06b41348e38a818153c","head":{"label":"academo:master","ref":"master","sha":"d1161ffc240b556a2247c06b41348e38a818153c","user":{"login":"academo","id":227916,"avatar_url":"https://avatars.githubusercontent.com/u/227916?v=3","gravatar_id":"","url":"https://api.github.com/users/academo","html_url":"https://github.com/academo","followers_url":"https://api.github.com/users/academo/followers","following_url":"https://api.github.com/users/academo/following{/other_user}","gists_url":"https://api.github.com/users/academo/gists{/gist_id}","starred_url":"https://api.github.com/users/academo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/academo/subscriptions","organizations_url":"https://api.github.com/users/academo/orgs","repos_url":"https://api.github.com/users/academo/repos","events_url":"https://api.github.com/users/academo/events{/privacy}","received_events_url":"https://api.github.com/users/academo/received_events","type":"User","site_admin":false},"repo":{"id":48109961,"name":"atom-build","full_name":"academo/atom-build","owner":{"login":"academo","id":227916,"avatar_url":"https://avatars.githubusercontent.com/u/227916?v=3","gravatar_id":"","url":"https://api.github.com/users/academo","html_url":"https://github.com/academo","followers_url":"https://api.github.com/users/academo/followers","following_url":"https://api.github.com/users/academo/following{/other_user}","gists_url":"https://api.github.com/users/academo/gists{/gist_id}","starred_url":"https://api.github.com/users/academo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/academo/subscriptions","organizations_url":"https://api.github.com/users/academo/orgs","repos_url":"https://api.github.com/users/academo/repos","events_url":"https://api.github.com/users/academo/events{/privacy}","received_events_url":"https://api.github.com/users/academo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/academo/atom-build","description":":hammer: Build your project directly from the Atom editor","fork":true,"url":"https://api.github.com/repos/academo/atom-build","forks_url":"https://api.github.com/repos/academo/atom-build/forks","keys_url":"https://api.github.com/repos/academo/atom-build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/academo/atom-build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/academo/atom-build/teams","hooks_url":"https://api.github.com/repos/academo/atom-build/hooks","issue_events_url":"https://api.github.com/repos/academo/atom-build/issues/events{/number}","events_url":"https://api.github.com/repos/academo/atom-build/events","assignees_url":"https://api.github.com/repos/academo/atom-build/assignees{/user}","branches_url":"https://api.github.com/repos/academo/atom-build/branches{/branch}","tags_url":"https://api.github.com/repos/academo/atom-build/tags","blobs_url":"https://api.github.com/repos/academo/atom-build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/academo/atom-build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/academo/atom-build/git/refs{/sha}","trees_url":"https://api.github.com/repos/academo/atom-build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/academo/atom-build/statuses/{sha}","languages_url":"https://api.github.com/repos/academo/atom-build/languages","stargazers_url":"https://api.github.com/repos/academo/atom-build/stargazers","contributors_url":"https://api.github.com/repos/academo/atom-build/contributors","subscribers_url":"https://api.github.com/repos/academo/atom-build/subscribers","subscription_url":"https://api.github.com/repos/academo/atom-build/subscription","commits_url":"https://api.github.com/repos/academo/atom-build/commits{/sha}","git_commits_url":"https://api.github.com/repos/academo/atom-build/git/commits{/sha}","comments_url":"https://api.github.com/repos/academo/atom-build/comments{/number}","issue_comment_url":"https://api.github.com/repos/academo/atom-build/issues/comments{/number}","contents_url":"https://api.github.com/repos/academo/atom-build/contents/{+path}","compare_url":"https://api.github.com/repos/academo/atom-build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/academo/atom-build/merges","archive_url":"https://api.github.com/repos/academo/atom-build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/academo/atom-build/downloads","issues_url":"https://api.github.com/repos/academo/atom-build/issues{/number}","pulls_url":"https://api.github.com/repos/academo/atom-build/pulls{/number}","milestones_url":"https://api.github.com/repos/academo/atom-build/milestones{/number}","notifications_url":"https://api.github.com/repos/academo/atom-build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/academo/atom-build/labels{/name}","releases_url":"https://api.github.com/repos/academo/atom-build/releases{/id}","created_at":"2015-12-16T12:49:09Z","updated_at":"2015-12-16T12:49:10Z","pushed_at":"2015-12-18T16:39:42Z","git_url":"git://github.com/academo/atom-build.git","ssh_url":"git@github.com:academo/atom-build.git","clone_url":"https://github.com/academo/atom-build.git","svn_url":"https://github.com/academo/atom-build","homepage":"https://atom.io/packages/build","size":3113,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":0,"default_branch":"master"}},"base":{"label":"noseglid:master","ref":"master","sha":"754caab814942bb2c1dcd6d02eed25f5e73703c7","user":{"login":"noseglid","id":933880,"avatar_url":"https://avatars.githubusercontent.com/u/933880?v=3","gravatar_id":"","url":"https://api.github.com/users/noseglid","html_url":"https://github.com/noseglid","followers_url":"https://api.github.com/users/noseglid/followers","following_url":"https://api.github.com/users/noseglid/following{/other_user}","gists_url":"https://api.github.com/users/noseglid/gists{/gist_id}","starred_url":"https://api.github.com/users/noseglid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noseglid/subscriptions","organizations_url":"https://api.github.com/users/noseglid/orgs","repos_url":"https://api.github.com/users/noseglid/repos","events_url":"https://api.github.com/users/noseglid/events{/privacy}","received_events_url":"https://api.github.com/users/noseglid/received_events","type":"User","site_admin":false},"repo":{"id":18708438,"name":"atom-build","full_name":"noseglid/atom-build","owner":{"login":"noseglid","id":933880,"avatar_url":"https://avatars.githubusercontent.com/u/933880?v=3","gravatar_id":"","url":"https://api.github.com/users/noseglid","html_url":"https://github.com/noseglid","followers_url":"https://api.github.com/users/noseglid/followers","following_url":"https://api.github.com/users/noseglid/following{/other_user}","gists_url":"https://api.github.com/users/noseglid/gists{/gist_id}","starred_url":"https://api.github.com/users/noseglid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noseglid/subscriptions","organizations_url":"https://api.github.com/users/noseglid/orgs","repos_url":"https://api.github.com/users/noseglid/repos","events_url":"https://api.github.com/users/noseglid/events{/privacy}","received_events_url":"https://api.github.com/users/noseglid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/noseglid/atom-build","description":":hammer: Build your project directly from the Atom editor","fork":false,"url":"https://api.github.com/repos/noseglid/atom-build","forks_url":"https://api.github.com/repos/noseglid/atom-build/forks","keys_url":"https://api.github.com/repos/noseglid/atom-build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/noseglid/atom-build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/noseglid/atom-build/teams","hooks_url":"https://api.github.com/repos/noseglid/atom-build/hooks","issue_events_url":"https://api.github.com/repos/noseglid/atom-build/issues/events{/number}","events_url":"https://api.github.com/repos/noseglid/atom-build/events","assignees_url":"https://api.github.com/repos/noseglid/atom-build/assignees{/user}","branches_url":"https://api.github.com/repos/noseglid/atom-build/branches{/branch}","tags_url":"https://api.github.com/repos/noseglid/atom-build/tags","blobs_url":"https://api.github.com/repos/noseglid/atom-build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/noseglid/atom-build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/noseglid/atom-build/git/refs{/sha}","trees_url":"https://api.github.com/repos/noseglid/atom-build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/noseglid/atom-build/statuses/{sha}","languages_url":"https://api.github.com/repos/noseglid/atom-build/languages","stargazers_url":"https://api.github.com/repos/noseglid/atom-build/stargazers","contributors_url":"https://api.github.com/repos/noseglid/atom-build/contributors","subscribers_url":"https://api.github.com/repos/noseglid/atom-build/subscribers","subscription_url":"https://api.github.com/repos/noseglid/atom-build/subscription","commits_url":"https://api.github.com/repos/noseglid/atom-build/commits{/sha}","git_commits_url":"https://api.github.com/repos/noseglid/atom-build/git/commits{/sha}","comments_url":"https://api.github.com/repos/noseglid/atom-build/comments{/number}","issue_comment_url":"https://api.github.com/repos/noseglid/atom-build/issues/comments{/number}","contents_url":"https://api.github.com/repos/noseglid/atom-build/contents/{+path}","compare_url":"https://api.github.com/repos/noseglid/atom-build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/noseglid/atom-build/merges","archive_url":"https://api.github.com/repos/noseglid/atom-build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/noseglid/atom-build/downloads","issues_url":"https://api.github.com/repos/noseglid/atom-build/issues{/number}","pulls_url":"https://api.github.com/repos/noseglid/atom-build/pulls{/number}","milestones_url":"https://api.github.com/repos/noseglid/atom-build/milestones{/number}","notifications_url":"https://api.github.com/repos/noseglid/atom-build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/noseglid/atom-build/labels{/name}","releases_url":"https://api.github.com/repos/noseglid/atom-build/releases{/id}","created_at":"2014-04-12T16:21:44Z","updated_at":"2015-12-21T05:29:48Z","pushed_at":"2015-12-19T07:23:39Z","git_url":"git://github.com/noseglid/atom-build.git","ssh_url":"git@github.com:noseglid/atom-build.git","clone_url":"https://github.com/noseglid/atom-build.git","svn_url":"https://github.com/noseglid/atom-build","homepage":"https://atom.io/packages/build","size":3268,"stargazers_count":100,"watchers_count":100,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":59,"mirror_url":null,"open_issues_count":21,"forks":59,"open_issues":21,"watchers":100,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/noseglid/atom-build/pulls/264"},"html":{"href":"https://github.com/noseglid/atom-build/pull/264"},"issue":{"href":"https://api.github.com/repos/noseglid/atom-build/issues/264"},"comments":{"href":"https://api.github.com/repos/noseglid/atom-build/issues/264/comments"},"review_comments":{"href":"https://api.github.com/repos/noseglid/atom-build/pulls/264/comments"},"review_comment":{"href":"https://api.github.com/repos/noseglid/atom-build/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/noseglid/atom-build/pulls/264/commits"},"statuses":{"href":"https://api.github.com/repos/noseglid/atom-build/statuses/d1161ffc240b556a2247c06b41348e38a818153c"}}}}