{"action":"opened","number":128,"pull_request":{"url":"https://api.github.com/repos/RackHD/on-taskgraph/pulls/128","id":74547271,"html_url":"https://github.com/RackHD/on-taskgraph/pull/128","diff_url":"https://github.com/RackHD/on-taskgraph/pull/128.diff","patch_url":"https://github.com/RackHD/on-taskgraph/pull/128.patch","issue_url":"https://api.github.com/repos/RackHD/on-taskgraph/issues/128","number":128,"state":"open","locked":false,"title":"set cache directory when run npm install","user":{"login":"PengTian0","id":19203416,"avatar_url":"https://avatars.githubusercontent.com/u/19203416?v=3","gravatar_id":"","url":"https://api.github.com/users/PengTian0","html_url":"https://github.com/PengTian0","followers_url":"https://api.github.com/users/PengTian0/followers","following_url":"https://api.github.com/users/PengTian0/following{/other_user}","gists_url":"https://api.github.com/users/PengTian0/gists{/gist_id}","starred_url":"https://api.github.com/users/PengTian0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PengTian0/subscriptions","organizations_url":"https://api.github.com/users/PengTian0/orgs","repos_url":"https://api.github.com/users/PengTian0/repos","events_url":"https://api.github.com/users/PengTian0/events{/privacy}","received_events_url":"https://api.github.com/users/PengTian0/received_events","type":"User","site_admin":false},"body":"when tried to run the script HWIMO-BUILD in five repositories parallelly: on-http, on-dhcp-proxy, on-syslog, on-taskgraph, on-tftp, there will be cache confilict because the five repositories use the same cache directory.\r\nbelow is the error log:\r\nnpm install\r\n03:54:37 npm ERR! git clone --template=/home/onrack/.npm/_git-remotes/_templates --mirror https://github.com/RackHD/di.js.git /home/onrack/.npm/_git-remotes/https-github-com-RackHD-di-js-git-c922a7fd: fatal: destination path '/home/onrack/.npm/_git-remotes/https-github-com-RackHD-di-js-git-c922a7fd' already exists and is not an empty directory.\r\n03:54:37 npm ERR! git clone --template=/home/onrack/.npm/_git-remotes/_templates --mirror https://github.com/RackHD/on-tasks.git /home/onrack/.npm/_git-remotes/https-github-com-RackHD-on-tasks-git-37e86542: fatal: destination path '/home/onrack/.npm/_git-remotes/https-github-com-RackHD-on-tasks-git-37e86542' already exists and is not an empty directory.\r\n03:54:37 npm ERR! git clone --template=/home/onrack/.npm/_git-remotes/_templates --mirror https://github.com/RackHD/on-core.git /home/onrack/.npm/_git-remotes/https-github-com-RackHD-on-core-git-594d7351: fatal: destination path '/home/onrack/.npm/_git-remotes/https-github-com-RackHD-on-core-git-594d7351' already exists and is not an empty directory.\r\n03:54:37 npm ERR! Linux 4.2.0-27-generic\r\n03:54:37 npm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\"\r\n03:54:37 npm ERR! node v0.10.45\r\n03:54:37 npm ERR! npm v2.15.1\r\n03:54:37 npm ERR! code 128\r\n03:54:37 \r\n03:54:37 npm ERR! Command failed: fatal: destination path '/home/onrack/.npm/_git-remotes/https-github-com-RackHD-di-js-git-c922a7fd' already exists and is not an empty directory.\r\n03:54:37 npm ERR! \r\n03:54:37 npm ERR! \r\n03:54:37 npm ERR! If you need help, you may report this error at:\r\n03:54:37 npm ERR! https://github.com/npm/npm/issues\r\n03:54:37 \r\n03:54:37 npm ERR! Please include the following file with any support request:\r\n03:54:37 npm ERR! /home/onrack/jenkins_slave/workspace/RackHD_CI/Templates/smoke-test-steps/build-deb/on-http/packagebuild/npm-debug.log\r\n\r\nAnd I tried to set cache directory for every repository. \r\nThe error doesn't occur again.","created_at":"2016-06-21T03:41:47Z","updated_at":"2016-06-21T03:41:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RackHD/on-taskgraph/pulls/128/commits","review_comments_url":"https://api.github.com/repos/RackHD/on-taskgraph/pulls/128/comments","review_comment_url":"https://api.github.com/repos/RackHD/on-taskgraph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RackHD/on-taskgraph/issues/128/comments","statuses_url":"https://api.github.com/repos/RackHD/on-taskgraph/statuses/1661aae61070e23133bf8a8fbf30e609183b0ef5","head":{"label":"PengTian0:master","ref":"master","sha":"1661aae61070e23133bf8a8fbf30e609183b0ef5","user":{"login":"PengTian0","id":19203416,"avatar_url":"https://avatars.githubusercontent.com/u/19203416?v=3","gravatar_id":"","url":"https://api.github.com/users/PengTian0","html_url":"https://github.com/PengTian0","followers_url":"https://api.github.com/users/PengTian0/followers","following_url":"https://api.github.com/users/PengTian0/following{/other_user}","gists_url":"https://api.github.com/users/PengTian0/gists{/gist_id}","starred_url":"https://api.github.com/users/PengTian0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PengTian0/subscriptions","organizations_url":"https://api.github.com/users/PengTian0/orgs","repos_url":"https://api.github.com/users/PengTian0/repos","events_url":"https://api.github.com/users/PengTian0/events{/privacy}","received_events_url":"https://api.github.com/users/PengTian0/received_events","type":"User","site_admin":false},"repo":{"id":61593473,"name":"on-taskgraph","full_name":"PengTian0/on-taskgraph","owner":{"login":"PengTian0","id":19203416,"avatar_url":"https://avatars.githubusercontent.com/u/19203416?v=3","gravatar_id":"","url":"https://api.github.com/users/PengTian0","html_url":"https://github.com/PengTian0","followers_url":"https://api.github.com/users/PengTian0/followers","following_url":"https://api.github.com/users/PengTian0/following{/other_user}","gists_url":"https://api.github.com/users/PengTian0/gists{/gist_id}","starred_url":"https://api.github.com/users/PengTian0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PengTian0/subscriptions","organizations_url":"https://api.github.com/users/PengTian0/orgs","repos_url":"https://api.github.com/users/PengTian0/repos","events_url":"https://api.github.com/users/PengTian0/events{/privacy}","received_events_url":"https://api.github.com/users/PengTian0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PengTian0/on-taskgraph","description":"","fork":true,"url":"https://api.github.com/repos/PengTian0/on-taskgraph","forks_url":"https://api.github.com/repos/PengTian0/on-taskgraph/forks","keys_url":"https://api.github.com/repos/PengTian0/on-taskgraph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PengTian0/on-taskgraph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PengTian0/on-taskgraph/teams","hooks_url":"https://api.github.com/repos/PengTian0/on-taskgraph/hooks","issue_events_url":"https://api.github.com/repos/PengTian0/on-taskgraph/issues/events{/number}","events_url":"https://api.github.com/repos/PengTian0/on-taskgraph/events","assignees_url":"https://api.github.com/repos/PengTian0/on-taskgraph/assignees{/user}","branches_url":"https://api.github.com/repos/PengTian0/on-taskgraph/branches{/branch}","tags_url":"https://api.github.com/repos/PengTian0/on-taskgraph/tags","blobs_url":"https://api.github.com/repos/PengTian0/on-taskgraph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PengTian0/on-taskgraph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PengTian0/on-taskgraph/git/refs{/sha}","trees_url":"https://api.github.com/repos/PengTian0/on-taskgraph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PengTian0/on-taskgraph/statuses/{sha}","languages_url":"https://api.github.com/repos/PengTian0/on-taskgraph/languages","stargazers_url":"https://api.github.com/repos/PengTian0/on-taskgraph/stargazers","contributors_url":"https://api.github.com/repos/PengTian0/on-taskgraph/contributors","subscribers_url":"https://api.github.com/repos/PengTian0/on-taskgraph/subscribers","subscription_url":"https://api.github.com/repos/PengTian0/on-taskgraph/subscription","commits_url":"https://api.github.com/repos/PengTian0/on-taskgraph/commits{/sha}","git_commits_url":"https://api.github.com/repos/PengTian0/on-taskgraph/git/commits{/sha}","comments_url":"https://api.github.com/repos/PengTian0/on-taskgraph/comments{/number}","issue_comment_url":"https://api.github.com/repos/PengTian0/on-taskgraph/issues/comments{/number}","contents_url":"https://api.github.com/repos/PengTian0/on-taskgraph/contents/{+path}","compare_url":"https://api.github.com/repos/PengTian0/on-taskgraph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PengTian0/on-taskgraph/merges","archive_url":"https://api.github.com/repos/PengTian0/on-taskgraph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PengTian0/on-taskgraph/downloads","issues_url":"https://api.github.com/repos/PengTian0/on-taskgraph/issues{/number}","pulls_url":"https://api.github.com/repos/PengTian0/on-taskgraph/pulls{/number}","milestones_url":"https://api.github.com/repos/PengTian0/on-taskgraph/milestones{/number}","notifications_url":"https://api.github.com/repos/PengTian0/on-taskgraph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PengTian0/on-taskgraph/labels{/name}","releases_url":"https://api.github.com/repos/PengTian0/on-taskgraph/releases{/id}","deployments_url":"https://api.github.com/repos/PengTian0/on-taskgraph/deployments","created_at":"2016-06-21T01:47:11Z","updated_at":"2016-06-21T01:47:12Z","pushed_at":"2016-06-21T03:39:15Z","git_url":"git://github.com/PengTian0/on-taskgraph.git","ssh_url":"git@github.com:PengTian0/on-taskgraph.git","clone_url":"https://github.com/PengTian0/on-taskgraph.git","svn_url":"https://github.com/PengTian0/on-taskgraph","homepage":null,"size":536,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"RackHD:master","ref":"master","sha":"805b2cb407640c6395f7e3efd7174897301511d8","user":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"repo":{"id":41690093,"name":"on-taskgraph","full_name":"RackHD/on-taskgraph","owner":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RackHD/on-taskgraph","description":"","fork":false,"url":"https://api.github.com/repos/RackHD/on-taskgraph","forks_url":"https://api.github.com/repos/RackHD/on-taskgraph/forks","keys_url":"https://api.github.com/repos/RackHD/on-taskgraph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RackHD/on-taskgraph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RackHD/on-taskgraph/teams","hooks_url":"https://api.github.com/repos/RackHD/on-taskgraph/hooks","issue_events_url":"https://api.github.com/repos/RackHD/on-taskgraph/issues/events{/number}","events_url":"https://api.github.com/repos/RackHD/on-taskgraph/events","assignees_url":"https://api.github.com/repos/RackHD/on-taskgraph/assignees{/user}","branches_url":"https://api.github.com/repos/RackHD/on-taskgraph/branches{/branch}","tags_url":"https://api.github.com/repos/RackHD/on-taskgraph/tags","blobs_url":"https://api.github.com/repos/RackHD/on-taskgraph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RackHD/on-taskgraph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RackHD/on-taskgraph/git/refs{/sha}","trees_url":"https://api.github.com/repos/RackHD/on-taskgraph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RackHD/on-taskgraph/statuses/{sha}","languages_url":"https://api.github.com/repos/RackHD/on-taskgraph/languages","stargazers_url":"https://api.github.com/repos/RackHD/on-taskgraph/stargazers","contributors_url":"https://api.github.com/repos/RackHD/on-taskgraph/contributors","subscribers_url":"https://api.github.com/repos/RackHD/on-taskgraph/subscribers","subscription_url":"https://api.github.com/repos/RackHD/on-taskgraph/subscription","commits_url":"https://api.github.com/repos/RackHD/on-taskgraph/commits{/sha}","git_commits_url":"https://api.github.com/repos/RackHD/on-taskgraph/git/commits{/sha}","comments_url":"https://api.github.com/repos/RackHD/on-taskgraph/comments{/number}","issue_comment_url":"https://api.github.com/repos/RackHD/on-taskgraph/issues/comments{/number}","contents_url":"https://api.github.com/repos/RackHD/on-taskgraph/contents/{+path}","compare_url":"https://api.github.com/repos/RackHD/on-taskgraph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RackHD/on-taskgraph/merges","archive_url":"https://api.github.com/repos/RackHD/on-taskgraph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RackHD/on-taskgraph/downloads","issues_url":"https://api.github.com/repos/RackHD/on-taskgraph/issues{/number}","pulls_url":"https://api.github.com/repos/RackHD/on-taskgraph/pulls{/number}","milestones_url":"https://api.github.com/repos/RackHD/on-taskgraph/milestones{/number}","notifications_url":"https://api.github.com/repos/RackHD/on-taskgraph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RackHD/on-taskgraph/labels{/name}","releases_url":"https://api.github.com/repos/RackHD/on-taskgraph/releases{/id}","deployments_url":"https://api.github.com/repos/RackHD/on-taskgraph/deployments","created_at":"2015-08-31T17:29:25Z","updated_at":"2016-02-10T20:51:29Z","pushed_at":"2016-06-21T03:31:16Z","git_url":"git://github.com/RackHD/on-taskgraph.git","ssh_url":"git@github.com:RackHD/on-taskgraph.git","clone_url":"https://github.com/RackHD/on-taskgraph.git","svn_url":"https://github.com/RackHD/on-taskgraph","homepage":null,"size":550,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":5,"forks":40,"open_issues":5,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RackHD/on-taskgraph/pulls/128"},"html":{"href":"https://github.com/RackHD/on-taskgraph/pull/128"},"issue":{"href":"https://api.github.com/repos/RackHD/on-taskgraph/issues/128"},"comments":{"href":"https://api.github.com/repos/RackHD/on-taskgraph/issues/128/comments"},"review_comments":{"href":"https://api.github.com/repos/RackHD/on-taskgraph/pulls/128/comments"},"review_comment":{"href":"https://api.github.com/repos/RackHD/on-taskgraph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RackHD/on-taskgraph/pulls/128/commits"},"statuses":{"href":"https://api.github.com/repos/RackHD/on-taskgraph/statuses/1661aae61070e23133bf8a8fbf30e609183b0ef5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"PengTian0"}}