{"action":"closed","number":485,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/485","id":111431325,"html_url":"https://github.com/jenkinsci/git-plugin/pull/485","diff_url":"https://github.com/jenkinsci/git-plugin/pull/485.diff","patch_url":"https://github.com/jenkinsci/git-plugin/pull/485.patch","issue_url":"https://api.github.com/repos/jenkinsci/git-plugin/issues/485","number":485,"state":"closed","locked":false,"title":"Normalize BuildData URL comparisons to reduce duplication","user":{"login":"MarkEWaite","id":156685,"avatar_url":"https://avatars1.githubusercontent.com/u/156685?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkEWaite","html_url":"https://github.com/MarkEWaite","followers_url":"https://api.github.com/users/MarkEWaite/followers","following_url":"https://api.github.com/users/MarkEWaite/following{/other_user}","gists_url":"https://api.github.com/users/MarkEWaite/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkEWaite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkEWaite/subscriptions","organizations_url":"https://api.github.com/users/MarkEWaite/orgs","repos_url":"https://api.github.com/users/MarkEWaite/repos","events_url":"https://api.github.com/users/MarkEWaite/events{/privacy}","received_events_url":"https://api.github.com/users/MarkEWaite/received_events","type":"User","site_admin":false},"body":"BuildData sometimes is unnecessarily duplicated due to trivial differences within the BuildData structure.  This provides tests to show some of those differences, and uses URI.normalize() to attempt to reduce those differences.\r\n\r\n@stephenc, since you wrote the earlier code, I'd like your review before I merge.","created_at":"2017-03-19T00:20:21Z","updated_at":"2017-03-19T01:29:39Z","closed_at":"2017-03-19T01:29:39Z","merged_at":"2017-03-19T01:29:39Z","merge_commit_sha":"6616dc1952b5b8fb0c6fb8c8937f3075aa73da17","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/485/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/485/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/git-plugin/issues/485/comments","statuses_url":"https://api.github.com/repos/jenkinsci/git-plugin/statuses/8f56f017b562c75cab5a5ca356ae06354270ec2a","head":{"label":"MarkEWaite:master-BuildData-similarTo-changes","ref":"master-BuildData-similarTo-changes","sha":"8f56f017b562c75cab5a5ca356ae06354270ec2a","user":{"login":"MarkEWaite","id":156685,"avatar_url":"https://avatars1.githubusercontent.com/u/156685?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkEWaite","html_url":"https://github.com/MarkEWaite","followers_url":"https://api.github.com/users/MarkEWaite/followers","following_url":"https://api.github.com/users/MarkEWaite/following{/other_user}","gists_url":"https://api.github.com/users/MarkEWaite/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkEWaite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkEWaite/subscriptions","organizations_url":"https://api.github.com/users/MarkEWaite/orgs","repos_url":"https://api.github.com/users/MarkEWaite/repos","events_url":"https://api.github.com/users/MarkEWaite/events{/privacy}","received_events_url":"https://api.github.com/users/MarkEWaite/received_events","type":"User","site_admin":false},"repo":{"id":5738469,"name":"git-plugin","full_name":"MarkEWaite/git-plugin","owner":{"login":"MarkEWaite","id":156685,"avatar_url":"https://avatars1.githubusercontent.com/u/156685?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkEWaite","html_url":"https://github.com/MarkEWaite","followers_url":"https://api.github.com/users/MarkEWaite/followers","following_url":"https://api.github.com/users/MarkEWaite/following{/other_user}","gists_url":"https://api.github.com/users/MarkEWaite/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkEWaite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkEWaite/subscriptions","organizations_url":"https://api.github.com/users/MarkEWaite/orgs","repos_url":"https://api.github.com/users/MarkEWaite/repos","events_url":"https://api.github.com/users/MarkEWaite/events{/privacy}","received_events_url":"https://api.github.com/users/MarkEWaite/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MarkEWaite/git-plugin","description":"Jenkins git plugin","fork":true,"url":"https://api.github.com/repos/MarkEWaite/git-plugin","forks_url":"https://api.github.com/repos/MarkEWaite/git-plugin/forks","keys_url":"https://api.github.com/repos/MarkEWaite/git-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarkEWaite/git-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarkEWaite/git-plugin/teams","hooks_url":"https://api.github.com/repos/MarkEWaite/git-plugin/hooks","issue_events_url":"https://api.github.com/repos/MarkEWaite/git-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/MarkEWaite/git-plugin/events","assignees_url":"https://api.github.com/repos/MarkEWaite/git-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/MarkEWaite/git-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/MarkEWaite/git-plugin/tags","blobs_url":"https://api.github.com/repos/MarkEWaite/git-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarkEWaite/git-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarkEWaite/git-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarkEWaite/git-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarkEWaite/git-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/MarkEWaite/git-plugin/languages","stargazers_url":"https://api.github.com/repos/MarkEWaite/git-plugin/stargazers","contributors_url":"https://api.github.com/repos/MarkEWaite/git-plugin/contributors","subscribers_url":"https://api.github.com/repos/MarkEWaite/git-plugin/subscribers","subscription_url":"https://api.github.com/repos/MarkEWaite/git-plugin/subscription","commits_url":"https://api.github.com/repos/MarkEWaite/git-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarkEWaite/git-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarkEWaite/git-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarkEWaite/git-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarkEWaite/git-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/MarkEWaite/git-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarkEWaite/git-plugin/merges","archive_url":"https://api.github.com/repos/MarkEWaite/git-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarkEWaite/git-plugin/downloads","issues_url":"https://api.github.com/repos/MarkEWaite/git-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/MarkEWaite/git-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/MarkEWaite/git-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/MarkEWaite/git-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarkEWaite/git-plugin/labels{/name}","releases_url":"https://api.github.com/repos/MarkEWaite/git-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/MarkEWaite/git-plugin/deployments","created_at":"2012-09-09T15:00:10Z","updated_at":"2016-10-29T16:20:01Z","pushed_at":"2017-03-19T00:29:01Z","git_url":"git://github.com/MarkEWaite/git-plugin.git","ssh_url":"git@github.com:MarkEWaite/git-plugin.git","clone_url":"https://github.com/MarkEWaite/git-plugin.git","svn_url":"https://github.com/MarkEWaite/git-plugin","homepage":"http://wiki.jenkins-ci.org/display/JENKINS/Git Plugin","size":4991,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"jenkinsci:master","ref":"master","sha":"16ffdf98fadd5fc9750b339ffb1061ec5d11d493","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars3.githubusercontent.com/u/107424?v=3","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":612587,"name":"git-plugin","full_name":"jenkinsci/git-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars3.githubusercontent.com/u/107424?v=3","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/git-plugin","description":"Git plugin for Jenkins","fork":true,"url":"https://api.github.com/repos/jenkinsci/git-plugin","forks_url":"https://api.github.com/repos/jenkinsci/git-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/git-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/git-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/git-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/git-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/git-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/git-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/git-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/git-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/git-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/git-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/git-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/git-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/git-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/git-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/git-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/git-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/git-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/git-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/git-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/git-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/git-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/git-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/git-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/git-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/git-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/git-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/git-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/git-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/git-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/git-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/git-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/git-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/git-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/git-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/git-plugin/deployments","created_at":"2010-04-15T21:07:21Z","updated_at":"2017-03-10T22:43:33Z","pushed_at":"2017-03-19T01:29:39Z","git_url":"git://github.com/jenkinsci/git-plugin.git","ssh_url":"git@github.com:jenkinsci/git-plugin.git","clone_url":"https://github.com/jenkinsci/git-plugin.git","svn_url":"https://github.com/jenkinsci/git-plugin","homepage":"http://wiki.jenkins-ci.org/display/JENKINS/Git Plugin","size":5056,"stargazers_count":428,"watchers_count":428,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":618,"mirror_url":null,"open_issues_count":65,"forks":618,"open_issues":65,"watchers":428,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/485"},"html":{"href":"https://github.com/jenkinsci/git-plugin/pull/485"},"issue":{"href":"https://api.github.com/repos/jenkinsci/git-plugin/issues/485"},"comments":{"href":"https://api.github.com/repos/jenkinsci/git-plugin/issues/485/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/485/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/485/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/git-plugin/statuses/8f56f017b562c75cab5a5ca356ae06354270ec2a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"MarkEWaite","id":156685,"avatar_url":"https://avatars1.githubusercontent.com/u/156685?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkEWaite","html_url":"https://github.com/MarkEWaite","followers_url":"https://api.github.com/users/MarkEWaite/followers","following_url":"https://api.github.com/users/MarkEWaite/following{/other_user}","gists_url":"https://api.github.com/users/MarkEWaite/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkEWaite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkEWaite/subscriptions","organizations_url":"https://api.github.com/users/MarkEWaite/orgs","repos_url":"https://api.github.com/users/MarkEWaite/repos","events_url":"https://api.github.com/users/MarkEWaite/events{/privacy}","received_events_url":"https://api.github.com/users/MarkEWaite/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":103,"deletions":25,"changed_files":2}}
{"actor":{"display_login":"MarkEWaite"}}