{"action":"created","issue":{"url":"https://api.github.com/repos/WCOMAB/Cake_Git/issues/6","repository_url":"https://api.github.com/repos/WCOMAB/Cake_Git","labels_url":"https://api.github.com/repos/WCOMAB/Cake_Git/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/WCOMAB/Cake_Git/issues/6/comments","events_url":"https://api.github.com/repos/WCOMAB/Cake_Git/issues/6/events","html_url":"https://github.com/WCOMAB/Cake_Git/pull/6","id":160916509,"number":6,"title":"Added Two Reset method Overloads.","user":{"login":"DavidBrower","id":8066997,"avatar_url":"https://avatars.githubusercontent.com/u/8066997?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidBrower","html_url":"https://github.com/DavidBrower","followers_url":"https://api.github.com/users/DavidBrower/followers","following_url":"https://api.github.com/users/DavidBrower/following{/other_user}","gists_url":"https://api.github.com/users/DavidBrower/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidBrower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidBrower/subscriptions","organizations_url":"https://api.github.com/users/DavidBrower/orgs","repos_url":"https://api.github.com/users/DavidBrower/repos","events_url":"https://api.github.com/users/DavidBrower/events{/privacy}","received_events_url":"https://api.github.com/users/DavidBrower/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-17T15:38:14Z","updated_at":"2016-06-20T11:19:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/WCOMAB/Cake_Git/pulls/6","html_url":"https://github.com/WCOMAB/Cake_Git/pull/6","diff_url":"https://github.com/WCOMAB/Cake_Git/pull/6.diff","patch_url":"https://github.com/WCOMAB/Cake_Git/pull/6.patch"},"body":"Hi Guys, \r\nI've forked Cake.Git and added two reset overloads that call into the corresponding libgit2sharp methods. The reason for making this addition is that we want to be able to roll back the updates made by GitVersion to our AssemblyInfo.cs files at the end of a build.\r\n\r\nIdeally, we'd like to be able to specify a pattern to target */AssemblyInfo.cs and no other files since there may be build artifacts that we wish to retain (and for which .gitignore is too brittle a protection). However, I see that libgit2sharp doesn't offer calling into the git_reset_default method in libgit2.\r\n\r\n**Summary of Additions**\r\n\r\n**GitReset(ResetMode)** which resets the current branch HEAD to the latest\r\ncommit and, optionally, modifies the index and working tree.\r\n\r\n**GitReset(ResetMode, CommitId)** which resets the current branch HEAD to the\r\nspecified commit and, optionally, modifies the index and working tree."},"comment":{"url":"https://api.github.com/repos/WCOMAB/Cake_Git/issues/comments/227115762","html_url":"https://github.com/WCOMAB/Cake_Git/pull/6#issuecomment-227115762","issue_url":"https://api.github.com/repos/WCOMAB/Cake_Git/issues/6","id":227115762,"user":{"login":"DavidBrower","id":8066997,"avatar_url":"https://avatars.githubusercontent.com/u/8066997?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidBrower","html_url":"https://github.com/DavidBrower","followers_url":"https://api.github.com/users/DavidBrower/followers","following_url":"https://api.github.com/users/DavidBrower/following{/other_user}","gists_url":"https://api.github.com/users/DavidBrower/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidBrower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidBrower/subscriptions","organizations_url":"https://api.github.com/users/DavidBrower/orgs","repos_url":"https://api.github.com/users/DavidBrower/repos","events_url":"https://api.github.com/users/DavidBrower/events{/privacy}","received_events_url":"https://api.github.com/users/DavidBrower/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T11:19:55Z","updated_at":"2016-06-20T11:19:55Z","body":"I've almost completed the refactoring along the lines that you have suggested. However, I've noticed that **Git-Set-Tag** is failing due it not finding the specified file. It's difficult understanding what is wrong here as it seems to want to shell out to an exe that I don't have at that location (possibly as a consequence of **git-clone** not being executed.\r\n\r\nAny thoughts?"}}
{"actor":{"display_login":"DavidBrower"}}