{"action":"created","comment":{"url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/pulls/comments/24106816","id":24106816,"diff_hunk":"@@ -81,8 +82,32 @@ public static class ActionExtensionMethods\n             return threwException;\n         }\n     }\n+\n+    public static class FuncExtensionMethods\n+    {\n+        /// <summary>\n+        /// Retries the specified action until it returns true or up to the specified number\n+        /// of retries.\n+        /// </summary>\n+        public static void RetryUpToNTimes(this Func<bool> action, int maxRetry, int sleepInMilli = 200)","path":"IronFoundry.Container.Shared/ExtensionMethods.cs","position":19,"original_position":19,"commit_id":"aa62fe2bbde44d8c4050cacfef83a289fba251c4","original_commit_id":"aa62fe2bbde44d8c4050cacfef83a289fba251c4","user":{"login":"brannon","id":51925,"avatar_url":"https://avatars.githubusercontent.com/u/51925?v=3","gravatar_id":"","url":"https://api.github.com/users/brannon","html_url":"https://github.com/brannon","followers_url":"https://api.github.com/users/brannon/followers","following_url":"https://api.github.com/users/brannon/following{/other_user}","gists_url":"https://api.github.com/users/brannon/gists{/gist_id}","starred_url":"https://api.github.com/users/brannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brannon/subscriptions","organizations_url":"https://api.github.com/users/brannon/orgs","repos_url":"https://api.github.com/users/brannon/repos","events_url":"https://api.github.com/users/brannon/events{/privacy}","received_events_url":"https://api.github.com/users/brannon/received_events","type":"User","site_admin":false},"body":"We should consider moving to some form of injectable retry strategy so we can control / verify it during tests.","created_at":"2015-02-04T18:35:55Z","updated_at":"2015-02-04T18:35:55Z","html_url":"https://github.com/cloudfoundry-incubator/if_warden/pull/12#discussion_r24106816","pull_request_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/pulls/comments/24106816"},"html":{"href":"https://github.com/cloudfoundry-incubator/if_warden/pull/12#discussion_r24106816"},"pull_request":{"href":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/pulls/12","id":28593503,"html_url":"https://github.com/cloudfoundry-incubator/if_warden/pull/12","diff_url":"https://github.com/cloudfoundry-incubator/if_warden/pull/12.diff","patch_url":"https://github.com/cloudfoundry-incubator/if_warden/pull/12.patch","issue_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/issues/12","number":12,"state":"open","locked":false,"title":"Container lib work","user":{"login":"mosoto","id":9613283,"avatar_url":"https://avatars.githubusercontent.com/u/9613283?v=3","gravatar_id":"","url":"https://api.github.com/users/mosoto","html_url":"https://github.com/mosoto","followers_url":"https://api.github.com/users/mosoto/followers","following_url":"https://api.github.com/users/mosoto/following{/other_user}","gists_url":"https://api.github.com/users/mosoto/gists{/gist_id}","starred_url":"https://api.github.com/users/mosoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mosoto/subscriptions","organizations_url":"https://api.github.com/users/mosoto/orgs","repos_url":"https://api.github.com/users/mosoto/repos","events_url":"https://api.github.com/users/mosoto/events{/privacy}","received_events_url":"https://api.github.com/users/mosoto/received_events","type":"User","site_admin":false},"body":"There are a variety of fixes here for the warden refactoring work:\r\n1. I've added logging for the containerhost.exe (needed it to debug failures in running tasks).  They will go to the users/logs folder right now.\r\n2. Added the container user to IIS_IUSRS - We will want to change this later by changing the tempDirectory instead. I've added a card for that.\r\n3. Follow the same path mapping logic for the working directory as we do for the exePath.\r\n4. MISC bug fixes\r\n","created_at":"2015-02-03T22:03:43Z","updated_at":"2015-02-04T18:35:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"728fc7d37a0d5076d36101fd66e2c924cc1ff6be","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/pulls/12/commits","review_comments_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/pulls/12/comments","review_comment_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/issues/12/comments","statuses_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/statuses/aa62fe2bbde44d8c4050cacfef83a289fba251c4","head":{"label":"IronFoundry:containerLibWork","ref":"containerLibWork","sha":"aa62fe2bbde44d8c4050cacfef83a289fba251c4","user":{"login":"IronFoundry","id":1205484,"avatar_url":"https://avatars.githubusercontent.com/u/1205484?v=3","gravatar_id":"","url":"https://api.github.com/users/IronFoundry","html_url":"https://github.com/IronFoundry","followers_url":"https://api.github.com/users/IronFoundry/followers","following_url":"https://api.github.com/users/IronFoundry/following{/other_user}","gists_url":"https://api.github.com/users/IronFoundry/gists{/gist_id}","starred_url":"https://api.github.com/users/IronFoundry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IronFoundry/subscriptions","organizations_url":"https://api.github.com/users/IronFoundry/orgs","repos_url":"https://api.github.com/users/IronFoundry/repos","events_url":"https://api.github.com/users/IronFoundry/events{/privacy}","received_events_url":"https://api.github.com/users/IronFoundry/received_events","type":"Organization","site_admin":false},"repo":{"id":28603493,"name":"if_warden","full_name":"IronFoundry/if_warden","owner":{"login":"IronFoundry","id":1205484,"avatar_url":"https://avatars.githubusercontent.com/u/1205484?v=3","gravatar_id":"","url":"https://api.github.com/users/IronFoundry","html_url":"https://github.com/IronFoundry","followers_url":"https://api.github.com/users/IronFoundry/followers","following_url":"https://api.github.com/users/IronFoundry/following{/other_user}","gists_url":"https://api.github.com/users/IronFoundry/gists{/gist_id}","starred_url":"https://api.github.com/users/IronFoundry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IronFoundry/subscriptions","organizations_url":"https://api.github.com/users/IronFoundry/orgs","repos_url":"https://api.github.com/users/IronFoundry/repos","events_url":"https://api.github.com/users/IronFoundry/events{/privacy}","received_events_url":"https://api.github.com/users/IronFoundry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IronFoundry/if_warden","description":"IronFoundry Warden for Windows v2.","fork":true,"url":"https://api.github.com/repos/IronFoundry/if_warden","forks_url":"https://api.github.com/repos/IronFoundry/if_warden/forks","keys_url":"https://api.github.com/repos/IronFoundry/if_warden/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IronFoundry/if_warden/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IronFoundry/if_warden/teams","hooks_url":"https://api.github.com/repos/IronFoundry/if_warden/hooks","issue_events_url":"https://api.github.com/repos/IronFoundry/if_warden/issues/events{/number}","events_url":"https://api.github.com/repos/IronFoundry/if_warden/events","assignees_url":"https://api.github.com/repos/IronFoundry/if_warden/assignees{/user}","branches_url":"https://api.github.com/repos/IronFoundry/if_warden/branches{/branch}","tags_url":"https://api.github.com/repos/IronFoundry/if_warden/tags","blobs_url":"https://api.github.com/repos/IronFoundry/if_warden/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IronFoundry/if_warden/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IronFoundry/if_warden/git/refs{/sha}","trees_url":"https://api.github.com/repos/IronFoundry/if_warden/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IronFoundry/if_warden/statuses/{sha}","languages_url":"https://api.github.com/repos/IronFoundry/if_warden/languages","stargazers_url":"https://api.github.com/repos/IronFoundry/if_warden/stargazers","contributors_url":"https://api.github.com/repos/IronFoundry/if_warden/contributors","subscribers_url":"https://api.github.com/repos/IronFoundry/if_warden/subscribers","subscription_url":"https://api.github.com/repos/IronFoundry/if_warden/subscription","commits_url":"https://api.github.com/repos/IronFoundry/if_warden/commits{/sha}","git_commits_url":"https://api.github.com/repos/IronFoundry/if_warden/git/commits{/sha}","comments_url":"https://api.github.com/repos/IronFoundry/if_warden/comments{/number}","issue_comment_url":"https://api.github.com/repos/IronFoundry/if_warden/issues/comments/{number}","contents_url":"https://api.github.com/repos/IronFoundry/if_warden/contents/{+path}","compare_url":"https://api.github.com/repos/IronFoundry/if_warden/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IronFoundry/if_warden/merges","archive_url":"https://api.github.com/repos/IronFoundry/if_warden/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IronFoundry/if_warden/downloads","issues_url":"https://api.github.com/repos/IronFoundry/if_warden/issues{/number}","pulls_url":"https://api.github.com/repos/IronFoundry/if_warden/pulls{/number}","milestones_url":"https://api.github.com/repos/IronFoundry/if_warden/milestones{/number}","notifications_url":"https://api.github.com/repos/IronFoundry/if_warden/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IronFoundry/if_warden/labels{/name}","releases_url":"https://api.github.com/repos/IronFoundry/if_warden/releases{/id}","created_at":"2014-12-29T19:26:27Z","updated_at":"2015-01-20T01:13:27Z","pushed_at":"2015-02-04T02:40:41Z","git_url":"git://github.com/IronFoundry/if_warden.git","ssh_url":"git@github.com:IronFoundry/if_warden.git","clone_url":"https://github.com/IronFoundry/if_warden.git","svn_url":"https://github.com/IronFoundry/if_warden","homepage":null,"size":3245,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"cloudfoundry-incubator:extractContainerLib","ref":"extractContainerLib","sha":"2ed35fd434fd4b148d3bc97f488d738713d21041","user":{"login":"cloudfoundry-incubator","id":5680605,"avatar_url":"https://avatars.githubusercontent.com/u/5680605?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudfoundry-incubator","html_url":"https://github.com/cloudfoundry-incubator","followers_url":"https://api.github.com/users/cloudfoundry-incubator/followers","following_url":"https://api.github.com/users/cloudfoundry-incubator/following{/other_user}","gists_url":"https://api.github.com/users/cloudfoundry-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfoundry-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfoundry-incubator/subscriptions","organizations_url":"https://api.github.com/users/cloudfoundry-incubator/orgs","repos_url":"https://api.github.com/users/cloudfoundry-incubator/repos","events_url":"https://api.github.com/users/cloudfoundry-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfoundry-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":16749846,"name":"if_warden","full_name":"cloudfoundry-incubator/if_warden","owner":{"login":"cloudfoundry-incubator","id":5680605,"avatar_url":"https://avatars.githubusercontent.com/u/5680605?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudfoundry-incubator","html_url":"https://github.com/cloudfoundry-incubator","followers_url":"https://api.github.com/users/cloudfoundry-incubator/followers","following_url":"https://api.github.com/users/cloudfoundry-incubator/following{/other_user}","gists_url":"https://api.github.com/users/cloudfoundry-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfoundry-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfoundry-incubator/subscriptions","organizations_url":"https://api.github.com/users/cloudfoundry-incubator/orgs","repos_url":"https://api.github.com/users/cloudfoundry-incubator/repos","events_url":"https://api.github.com/users/cloudfoundry-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfoundry-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudfoundry-incubator/if_warden","description":"IronFoundry Warden for Windows v2.","fork":false,"url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden","forks_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/forks","keys_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/teams","hooks_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/hooks","issue_events_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/issues/events{/number}","events_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/events","assignees_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/assignees{/user}","branches_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/branches{/branch}","tags_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/tags","blobs_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/languages","stargazers_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/stargazers","contributors_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/contributors","subscribers_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/subscribers","subscription_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/subscription","commits_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/issues/comments/{number}","contents_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/contents/{+path}","compare_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/merges","archive_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/downloads","issues_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/issues{/number}","pulls_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/labels{/name}","releases_url":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/releases{/id}","created_at":"2014-02-11T23:44:47Z","updated_at":"2015-01-21T04:58:54Z","pushed_at":"2015-02-03T17:41:14Z","git_url":"git://github.com/cloudfoundry-incubator/if_warden.git","ssh_url":"git@github.com:cloudfoundry-incubator/if_warden.git","clone_url":"https://github.com/cloudfoundry-incubator/if_warden.git","svn_url":"https://github.com/cloudfoundry-incubator/if_warden","homepage":null,"size":3635,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/pulls/12"},"html":{"href":"https://github.com/cloudfoundry-incubator/if_warden/pull/12"},"issue":{"href":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/issues/12"},"comments":{"href":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/cloudfoundry-incubator/if_warden/statuses/aa62fe2bbde44d8c4050cacfef83a289fba251c4"}}}}