{"action":"created","issue":{"url":"https://api.github.com/repos/ndlib/honeycomb/issues/169","labels_url":"https://api.github.com/repos/ndlib/honeycomb/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/ndlib/honeycomb/issues/169/comments","events_url":"https://api.github.com/repos/ndlib/honeycomb/issues/169/events","html_url":"https://github.com/ndlib/honeycomb/pull/169","id":90451319,"number":169,"title":"Advanced seed data using external repo","user":{"login":"jaronkk","id":127832,"avatar_url":"https://avatars.githubusercontent.com/u/127832?v=3","gravatar_id":"","url":"https://api.github.com/users/jaronkk","html_url":"https://github.com/jaronkk","followers_url":"https://api.github.com/users/jaronkk/followers","following_url":"https://api.github.com/users/jaronkk/following{/other_user}","gists_url":"https://api.github.com/users/jaronkk/gists{/gist_id}","starred_url":"https://api.github.com/users/jaronkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaronkk/subscriptions","organizations_url":"https://api.github.com/users/jaronkk/orgs","repos_url":"https://api.github.com/users/jaronkk/repos","events_url":"https://api.github.com/users/jaronkk/events{/privacy}","received_events_url":"https://api.github.com/users/jaronkk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-23T17:56:27Z","updated_at":"2015-06-25T16:42:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ndlib/honeycomb/pulls/169","html_url":"https://github.com/ndlib/honeycomb/pull/169","diff_url":"https://github.com/ndlib/honeycomb/pull/169.diff","patch_url":"https://github.com/ndlib/honeycomb/pull/169.patch"},"body":"This creates some seed data for development purposes.\r\n\r\nI've tied the classes in to the `rake db:seed` task, but it could be made its own task if we wanted.\r\n\r\nIt pulls seed data from an external repo at https://github.com/ndlib/honeycomb-brood (so we don't have to store large files in this repo) and creates collections and items as defined in the repo.  It abuses the unique_id field to maintain its relationships, so urls on the front end wouldn't change after dropping/recreating the database.\r\n\r\nIt could also be updated *relatively* easily to add showcases/sections."},"comment":{"url":"https://api.github.com/repos/ndlib/honeycomb/issues/comments/115319536","html_url":"https://github.com/ndlib/honeycomb/pull/169#issuecomment-115319536","issue_url":"https://api.github.com/repos/ndlib/honeycomb/issues/169","id":115319536,"user":{"login":"jonhartzler","id":124502,"avatar_url":"https://avatars.githubusercontent.com/u/124502?v=3","gravatar_id":"","url":"https://api.github.com/users/jonhartzler","html_url":"https://github.com/jonhartzler","followers_url":"https://api.github.com/users/jonhartzler/followers","following_url":"https://api.github.com/users/jonhartzler/following{/other_user}","gists_url":"https://api.github.com/users/jonhartzler/gists{/gist_id}","starred_url":"https://api.github.com/users/jonhartzler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonhartzler/subscriptions","organizations_url":"https://api.github.com/users/jonhartzler/orgs","repos_url":"https://api.github.com/users/jonhartzler/repos","events_url":"https://api.github.com/users/jonhartzler/events{/privacy}","received_events_url":"https://api.github.com/users/jonhartzler/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T16:42:26Z","updated_at":"2015-06-25T16:42:26Z","body":":+1: "}}