{"action":"created","comment":{"url":"https://api.github.com/repos/quattor/CAF/pulls/comments/60888098","id":60888098,"diff_hunk":"@@ -0,0 +1,1151 @@\n+# ${license-info}\n+# ${developer-info}\n+# ${author-info}\n+# ${build-info}\n+\n+=pod\n+\n+=head1 DESCRIPTION\n+\n+This module implements a rule-based editor that is used to modify the content\n+of an existing file without taking care of the whole file. Each rule\n+driving the edition process is applied to all matching lines. The input for","path":"src/main/perl/RuleBasedEditor.pm","position":12,"original_position":12,"commit_id":"fc9e50ec691c93edca1703ae035b61c025a4163c","original_commit_id":"fc9e50ec691c93edca1703ae035b61c025a4163c","user":{"login":"stdweird","id":1517606,"avatar_url":"https://avatars.githubusercontent.com/u/1517606?v=3","gravatar_id":"","url":"https://api.github.com/users/stdweird","html_url":"https://github.com/stdweird","followers_url":"https://api.github.com/users/stdweird/followers","following_url":"https://api.github.com/users/stdweird/following{/other_user}","gists_url":"https://api.github.com/users/stdweird/gists{/gist_id}","starred_url":"https://api.github.com/users/stdweird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stdweird/subscriptions","organizations_url":"https://api.github.com/users/stdweird/orgs","repos_url":"https://api.github.com/users/stdweird/repos","events_url":"https://api.github.com/users/stdweird/events{/privacy}","received_events_url":"https://api.github.com/users/stdweird/received_events","type":"User","site_admin":false},"body":"`edition process` -> `editing`? `edit process`?","created_at":"2016-04-25T09:52:59Z","updated_at":"2016-04-25T09:52:59Z","html_url":"https://github.com/quattor/CAF/pull/151#discussion_r60888098","pull_request_url":"https://api.github.com/repos/quattor/CAF/pulls/151","_links":{"self":{"href":"https://api.github.com/repos/quattor/CAF/pulls/comments/60888098"},"html":{"href":"https://github.com/quattor/CAF/pull/151#discussion_r60888098"},"pull_request":{"href":"https://api.github.com/repos/quattor/CAF/pulls/151"}}},"pull_request":{"url":"https://api.github.com/repos/quattor/CAF/pulls/151","id":67614137,"html_url":"https://github.com/quattor/CAF/pull/151","diff_url":"https://github.com/quattor/CAF/pull/151.diff","patch_url":"https://github.com/quattor/CAF/pull/151.patch","issue_url":"https://api.github.com/repos/quattor/CAF/issues/151","number":151,"state":"open","locked":false,"title":"Rule based editor","user":{"login":"jouvin","id":1511937,"avatar_url":"https://avatars.githubusercontent.com/u/1511937?v=3","gravatar_id":"","url":"https://api.github.com/users/jouvin","html_url":"https://github.com/jouvin","followers_url":"https://api.github.com/users/jouvin/followers","following_url":"https://api.github.com/users/jouvin/following{/other_user}","gists_url":"https://api.github.com/users/jouvin/gists{/gist_id}","starred_url":"https://api.github.com/users/jouvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jouvin/subscriptions","organizations_url":"https://api.github.com/users/jouvin/orgs","repos_url":"https://api.github.com/users/jouvin/repos","events_url":"https://api.github.com/users/jouvin/events{/privacy}","received_events_url":"https://api.github.com/users/jouvin/received_events","type":"User","site_admin":false},"body":"This PR imports into `CAF` the rule-based file editor originally developed as part of `ncm-dpmlfc` and `ncm-xrootd`. It intends to address #123.\r\n\r\nI'll try to complete the import and constant name cleanup during the week-end. I'd appreciate if this code could go into 16.4 release to help further developments, in particular its use in `ncm-dpmlfc` and `ncm-xrootd`. Except if I missed something, it should have no impact on current FileEditor usage as it just adds new methods but don't change anything in the existing code (apart including the module containing the new code).","created_at":"2016-04-23T18:13:57Z","updated_at":"2016-04-25T09:52:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2353035c515ab03ba670ea1fe22f6a545f49bfb1","assignee":null,"milestone":{"url":"https://api.github.com/repos/quattor/CAF/milestones/11","html_url":"https://github.com/quattor/CAF/milestones/16.4","labels_url":"https://api.github.com/repos/quattor/CAF/milestones/11/labels","id":1147834,"number":11,"title":"16.4","description":null,"creator":{"login":"jrha","id":323309,"avatar_url":"https://avatars.githubusercontent.com/u/323309?v=3","gravatar_id":"","url":"https://api.github.com/users/jrha","html_url":"https://github.com/jrha","followers_url":"https://api.github.com/users/jrha/followers","following_url":"https://api.github.com/users/jrha/following{/other_user}","gists_url":"https://api.github.com/users/jrha/gists{/gist_id}","starred_url":"https://api.github.com/users/jrha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrha/subscriptions","organizations_url":"https://api.github.com/users/jrha/orgs","repos_url":"https://api.github.com/users/jrha/repos","events_url":"https://api.github.com/users/jrha/events{/privacy}","received_events_url":"https://api.github.com/users/jrha/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":6,"state":"open","created_at":"2015-06-03T16:16:32Z","updated_at":"2016-04-25T07:34:19Z","due_on":"2016-04-29T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/quattor/CAF/pulls/151/commits","review_comments_url":"https://api.github.com/repos/quattor/CAF/pulls/151/comments","review_comment_url":"https://api.github.com/repos/quattor/CAF/pulls/comments{/number}","comments_url":"https://api.github.com/repos/quattor/CAF/issues/151/comments","statuses_url":"https://api.github.com/repos/quattor/CAF/statuses/fc9e50ec691c93edca1703ae035b61c025a4163c","head":{"label":"jouvin:rule-based-editor","ref":"rule-based-editor","sha":"fc9e50ec691c93edca1703ae035b61c025a4163c","user":{"login":"jouvin","id":1511937,"avatar_url":"https://avatars.githubusercontent.com/u/1511937?v=3","gravatar_id":"","url":"https://api.github.com/users/jouvin","html_url":"https://github.com/jouvin","followers_url":"https://api.github.com/users/jouvin/followers","following_url":"https://api.github.com/users/jouvin/following{/other_user}","gists_url":"https://api.github.com/users/jouvin/gists{/gist_id}","starred_url":"https://api.github.com/users/jouvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jouvin/subscriptions","organizations_url":"https://api.github.com/users/jouvin/orgs","repos_url":"https://api.github.com/users/jouvin/repos","events_url":"https://api.github.com/users/jouvin/events{/privacy}","received_events_url":"https://api.github.com/users/jouvin/received_events","type":"User","site_admin":false},"repo":{"id":21414660,"name":"CAF","full_name":"jouvin/CAF","owner":{"login":"jouvin","id":1511937,"avatar_url":"https://avatars.githubusercontent.com/u/1511937?v=3","gravatar_id":"","url":"https://api.github.com/users/jouvin","html_url":"https://github.com/jouvin","followers_url":"https://api.github.com/users/jouvin/followers","following_url":"https://api.github.com/users/jouvin/following{/other_user}","gists_url":"https://api.github.com/users/jouvin/gists{/gist_id}","starred_url":"https://api.github.com/users/jouvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jouvin/subscriptions","organizations_url":"https://api.github.com/users/jouvin/orgs","repos_url":"https://api.github.com/users/jouvin/repos","events_url":"https://api.github.com/users/jouvin/events{/privacy}","received_events_url":"https://api.github.com/users/jouvin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jouvin/CAF","description":"Perl Common Application Framework","fork":true,"url":"https://api.github.com/repos/jouvin/CAF","forks_url":"https://api.github.com/repos/jouvin/CAF/forks","keys_url":"https://api.github.com/repos/jouvin/CAF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jouvin/CAF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jouvin/CAF/teams","hooks_url":"https://api.github.com/repos/jouvin/CAF/hooks","issue_events_url":"https://api.github.com/repos/jouvin/CAF/issues/events{/number}","events_url":"https://api.github.com/repos/jouvin/CAF/events","assignees_url":"https://api.github.com/repos/jouvin/CAF/assignees{/user}","branches_url":"https://api.github.com/repos/jouvin/CAF/branches{/branch}","tags_url":"https://api.github.com/repos/jouvin/CAF/tags","blobs_url":"https://api.github.com/repos/jouvin/CAF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jouvin/CAF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jouvin/CAF/git/refs{/sha}","trees_url":"https://api.github.com/repos/jouvin/CAF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jouvin/CAF/statuses/{sha}","languages_url":"https://api.github.com/repos/jouvin/CAF/languages","stargazers_url":"https://api.github.com/repos/jouvin/CAF/stargazers","contributors_url":"https://api.github.com/repos/jouvin/CAF/contributors","subscribers_url":"https://api.github.com/repos/jouvin/CAF/subscribers","subscription_url":"https://api.github.com/repos/jouvin/CAF/subscription","commits_url":"https://api.github.com/repos/jouvin/CAF/commits{/sha}","git_commits_url":"https://api.github.com/repos/jouvin/CAF/git/commits{/sha}","comments_url":"https://api.github.com/repos/jouvin/CAF/comments{/number}","issue_comment_url":"https://api.github.com/repos/jouvin/CAF/issues/comments{/number}","contents_url":"https://api.github.com/repos/jouvin/CAF/contents/{+path}","compare_url":"https://api.github.com/repos/jouvin/CAF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jouvin/CAF/merges","archive_url":"https://api.github.com/repos/jouvin/CAF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jouvin/CAF/downloads","issues_url":"https://api.github.com/repos/jouvin/CAF/issues{/number}","pulls_url":"https://api.github.com/repos/jouvin/CAF/pulls{/number}","milestones_url":"https://api.github.com/repos/jouvin/CAF/milestones{/number}","notifications_url":"https://api.github.com/repos/jouvin/CAF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jouvin/CAF/labels{/name}","releases_url":"https://api.github.com/repos/jouvin/CAF/releases{/id}","deployments_url":"https://api.github.com/repos/jouvin/CAF/deployments","created_at":"2014-07-02T07:05:57Z","updated_at":"2016-04-23T15:26:31Z","pushed_at":"2016-04-25T07:20:07Z","git_url":"git://github.com/jouvin/CAF.git","ssh_url":"git@github.com:jouvin/CAF.git","clone_url":"https://github.com/jouvin/CAF.git","svn_url":"https://github.com/jouvin/CAF","homepage":"www.quattor.org","size":588,"stargazers_count":0,"watchers_count":0,"language":"Perl","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":"quattor:master","ref":"master","sha":"6b587a4e7b19234d1924b09fe30d6543e40245df","user":{"login":"quattor","id":1557169,"avatar_url":"https://avatars.githubusercontent.com/u/1557169?v=3","gravatar_id":"","url":"https://api.github.com/users/quattor","html_url":"https://github.com/quattor","followers_url":"https://api.github.com/users/quattor/followers","following_url":"https://api.github.com/users/quattor/following{/other_user}","gists_url":"https://api.github.com/users/quattor/gists{/gist_id}","starred_url":"https://api.github.com/users/quattor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quattor/subscriptions","organizations_url":"https://api.github.com/users/quattor/orgs","repos_url":"https://api.github.com/users/quattor/repos","events_url":"https://api.github.com/users/quattor/events{/privacy}","received_events_url":"https://api.github.com/users/quattor/received_events","type":"Organization","site_admin":false},"repo":{"id":3835363,"name":"CAF","full_name":"quattor/CAF","owner":{"login":"quattor","id":1557169,"avatar_url":"https://avatars.githubusercontent.com/u/1557169?v=3","gravatar_id":"","url":"https://api.github.com/users/quattor","html_url":"https://github.com/quattor","followers_url":"https://api.github.com/users/quattor/followers","following_url":"https://api.github.com/users/quattor/following{/other_user}","gists_url":"https://api.github.com/users/quattor/gists{/gist_id}","starred_url":"https://api.github.com/users/quattor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quattor/subscriptions","organizations_url":"https://api.github.com/users/quattor/orgs","repos_url":"https://api.github.com/users/quattor/repos","events_url":"https://api.github.com/users/quattor/events{/privacy}","received_events_url":"https://api.github.com/users/quattor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/quattor/CAF","description":"Perl Common Application Framework","fork":false,"url":"https://api.github.com/repos/quattor/CAF","forks_url":"https://api.github.com/repos/quattor/CAF/forks","keys_url":"https://api.github.com/repos/quattor/CAF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quattor/CAF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quattor/CAF/teams","hooks_url":"https://api.github.com/repos/quattor/CAF/hooks","issue_events_url":"https://api.github.com/repos/quattor/CAF/issues/events{/number}","events_url":"https://api.github.com/repos/quattor/CAF/events","assignees_url":"https://api.github.com/repos/quattor/CAF/assignees{/user}","branches_url":"https://api.github.com/repos/quattor/CAF/branches{/branch}","tags_url":"https://api.github.com/repos/quattor/CAF/tags","blobs_url":"https://api.github.com/repos/quattor/CAF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quattor/CAF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quattor/CAF/git/refs{/sha}","trees_url":"https://api.github.com/repos/quattor/CAF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quattor/CAF/statuses/{sha}","languages_url":"https://api.github.com/repos/quattor/CAF/languages","stargazers_url":"https://api.github.com/repos/quattor/CAF/stargazers","contributors_url":"https://api.github.com/repos/quattor/CAF/contributors","subscribers_url":"https://api.github.com/repos/quattor/CAF/subscribers","subscription_url":"https://api.github.com/repos/quattor/CAF/subscription","commits_url":"https://api.github.com/repos/quattor/CAF/commits{/sha}","git_commits_url":"https://api.github.com/repos/quattor/CAF/git/commits{/sha}","comments_url":"https://api.github.com/repos/quattor/CAF/comments{/number}","issue_comment_url":"https://api.github.com/repos/quattor/CAF/issues/comments{/number}","contents_url":"https://api.github.com/repos/quattor/CAF/contents/{+path}","compare_url":"https://api.github.com/repos/quattor/CAF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quattor/CAF/merges","archive_url":"https://api.github.com/repos/quattor/CAF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quattor/CAF/downloads","issues_url":"https://api.github.com/repos/quattor/CAF/issues{/number}","pulls_url":"https://api.github.com/repos/quattor/CAF/pulls{/number}","milestones_url":"https://api.github.com/repos/quattor/CAF/milestones{/number}","notifications_url":"https://api.github.com/repos/quattor/CAF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quattor/CAF/labels{/name}","releases_url":"https://api.github.com/repos/quattor/CAF/releases{/id}","deployments_url":"https://api.github.com/repos/quattor/CAF/deployments","created_at":"2012-03-26T17:26:06Z","updated_at":"2015-05-08T10:10:08Z","pushed_at":"2016-04-25T07:34:19Z","git_url":"git://github.com/quattor/CAF.git","ssh_url":"git@github.com:quattor/CAF.git","clone_url":"https://github.com/quattor/CAF.git","svn_url":"https://github.com/quattor/CAF","homepage":"www.quattor.org","size":689,"stargazers_count":4,"watchers_count":4,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":25,"forks":10,"open_issues":25,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/quattor/CAF/pulls/151"},"html":{"href":"https://github.com/quattor/CAF/pull/151"},"issue":{"href":"https://api.github.com/repos/quattor/CAF/issues/151"},"comments":{"href":"https://api.github.com/repos/quattor/CAF/issues/151/comments"},"review_comments":{"href":"https://api.github.com/repos/quattor/CAF/pulls/151/comments"},"review_comment":{"href":"https://api.github.com/repos/quattor/CAF/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/quattor/CAF/pulls/151/commits"},"statuses":{"href":"https://api.github.com/repos/quattor/CAF/statuses/fc9e50ec691c93edca1703ae035b61c025a4163c"}}}}