{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/transition/pulls/comments/29321218","id":29321218,"diff_hunk":"@@ -13,6 +13,7 @@\n \n     describe '#import!' do\n       let(:ago)  { build :organisation, whitehall_slug: 'attorney-generals-office' }\n+      let!(:gds)  { build :organisation, whitehall_slug: 'government-digital-service' }","path":"spec/lib/transition/import/site_yaml_file_spec.rb","position":null,"original_position":4,"commit_id":"ef7e4980cbe5f141e3086ba0932b61709bd385bc","original_commit_id":"b72cdda82ce37457a4fcb08003fd53c42421f3f1","user":{"login":"jamiecobbett","id":93739,"avatar_url":"https://avatars.githubusercontent.com/u/93739?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiecobbett","html_url":"https://github.com/jamiecobbett","followers_url":"https://api.github.com/users/jamiecobbett/followers","following_url":"https://api.github.com/users/jamiecobbett/following{/other_user}","gists_url":"https://api.github.com/users/jamiecobbett/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiecobbett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiecobbett/subscriptions","organizations_url":"https://api.github.com/users/jamiecobbett/orgs","repos_url":"https://api.github.com/users/jamiecobbett/repos","events_url":"https://api.github.com/users/jamiecobbett/events{/privacy}","received_events_url":"https://api.github.com/users/jamiecobbett/received_events","type":"User","site_admin":false},"body":"Correct - I added it before using a different organisation instead. Rebased.","created_at":"2015-04-29T09:28:07Z","updated_at":"2015-04-29T09:28:07Z","html_url":"https://github.com/alphagov/transition/pull/490#discussion_r29321218","pull_request_url":"https://api.github.com/repos/alphagov/transition/pulls/490","_links":{"self":{"href":"https://api.github.com/repos/alphagov/transition/pulls/comments/29321218"},"html":{"href":"https://github.com/alphagov/transition/pull/490#discussion_r29321218"},"pull_request":{"href":"https://api.github.com/repos/alphagov/transition/pulls/490"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/transition/pulls/490","id":34284231,"html_url":"https://github.com/alphagov/transition/pull/490","diff_url":"https://github.com/alphagov/transition/pull/490.diff","patch_url":"https://github.com/alphagov/transition/pull/490.patch","issue_url":"https://api.github.com/repos/alphagov/transition/issues/490","number":490,"state":"open","locked":false,"title":"Remove fake businesslink and directgov orgs","user":{"login":"jamiecobbett","id":93739,"avatar_url":"https://avatars.githubusercontent.com/u/93739?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiecobbett","html_url":"https://github.com/jamiecobbett","followers_url":"https://api.github.com/users/jamiecobbett/followers","following_url":"https://api.github.com/users/jamiecobbett/following{/other_user}","gists_url":"https://api.github.com/users/jamiecobbett/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiecobbett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiecobbett/subscriptions","organizations_url":"https://api.github.com/users/jamiecobbett/orgs","repos_url":"https://api.github.com/users/jamiecobbett/repos","events_url":"https://api.github.com/users/jamiecobbett/events{/privacy}","received_events_url":"https://api.github.com/users/jamiecobbett/received_events","type":"User","site_admin":false},"body":"The Directgov and Businesslink organisations were a fudge to provide a separate\r\nlist of sites.\r\n\r\nNow that all of the sites associated with these fake organisations have been\r\nmoved to other organisations, we can remove this complexity.\r\n\r\nBy doing this, we make the code simpler and we make it easier to switch to\r\nusing content IDs as the primary key for organisations.","created_at":"2015-04-28T16:18:14Z","updated_at":"2015-04-29T09:28:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab08c78830c675e3927ce074aa2575d5b6588f5f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/transition/pulls/490/commits","review_comments_url":"https://api.github.com/repos/alphagov/transition/pulls/490/comments","review_comment_url":"https://api.github.com/repos/alphagov/transition/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/transition/issues/490/comments","statuses_url":"https://api.github.com/repos/alphagov/transition/statuses/ef7e4980cbe5f141e3086ba0932b61709bd385bc","head":{"label":"alphagov:remove_fake_businesslink_and_directgov_orgs","ref":"remove_fake_businesslink_and_directgov_orgs","sha":"ef7e4980cbe5f141e3086ba0932b61709bd385bc","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":12729833,"name":"transition","full_name":"alphagov/transition","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/transition","description":"Managing mappings (eg redirects) for sites moving to GOV.UK.","fork":false,"url":"https://api.github.com/repos/alphagov/transition","forks_url":"https://api.github.com/repos/alphagov/transition/forks","keys_url":"https://api.github.com/repos/alphagov/transition/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/transition/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/transition/teams","hooks_url":"https://api.github.com/repos/alphagov/transition/hooks","issue_events_url":"https://api.github.com/repos/alphagov/transition/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/transition/events","assignees_url":"https://api.github.com/repos/alphagov/transition/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/transition/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/transition/tags","blobs_url":"https://api.github.com/repos/alphagov/transition/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/transition/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/transition/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/transition/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/transition/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/transition/languages","stargazers_url":"https://api.github.com/repos/alphagov/transition/stargazers","contributors_url":"https://api.github.com/repos/alphagov/transition/contributors","subscribers_url":"https://api.github.com/repos/alphagov/transition/subscribers","subscription_url":"https://api.github.com/repos/alphagov/transition/subscription","commits_url":"https://api.github.com/repos/alphagov/transition/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/transition/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/transition/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/transition/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/transition/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/transition/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/transition/merges","archive_url":"https://api.github.com/repos/alphagov/transition/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/transition/downloads","issues_url":"https://api.github.com/repos/alphagov/transition/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/transition/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/transition/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/transition/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/transition/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/transition/releases{/id}","created_at":"2013-09-10T13:11:17Z","updated_at":"2015-04-24T14:40:25Z","pushed_at":"2015-04-29T09:27:38Z","git_url":"git://github.com/alphagov/transition.git","ssh_url":"git@github.com:alphagov/transition.git","clone_url":"https://github.com/alphagov/transition.git","svn_url":"https://github.com/alphagov/transition","homepage":null,"size":12716,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"a23e7b89e1beddc76555d37dab5feaf64b710319","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":12729833,"name":"transition","full_name":"alphagov/transition","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/transition","description":"Managing mappings (eg redirects) for sites moving to GOV.UK.","fork":false,"url":"https://api.github.com/repos/alphagov/transition","forks_url":"https://api.github.com/repos/alphagov/transition/forks","keys_url":"https://api.github.com/repos/alphagov/transition/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/transition/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/transition/teams","hooks_url":"https://api.github.com/repos/alphagov/transition/hooks","issue_events_url":"https://api.github.com/repos/alphagov/transition/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/transition/events","assignees_url":"https://api.github.com/repos/alphagov/transition/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/transition/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/transition/tags","blobs_url":"https://api.github.com/repos/alphagov/transition/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/transition/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/transition/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/transition/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/transition/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/transition/languages","stargazers_url":"https://api.github.com/repos/alphagov/transition/stargazers","contributors_url":"https://api.github.com/repos/alphagov/transition/contributors","subscribers_url":"https://api.github.com/repos/alphagov/transition/subscribers","subscription_url":"https://api.github.com/repos/alphagov/transition/subscription","commits_url":"https://api.github.com/repos/alphagov/transition/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/transition/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/transition/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/transition/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/transition/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/transition/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/transition/merges","archive_url":"https://api.github.com/repos/alphagov/transition/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/transition/downloads","issues_url":"https://api.github.com/repos/alphagov/transition/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/transition/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/transition/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/transition/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/transition/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/transition/releases{/id}","created_at":"2013-09-10T13:11:17Z","updated_at":"2015-04-24T14:40:25Z","pushed_at":"2015-04-29T09:27:38Z","git_url":"git://github.com/alphagov/transition.git","ssh_url":"git@github.com:alphagov/transition.git","clone_url":"https://github.com/alphagov/transition.git","svn_url":"https://github.com/alphagov/transition","homepage":null,"size":12716,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/transition/pulls/490"},"html":{"href":"https://github.com/alphagov/transition/pull/490"},"issue":{"href":"https://api.github.com/repos/alphagov/transition/issues/490"},"comments":{"href":"https://api.github.com/repos/alphagov/transition/issues/490/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/transition/pulls/490/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/transition/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/transition/pulls/490/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/transition/statuses/ef7e4980cbe5f141e3086ba0932b61709bd385bc"}}}}