{"action":"opened","number":332,"pull_request":{"url":"https://api.github.com/repos/rlidwka/sinopia/pulls/332","id":48846699,"html_url":"https://github.com/rlidwka/sinopia/pull/332","diff_url":"https://github.com/rlidwka/sinopia/pull/332.diff","patch_url":"https://github.com/rlidwka/sinopia/pull/332.patch","issue_url":"https://api.github.com/repos/rlidwka/sinopia/issues/332","number":332,"state":"open","locked":false,"title":"Config file path from env","user":{"login":"flozz","id":971438,"avatar_url":"https://avatars.githubusercontent.com/u/971438?v=3","gravatar_id":"","url":"https://api.github.com/users/flozz","html_url":"https://github.com/flozz","followers_url":"https://api.github.com/users/flozz/followers","following_url":"https://api.github.com/users/flozz/following{/other_user}","gists_url":"https://api.github.com/users/flozz/gists{/gist_id}","starred_url":"https://api.github.com/users/flozz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flozz/subscriptions","organizations_url":"https://api.github.com/users/flozz/orgs","repos_url":"https://api.github.com/users/flozz/repos","events_url":"https://api.github.com/users/flozz/events{/privacy}","received_events_url":"https://api.github.com/users/flozz/received_events","type":"User","site_admin":false},"body":"This PR allows to pass the config path through the `SINOPIA_CONFIG` environment variable. This can be useful when using process managers like PM2.","created_at":"2015-10-27T09:37:43Z","updated_at":"2015-10-27T09:37:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rlidwka/sinopia/pulls/332/commits","review_comments_url":"https://api.github.com/repos/rlidwka/sinopia/pulls/332/comments","review_comment_url":"https://api.github.com/repos/rlidwka/sinopia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rlidwka/sinopia/issues/332/comments","statuses_url":"https://api.github.com/repos/rlidwka/sinopia/statuses/a1b3e6d0c2d16a77786b25dfe68bd1e9685ac2b6","head":{"label":"flozz:config-env","ref":"config-env","sha":"a1b3e6d0c2d16a77786b25dfe68bd1e9685ac2b6","user":{"login":"flozz","id":971438,"avatar_url":"https://avatars.githubusercontent.com/u/971438?v=3","gravatar_id":"","url":"https://api.github.com/users/flozz","html_url":"https://github.com/flozz","followers_url":"https://api.github.com/users/flozz/followers","following_url":"https://api.github.com/users/flozz/following{/other_user}","gists_url":"https://api.github.com/users/flozz/gists{/gist_id}","starred_url":"https://api.github.com/users/flozz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flozz/subscriptions","organizations_url":"https://api.github.com/users/flozz/orgs","repos_url":"https://api.github.com/users/flozz/repos","events_url":"https://api.github.com/users/flozz/events{/privacy}","received_events_url":"https://api.github.com/users/flozz/received_events","type":"User","site_admin":false},"repo":{"id":45028991,"name":"sinopia","full_name":"flozz/sinopia","owner":{"login":"flozz","id":971438,"avatar_url":"https://avatars.githubusercontent.com/u/971438?v=3","gravatar_id":"","url":"https://api.github.com/users/flozz","html_url":"https://github.com/flozz","followers_url":"https://api.github.com/users/flozz/followers","following_url":"https://api.github.com/users/flozz/following{/other_user}","gists_url":"https://api.github.com/users/flozz/gists{/gist_id}","starred_url":"https://api.github.com/users/flozz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flozz/subscriptions","organizations_url":"https://api.github.com/users/flozz/orgs","repos_url":"https://api.github.com/users/flozz/repos","events_url":"https://api.github.com/users/flozz/events{/privacy}","received_events_url":"https://api.github.com/users/flozz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/flozz/sinopia","description":"Private npm repository server","fork":true,"url":"https://api.github.com/repos/flozz/sinopia","forks_url":"https://api.github.com/repos/flozz/sinopia/forks","keys_url":"https://api.github.com/repos/flozz/sinopia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flozz/sinopia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flozz/sinopia/teams","hooks_url":"https://api.github.com/repos/flozz/sinopia/hooks","issue_events_url":"https://api.github.com/repos/flozz/sinopia/issues/events{/number}","events_url":"https://api.github.com/repos/flozz/sinopia/events","assignees_url":"https://api.github.com/repos/flozz/sinopia/assignees{/user}","branches_url":"https://api.github.com/repos/flozz/sinopia/branches{/branch}","tags_url":"https://api.github.com/repos/flozz/sinopia/tags","blobs_url":"https://api.github.com/repos/flozz/sinopia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flozz/sinopia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flozz/sinopia/git/refs{/sha}","trees_url":"https://api.github.com/repos/flozz/sinopia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flozz/sinopia/statuses/{sha}","languages_url":"https://api.github.com/repos/flozz/sinopia/languages","stargazers_url":"https://api.github.com/repos/flozz/sinopia/stargazers","contributors_url":"https://api.github.com/repos/flozz/sinopia/contributors","subscribers_url":"https://api.github.com/repos/flozz/sinopia/subscribers","subscription_url":"https://api.github.com/repos/flozz/sinopia/subscription","commits_url":"https://api.github.com/repos/flozz/sinopia/commits{/sha}","git_commits_url":"https://api.github.com/repos/flozz/sinopia/git/commits{/sha}","comments_url":"https://api.github.com/repos/flozz/sinopia/comments{/number}","issue_comment_url":"https://api.github.com/repos/flozz/sinopia/issues/comments{/number}","contents_url":"https://api.github.com/repos/flozz/sinopia/contents/{+path}","compare_url":"https://api.github.com/repos/flozz/sinopia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flozz/sinopia/merges","archive_url":"https://api.github.com/repos/flozz/sinopia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flozz/sinopia/downloads","issues_url":"https://api.github.com/repos/flozz/sinopia/issues{/number}","pulls_url":"https://api.github.com/repos/flozz/sinopia/pulls{/number}","milestones_url":"https://api.github.com/repos/flozz/sinopia/milestones{/number}","notifications_url":"https://api.github.com/repos/flozz/sinopia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flozz/sinopia/labels{/name}","releases_url":"https://api.github.com/repos/flozz/sinopia/releases{/id}","created_at":"2015-10-27T09:06:55Z","updated_at":"2015-10-27T09:06:56Z","pushed_at":"2015-10-27T09:09:12Z","git_url":"git://github.com/flozz/sinopia.git","ssh_url":"git@github.com:flozz/sinopia.git","clone_url":"https://github.com/flozz/sinopia.git","svn_url":"https://github.com/flozz/sinopia","homepage":null,"size":6912,"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":"rlidwka:master","ref":"master","sha":"3f55fb4c0c6685e8b22796cce7b523bdbfb4019e","user":{"login":"rlidwka","id":999113,"avatar_url":"https://avatars.githubusercontent.com/u/999113?v=3","gravatar_id":"","url":"https://api.github.com/users/rlidwka","html_url":"https://github.com/rlidwka","followers_url":"https://api.github.com/users/rlidwka/followers","following_url":"https://api.github.com/users/rlidwka/following{/other_user}","gists_url":"https://api.github.com/users/rlidwka/gists{/gist_id}","starred_url":"https://api.github.com/users/rlidwka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlidwka/subscriptions","organizations_url":"https://api.github.com/users/rlidwka/orgs","repos_url":"https://api.github.com/users/rlidwka/repos","events_url":"https://api.github.com/users/rlidwka/events{/privacy}","received_events_url":"https://api.github.com/users/rlidwka/received_events","type":"User","site_admin":false},"repo":{"id":10214540,"name":"sinopia","full_name":"rlidwka/sinopia","owner":{"login":"rlidwka","id":999113,"avatar_url":"https://avatars.githubusercontent.com/u/999113?v=3","gravatar_id":"","url":"https://api.github.com/users/rlidwka","html_url":"https://github.com/rlidwka","followers_url":"https://api.github.com/users/rlidwka/followers","following_url":"https://api.github.com/users/rlidwka/following{/other_user}","gists_url":"https://api.github.com/users/rlidwka/gists{/gist_id}","starred_url":"https://api.github.com/users/rlidwka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlidwka/subscriptions","organizations_url":"https://api.github.com/users/rlidwka/orgs","repos_url":"https://api.github.com/users/rlidwka/repos","events_url":"https://api.github.com/users/rlidwka/events{/privacy}","received_events_url":"https://api.github.com/users/rlidwka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rlidwka/sinopia","description":"Private npm repository server","fork":false,"url":"https://api.github.com/repos/rlidwka/sinopia","forks_url":"https://api.github.com/repos/rlidwka/sinopia/forks","keys_url":"https://api.github.com/repos/rlidwka/sinopia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rlidwka/sinopia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rlidwka/sinopia/teams","hooks_url":"https://api.github.com/repos/rlidwka/sinopia/hooks","issue_events_url":"https://api.github.com/repos/rlidwka/sinopia/issues/events{/number}","events_url":"https://api.github.com/repos/rlidwka/sinopia/events","assignees_url":"https://api.github.com/repos/rlidwka/sinopia/assignees{/user}","branches_url":"https://api.github.com/repos/rlidwka/sinopia/branches{/branch}","tags_url":"https://api.github.com/repos/rlidwka/sinopia/tags","blobs_url":"https://api.github.com/repos/rlidwka/sinopia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rlidwka/sinopia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rlidwka/sinopia/git/refs{/sha}","trees_url":"https://api.github.com/repos/rlidwka/sinopia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rlidwka/sinopia/statuses/{sha}","languages_url":"https://api.github.com/repos/rlidwka/sinopia/languages","stargazers_url":"https://api.github.com/repos/rlidwka/sinopia/stargazers","contributors_url":"https://api.github.com/repos/rlidwka/sinopia/contributors","subscribers_url":"https://api.github.com/repos/rlidwka/sinopia/subscribers","subscription_url":"https://api.github.com/repos/rlidwka/sinopia/subscription","commits_url":"https://api.github.com/repos/rlidwka/sinopia/commits{/sha}","git_commits_url":"https://api.github.com/repos/rlidwka/sinopia/git/commits{/sha}","comments_url":"https://api.github.com/repos/rlidwka/sinopia/comments{/number}","issue_comment_url":"https://api.github.com/repos/rlidwka/sinopia/issues/comments{/number}","contents_url":"https://api.github.com/repos/rlidwka/sinopia/contents/{+path}","compare_url":"https://api.github.com/repos/rlidwka/sinopia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rlidwka/sinopia/merges","archive_url":"https://api.github.com/repos/rlidwka/sinopia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rlidwka/sinopia/downloads","issues_url":"https://api.github.com/repos/rlidwka/sinopia/issues{/number}","pulls_url":"https://api.github.com/repos/rlidwka/sinopia/pulls{/number}","milestones_url":"https://api.github.com/repos/rlidwka/sinopia/milestones{/number}","notifications_url":"https://api.github.com/repos/rlidwka/sinopia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rlidwka/sinopia/labels{/name}","releases_url":"https://api.github.com/repos/rlidwka/sinopia/releases{/id}","created_at":"2013-05-22T07:41:29Z","updated_at":"2015-10-26T16:04:46Z","pushed_at":"2015-10-23T21:07:08Z","git_url":"git://github.com/rlidwka/sinopia.git","ssh_url":"git@github.com:rlidwka/sinopia.git","clone_url":"https://github.com/rlidwka/sinopia.git","svn_url":"https://github.com/rlidwka/sinopia","homepage":null,"size":6912,"stargazers_count":1422,"watchers_count":1422,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":201,"mirror_url":null,"open_issues_count":133,"forks":201,"open_issues":133,"watchers":1422,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rlidwka/sinopia/pulls/332"},"html":{"href":"https://github.com/rlidwka/sinopia/pull/332"},"issue":{"href":"https://api.github.com/repos/rlidwka/sinopia/issues/332"},"comments":{"href":"https://api.github.com/repos/rlidwka/sinopia/issues/332/comments"},"review_comments":{"href":"https://api.github.com/repos/rlidwka/sinopia/pulls/332/comments"},"review_comment":{"href":"https://api.github.com/repos/rlidwka/sinopia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rlidwka/sinopia/pulls/332/commits"},"statuses":{"href":"https://api.github.com/repos/rlidwka/sinopia/statuses/a1b3e6d0c2d16a77786b25dfe68bd1e9685ac2b6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}