{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/publisher/pulls/comments/69709070","id":69709070,"diff_hunk":"@@ -0,0 +1,43 @@\n+# Linkables","path":"lib/tagging/linkables.rb","position":1,"original_position":1,"commit_id":"295bac11d5d45e69e82b3f22c49468be636cbc35","original_commit_id":"12ff737821f6ca14531bdc1a065ab545942ffb90","user":{"login":"MatMoore","id":87579,"avatar_url":"https://avatars.githubusercontent.com/u/87579?v=3","gravatar_id":"","url":"https://api.github.com/users/MatMoore","html_url":"https://github.com/MatMoore","followers_url":"https://api.github.com/users/MatMoore/followers","following_url":"https://api.github.com/users/MatMoore/following{/other_user}","gists_url":"https://api.github.com/users/MatMoore/gists{/gist_id}","starred_url":"https://api.github.com/users/MatMoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatMoore/subscriptions","organizations_url":"https://api.github.com/users/MatMoore/orgs","repos_url":"https://api.github.com/users/MatMoore/repos","events_url":"https://api.github.com/users/MatMoore/events{/privacy}","received_events_url":"https://api.github.com/users/MatMoore/received_events","type":"User","site_admin":false},"body":"Reuse. ♻️  I'm just concerned we have a lot of repeated code in the various publishing apps that will never get cleaned up, and it all adds maintenance overhead.","created_at":"2016-07-06T10:42:21Z","updated_at":"2016-07-06T10:42:21Z","html_url":"https://github.com/alphagov/publisher/pull/486#discussion_r69709070","pull_request_url":"https://api.github.com/repos/alphagov/publisher/pulls/486","_links":{"self":{"href":"https://api.github.com/repos/alphagov/publisher/pulls/comments/69709070"},"html":{"href":"https://github.com/alphagov/publisher/pull/486#discussion_r69709070"},"pull_request":{"href":"https://api.github.com/repos/alphagov/publisher/pulls/486"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/publisher/pulls/486","id":75477292,"html_url":"https://github.com/alphagov/publisher/pull/486","diff_url":"https://github.com/alphagov/publisher/pull/486.diff","patch_url":"https://github.com/alphagov/publisher/pull/486.patch","issue_url":"https://api.github.com/repos/alphagov/publisher/issues/486","number":486,"state":"open","locked":false,"title":"Use publishing api for tagging","user":{"login":"Davidslv","id":136777,"avatar_url":"https://avatars.githubusercontent.com/u/136777?v=3","gravatar_id":"","url":"https://api.github.com/users/Davidslv","html_url":"https://github.com/Davidslv","followers_url":"https://api.github.com/users/Davidslv/followers","following_url":"https://api.github.com/users/Davidslv/following{/other_user}","gists_url":"https://api.github.com/users/Davidslv/gists{/gist_id}","starred_url":"https://api.github.com/users/Davidslv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Davidslv/subscriptions","organizations_url":"https://api.github.com/users/Davidslv/orgs","repos_url":"https://api.github.com/users/Davidslv/repos","events_url":"https://api.github.com/users/Davidslv/events{/privacy}","received_events_url":"https://api.github.com/users/Davidslv/received_events","type":"User","site_admin":false},"body":"- Fixed tests to handle the new tagging tab ui\r\n- Fixed bug where the success message was not displayed for tag update\r\n- Split mainstream browse pages ui into parent/breadcrumb and browse\r\n  pages.\r\n- Coalesce parent and topics into topics.\r\n- Don't call patch_links with content from the shared db any more\r\n- Fix tagging to linkables for new template\r\n- Added tests to see that we preserve links when we mutate\r\n- Use copy from content-tagger\r\n\r\nThis has been a team effort from: @benhyland @tijmenb and @davidslv\r\nTrello: https://trello.com/c/iafUZESJ/681-make-mainstream-publisher-read-and-write-from-publishing-api","created_at":"2016-06-28T13:31:24Z","updated_at":"2016-07-06T10:42:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"769c1466574f059a696ad20305558e7849aba3c8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/publisher/pulls/486/commits","review_comments_url":"https://api.github.com/repos/alphagov/publisher/pulls/486/comments","review_comment_url":"https://api.github.com/repos/alphagov/publisher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/publisher/issues/486/comments","statuses_url":"https://api.github.com/repos/alphagov/publisher/statuses/295bac11d5d45e69e82b3f22c49468be636cbc35","head":{"label":"alphagov:use-publishing-api-for-tagging-take-2","ref":"use-publishing-api-for-tagging-take-2","sha":"295bac11d5d45e69e82b3f22c49468be636cbc35","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":1996077,"name":"publisher","full_name":"alphagov/publisher","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/publisher","description":"The publishing tool for mainstream content on GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/publisher","forks_url":"https://api.github.com/repos/alphagov/publisher/forks","keys_url":"https://api.github.com/repos/alphagov/publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/publisher/teams","hooks_url":"https://api.github.com/repos/alphagov/publisher/hooks","issue_events_url":"https://api.github.com/repos/alphagov/publisher/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/publisher/events","assignees_url":"https://api.github.com/repos/alphagov/publisher/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/publisher/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/publisher/tags","blobs_url":"https://api.github.com/repos/alphagov/publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/publisher/languages","stargazers_url":"https://api.github.com/repos/alphagov/publisher/stargazers","contributors_url":"https://api.github.com/repos/alphagov/publisher/contributors","subscribers_url":"https://api.github.com/repos/alphagov/publisher/subscribers","subscription_url":"https://api.github.com/repos/alphagov/publisher/subscription","commits_url":"https://api.github.com/repos/alphagov/publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/publisher/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/publisher/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/publisher/merges","archive_url":"https://api.github.com/repos/alphagov/publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/publisher/downloads","issues_url":"https://api.github.com/repos/alphagov/publisher/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/publisher/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/publisher/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/publisher/deployments","created_at":"2011-07-04T15:35:13Z","updated_at":"2016-05-05T14:39:24Z","pushed_at":"2016-07-06T09:24:41Z","git_url":"git://github.com/alphagov/publisher.git","ssh_url":"git@github.com:alphagov/publisher.git","clone_url":"https://github.com/alphagov/publisher.git","svn_url":"https://github.com/alphagov/publisher","homepage":"","size":7254,"stargazers_count":26,"watchers_count":26,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":3,"forks":22,"open_issues":3,"watchers":26,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"a12712c159cf75214ac32fc3a6b49a68e92033da","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":1996077,"name":"publisher","full_name":"alphagov/publisher","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/publisher","description":"The publishing tool for mainstream content on GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/publisher","forks_url":"https://api.github.com/repos/alphagov/publisher/forks","keys_url":"https://api.github.com/repos/alphagov/publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/publisher/teams","hooks_url":"https://api.github.com/repos/alphagov/publisher/hooks","issue_events_url":"https://api.github.com/repos/alphagov/publisher/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/publisher/events","assignees_url":"https://api.github.com/repos/alphagov/publisher/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/publisher/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/publisher/tags","blobs_url":"https://api.github.com/repos/alphagov/publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/publisher/languages","stargazers_url":"https://api.github.com/repos/alphagov/publisher/stargazers","contributors_url":"https://api.github.com/repos/alphagov/publisher/contributors","subscribers_url":"https://api.github.com/repos/alphagov/publisher/subscribers","subscription_url":"https://api.github.com/repos/alphagov/publisher/subscription","commits_url":"https://api.github.com/repos/alphagov/publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/publisher/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/publisher/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/publisher/merges","archive_url":"https://api.github.com/repos/alphagov/publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/publisher/downloads","issues_url":"https://api.github.com/repos/alphagov/publisher/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/publisher/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/publisher/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/publisher/deployments","created_at":"2011-07-04T15:35:13Z","updated_at":"2016-05-05T14:39:24Z","pushed_at":"2016-07-06T09:24:41Z","git_url":"git://github.com/alphagov/publisher.git","ssh_url":"git@github.com:alphagov/publisher.git","clone_url":"https://github.com/alphagov/publisher.git","svn_url":"https://github.com/alphagov/publisher","homepage":"","size":7254,"stargazers_count":26,"watchers_count":26,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":3,"forks":22,"open_issues":3,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/publisher/pulls/486"},"html":{"href":"https://github.com/alphagov/publisher/pull/486"},"issue":{"href":"https://api.github.com/repos/alphagov/publisher/issues/486"},"comments":{"href":"https://api.github.com/repos/alphagov/publisher/issues/486/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/publisher/pulls/486/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/publisher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/publisher/pulls/486/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/publisher/statuses/295bac11d5d45e69e82b3f22c49468be636cbc35"}}}}
{"actor":{"display_login":"MatMoore"}}