{"action":"created","issue":{"url":"https://api.github.com/repos/Submitty/Submitty/issues/2404","repository_url":"https://api.github.com/repos/Submitty/Submitty","labels_url":"https://api.github.com/repos/Submitty/Submitty/issues/2404/labels{/name}","comments_url":"https://api.github.com/repos/Submitty/Submitty/issues/2404/comments","events_url":"https://api.github.com/repos/Submitty/Submitty/issues/2404/events","html_url":"https://github.com/Submitty/Submitty/issues/2404","id":340926804,"node_id":"MDU6SXNzdWUzNDA5MjY4MDQ=","number":2404,"title":"recreate_sample_courses.sh Syntax Error","user":{"login":"holzbh","id":26691043,"node_id":"MDQ6VXNlcjI2NjkxMDQz","avatar_url":"https://avatars0.githubusercontent.com/u/26691043?v=4","gravatar_id":"","url":"https://api.github.com/users/holzbh","html_url":"https://github.com/holzbh","followers_url":"https://api.github.com/users/holzbh/followers","following_url":"https://api.github.com/users/holzbh/following{/other_user}","gists_url":"https://api.github.com/users/holzbh/gists{/gist_id}","starred_url":"https://api.github.com/users/holzbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holzbh/subscriptions","organizations_url":"https://api.github.com/users/holzbh/orgs","repos_url":"https://api.github.com/users/holzbh/repos","events_url":"https://api.github.com/users/holzbh/events{/privacy}","received_events_url":"https://api.github.com/users/holzbh/received_events","type":"User","site_admin":false},"labels":[{"id":76954274,"node_id":"MDU6TGFiZWw3Njk1NDI3NA==","url":"https://api.github.com/repos/Submitty/Submitty/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"CouleeApps","id":711973,"node_id":"MDQ6VXNlcjcxMTk3Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/711973?v=4","gravatar_id":"","url":"https://api.github.com/users/CouleeApps","html_url":"https://github.com/CouleeApps","followers_url":"https://api.github.com/users/CouleeApps/followers","following_url":"https://api.github.com/users/CouleeApps/following{/other_user}","gists_url":"https://api.github.com/users/CouleeApps/gists{/gist_id}","starred_url":"https://api.github.com/users/CouleeApps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CouleeApps/subscriptions","organizations_url":"https://api.github.com/users/CouleeApps/orgs","repos_url":"https://api.github.com/users/CouleeApps/repos","events_url":"https://api.github.com/users/CouleeApps/events{/privacy}","received_events_url":"https://api.github.com/users/CouleeApps/received_events","type":"User","site_admin":false},"assignees":[{"login":"CouleeApps","id":711973,"node_id":"MDQ6VXNlcjcxMTk3Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/711973?v=4","gravatar_id":"","url":"https://api.github.com/users/CouleeApps","html_url":"https://github.com/CouleeApps","followers_url":"https://api.github.com/users/CouleeApps/followers","following_url":"https://api.github.com/users/CouleeApps/following{/other_user}","gists_url":"https://api.github.com/users/CouleeApps/gists{/gist_id}","starred_url":"https://api.github.com/users/CouleeApps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CouleeApps/subscriptions","organizations_url":"https://api.github.com/users/CouleeApps/orgs","repos_url":"https://api.github.com/users/CouleeApps/repos","events_url":"https://api.github.com/users/CouleeApps/events{/privacy}","received_events_url":"https://api.github.com/users/CouleeApps/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Submitty/Submitty/milestones/27","html_url":"https://github.com/Submitty/Submitty/milestone/27","labels_url":"https://api.github.com/repos/Submitty/Submitty/milestones/27/labels","id":3494719,"node_id":"MDk6TWlsZXN0b25lMzQ5NDcxOQ==","number":27,"title":"ThreeQuarters July 2018","description":"","creator":{"login":"bmcutler","id":5871417,"node_id":"MDQ6VXNlcjU4NzE0MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/5871417?v=4","gravatar_id":"","url":"https://api.github.com/users/bmcutler","html_url":"https://github.com/bmcutler","followers_url":"https://api.github.com/users/bmcutler/followers","following_url":"https://api.github.com/users/bmcutler/following{/other_user}","gists_url":"https://api.github.com/users/bmcutler/gists{/gist_id}","starred_url":"https://api.github.com/users/bmcutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmcutler/subscriptions","organizations_url":"https://api.github.com/users/bmcutler/orgs","repos_url":"https://api.github.com/users/bmcutler/repos","events_url":"https://api.github.com/users/bmcutler/events{/privacy}","received_events_url":"https://api.github.com/users/bmcutler/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":0,"state":"open","created_at":"2018-07-13T16:38:35Z","updated_at":"2018-07-13T19:24:28Z","due_on":"2018-07-20T07:00:00Z","closed_at":null},"comments":1,"created_at":"2018-07-13T08:23:36Z","updated_at":"2018-07-13T19:29:12Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"This was the output I got from running recreate_sample_courses.sh:\r\n\r\n>root@vagrant:/usr/local/submitty/GIT_CHECKOUT/Submitty# sudo python3 /usr/local/submitty/GIT_CHECKOUT/Submitty/.setup/bin/recreate_sample_courses.sh\r\n>  File \"/usr/local/submitty/GIT_CHECKOUT/Submitty/.setup/bin/recreate_sample_courses.sh\", line 8\r\n>    if [[ \"$UID\" -ne \"0\" ]] ; then\r\n>                       ^\r\n>SyntaxError: invalid syntax"},"comment":{"url":"https://api.github.com/repos/Submitty/Submitty/issues/comments/404931024","html_url":"https://github.com/Submitty/Submitty/issues/2404#issuecomment-404931024","issue_url":"https://api.github.com/repos/Submitty/Submitty/issues/2404","id":404931024,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDkzMTAyNA==","user":{"login":"CouleeApps","id":711973,"node_id":"MDQ6VXNlcjcxMTk3Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/711973?v=4","gravatar_id":"","url":"https://api.github.com/users/CouleeApps","html_url":"https://github.com/CouleeApps","followers_url":"https://api.github.com/users/CouleeApps/followers","following_url":"https://api.github.com/users/CouleeApps/following{/other_user}","gists_url":"https://api.github.com/users/CouleeApps/gists{/gist_id}","starred_url":"https://api.github.com/users/CouleeApps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CouleeApps/subscriptions","organizations_url":"https://api.github.com/users/CouleeApps/orgs","repos_url":"https://api.github.com/users/CouleeApps/repos","events_url":"https://api.github.com/users/CouleeApps/events{/privacy}","received_events_url":"https://api.github.com/users/CouleeApps/received_events","type":"User","site_admin":false},"created_at":"2018-07-13T19:29:12Z","updated_at":"2018-07-13T19:29:12Z","author_association":"CONTRIBUTOR","body":"There. Command to run is now `sudo bash /usr/local/submitty/GIT_CHECKOUT/Submitty/.setup/bin/recreate_sample_courses.sh`"}}
{"actor":{"display_login":"CouleeApps"}}