{"action":"created","comment":{"url":"https://api.github.com/repos/NLog/NLog/pulls/comments/36688731","id":36688731,"diff_hunk":"@@ -70,6 +70,13 @@ public class FileTarget : TargetWithLayoutHeaderAndFooter, ICreateFileParameters\n         private Timer autoClosingTimer;\n         private int initializedFilesCounter;\n \n+        /// <summary>\n+        /// Provides the shape of an archive file changed event. Event name will describe the action.\n+        /// </summary>\n+        /// <param name=\"archiveFilename\">The name of the file in question.</param>\n+        public delegate void ArchiveFileAlteredHandler(string archiveFilename);\n+        ","path":"src/NLog/Targets/FileTarget.cs","position":9,"original_position":9,"commit_id":"b268fbc48b2e1ec5c9d5e6ef7297b82975b2147f","original_commit_id":"b268fbc48b2e1ec5c9d5e6ef7297b82975b2147f","user":{"login":"304NotModified","id":5808377,"avatar_url":"https://avatars.githubusercontent.com/u/5808377?v=3","gravatar_id":"","url":"https://api.github.com/users/304NotModified","html_url":"https://github.com/304NotModified","followers_url":"https://api.github.com/users/304NotModified/followers","following_url":"https://api.github.com/users/304NotModified/following{/other_user}","gists_url":"https://api.github.com/users/304NotModified/gists{/gist_id}","starred_url":"https://api.github.com/users/304NotModified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/304NotModified/subscriptions","organizations_url":"https://api.github.com/users/304NotModified/orgs","repos_url":"https://api.github.com/users/304NotModified/repos","events_url":"https://api.github.com/users/304NotModified/events{/privacy}","received_events_url":"https://api.github.com/users/304NotModified/received_events","type":"User","site_admin":false},"body":"With archiving, we like to know to things: the original path and the new archive File Path. This will opt for two separate delegates. ","created_at":"2015-08-10T21:46:54Z","updated_at":"2015-08-10T21:46:54Z","html_url":"https://github.com/NLog/NLog/pull/830#discussion_r36688731","pull_request_url":"https://api.github.com/repos/NLog/NLog/pulls/830","_links":{"self":{"href":"https://api.github.com/repos/NLog/NLog/pulls/comments/36688731"},"html":{"href":"https://github.com/NLog/NLog/pull/830#discussion_r36688731"},"pull_request":{"href":"https://api.github.com/repos/NLog/NLog/pulls/830"}}},"pull_request":{"url":"https://api.github.com/repos/NLog/NLog/pulls/830","id":41792064,"html_url":"https://github.com/NLog/NLog/pull/830","diff_url":"https://github.com/NLog/NLog/pull/830.diff","patch_url":"https://github.com/NLog/NLog/pull/830.patch","issue_url":"https://api.github.com/repos/NLog/NLog/issues/830","number":830,"state":"open","locked":false,"title":"Added the ability to notify calling code when a file is being archived.","user":{"login":"BrandonLegault","id":10144426,"avatar_url":"https://avatars.githubusercontent.com/u/10144426?v=3","gravatar_id":"","url":"https://api.github.com/users/BrandonLegault","html_url":"https://github.com/BrandonLegault","followers_url":"https://api.github.com/users/BrandonLegault/followers","following_url":"https://api.github.com/users/BrandonLegault/following{/other_user}","gists_url":"https://api.github.com/users/BrandonLegault/gists{/gist_id}","starred_url":"https://api.github.com/users/BrandonLegault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrandonLegault/subscriptions","organizations_url":"https://api.github.com/users/BrandonLegault/orgs","repos_url":"https://api.github.com/users/BrandonLegault/repos","events_url":"https://api.github.com/users/BrandonLegault/events{/privacy}","received_events_url":"https://api.github.com/users/BrandonLegault/received_events","type":"User","site_admin":false},"body":"This is the second pull request for the notification to calling code on file archival as I broke git somehow with the first pull request\r\n\r\nSee #801 for the initial PR and comments. ","created_at":"2015-08-06T14:14:04Z","updated_at":"2015-08-10T21:46:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2fbf3aad75f32bd2a825a658f79b576ef11addb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NLog/NLog/pulls/830/commits","review_comments_url":"https://api.github.com/repos/NLog/NLog/pulls/830/comments","review_comment_url":"https://api.github.com/repos/NLog/NLog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NLog/NLog/issues/830/comments","statuses_url":"https://api.github.com/repos/NLog/NLog/statuses/b268fbc48b2e1ec5c9d5e6ef7297b82975b2147f","head":{"label":"BrandonLegault:notifyArchive","ref":"notifyArchive","sha":"b268fbc48b2e1ec5c9d5e6ef7297b82975b2147f","user":{"login":"BrandonLegault","id":10144426,"avatar_url":"https://avatars.githubusercontent.com/u/10144426?v=3","gravatar_id":"","url":"https://api.github.com/users/BrandonLegault","html_url":"https://github.com/BrandonLegault","followers_url":"https://api.github.com/users/BrandonLegault/followers","following_url":"https://api.github.com/users/BrandonLegault/following{/other_user}","gists_url":"https://api.github.com/users/BrandonLegault/gists{/gist_id}","starred_url":"https://api.github.com/users/BrandonLegault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrandonLegault/subscriptions","organizations_url":"https://api.github.com/users/BrandonLegault/orgs","repos_url":"https://api.github.com/users/BrandonLegault/repos","events_url":"https://api.github.com/users/BrandonLegault/events{/privacy}","received_events_url":"https://api.github.com/users/BrandonLegault/received_events","type":"User","site_admin":false},"repo":{"id":27829720,"name":"NLog","full_name":"BrandonLegault/NLog","owner":{"login":"BrandonLegault","id":10144426,"avatar_url":"https://avatars.githubusercontent.com/u/10144426?v=3","gravatar_id":"","url":"https://api.github.com/users/BrandonLegault","html_url":"https://github.com/BrandonLegault","followers_url":"https://api.github.com/users/BrandonLegault/followers","following_url":"https://api.github.com/users/BrandonLegault/following{/other_user}","gists_url":"https://api.github.com/users/BrandonLegault/gists{/gist_id}","starred_url":"https://api.github.com/users/BrandonLegault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrandonLegault/subscriptions","organizations_url":"https://api.github.com/users/BrandonLegault/orgs","repos_url":"https://api.github.com/users/BrandonLegault/repos","events_url":"https://api.github.com/users/BrandonLegault/events{/privacy}","received_events_url":"https://api.github.com/users/BrandonLegault/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BrandonLegault/NLog","description":"NLog - Advanced .NET and Silverlight Logging","fork":true,"url":"https://api.github.com/repos/BrandonLegault/NLog","forks_url":"https://api.github.com/repos/BrandonLegault/NLog/forks","keys_url":"https://api.github.com/repos/BrandonLegault/NLog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrandonLegault/NLog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrandonLegault/NLog/teams","hooks_url":"https://api.github.com/repos/BrandonLegault/NLog/hooks","issue_events_url":"https://api.github.com/repos/BrandonLegault/NLog/issues/events{/number}","events_url":"https://api.github.com/repos/BrandonLegault/NLog/events","assignees_url":"https://api.github.com/repos/BrandonLegault/NLog/assignees{/user}","branches_url":"https://api.github.com/repos/BrandonLegault/NLog/branches{/branch}","tags_url":"https://api.github.com/repos/BrandonLegault/NLog/tags","blobs_url":"https://api.github.com/repos/BrandonLegault/NLog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrandonLegault/NLog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrandonLegault/NLog/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrandonLegault/NLog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrandonLegault/NLog/statuses/{sha}","languages_url":"https://api.github.com/repos/BrandonLegault/NLog/languages","stargazers_url":"https://api.github.com/repos/BrandonLegault/NLog/stargazers","contributors_url":"https://api.github.com/repos/BrandonLegault/NLog/contributors","subscribers_url":"https://api.github.com/repos/BrandonLegault/NLog/subscribers","subscription_url":"https://api.github.com/repos/BrandonLegault/NLog/subscription","commits_url":"https://api.github.com/repos/BrandonLegault/NLog/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrandonLegault/NLog/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrandonLegault/NLog/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrandonLegault/NLog/issues/comments{/number}","contents_url":"https://api.github.com/repos/BrandonLegault/NLog/contents/{+path}","compare_url":"https://api.github.com/repos/BrandonLegault/NLog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrandonLegault/NLog/merges","archive_url":"https://api.github.com/repos/BrandonLegault/NLog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrandonLegault/NLog/downloads","issues_url":"https://api.github.com/repos/BrandonLegault/NLog/issues{/number}","pulls_url":"https://api.github.com/repos/BrandonLegault/NLog/pulls{/number}","milestones_url":"https://api.github.com/repos/BrandonLegault/NLog/milestones{/number}","notifications_url":"https://api.github.com/repos/BrandonLegault/NLog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrandonLegault/NLog/labels{/name}","releases_url":"https://api.github.com/repos/BrandonLegault/NLog/releases{/id}","created_at":"2014-12-10T16:55:58Z","updated_at":"2015-04-23T13:35:06Z","pushed_at":"2015-08-10T16:50:33Z","git_url":"git://github.com/BrandonLegault/NLog.git","ssh_url":"git@github.com:BrandonLegault/NLog.git","clone_url":"https://github.com/BrandonLegault/NLog.git","svn_url":"https://github.com/BrandonLegault/NLog","homepage":null,"size":46691,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NLog:master","ref":"master","sha":"f28464a093494b558186dd8906f8dc5516227c94","user":{"login":"NLog","id":2331628,"avatar_url":"https://avatars.githubusercontent.com/u/2331628?v=3","gravatar_id":"","url":"https://api.github.com/users/NLog","html_url":"https://github.com/NLog","followers_url":"https://api.github.com/users/NLog/followers","following_url":"https://api.github.com/users/NLog/following{/other_user}","gists_url":"https://api.github.com/users/NLog/gists{/gist_id}","starred_url":"https://api.github.com/users/NLog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NLog/subscriptions","organizations_url":"https://api.github.com/users/NLog/orgs","repos_url":"https://api.github.com/users/NLog/repos","events_url":"https://api.github.com/users/NLog/events{/privacy}","received_events_url":"https://api.github.com/users/NLog/received_events","type":"Organization","site_admin":false},"repo":{"id":5780416,"name":"NLog","full_name":"NLog/NLog","owner":{"login":"NLog","id":2331628,"avatar_url":"https://avatars.githubusercontent.com/u/2331628?v=3","gravatar_id":"","url":"https://api.github.com/users/NLog","html_url":"https://github.com/NLog","followers_url":"https://api.github.com/users/NLog/followers","following_url":"https://api.github.com/users/NLog/following{/other_user}","gists_url":"https://api.github.com/users/NLog/gists{/gist_id}","starred_url":"https://api.github.com/users/NLog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NLog/subscriptions","organizations_url":"https://api.github.com/users/NLog/orgs","repos_url":"https://api.github.com/users/NLog/repos","events_url":"https://api.github.com/users/NLog/events{/privacy}","received_events_url":"https://api.github.com/users/NLog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NLog/NLog","description":"NLog - Advanced .NET and Silverlight Logging","fork":false,"url":"https://api.github.com/repos/NLog/NLog","forks_url":"https://api.github.com/repos/NLog/NLog/forks","keys_url":"https://api.github.com/repos/NLog/NLog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NLog/NLog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NLog/NLog/teams","hooks_url":"https://api.github.com/repos/NLog/NLog/hooks","issue_events_url":"https://api.github.com/repos/NLog/NLog/issues/events{/number}","events_url":"https://api.github.com/repos/NLog/NLog/events","assignees_url":"https://api.github.com/repos/NLog/NLog/assignees{/user}","branches_url":"https://api.github.com/repos/NLog/NLog/branches{/branch}","tags_url":"https://api.github.com/repos/NLog/NLog/tags","blobs_url":"https://api.github.com/repos/NLog/NLog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NLog/NLog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NLog/NLog/git/refs{/sha}","trees_url":"https://api.github.com/repos/NLog/NLog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NLog/NLog/statuses/{sha}","languages_url":"https://api.github.com/repos/NLog/NLog/languages","stargazers_url":"https://api.github.com/repos/NLog/NLog/stargazers","contributors_url":"https://api.github.com/repos/NLog/NLog/contributors","subscribers_url":"https://api.github.com/repos/NLog/NLog/subscribers","subscription_url":"https://api.github.com/repos/NLog/NLog/subscription","commits_url":"https://api.github.com/repos/NLog/NLog/commits{/sha}","git_commits_url":"https://api.github.com/repos/NLog/NLog/git/commits{/sha}","comments_url":"https://api.github.com/repos/NLog/NLog/comments{/number}","issue_comment_url":"https://api.github.com/repos/NLog/NLog/issues/comments{/number}","contents_url":"https://api.github.com/repos/NLog/NLog/contents/{+path}","compare_url":"https://api.github.com/repos/NLog/NLog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NLog/NLog/merges","archive_url":"https://api.github.com/repos/NLog/NLog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NLog/NLog/downloads","issues_url":"https://api.github.com/repos/NLog/NLog/issues{/number}","pulls_url":"https://api.github.com/repos/NLog/NLog/pulls{/number}","milestones_url":"https://api.github.com/repos/NLog/NLog/milestones{/number}","notifications_url":"https://api.github.com/repos/NLog/NLog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NLog/NLog/labels{/name}","releases_url":"https://api.github.com/repos/NLog/NLog/releases{/id}","created_at":"2012-09-12T13:49:29Z","updated_at":"2015-08-10T20:10:51Z","pushed_at":"2015-08-10T20:18:33Z","git_url":"git://github.com/NLog/NLog.git","ssh_url":"git@github.com:NLog/NLog.git","clone_url":"https://github.com/NLog/NLog.git","svn_url":"https://github.com/NLog/NLog","homepage":null,"size":58717,"stargazers_count":1132,"watchers_count":1132,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":420,"mirror_url":null,"open_issues_count":103,"forks":420,"open_issues":103,"watchers":1132,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NLog/NLog/pulls/830"},"html":{"href":"https://github.com/NLog/NLog/pull/830"},"issue":{"href":"https://api.github.com/repos/NLog/NLog/issues/830"},"comments":{"href":"https://api.github.com/repos/NLog/NLog/issues/830/comments"},"review_comments":{"href":"https://api.github.com/repos/NLog/NLog/pulls/830/comments"},"review_comment":{"href":"https://api.github.com/repos/NLog/NLog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NLog/NLog/pulls/830/commits"},"statuses":{"href":"https://api.github.com/repos/NLog/NLog/statuses/b268fbc48b2e1ec5c9d5e6ef7297b82975b2147f"}}}}