{"action":"created","issue":{"url":"https://api.github.com/repos/jamestomasino/burrow/issues/10","repository_url":"https://api.github.com/repos/jamestomasino/burrow","labels_url":"https://api.github.com/repos/jamestomasino/burrow/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/jamestomasino/burrow/issues/10/comments","events_url":"https://api.github.com/repos/jamestomasino/burrow/issues/10/events","html_url":"https://github.com/jamestomasino/burrow/issues/10","id":302101802,"number":10,"title":"cronjob 'update-git' throwing errors on getopt on SDF cluster","user":{"login":"jamestomasino","id":201422,"avatar_url":"https://avatars0.githubusercontent.com/u/201422?v=4","gravatar_id":"","url":"https://api.github.com/users/jamestomasino","html_url":"https://github.com/jamestomasino","followers_url":"https://api.github.com/users/jamestomasino/followers","following_url":"https://api.github.com/users/jamestomasino/following{/other_user}","gists_url":"https://api.github.com/users/jamestomasino/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestomasino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestomasino/subscriptions","organizations_url":"https://api.github.com/users/jamestomasino/orgs","repos_url":"https://api.github.com/users/jamestomasino/repos","events_url":"https://api.github.com/users/jamestomasino/events{/privacy}","received_events_url":"https://api.github.com/users/jamestomasino/received_events","type":"User","site_admin":false},"labels":[{"id":810626500,"url":"https://api.github.com/repos/jamestomasino/burrow/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":{"login":"jamestomasino","id":201422,"avatar_url":"https://avatars0.githubusercontent.com/u/201422?v=4","gravatar_id":"","url":"https://api.github.com/users/jamestomasino","html_url":"https://github.com/jamestomasino","followers_url":"https://api.github.com/users/jamestomasino/followers","following_url":"https://api.github.com/users/jamestomasino/following{/other_user}","gists_url":"https://api.github.com/users/jamestomasino/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestomasino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestomasino/subscriptions","organizations_url":"https://api.github.com/users/jamestomasino/orgs","repos_url":"https://api.github.com/users/jamestomasino/repos","events_url":"https://api.github.com/users/jamestomasino/events{/privacy}","received_events_url":"https://api.github.com/users/jamestomasino/received_events","type":"User","site_admin":false},"assignees":[{"login":"jamestomasino","id":201422,"avatar_url":"https://avatars0.githubusercontent.com/u/201422?v=4","gravatar_id":"","url":"https://api.github.com/users/jamestomasino","html_url":"https://github.com/jamestomasino","followers_url":"https://api.github.com/users/jamestomasino/followers","following_url":"https://api.github.com/users/jamestomasino/following{/other_user}","gists_url":"https://api.github.com/users/jamestomasino/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestomasino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestomasino/subscriptions","organizations_url":"https://api.github.com/users/jamestomasino/orgs","repos_url":"https://api.github.com/users/jamestomasino/repos","events_url":"https://api.github.com/users/jamestomasino/events{/privacy}","received_events_url":"https://api.github.com/users/jamestomasino/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-03-04T16:59:27Z","updated_at":"2018-03-04T22:18:19Z","closed_at":null,"author_association":"OWNER","body":"It may be a result of configuration on SDF or because cron runs in a non-interactive minimal shell. Needs investigating."},"comment":{"url":"https://api.github.com/repos/jamestomasino/burrow/issues/comments/370269526","html_url":"https://github.com/jamestomasino/burrow/issues/10#issuecomment-370269526","issue_url":"https://api.github.com/repos/jamestomasino/burrow/issues/10","id":370269526,"user":{"login":"jamestomasino","id":201422,"avatar_url":"https://avatars0.githubusercontent.com/u/201422?v=4","gravatar_id":"","url":"https://api.github.com/users/jamestomasino","html_url":"https://github.com/jamestomasino","followers_url":"https://api.github.com/users/jamestomasino/followers","following_url":"https://api.github.com/users/jamestomasino/following{/other_user}","gists_url":"https://api.github.com/users/jamestomasino/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestomasino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestomasino/subscriptions","organizations_url":"https://api.github.com/users/jamestomasino/orgs","repos_url":"https://api.github.com/users/jamestomasino/repos","events_url":"https://api.github.com/users/jamestomasino/events{/privacy}","received_events_url":"https://api.github.com/users/jamestomasino/received_events","type":"User","site_admin":false},"created_at":"2018-03-04T22:18:19Z","updated_at":"2018-03-04T22:18:19Z","author_association":"OWNER","body":"The issue is SDF specific. On the cluster cron jobs run as non-interactive bourne shells. The environment variables are as follows:\r\n```sh\r\nPWD=/sdf/arpa/tz/t/tomasino\r\nHOME=/sdf/arpa/tz/t/tomasino\r\nPATH=/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin\r\nUSER=tomasino\r\nLOGNAME=tomasino\r\nSHELL=/bin/sh\r\n```\r\n\r\nThe path includes /usr/pkg/bin but /usr/bin comes first. As a result, instead of GNU getopt (`/usr/pkg/bin/getopt`) it is using some other getopt (`/usr/bin/getopt`).\r\n"}}
{"actor":{"display_login":"jamestomasino"}}