{"action":"created","issue":{"url":"https://api.github.com/repos/github/hubot/issues/728","labels_url":"https://api.github.com/repos/github/hubot/issues/728/labels{/name}","comments_url":"https://api.github.com/repos/github/hubot/issues/728/comments","events_url":"https://api.github.com/repos/github/hubot/issues/728/events","html_url":"https://github.com/github/hubot/issues/728","id":37026008,"number":728,"title":"Some HUBOT environment variables not namespaced properly. ","user":{"login":"stresler","id":1053894,"avatar_url":"https://avatars.githubusercontent.com/u/1053894?v=3","gravatar_id":"","url":"https://api.github.com/users/stresler","html_url":"https://github.com/stresler","followers_url":"https://api.github.com/users/stresler/followers","following_url":"https://api.github.com/users/stresler/following{/other_user}","gists_url":"https://api.github.com/users/stresler/gists{/gist_id}","starred_url":"https://api.github.com/users/stresler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stresler/subscriptions","organizations_url":"https://api.github.com/users/stresler/orgs","repos_url":"https://api.github.com/users/stresler/repos","events_url":"https://api.github.com/users/stresler/events{/privacy}","received_events_url":"https://api.github.com/users/stresler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/github/hubot/labels/enhancement","name":"enhancement","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2014-07-02T21:21:06Z","updated_at":"2015-03-10T21:50:37Z","closed_at":null,"body":"The Express instantiation in robot.coffee sources a few variables from the environment that aren't prefaced with the HUBOT_ prefix. This can easily lead to clashes with any other nodejs apps trying to source environment variables. \r\n\r\n    269   setupExpress: ->\r\n    270     user    = process.env.EXPRESS_USER\r\n    271     pass    = process.env.EXPRESS_PASSWORD\r\n    272     stat    = process.env.EXPRESS_STATIC\r\n\r\nand then \r\n\r\n    291     try\r\n    292       @server = app.listen(process.env.PORT || 8080, process.env.BIND_ADDRESS || '0.0.0.0')\r\n\r\nI noticed then when I was working on https://github.com/github/hubot/issues/727 where I am adding HUBOT_EXPRESS_KEY and HUBOT_EXPRESS_CERT\r\n\r\nLet me know if this is the way you want to proceed and I can roll it all up in another PR.  Also if you want backward compatibility for any reason (e.g. accept PORT, but log a message to migrate to HUBOT_PORT"},"comment":{"url":"https://api.github.com/repos/github/hubot/issues/comments/78156193","html_url":"https://github.com/github/hubot/issues/728#issuecomment-78156193","issue_url":"https://api.github.com/repos/github/hubot/issues/728","id":78156193,"user":{"login":"michaelansel","id":85195,"avatar_url":"https://avatars.githubusercontent.com/u/85195?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelansel","html_url":"https://github.com/michaelansel","followers_url":"https://api.github.com/users/michaelansel/followers","following_url":"https://api.github.com/users/michaelansel/following{/other_user}","gists_url":"https://api.github.com/users/michaelansel/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelansel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelansel/subscriptions","organizations_url":"https://api.github.com/users/michaelansel/orgs","repos_url":"https://api.github.com/users/michaelansel/repos","events_url":"https://api.github.com/users/michaelansel/events{/privacy}","received_events_url":"https://api.github.com/users/michaelansel/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T21:50:37Z","updated_at":"2015-03-10T21:50:37Z","body":"Now that #839 has been merged, are there other variables that need to be corrected, or can this be closed?"}}