{"action":"created","issue":{"url":"https://api.github.com/repos/chapel-lang/chapel/issues/1364","labels_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1364/labels{/name}","comments_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1364/comments","events_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1364/events","html_url":"https://github.com/chapel-lang/chapel/pull/1364","id":58422856,"number":1364,"title":"Make chdir and cwd methods on a locale","user":{"login":"lydia-duncan","id":2454710,"avatar_url":"https://avatars.githubusercontent.com/u/2454710?v=3","gravatar_id":"","url":"https://api.github.com/users/lydia-duncan","html_url":"https://github.com/lydia-duncan","followers_url":"https://api.github.com/users/lydia-duncan/followers","following_url":"https://api.github.com/users/lydia-duncan/following{/other_user}","gists_url":"https://api.github.com/users/lydia-duncan/gists{/gist_id}","starred_url":"https://api.github.com/users/lydia-duncan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lydia-duncan/subscriptions","organizations_url":"https://api.github.com/users/lydia-duncan/orgs","repos_url":"https://api.github.com/users/lydia-duncan/repos","events_url":"https://api.github.com/users/lydia-duncan/events{/privacy}","received_events_url":"https://api.github.com/users/lydia-duncan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bradcray","id":7536222,"avatar_url":"https://avatars.githubusercontent.com/u/7536222?v=3","gravatar_id":"","url":"https://api.github.com/users/bradcray","html_url":"https://github.com/bradcray","followers_url":"https://api.github.com/users/bradcray/followers","following_url":"https://api.github.com/users/bradcray/following{/other_user}","gists_url":"https://api.github.com/users/bradcray/gists{/gist_id}","starred_url":"https://api.github.com/users/bradcray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradcray/subscriptions","organizations_url":"https://api.github.com/users/bradcray/orgs","repos_url":"https://api.github.com/users/bradcray/repos","events_url":"https://api.github.com/users/bradcray/events{/privacy}","received_events_url":"https://api.github.com/users/bradcray/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-20T23:02:40Z","updated_at":"2015-02-20T23:24:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chapel-lang/chapel/pulls/1364","html_url":"https://github.com/chapel-lang/chapel/pull/1364","diff_url":"https://github.com/chapel-lang/chapel/pull/1364.diff","patch_url":"https://github.com/chapel-lang/chapel/pull/1364.patch"},"body":"This involved wrapping the calls to the runtime implementation in an on\r\nclause for the locale itself (in case you weren't on it when you tried to\r\nupdate or view its state).  In the case of cwd, since what was returned was\r\na c_string, the conversion from a c_string to a Chapel string needed to\r\noccur within the on clause as well (thanks @hildeth for the pointers!).\r\n\r\nUpdated tests to reflect this new status.  Also added a test to check that\r\npromotion of chdir worked over the Locales array (it does).  Note: some\r\nof the calls were converted to calls on \"here\", while others were converted\r\nto calls on a locale that was not the current locale, as appropriate."},"comment":{"url":"https://api.github.com/repos/chapel-lang/chapel/issues/comments/75338136","html_url":"https://github.com/chapel-lang/chapel/pull/1364#issuecomment-75338136","issue_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1364","id":75338136,"user":{"login":"lydia-duncan","id":2454710,"avatar_url":"https://avatars.githubusercontent.com/u/2454710?v=3","gravatar_id":"","url":"https://api.github.com/users/lydia-duncan","html_url":"https://github.com/lydia-duncan","followers_url":"https://api.github.com/users/lydia-duncan/followers","following_url":"https://api.github.com/users/lydia-duncan/following{/other_user}","gists_url":"https://api.github.com/users/lydia-duncan/gists{/gist_id}","starred_url":"https://api.github.com/users/lydia-duncan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lydia-duncan/subscriptions","organizations_url":"https://api.github.com/users/lydia-duncan/orgs","repos_url":"https://api.github.com/users/lydia-duncan/repos","events_url":"https://api.github.com/users/lydia-duncan/events{/privacy}","received_events_url":"https://api.github.com/users/lydia-duncan/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T23:24:57Z","updated_at":"2015-02-20T23:24:57Z","body":":sparkler: "}}