{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/support-core-plugin/pulls/comments/183861256","pull_request_review_id":114942378,"id":183861256,"diff_hunk":"@@ -821,4 +846,81 @@ public boolean configure(StaplerRequest req, JSONObject json) throws FormExcepti\n         }\n     }\n \n+\n+    public static class AnonymizationSettings {\n+        // TODO:  Provide a way to modify these\n+        private Set<String> excludedWords = new HashSet<>();\n+\n+        private boolean anonymizeLabels;\n+        private boolean anonymizeItems;\n+        private boolean anonymizeViews;\n+        private boolean anonymizeNodes;\n+        private boolean anonymizeComputers;\n+        private boolean anonymizeUsers;\n+\n+        public AnonymizationSettings() {\n+            // TODO:  Where should this actually go?  Here?  Elsewhere?  I don't think that these particular strings\n+            // should be modifiable by users\n+            excludedWords.add(\"a\");\n+            excludedWords.add(\"the\");\n+            excludedWords.add(\"all\");\n+            excludedWords.add(\"master\");\n+            excludedWords.add(\"jenkins\");\n+            excludedWords.add(\"node\");\n+            excludedWords.add(\"computer\");\n+            excludedWords.add(\"item\");\n+            excludedWords.add(\"label\");\n+            excludedWords.add(\"view\");\n+            excludedWords.add(\"user\");\n+            excludedWords.add(\"\");","path":"src/main/java/com/cloudbees/jenkins/support/SupportPlugin.java","position":152,"original_position":152,"commit_id":"cb1f1e44c0e0da1d49c6a9f96e5fe0e3218b9998","original_commit_id":"3ca1623c053273cde4b72de7a144959e36c58f05","user":{"login":"jvz","id":791275,"avatar_url":"https://avatars2.githubusercontent.com/u/791275?v=4","gravatar_id":"","url":"https://api.github.com/users/jvz","html_url":"https://github.com/jvz","followers_url":"https://api.github.com/users/jvz/followers","following_url":"https://api.github.com/users/jvz/following{/other_user}","gists_url":"https://api.github.com/users/jvz/gists{/gist_id}","starred_url":"https://api.github.com/users/jvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvz/subscriptions","organizations_url":"https://api.github.com/users/jvz/orgs","repos_url":"https://api.github.com/users/jvz/repos","events_url":"https://api.github.com/users/jvz/events{/privacy}","received_events_url":"https://api.github.com/users/jvz/received_events","type":"User","site_admin":false},"body":"The common terminology for these are _stop words_. [Example list](https://kb.yoast.com/kb/list-stop-words/).","created_at":"2018-04-24T20:00:51Z","updated_at":"2018-04-24T20:00:51Z","html_url":"https://github.com/jenkinsci/support-core-plugin/pull/132#discussion_r183861256","pull_request_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/pulls/132","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/support-core-plugin/pulls/comments/183861256"},"html":{"href":"https://github.com/jenkinsci/support-core-plugin/pull/132#discussion_r183861256"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/support-core-plugin/pulls/132"}},"in_reply_to_id":175869437},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/support-core-plugin/pulls/132","id":161919626,"html_url":"https://github.com/jenkinsci/support-core-plugin/pull/132","diff_url":"https://github.com/jenkinsci/support-core-plugin/pull/132.diff","patch_url":"https://github.com/jenkinsci/support-core-plugin/pull/132.patch","issue_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/issues/132","number":132,"state":"open","locked":false,"title":"[JENKINS-21670] Add option to anonymize jobs, views, nodes, etc","user":{"login":"rysteboe","id":1170276,"avatar_url":"https://avatars1.githubusercontent.com/u/1170276?v=4","gravatar_id":"","url":"https://api.github.com/users/rysteboe","html_url":"https://github.com/rysteboe","followers_url":"https://api.github.com/users/rysteboe/followers","following_url":"https://api.github.com/users/rysteboe/following{/other_user}","gists_url":"https://api.github.com/users/rysteboe/gists{/gist_id}","starred_url":"https://api.github.com/users/rysteboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rysteboe/subscriptions","organizations_url":"https://api.github.com/users/rysteboe/orgs","repos_url":"https://api.github.com/users/rysteboe/repos","events_url":"https://api.github.com/users/rysteboe/events{/privacy}","received_events_url":"https://api.github.com/users/rysteboe/received_events","type":"User","site_admin":false},"body":"https://issues.jenkins-ci.org/browse/JENKINS-21670\r\n\r\n@reviewbybees \r\n\r\nEverything about the UX side of this needs work, but it is functional from what testing I could do locally.  Needs to be tested on a larger scale instance and discussions about the UX need to happen.","created_at":"2018-01-09T16:39:24Z","updated_at":"2018-04-24T20:00:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b76b4992b760077fba5e0571097d8765a2e8ee39","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/pulls/132/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/pulls/132/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/issues/132/comments","statuses_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/statuses/cb1f1e44c0e0da1d49c6a9f96e5fe0e3218b9998","head":{"label":"rysteboe:JENKINS-21670","ref":"JENKINS-21670","sha":"cb1f1e44c0e0da1d49c6a9f96e5fe0e3218b9998","user":{"login":"rysteboe","id":1170276,"avatar_url":"https://avatars1.githubusercontent.com/u/1170276?v=4","gravatar_id":"","url":"https://api.github.com/users/rysteboe","html_url":"https://github.com/rysteboe","followers_url":"https://api.github.com/users/rysteboe/followers","following_url":"https://api.github.com/users/rysteboe/following{/other_user}","gists_url":"https://api.github.com/users/rysteboe/gists{/gist_id}","starred_url":"https://api.github.com/users/rysteboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rysteboe/subscriptions","organizations_url":"https://api.github.com/users/rysteboe/orgs","repos_url":"https://api.github.com/users/rysteboe/repos","events_url":"https://api.github.com/users/rysteboe/events{/privacy}","received_events_url":"https://api.github.com/users/rysteboe/received_events","type":"User","site_admin":false},"repo":{"id":102005041,"name":"support-core-plugin","full_name":"rysteboe/support-core-plugin","owner":{"login":"rysteboe","id":1170276,"avatar_url":"https://avatars1.githubusercontent.com/u/1170276?v=4","gravatar_id":"","url":"https://api.github.com/users/rysteboe","html_url":"https://github.com/rysteboe","followers_url":"https://api.github.com/users/rysteboe/followers","following_url":"https://api.github.com/users/rysteboe/following{/other_user}","gists_url":"https://api.github.com/users/rysteboe/gists{/gist_id}","starred_url":"https://api.github.com/users/rysteboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rysteboe/subscriptions","organizations_url":"https://api.github.com/users/rysteboe/orgs","repos_url":"https://api.github.com/users/rysteboe/repos","events_url":"https://api.github.com/users/rysteboe/events{/privacy}","received_events_url":"https://api.github.com/users/rysteboe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rysteboe/support-core-plugin","description":null,"fork":true,"url":"https://api.github.com/repos/rysteboe/support-core-plugin","forks_url":"https://api.github.com/repos/rysteboe/support-core-plugin/forks","keys_url":"https://api.github.com/repos/rysteboe/support-core-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rysteboe/support-core-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rysteboe/support-core-plugin/teams","hooks_url":"https://api.github.com/repos/rysteboe/support-core-plugin/hooks","issue_events_url":"https://api.github.com/repos/rysteboe/support-core-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/rysteboe/support-core-plugin/events","assignees_url":"https://api.github.com/repos/rysteboe/support-core-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/rysteboe/support-core-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/rysteboe/support-core-plugin/tags","blobs_url":"https://api.github.com/repos/rysteboe/support-core-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rysteboe/support-core-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rysteboe/support-core-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/rysteboe/support-core-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rysteboe/support-core-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/rysteboe/support-core-plugin/languages","stargazers_url":"https://api.github.com/repos/rysteboe/support-core-plugin/stargazers","contributors_url":"https://api.github.com/repos/rysteboe/support-core-plugin/contributors","subscribers_url":"https://api.github.com/repos/rysteboe/support-core-plugin/subscribers","subscription_url":"https://api.github.com/repos/rysteboe/support-core-plugin/subscription","commits_url":"https://api.github.com/repos/rysteboe/support-core-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/rysteboe/support-core-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/rysteboe/support-core-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/rysteboe/support-core-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/rysteboe/support-core-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/rysteboe/support-core-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rysteboe/support-core-plugin/merges","archive_url":"https://api.github.com/repos/rysteboe/support-core-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rysteboe/support-core-plugin/downloads","issues_url":"https://api.github.com/repos/rysteboe/support-core-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/rysteboe/support-core-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/rysteboe/support-core-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/rysteboe/support-core-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rysteboe/support-core-plugin/labels{/name}","releases_url":"https://api.github.com/repos/rysteboe/support-core-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/rysteboe/support-core-plugin/deployments","created_at":"2017-08-31T13:44:03Z","updated_at":"2017-08-31T13:44:04Z","pushed_at":"2018-03-20T18:32:20Z","git_url":"git://github.com/rysteboe/support-core-plugin.git","ssh_url":"git@github.com:rysteboe/support-core-plugin.git","clone_url":"https://github.com/rysteboe/support-core-plugin.git","svn_url":"https://github.com/rysteboe/support-core-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Support+Core+Plugin","size":944,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"bc37791ee0b28df92b507b8885a808f1d74d2040","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars0.githubusercontent.com/u/107424?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":13830109,"name":"support-core-plugin","full_name":"jenkinsci/support-core-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars0.githubusercontent.com/u/107424?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/support-core-plugin","description":null,"fork":false,"url":"https://api.github.com/repos/jenkinsci/support-core-plugin","forks_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/support-core-plugin/deployments","created_at":"2013-10-24T11:18:45Z","updated_at":"2018-04-19T18:00:47Z","pushed_at":"2018-04-19T18:00:45Z","git_url":"git://github.com/jenkinsci/support-core-plugin.git","ssh_url":"git@github.com:jenkinsci/support-core-plugin.git","clone_url":"https://github.com/jenkinsci/support-core-plugin.git","svn_url":"https://github.com/jenkinsci/support-core-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Support+Core+Plugin","size":892,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":42,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":42,"open_issues":8,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/support-core-plugin/pulls/132"},"html":{"href":"https://github.com/jenkinsci/support-core-plugin/pull/132"},"issue":{"href":"https://api.github.com/repos/jenkinsci/support-core-plugin/issues/132"},"comments":{"href":"https://api.github.com/repos/jenkinsci/support-core-plugin/issues/132/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/support-core-plugin/pulls/132/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/support-core-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/support-core-plugin/pulls/132/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/support-core-plugin/statuses/cb1f1e44c0e0da1d49c6a9f96e5fe0e3218b9998"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jvz"}}