{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/whitehall/pulls/comments/91967119","pull_request_review_id":12476226,"id":91967119,"diff_hunk":"@@ -0,0 +1,54 @@\n+# Migration sync checks\n+\n+As part of the migration process a 'sync check' is created for each format.\n+This allows us to test that the content store representation of a content item\n+is in the correct state prior to switching rendering over from Whitehall to\n+government-frontend.\n+\n+## Creating a sync check \n+\n+In general this involves the creation of a format specific file within\n+lib/sync)checks/formats. A sync check specifies tests that should run against","path":"docs/migration_sync_checks.md","position":11,"original_position":11,"commit_id":"3e6acbab3ebfe6178a07944a30510d835680dcd9","original_commit_id":"3e6acbab3ebfe6178a07944a30510d835680dcd9","user":{"login":"andrewgarner","id":2715,"avatar_url":"https://avatars.githubusercontent.com/u/2715?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewgarner","html_url":"https://github.com/andrewgarner","followers_url":"https://api.github.com/users/andrewgarner/followers","following_url":"https://api.github.com/users/andrewgarner/following{/other_user}","gists_url":"https://api.github.com/users/andrewgarner/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewgarner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewgarner/subscriptions","organizations_url":"https://api.github.com/users/andrewgarner/orgs","repos_url":"https://api.github.com/users/andrewgarner/repos","events_url":"https://api.github.com/users/andrewgarner/events{/privacy}","received_events_url":"https://api.github.com/users/andrewgarner/received_events","type":"User","site_admin":false},"body":"\"lib/sync/checks/formats\"","created_at":"2016-12-12T15:23:11Z","updated_at":"2016-12-12T15:24:26Z","html_url":"https://github.com/alphagov/whitehall/pull/2924#discussion_r91967119","pull_request_url":"https://api.github.com/repos/alphagov/whitehall/pulls/2924","_links":{"self":{"href":"https://api.github.com/repos/alphagov/whitehall/pulls/comments/91967119"},"html":{"href":"https://github.com/alphagov/whitehall/pull/2924#discussion_r91967119"},"pull_request":{"href":"https://api.github.com/repos/alphagov/whitehall/pulls/2924"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/whitehall/pulls/2924","id":97571055,"html_url":"https://github.com/alphagov/whitehall/pull/2924","diff_url":"https://github.com/alphagov/whitehall/pull/2924.diff","patch_url":"https://github.com/alphagov/whitehall/pull/2924.patch","issue_url":"https://api.github.com/repos/alphagov/whitehall/issues/2924","number":2924,"state":"open","locked":false,"title":"Add sync check docs","user":{"login":"gpeng","id":5216,"avatar_url":"https://avatars.githubusercontent.com/u/5216?v=3","gravatar_id":"","url":"https://api.github.com/users/gpeng","html_url":"https://github.com/gpeng","followers_url":"https://api.github.com/users/gpeng/followers","following_url":"https://api.github.com/users/gpeng/following{/other_user}","gists_url":"https://api.github.com/users/gpeng/gists{/gist_id}","starred_url":"https://api.github.com/users/gpeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpeng/subscriptions","organizations_url":"https://api.github.com/users/gpeng/orgs","repos_url":"https://api.github.com/users/gpeng/repos","events_url":"https://api.github.com/users/gpeng/events{/privacy}","received_events_url":"https://api.github.com/users/gpeng/received_events","type":"User","site_admin":false},"body":"Add some general information about creating and running sync checks.\r\n\r\n[Trello](https://trello.com/c/QjjEZ6Dc/502-ensure-team-can-run-and-re-run-sync-checks-against-a-format-in-production-medium)","created_at":"2016-12-12T15:16:59Z","updated_at":"2016-12-12T15:24:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f777a75b740f1ee5721793d93518d14038b1b6cb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/whitehall/pulls/2924/commits","review_comments_url":"https://api.github.com/repos/alphagov/whitehall/pulls/2924/comments","review_comment_url":"https://api.github.com/repos/alphagov/whitehall/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/whitehall/issues/2924/comments","statuses_url":"https://api.github.com/repos/alphagov/whitehall/statuses/3e6acbab3ebfe6178a07944a30510d835680dcd9","head":{"label":"alphagov:add_sync_check_readme","ref":"add_sync_check_readme","sha":"3e6acbab3ebfe6178a07944a30510d835680dcd9","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":2416064,"name":"whitehall","full_name":"alphagov/whitehall","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/whitehall","description":"Rails application that publishes and renders most pages on www.gov.uk/government","fork":false,"url":"https://api.github.com/repos/alphagov/whitehall","forks_url":"https://api.github.com/repos/alphagov/whitehall/forks","keys_url":"https://api.github.com/repos/alphagov/whitehall/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/whitehall/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/whitehall/teams","hooks_url":"https://api.github.com/repos/alphagov/whitehall/hooks","issue_events_url":"https://api.github.com/repos/alphagov/whitehall/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/whitehall/events","assignees_url":"https://api.github.com/repos/alphagov/whitehall/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/whitehall/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/whitehall/tags","blobs_url":"https://api.github.com/repos/alphagov/whitehall/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/whitehall/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/whitehall/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/whitehall/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/whitehall/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/whitehall/languages","stargazers_url":"https://api.github.com/repos/alphagov/whitehall/stargazers","contributors_url":"https://api.github.com/repos/alphagov/whitehall/contributors","subscribers_url":"https://api.github.com/repos/alphagov/whitehall/subscribers","subscription_url":"https://api.github.com/repos/alphagov/whitehall/subscription","commits_url":"https://api.github.com/repos/alphagov/whitehall/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/whitehall/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/whitehall/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/whitehall/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/whitehall/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/whitehall/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/whitehall/merges","archive_url":"https://api.github.com/repos/alphagov/whitehall/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/whitehall/downloads","issues_url":"https://api.github.com/repos/alphagov/whitehall/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/whitehall/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/whitehall/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/whitehall/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/whitehall/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/whitehall/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/whitehall/deployments","created_at":"2011-09-19T15:10:49Z","updated_at":"2016-12-10T14:33:16Z","pushed_at":"2016-12-12T15:16:59Z","git_url":"git://github.com/alphagov/whitehall.git","ssh_url":"git@github.com:alphagov/whitehall.git","clone_url":"https://github.com/alphagov/whitehall.git","svn_url":"https://github.com/alphagov/whitehall","homepage":"","size":247985,"stargazers_count":376,"watchers_count":376,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":148,"mirror_url":null,"open_issues_count":12,"forks":148,"open_issues":12,"watchers":376,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"2159c07081ab70ed21d1a5fe3621a1e1fc785e7d","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":2416064,"name":"whitehall","full_name":"alphagov/whitehall","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/whitehall","description":"Rails application that publishes and renders most pages on www.gov.uk/government","fork":false,"url":"https://api.github.com/repos/alphagov/whitehall","forks_url":"https://api.github.com/repos/alphagov/whitehall/forks","keys_url":"https://api.github.com/repos/alphagov/whitehall/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/whitehall/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/whitehall/teams","hooks_url":"https://api.github.com/repos/alphagov/whitehall/hooks","issue_events_url":"https://api.github.com/repos/alphagov/whitehall/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/whitehall/events","assignees_url":"https://api.github.com/repos/alphagov/whitehall/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/whitehall/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/whitehall/tags","blobs_url":"https://api.github.com/repos/alphagov/whitehall/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/whitehall/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/whitehall/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/whitehall/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/whitehall/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/whitehall/languages","stargazers_url":"https://api.github.com/repos/alphagov/whitehall/stargazers","contributors_url":"https://api.github.com/repos/alphagov/whitehall/contributors","subscribers_url":"https://api.github.com/repos/alphagov/whitehall/subscribers","subscription_url":"https://api.github.com/repos/alphagov/whitehall/subscription","commits_url":"https://api.github.com/repos/alphagov/whitehall/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/whitehall/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/whitehall/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/whitehall/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/whitehall/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/whitehall/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/whitehall/merges","archive_url":"https://api.github.com/repos/alphagov/whitehall/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/whitehall/downloads","issues_url":"https://api.github.com/repos/alphagov/whitehall/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/whitehall/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/whitehall/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/whitehall/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/whitehall/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/whitehall/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/whitehall/deployments","created_at":"2011-09-19T15:10:49Z","updated_at":"2016-12-10T14:33:16Z","pushed_at":"2016-12-12T15:16:59Z","git_url":"git://github.com/alphagov/whitehall.git","ssh_url":"git@github.com:alphagov/whitehall.git","clone_url":"https://github.com/alphagov/whitehall.git","svn_url":"https://github.com/alphagov/whitehall","homepage":"","size":247985,"stargazers_count":376,"watchers_count":376,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":148,"mirror_url":null,"open_issues_count":12,"forks":148,"open_issues":12,"watchers":376,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/whitehall/pulls/2924"},"html":{"href":"https://github.com/alphagov/whitehall/pull/2924"},"issue":{"href":"https://api.github.com/repos/alphagov/whitehall/issues/2924"},"comments":{"href":"https://api.github.com/repos/alphagov/whitehall/issues/2924/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/whitehall/pulls/2924/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/whitehall/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/whitehall/pulls/2924/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/whitehall/statuses/3e6acbab3ebfe6178a07944a30510d835680dcd9"}}}}
{"actor":{"display_login":"andrewgarner"}}