{"action":"opened","number":1463,"pull_request":{"url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/pulls/1463","id":86394208,"html_url":"https://github.com/redhat-developer/developers.redhat.com/pull/1463","diff_url":"https://github.com/redhat-developer/developers.redhat.com/pull/1463.diff","patch_url":"https://github.com/redhat-developer/developers.redhat.com/pull/1463.patch","issue_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/1463","number":1463,"state":"open","locked":false,"title":"FIXES DEVELOPER-3538 (lots of url_aliases)","user":{"login":"LightGuard","id":29971,"avatar_url":"https://avatars.githubusercontent.com/u/29971?v=3","gravatar_id":"","url":"https://api.github.com/users/LightGuard","html_url":"https://github.com/LightGuard","followers_url":"https://api.github.com/users/LightGuard/followers","following_url":"https://api.github.com/users/LightGuard/following{/other_user}","gists_url":"https://api.github.com/users/LightGuard/gists{/gist_id}","starred_url":"https://api.github.com/users/LightGuard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LightGuard/subscriptions","organizations_url":"https://api.github.com/users/LightGuard/orgs","repos_url":"https://api.github.com/users/LightGuard/repos","events_url":"https://api.github.com/users/LightGuard/events{/privacy}","received_events_url":"https://api.github.com/users/LightGuard/received_events","type":"User","site_admin":false},"body":"See https://issues.jboss.org/browse/DEVELOPER-3538 for more information.\r\n\r\nThis addresses content pages (note things like video pages and some\r\nresource pages will still always be updated) going forward. They will\r\nnot be updated unless the source is newer than what's already within\r\nDrupal.\r\n\r\nTo mitigate the extraneous aliases we'll need to run the following SQL\r\non the production database:\r\n\r\n```\r\nCREATE TEMPORARY TABLE tmp_alias\r\n  SELECT pid, source, alias\r\n  FROM url_alias\r\n  WHERE url_alias.pid <> (SELECT MAX(pid)\r\n                          FROM url_alias AS inner_alias\r\n                          WHERE inner_alias.alias = url_alias.alias);\r\n\r\nDELETE url_alias\r\nFROM url_alias\r\nINNER JOIN tmp_alias\r\nON url_alias.pid = tmp_alias.pid\r\n```","created_at":"2016-09-22T18:55:42Z","updated_at":"2016-09-22T18:55:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/pulls/1463/commits","review_comments_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/pulls/1463/comments","review_comment_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/1463/comments","statuses_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/statuses/5d3fd5dce126c3dcf03526e14902ee055cb2ab6b","head":{"label":"LightGuard:feature/DEVELOPER-3538","ref":"feature/DEVELOPER-3538","sha":"5d3fd5dce126c3dcf03526e14902ee055cb2ab6b","user":{"login":"LightGuard","id":29971,"avatar_url":"https://avatars.githubusercontent.com/u/29971?v=3","gravatar_id":"","url":"https://api.github.com/users/LightGuard","html_url":"https://github.com/LightGuard","followers_url":"https://api.github.com/users/LightGuard/followers","following_url":"https://api.github.com/users/LightGuard/following{/other_user}","gists_url":"https://api.github.com/users/LightGuard/gists{/gist_id}","starred_url":"https://api.github.com/users/LightGuard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LightGuard/subscriptions","organizations_url":"https://api.github.com/users/LightGuard/orgs","repos_url":"https://api.github.com/users/LightGuard/repos","events_url":"https://api.github.com/users/LightGuard/events{/privacy}","received_events_url":"https://api.github.com/users/LightGuard/received_events","type":"User","site_admin":false},"repo":{"id":38765000,"name":"developers.redhat.com","full_name":"LightGuard/developers.redhat.com","owner":{"login":"LightGuard","id":29971,"avatar_url":"https://avatars.githubusercontent.com/u/29971?v=3","gravatar_id":"","url":"https://api.github.com/users/LightGuard","html_url":"https://github.com/LightGuard","followers_url":"https://api.github.com/users/LightGuard/followers","following_url":"https://api.github.com/users/LightGuard/following{/other_user}","gists_url":"https://api.github.com/users/LightGuard/gists{/gist_id}","starred_url":"https://api.github.com/users/LightGuard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LightGuard/subscriptions","organizations_url":"https://api.github.com/users/LightGuard/orgs","repos_url":"https://api.github.com/users/LightGuard/repos","events_url":"https://api.github.com/users/LightGuard/events{/privacy}","received_events_url":"https://api.github.com/users/LightGuard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LightGuard/developers.redhat.com","description":"Sources for developer.redhat.com","fork":true,"url":"https://api.github.com/repos/LightGuard/developers.redhat.com","forks_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/forks","keys_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/teams","hooks_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/hooks","issue_events_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/issues/events{/number}","events_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/events","assignees_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/assignees{/user}","branches_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/branches{/branch}","tags_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/tags","blobs_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/statuses/{sha}","languages_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/languages","stargazers_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/stargazers","contributors_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/contributors","subscribers_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/subscribers","subscription_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/subscription","commits_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/contents/{+path}","compare_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/merges","archive_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/downloads","issues_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/issues{/number}","pulls_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/pulls{/number}","milestones_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/milestones{/number}","notifications_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/labels{/name}","releases_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/releases{/id}","deployments_url":"https://api.github.com/repos/LightGuard/developers.redhat.com/deployments","created_at":"2015-07-08T16:10:40Z","updated_at":"2016-03-16T23:21:26Z","pushed_at":"2016-09-22T18:55:06Z","git_url":"git://github.com/LightGuard/developers.redhat.com.git","ssh_url":"git@github.com:LightGuard/developers.redhat.com.git","clone_url":"https://github.com/LightGuard/developers.redhat.com.git","svn_url":"https://github.com/LightGuard/developers.redhat.com","homepage":null,"size":140916,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"redhat-developer:master","ref":"master","sha":"6a4cdba1a19f12a8bdb20545d6758ca20e153bd6","user":{"login":"redhat-developer","id":11033755,"avatar_url":"https://avatars.githubusercontent.com/u/11033755?v=3","gravatar_id":"","url":"https://api.github.com/users/redhat-developer","html_url":"https://github.com/redhat-developer","followers_url":"https://api.github.com/users/redhat-developer/followers","following_url":"https://api.github.com/users/redhat-developer/following{/other_user}","gists_url":"https://api.github.com/users/redhat-developer/gists{/gist_id}","starred_url":"https://api.github.com/users/redhat-developer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redhat-developer/subscriptions","organizations_url":"https://api.github.com/users/redhat-developer/orgs","repos_url":"https://api.github.com/users/redhat-developer/repos","events_url":"https://api.github.com/users/redhat-developer/events{/privacy}","received_events_url":"https://api.github.com/users/redhat-developer/received_events","type":"Organization","site_admin":false},"repo":{"id":32529252,"name":"developers.redhat.com","full_name":"redhat-developer/developers.redhat.com","owner":{"login":"redhat-developer","id":11033755,"avatar_url":"https://avatars.githubusercontent.com/u/11033755?v=3","gravatar_id":"","url":"https://api.github.com/users/redhat-developer","html_url":"https://github.com/redhat-developer","followers_url":"https://api.github.com/users/redhat-developer/followers","following_url":"https://api.github.com/users/redhat-developer/following{/other_user}","gists_url":"https://api.github.com/users/redhat-developer/gists{/gist_id}","starred_url":"https://api.github.com/users/redhat-developer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redhat-developer/subscriptions","organizations_url":"https://api.github.com/users/redhat-developer/orgs","repos_url":"https://api.github.com/users/redhat-developer/repos","events_url":"https://api.github.com/users/redhat-developer/events{/privacy}","received_events_url":"https://api.github.com/users/redhat-developer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/redhat-developer/developers.redhat.com","description":"Sources for developer.redhat.com","fork":false,"url":"https://api.github.com/repos/redhat-developer/developers.redhat.com","forks_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/forks","keys_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/teams","hooks_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/hooks","issue_events_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/events{/number}","events_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/events","assignees_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/assignees{/user}","branches_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/branches{/branch}","tags_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/tags","blobs_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/statuses/{sha}","languages_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/languages","stargazers_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/stargazers","contributors_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/contributors","subscribers_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/subscribers","subscription_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/subscription","commits_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/contents/{+path}","compare_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/merges","archive_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/downloads","issues_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues{/number}","pulls_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/pulls{/number}","milestones_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/milestones{/number}","notifications_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/labels{/name}","releases_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/releases{/id}","deployments_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/deployments","created_at":"2015-03-19T15:19:25Z","updated_at":"2016-09-18T20:55:56Z","pushed_at":"2016-09-22T17:49:31Z","git_url":"git://github.com/redhat-developer/developers.redhat.com.git","ssh_url":"git@github.com:redhat-developer/developers.redhat.com.git","clone_url":"https://github.com/redhat-developer/developers.redhat.com.git","svn_url":"https://github.com/redhat-developer/developers.redhat.com","homepage":null,"size":143997,"stargazers_count":26,"watchers_count":26,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":57,"mirror_url":null,"open_issues_count":10,"forks":57,"open_issues":10,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/redhat-developer/developers.redhat.com/pulls/1463"},"html":{"href":"https://github.com/redhat-developer/developers.redhat.com/pull/1463"},"issue":{"href":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/1463"},"comments":{"href":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/1463/comments"},"review_comments":{"href":"https://api.github.com/repos/redhat-developer/developers.redhat.com/pulls/1463/comments"},"review_comment":{"href":"https://api.github.com/repos/redhat-developer/developers.redhat.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/redhat-developer/developers.redhat.com/pulls/1463/commits"},"statuses":{"href":"https://api.github.com/repos/redhat-developer/developers.redhat.com/statuses/5d3fd5dce126c3dcf03526e14902ee055cb2ab6b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":91,"deletions":17,"changed_files":2}}
{"actor":{"display_login":"LightGuard"}}