{"action":"closed","number":1455,"pull_request":{"url":"https://api.github.com/repos/samaaron/sonic-pi/pulls/1455","id":91549732,"html_url":"https://github.com/samaaron/sonic-pi/pull/1455","diff_url":"https://github.com/samaaron/sonic-pi/pull/1455.diff","patch_url":"https://github.com/samaaron/sonic-pi/pull/1455.patch","issue_url":"https://api.github.com/repos/samaaron/sonic-pi/issues/1455","number":1455,"state":"closed","locked":false,"title":"Command line parsing for easier language override","user":{"login":"Factoid","id":292537,"avatar_url":"https://avatars.githubusercontent.com/u/292537?v=3","gravatar_id":"","url":"https://api.github.com/users/Factoid","html_url":"https://github.com/Factoid","followers_url":"https://api.github.com/users/Factoid/followers","following_url":"https://api.github.com/users/Factoid/following{/other_user}","gists_url":"https://api.github.com/users/Factoid/gists{/gist_id}","starred_url":"https://api.github.com/users/Factoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Factoid/subscriptions","organizations_url":"https://api.github.com/users/Factoid/orgs","repos_url":"https://api.github.com/users/Factoid/repos","events_url":"https://api.github.com/users/Factoid/events{/privacy}","received_events_url":"https://api.github.com/users/Factoid/received_events","type":"User","site_admin":false},"body":"This allows a user to run sonic pi with a command line override to change the language. Handy for debugging (the LANG ENV override didn't work for me, and the process is different for different OSes), or for end users who want to use a shortcut or similar mechanism to override language.\r\n\r\nExample. I can run `./sonic-pi -l fr` to activate the French translation.\r\nSpecifying a garbage language will fail back to English.","created_at":"2016-10-31T02:43:51Z","updated_at":"2016-11-03T00:14:29Z","closed_at":"2016-11-03T00:14:29Z","merged_at":"2016-11-03T00:14:29Z","merge_commit_sha":"738149cf410eba4f6fdee299b7b3e1ec0ba12eb3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/samaaron/sonic-pi/pulls/1455/commits","review_comments_url":"https://api.github.com/repos/samaaron/sonic-pi/pulls/1455/comments","review_comment_url":"https://api.github.com/repos/samaaron/sonic-pi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samaaron/sonic-pi/issues/1455/comments","statuses_url":"https://api.github.com/repos/samaaron/sonic-pi/statuses/361783057a5e4aec41c56e730c4405b71a8505db","head":{"label":"Factoid:command-line-parser","ref":"command-line-parser","sha":"361783057a5e4aec41c56e730c4405b71a8505db","user":{"login":"Factoid","id":292537,"avatar_url":"https://avatars.githubusercontent.com/u/292537?v=3","gravatar_id":"","url":"https://api.github.com/users/Factoid","html_url":"https://github.com/Factoid","followers_url":"https://api.github.com/users/Factoid/followers","following_url":"https://api.github.com/users/Factoid/following{/other_user}","gists_url":"https://api.github.com/users/Factoid/gists{/gist_id}","starred_url":"https://api.github.com/users/Factoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Factoid/subscriptions","organizations_url":"https://api.github.com/users/Factoid/orgs","repos_url":"https://api.github.com/users/Factoid/repos","events_url":"https://api.github.com/users/Factoid/events{/privacy}","received_events_url":"https://api.github.com/users/Factoid/received_events","type":"User","site_admin":false},"repo":{"id":50472190,"name":"sonic-pi","full_name":"Factoid/sonic-pi","owner":{"login":"Factoid","id":292537,"avatar_url":"https://avatars.githubusercontent.com/u/292537?v=3","gravatar_id":"","url":"https://api.github.com/users/Factoid","html_url":"https://github.com/Factoid","followers_url":"https://api.github.com/users/Factoid/followers","following_url":"https://api.github.com/users/Factoid/following{/other_user}","gists_url":"https://api.github.com/users/Factoid/gists{/gist_id}","starred_url":"https://api.github.com/users/Factoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Factoid/subscriptions","organizations_url":"https://api.github.com/users/Factoid/orgs","repos_url":"https://api.github.com/users/Factoid/repos","events_url":"https://api.github.com/users/Factoid/events{/privacy}","received_events_url":"https://api.github.com/users/Factoid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Factoid/sonic-pi","description":"The Live Coding Synth for Everyone","fork":true,"url":"https://api.github.com/repos/Factoid/sonic-pi","forks_url":"https://api.github.com/repos/Factoid/sonic-pi/forks","keys_url":"https://api.github.com/repos/Factoid/sonic-pi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Factoid/sonic-pi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Factoid/sonic-pi/teams","hooks_url":"https://api.github.com/repos/Factoid/sonic-pi/hooks","issue_events_url":"https://api.github.com/repos/Factoid/sonic-pi/issues/events{/number}","events_url":"https://api.github.com/repos/Factoid/sonic-pi/events","assignees_url":"https://api.github.com/repos/Factoid/sonic-pi/assignees{/user}","branches_url":"https://api.github.com/repos/Factoid/sonic-pi/branches{/branch}","tags_url":"https://api.github.com/repos/Factoid/sonic-pi/tags","blobs_url":"https://api.github.com/repos/Factoid/sonic-pi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Factoid/sonic-pi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Factoid/sonic-pi/git/refs{/sha}","trees_url":"https://api.github.com/repos/Factoid/sonic-pi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Factoid/sonic-pi/statuses/{sha}","languages_url":"https://api.github.com/repos/Factoid/sonic-pi/languages","stargazers_url":"https://api.github.com/repos/Factoid/sonic-pi/stargazers","contributors_url":"https://api.github.com/repos/Factoid/sonic-pi/contributors","subscribers_url":"https://api.github.com/repos/Factoid/sonic-pi/subscribers","subscription_url":"https://api.github.com/repos/Factoid/sonic-pi/subscription","commits_url":"https://api.github.com/repos/Factoid/sonic-pi/commits{/sha}","git_commits_url":"https://api.github.com/repos/Factoid/sonic-pi/git/commits{/sha}","comments_url":"https://api.github.com/repos/Factoid/sonic-pi/comments{/number}","issue_comment_url":"https://api.github.com/repos/Factoid/sonic-pi/issues/comments{/number}","contents_url":"https://api.github.com/repos/Factoid/sonic-pi/contents/{+path}","compare_url":"https://api.github.com/repos/Factoid/sonic-pi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Factoid/sonic-pi/merges","archive_url":"https://api.github.com/repos/Factoid/sonic-pi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Factoid/sonic-pi/downloads","issues_url":"https://api.github.com/repos/Factoid/sonic-pi/issues{/number}","pulls_url":"https://api.github.com/repos/Factoid/sonic-pi/pulls{/number}","milestones_url":"https://api.github.com/repos/Factoid/sonic-pi/milestones{/number}","notifications_url":"https://api.github.com/repos/Factoid/sonic-pi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Factoid/sonic-pi/labels{/name}","releases_url":"https://api.github.com/repos/Factoid/sonic-pi/releases{/id}","deployments_url":"https://api.github.com/repos/Factoid/sonic-pi/deployments","created_at":"2016-01-27T01:24:53Z","updated_at":"2016-10-25T02:03:46Z","pushed_at":"2016-11-02T03:24:40Z","git_url":"git://github.com/Factoid/sonic-pi.git","ssh_url":"git@github.com:Factoid/sonic-pi.git","clone_url":"https://github.com/Factoid/sonic-pi.git","svn_url":"https://github.com/Factoid/sonic-pi","homepage":"http://sonic-pi.net","size":166432,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"samaaron:master","ref":"master","sha":"16b2e1df8a12c4fe38fff642ef7497fac5df6de9","user":{"login":"samaaron","id":369,"avatar_url":"https://avatars.githubusercontent.com/u/369?v=3","gravatar_id":"","url":"https://api.github.com/users/samaaron","html_url":"https://github.com/samaaron","followers_url":"https://api.github.com/users/samaaron/followers","following_url":"https://api.github.com/users/samaaron/following{/other_user}","gists_url":"https://api.github.com/users/samaaron/gists{/gist_id}","starred_url":"https://api.github.com/users/samaaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samaaron/subscriptions","organizations_url":"https://api.github.com/users/samaaron/orgs","repos_url":"https://api.github.com/users/samaaron/repos","events_url":"https://api.github.com/users/samaaron/events{/privacy}","received_events_url":"https://api.github.com/users/samaaron/received_events","type":"User","site_admin":false},"repo":{"id":9746477,"name":"sonic-pi","full_name":"samaaron/sonic-pi","owner":{"login":"samaaron","id":369,"avatar_url":"https://avatars.githubusercontent.com/u/369?v=3","gravatar_id":"","url":"https://api.github.com/users/samaaron","html_url":"https://github.com/samaaron","followers_url":"https://api.github.com/users/samaaron/followers","following_url":"https://api.github.com/users/samaaron/following{/other_user}","gists_url":"https://api.github.com/users/samaaron/gists{/gist_id}","starred_url":"https://api.github.com/users/samaaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samaaron/subscriptions","organizations_url":"https://api.github.com/users/samaaron/orgs","repos_url":"https://api.github.com/users/samaaron/repos","events_url":"https://api.github.com/users/samaaron/events{/privacy}","received_events_url":"https://api.github.com/users/samaaron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samaaron/sonic-pi","description":"The Live Coding Music Synth for Everyone","fork":false,"url":"https://api.github.com/repos/samaaron/sonic-pi","forks_url":"https://api.github.com/repos/samaaron/sonic-pi/forks","keys_url":"https://api.github.com/repos/samaaron/sonic-pi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samaaron/sonic-pi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samaaron/sonic-pi/teams","hooks_url":"https://api.github.com/repos/samaaron/sonic-pi/hooks","issue_events_url":"https://api.github.com/repos/samaaron/sonic-pi/issues/events{/number}","events_url":"https://api.github.com/repos/samaaron/sonic-pi/events","assignees_url":"https://api.github.com/repos/samaaron/sonic-pi/assignees{/user}","branches_url":"https://api.github.com/repos/samaaron/sonic-pi/branches{/branch}","tags_url":"https://api.github.com/repos/samaaron/sonic-pi/tags","blobs_url":"https://api.github.com/repos/samaaron/sonic-pi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samaaron/sonic-pi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samaaron/sonic-pi/git/refs{/sha}","trees_url":"https://api.github.com/repos/samaaron/sonic-pi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samaaron/sonic-pi/statuses/{sha}","languages_url":"https://api.github.com/repos/samaaron/sonic-pi/languages","stargazers_url":"https://api.github.com/repos/samaaron/sonic-pi/stargazers","contributors_url":"https://api.github.com/repos/samaaron/sonic-pi/contributors","subscribers_url":"https://api.github.com/repos/samaaron/sonic-pi/subscribers","subscription_url":"https://api.github.com/repos/samaaron/sonic-pi/subscription","commits_url":"https://api.github.com/repos/samaaron/sonic-pi/commits{/sha}","git_commits_url":"https://api.github.com/repos/samaaron/sonic-pi/git/commits{/sha}","comments_url":"https://api.github.com/repos/samaaron/sonic-pi/comments{/number}","issue_comment_url":"https://api.github.com/repos/samaaron/sonic-pi/issues/comments{/number}","contents_url":"https://api.github.com/repos/samaaron/sonic-pi/contents/{+path}","compare_url":"https://api.github.com/repos/samaaron/sonic-pi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samaaron/sonic-pi/merges","archive_url":"https://api.github.com/repos/samaaron/sonic-pi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samaaron/sonic-pi/downloads","issues_url":"https://api.github.com/repos/samaaron/sonic-pi/issues{/number}","pulls_url":"https://api.github.com/repos/samaaron/sonic-pi/pulls{/number}","milestones_url":"https://api.github.com/repos/samaaron/sonic-pi/milestones{/number}","notifications_url":"https://api.github.com/repos/samaaron/sonic-pi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samaaron/sonic-pi/labels{/name}","releases_url":"https://api.github.com/repos/samaaron/sonic-pi/releases{/id}","deployments_url":"https://api.github.com/repos/samaaron/sonic-pi/deployments","created_at":"2013-04-29T11:17:54Z","updated_at":"2016-11-02T19:42:28Z","pushed_at":"2016-11-03T00:14:30Z","git_url":"git://github.com/samaaron/sonic-pi.git","ssh_url":"git@github.com:samaaron/sonic-pi.git","clone_url":"https://github.com/samaaron/sonic-pi.git","svn_url":"https://github.com/samaaron/sonic-pi","homepage":"http://sonic-pi.net","size":170036,"stargazers_count":1773,"watchers_count":1773,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":303,"mirror_url":null,"open_issues_count":248,"forks":303,"open_issues":248,"watchers":1773,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/samaaron/sonic-pi/pulls/1455"},"html":{"href":"https://github.com/samaaron/sonic-pi/pull/1455"},"issue":{"href":"https://api.github.com/repos/samaaron/sonic-pi/issues/1455"},"comments":{"href":"https://api.github.com/repos/samaaron/sonic-pi/issues/1455/comments"},"review_comments":{"href":"https://api.github.com/repos/samaaron/sonic-pi/pulls/1455/comments"},"review_comment":{"href":"https://api.github.com/repos/samaaron/sonic-pi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samaaron/sonic-pi/pulls/1455/commits"},"statuses":{"href":"https://api.github.com/repos/samaaron/sonic-pi/statuses/361783057a5e4aec41c56e730c4405b71a8505db"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"samaaron","id":369,"avatar_url":"https://avatars.githubusercontent.com/u/369?v=3","gravatar_id":"","url":"https://api.github.com/users/samaaron","html_url":"https://github.com/samaaron","followers_url":"https://api.github.com/users/samaaron/followers","following_url":"https://api.github.com/users/samaaron/following{/other_user}","gists_url":"https://api.github.com/users/samaaron/gists{/gist_id}","starred_url":"https://api.github.com/users/samaaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samaaron/subscriptions","organizations_url":"https://api.github.com/users/samaaron/orgs","repos_url":"https://api.github.com/users/samaaron/repos","events_url":"https://api.github.com/users/samaaron/events{/privacy}","received_events_url":"https://api.github.com/users/samaaron/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"samaaron"}}