{"action":"created","comment":{"url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments/82892480","pull_request_review_id":3768035,"id":82892480,"diff_hunk":"@@ -2,44 +2,36 @@\n //! @author George FLeming <v-geflem@microsoft.com>\n //! @brief set local/system date and time\n \n+#include \"setdate.h\"\n+\n+#include <assert.h>\n #include <errno.h>\n #include <langinfo.h>\n #include <locale.h>\n #include <string>\n #include <time.h>\n #include <sys/time.h>\n-#include \"setdate.h\"\n \n-//! @brief SetDate sets the date and time on local computer.  You must \n-//!      be super-user to set the time.\n+//! @brief SetDate sets the date and time on local computer.\n+//!      You must be super-user to set the time.\n //!\n //! SetDate\n //!\n //! @param[in] info\n //! @parblock\n //! A struct that contains program to execute and its parameters\n //!\n-//! @exception errno Passes these errors via errno to GetLastError:\n-//! - ERROR_BAD_ENVIRONMENT: locale is not UTF-8\n-//! - ERROR_INVALID_PARAMETER:  time was not passed in correctly\n-//! - ERROR_ACCESS_DENIED:  you must be super-user to set the date\n-//!\n //! @retval 0 successfully set date\n-//! @retval -1 if failure occurred.  To get extended error information, call GetLastError.\n+//! @retval -1 if failure occurred.\n //!\n-\n-int32_t SetDate(const SetDateInfo &info)\n+int32_t SetDate(const SetDateInfo info)\n {\n     errno = 0;\n \n     // Select locale from environment\n     setlocale(LC_ALL, \"\");\n     // Check that locale is UTF-8\n-    if (nl_langinfo(CODESET) != std::string(\"UTF-8\"))\n-    {\n-        errno = ERROR_BAD_ENVIRONMENT;\n-        return -1;\n-    }\n+    assert(nl_langinfo(CODESET) == std::string(\"UTF-8\"));\n ","path":"src/libpsl-native/src/setdate.cpp","position":null,"original_position":50,"commit_id":"2852a22c463638497a816a856de7fa66a33f52d1","original_commit_id":"bd0aa31e8cca86b9a418819fa71ddfe6477b68d6","user":{"login":"andschwa","id":2226434,"avatar_url":"https://avatars.githubusercontent.com/u/2226434?v=3","gravatar_id":"","url":"https://api.github.com/users/andschwa","html_url":"https://github.com/andschwa","followers_url":"https://api.github.com/users/andschwa/followers","following_url":"https://api.github.com/users/andschwa/following{/other_user}","gists_url":"https://api.github.com/users/andschwa/gists{/gist_id}","starred_url":"https://api.github.com/users/andschwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andschwa/subscriptions","organizations_url":"https://api.github.com/users/andschwa/orgs","repos_url":"https://api.github.com/users/andschwa/repos","events_url":"https://api.github.com/users/andschwa/events{/privacy}","received_events_url":"https://api.github.com/users/andschwa/received_events","type":"User","site_admin":false},"body":"It had a comment, but I don't know how to explain it further than a debug assertion to check that the locale was set correctly. But I deleted it for you; there's a unit test that checks the same thing.","created_at":"2016-10-11T21:24:27Z","updated_at":"2016-10-11T21:24:27Z","html_url":"https://github.com/PowerShell/PowerShell/pull/2441#discussion_r82892480","pull_request_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2441","_links":{"self":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments/82892480"},"html":{"href":"https://github.com/PowerShell/PowerShell/pull/2441#discussion_r82892480"},"pull_request":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2441"}}},"pull_request":{"url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2441","id":88354985,"html_url":"https://github.com/PowerShell/PowerShell/pull/2441","diff_url":"https://github.com/PowerShell/PowerShell/pull/2441.diff","patch_url":"https://github.com/PowerShell/PowerShell/pull/2441.patch","issue_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/2441","number":2441,"state":"open","locked":false,"title":"Fix error handling of libpsl-native","user":{"login":"andschwa","id":2226434,"avatar_url":"https://avatars.githubusercontent.com/u/2226434?v=3","gravatar_id":"","url":"https://api.github.com/users/andschwa","html_url":"https://github.com/andschwa","followers_url":"https://api.github.com/users/andschwa/followers","following_url":"https://api.github.com/users/andschwa/following{/other_user}","gists_url":"https://api.github.com/users/andschwa/gists{/gist_id}","starred_url":"https://api.github.com/users/andschwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andschwa/subscriptions","organizations_url":"https://api.github.com/users/andschwa/orgs","repos_url":"https://api.github.com/users/andschwa/repos","events_url":"https://api.github.com/users/andschwa/events{/privacy}","received_events_url":"https://api.github.com/users/andschwa/received_events","type":"User","site_admin":false},"body":"This removes a bunch of incorrect code which attempted to map Linux `errno` to Windows error codes. With .NET Core 1.0.0, this is *unncesssary*. They've implemented `new Win32Exception(Marshal.GetLastWin32Error())` to work *correctly* on Linux, despite the odd name. `Marshal.GetLastWin32Error()` retrieves `errno`, and the constructor of `Win32Exception` calls `strerror_r` to get the associated POSIX error message.\r\n\r\nIn the process, I also refactored and simplified a fair bit of the native library calls to remove the need for extra abstraction functions.\r\n\r\nI added a `GetErrorCategory()` native function that maps an `errno` to a *PowerShell* `ErrorCategory` on a best effort basis; this is primarily so that the existing error handling in the file-system provider can be reused, resulting in *much better* error messages (where native code is used, like with symlinks).\r\n\r\nCurrently, when `New-Item -ItemType` fails because the user doesn't have permissions, the error looks like this:\r\n\r\n```\r\n> mkdir /tmp/inaccessible\r\n> chmod a-wrx /tmp/inaccessible\r\n> New-Item -ItemType SymbolicLink -Path /tmp/inaccessible/link -Target .\r\nNew-Item : Input/output error \r\nAt line:1 char:1\r\n+ New-Item -ItemType SymbolicLink -Path /tmp/inaccessible/link -Target  ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (:) [New-Item], Win32Exception\r\n    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.NewItemCommand\r\n```\r\n\r\nWith these changes, it looks like this:\r\n\r\n```\r\n> New-Item : Administrator privilege required for this operation.\r\nAt line:1 char:1\r\n+ New-Item -ItemType SymbolicLink -Path /tmp/inaccessible/link -Target  ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : PermissionDenied: (/home/andrew/src/PowerShell:String) [New-Item], UnauthorizedAccessException\r\n    + FullyQualifiedErrorId : NewItemSymbolicLinkElevationRequired,Microsoft.PowerShell.Commands.NewItemCommand\r\n```\r\n\r\nCurrently, when `Set-Date` fails because the user doesn't have permissions, the error looks like this:\r\n\r\n```\r\n> Set-Date (Get-Date)\r\nSet-Date : Unix.NonWindowsSetDate error: 5\r\nAt line:1 char:1\r\n+ Set-Date (Get-Date)\r\n+ ~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (:) [Set-Date], InvalidOperationException\r\n    + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.SetDateCommand\r\n```\r\n\r\nNote the absolutely useless message \"Unix.NonWindowsSetDate error: 5\".\r\n\r\nWith these changes, it looks like this:\r\n\r\n```\r\n> Set-Date (Get-Date)\r\nSet-Date : Operation not permitted\r\nAt line:1 char:1\r\n+ Set-Date (Get-Date)\r\n+ ~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (:) [Set-Date], Win32Exception\r\n    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.SetDateCommand\r\n```\r\n\r\nWhere \"Operation not permitted\" was the POSIX error message for the errno set by `settimeofday` in the native library.\r\n\r\nFor comparison, it looks like this on Windows:\r\n\r\n```\r\nPS C:\\Users\\andschwa> Set-Date (Get-Date)\r\nSet-Date : A required privilege is not held by the client\r\nAt line:1 char:1\r\n+ Set-Date (Get-Date)\r\n+ ~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (:) [Set-Date], Win32Exception\r\n    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.SetDateCommand\r\n```\r\n\r\nWhere `A required privilege is not held by the client` was returned by Windows.\r\n\r\nAlso, while the changes I made in f21e1230f4306424585f8e90681128dce1cb8883 I reverted in 1f8d40354fd559168701bf25a78bca4ebba05af4, I wish to keep them in the history as the addition of a `configure` script to the CMake system for the library was non-trivial, and will likely prove useful again.\r\n\r\nI'm sure I've not caught every use of the native library where error handling can be improved, but these were the most glaring problems.","created_at":"2016-10-06T22:47:42Z","updated_at":"2016-10-11T21:24:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9372fa4b9c6d3c63fdb7af6e5b8902c818b4c52f","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/PowerShell/PowerShell/milestones/19","html_url":"https://github.com/PowerShell/PowerShell/milestones/6.0.0-alpha.12","labels_url":"https://api.github.com/repos/PowerShell/PowerShell/milestones/19/labels","id":2023363,"number":19,"title":"6.0.0-alpha.12","description":"","creator":{"login":"vors","id":816680,"avatar_url":"https://avatars.githubusercontent.com/u/816680?v=3","gravatar_id":"","url":"https://api.github.com/users/vors","html_url":"https://github.com/vors","followers_url":"https://api.github.com/users/vors/followers","following_url":"https://api.github.com/users/vors/following{/other_user}","gists_url":"https://api.github.com/users/vors/gists{/gist_id}","starred_url":"https://api.github.com/users/vors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vors/subscriptions","organizations_url":"https://api.github.com/users/vors/orgs","repos_url":"https://api.github.com/users/vors/repos","events_url":"https://api.github.com/users/vors/events{/privacy}","received_events_url":"https://api.github.com/users/vors/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":1,"state":"open","created_at":"2016-09-23T01:48:55Z","updated_at":"2016-10-06T22:47:42Z","due_on":"2016-10-17T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2441/commits","review_comments_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2441/comments","review_comment_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/2441/comments","statuses_url":"https://api.github.com/repos/PowerShell/PowerShell/statuses/2852a22c463638497a816a856de7fa66a33f52d1","head":{"label":"andschwa:native-perror","ref":"native-perror","sha":"2852a22c463638497a816a856de7fa66a33f52d1","user":{"login":"andschwa","id":2226434,"avatar_url":"https://avatars.githubusercontent.com/u/2226434?v=3","gravatar_id":"","url":"https://api.github.com/users/andschwa","html_url":"https://github.com/andschwa","followers_url":"https://api.github.com/users/andschwa/followers","following_url":"https://api.github.com/users/andschwa/following{/other_user}","gists_url":"https://api.github.com/users/andschwa/gists{/gist_id}","starred_url":"https://api.github.com/users/andschwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andschwa/subscriptions","organizations_url":"https://api.github.com/users/andschwa/orgs","repos_url":"https://api.github.com/users/andschwa/repos","events_url":"https://api.github.com/users/andschwa/events{/privacy}","received_events_url":"https://api.github.com/users/andschwa/received_events","type":"User","site_admin":false},"repo":{"id":66010392,"name":"PowerShell","full_name":"andschwa/PowerShell","owner":{"login":"andschwa","id":2226434,"avatar_url":"https://avatars.githubusercontent.com/u/2226434?v=3","gravatar_id":"","url":"https://api.github.com/users/andschwa","html_url":"https://github.com/andschwa","followers_url":"https://api.github.com/users/andschwa/followers","following_url":"https://api.github.com/users/andschwa/following{/other_user}","gists_url":"https://api.github.com/users/andschwa/gists{/gist_id}","starred_url":"https://api.github.com/users/andschwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andschwa/subscriptions","organizations_url":"https://api.github.com/users/andschwa/orgs","repos_url":"https://api.github.com/users/andschwa/repos","events_url":"https://api.github.com/users/andschwa/events{/privacy}","received_events_url":"https://api.github.com/users/andschwa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andschwa/PowerShell","description":"PowerShell for every system","fork":true,"url":"https://api.github.com/repos/andschwa/PowerShell","forks_url":"https://api.github.com/repos/andschwa/PowerShell/forks","keys_url":"https://api.github.com/repos/andschwa/PowerShell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andschwa/PowerShell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andschwa/PowerShell/teams","hooks_url":"https://api.github.com/repos/andschwa/PowerShell/hooks","issue_events_url":"https://api.github.com/repos/andschwa/PowerShell/issues/events{/number}","events_url":"https://api.github.com/repos/andschwa/PowerShell/events","assignees_url":"https://api.github.com/repos/andschwa/PowerShell/assignees{/user}","branches_url":"https://api.github.com/repos/andschwa/PowerShell/branches{/branch}","tags_url":"https://api.github.com/repos/andschwa/PowerShell/tags","blobs_url":"https://api.github.com/repos/andschwa/PowerShell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andschwa/PowerShell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andschwa/PowerShell/git/refs{/sha}","trees_url":"https://api.github.com/repos/andschwa/PowerShell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andschwa/PowerShell/statuses/{sha}","languages_url":"https://api.github.com/repos/andschwa/PowerShell/languages","stargazers_url":"https://api.github.com/repos/andschwa/PowerShell/stargazers","contributors_url":"https://api.github.com/repos/andschwa/PowerShell/contributors","subscribers_url":"https://api.github.com/repos/andschwa/PowerShell/subscribers","subscription_url":"https://api.github.com/repos/andschwa/PowerShell/subscription","commits_url":"https://api.github.com/repos/andschwa/PowerShell/commits{/sha}","git_commits_url":"https://api.github.com/repos/andschwa/PowerShell/git/commits{/sha}","comments_url":"https://api.github.com/repos/andschwa/PowerShell/comments{/number}","issue_comment_url":"https://api.github.com/repos/andschwa/PowerShell/issues/comments{/number}","contents_url":"https://api.github.com/repos/andschwa/PowerShell/contents/{+path}","compare_url":"https://api.github.com/repos/andschwa/PowerShell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andschwa/PowerShell/merges","archive_url":"https://api.github.com/repos/andschwa/PowerShell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andschwa/PowerShell/downloads","issues_url":"https://api.github.com/repos/andschwa/PowerShell/issues{/number}","pulls_url":"https://api.github.com/repos/andschwa/PowerShell/pulls{/number}","milestones_url":"https://api.github.com/repos/andschwa/PowerShell/milestones{/number}","notifications_url":"https://api.github.com/repos/andschwa/PowerShell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andschwa/PowerShell/labels{/name}","releases_url":"https://api.github.com/repos/andschwa/PowerShell/releases{/id}","deployments_url":"https://api.github.com/repos/andschwa/PowerShell/deployments","created_at":"2016-08-18T15:51:25Z","updated_at":"2016-08-18T15:51:34Z","pushed_at":"2016-10-11T21:23:26Z","git_url":"git://github.com/andschwa/PowerShell.git","ssh_url":"git@github.com:andschwa/PowerShell.git","clone_url":"https://github.com/andschwa/PowerShell.git","svn_url":"https://github.com/andschwa/PowerShell","homepage":"","size":19325,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PowerShell:master","ref":"master","sha":"14690f20cc15405589da52161415221ef47010e4","user":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars.githubusercontent.com/u/11524380?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"repo":{"id":49609581,"name":"PowerShell","full_name":"PowerShell/PowerShell","owner":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars.githubusercontent.com/u/11524380?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PowerShell/PowerShell","description":"PowerShell for every system!","fork":false,"url":"https://api.github.com/repos/PowerShell/PowerShell","forks_url":"https://api.github.com/repos/PowerShell/PowerShell/forks","keys_url":"https://api.github.com/repos/PowerShell/PowerShell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PowerShell/PowerShell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PowerShell/PowerShell/teams","hooks_url":"https://api.github.com/repos/PowerShell/PowerShell/hooks","issue_events_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/events{/number}","events_url":"https://api.github.com/repos/PowerShell/PowerShell/events","assignees_url":"https://api.github.com/repos/PowerShell/PowerShell/assignees{/user}","branches_url":"https://api.github.com/repos/PowerShell/PowerShell/branches{/branch}","tags_url":"https://api.github.com/repos/PowerShell/PowerShell/tags","blobs_url":"https://api.github.com/repos/PowerShell/PowerShell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PowerShell/PowerShell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PowerShell/PowerShell/git/refs{/sha}","trees_url":"https://api.github.com/repos/PowerShell/PowerShell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PowerShell/PowerShell/statuses/{sha}","languages_url":"https://api.github.com/repos/PowerShell/PowerShell/languages","stargazers_url":"https://api.github.com/repos/PowerShell/PowerShell/stargazers","contributors_url":"https://api.github.com/repos/PowerShell/PowerShell/contributors","subscribers_url":"https://api.github.com/repos/PowerShell/PowerShell/subscribers","subscription_url":"https://api.github.com/repos/PowerShell/PowerShell/subscription","commits_url":"https://api.github.com/repos/PowerShell/PowerShell/commits{/sha}","git_commits_url":"https://api.github.com/repos/PowerShell/PowerShell/git/commits{/sha}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/comments{/number}","issue_comment_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/comments{/number}","contents_url":"https://api.github.com/repos/PowerShell/PowerShell/contents/{+path}","compare_url":"https://api.github.com/repos/PowerShell/PowerShell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PowerShell/PowerShell/merges","archive_url":"https://api.github.com/repos/PowerShell/PowerShell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PowerShell/PowerShell/downloads","issues_url":"https://api.github.com/repos/PowerShell/PowerShell/issues{/number}","pulls_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls{/number}","milestones_url":"https://api.github.com/repos/PowerShell/PowerShell/milestones{/number}","notifications_url":"https://api.github.com/repos/PowerShell/PowerShell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PowerShell/PowerShell/labels{/name}","releases_url":"https://api.github.com/repos/PowerShell/PowerShell/releases{/id}","deployments_url":"https://api.github.com/repos/PowerShell/PowerShell/deployments","created_at":"2016-01-13T23:41:35Z","updated_at":"2016-10-11T21:23:06Z","pushed_at":"2016-10-11T21:23:27Z","git_url":"git://github.com/PowerShell/PowerShell.git","ssh_url":"git@github.com:PowerShell/PowerShell.git","clone_url":"https://github.com/PowerShell/PowerShell.git","svn_url":"https://github.com/PowerShell/PowerShell","homepage":"https://microsoft.com/powershell","size":25276,"stargazers_count":5319,"watchers_count":5319,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":580,"mirror_url":null,"open_issues_count":422,"forks":580,"open_issues":422,"watchers":5319,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2441"},"html":{"href":"https://github.com/PowerShell/PowerShell/pull/2441"},"issue":{"href":"https://api.github.com/repos/PowerShell/PowerShell/issues/2441"},"comments":{"href":"https://api.github.com/repos/PowerShell/PowerShell/issues/2441/comments"},"review_comments":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2441/comments"},"review_comment":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2441/commits"},"statuses":{"href":"https://api.github.com/repos/PowerShell/PowerShell/statuses/2852a22c463638497a816a856de7fa66a33f52d1"}}}}
{"actor":{"display_login":"andschwa"}}