{"action":"closed","issue":{"url":"https://api.github.com/repos/fedora-ruby/isitfedoraruby-old/issues/65","labels_url":"https://api.github.com/repos/fedora-ruby/isitfedoraruby-old/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/fedora-ruby/isitfedoraruby-old/issues/65/comments","events_url":"https://api.github.com/repos/fedora-ruby/isitfedoraruby-old/issues/65/events","html_url":"https://github.com/fedora-ruby/isitfedoraruby-old/issues/65","id":39123650,"number":65,"title":"How to deal with missing import data","user":{"login":"axilleas","id":340023,"avatar_url":"https://avatars.githubusercontent.com/u/340023?v=3","gravatar_id":"","url":"https://api.github.com/users/axilleas","html_url":"https://github.com/axilleas","followers_url":"https://api.github.com/users/axilleas/followers","following_url":"https://api.github.com/users/axilleas/following{/other_user}","gists_url":"https://api.github.com/users/axilleas/gists{/gist_id}","starred_url":"https://api.github.com/users/axilleas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axilleas/subscriptions","organizations_url":"https://api.github.com/users/axilleas/orgs","repos_url":"https://api.github.com/users/axilleas/repos","events_url":"https://api.github.com/users/axilleas/events{/privacy}","received_events_url":"https://api.github.com/users/axilleas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fedora-ruby/isitfedoraruby-old/labels/feature","name":"feature","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2014-07-30T18:43:05Z","updated_at":"2015-03-23T20:36:43Z","closed_at":"2015-03-23T20:36:43Z","body":"Improve rake tasks to rerun certain tasks if data is missing.\r\nRerun when:\r\n\r\n- [ ] **Commits** \r\n`FedoraRpm.where(commits: nil)`\r\n\r\n- [ ] **Versions**\r\nFind fedorarpm ids with the following then rerun `fedora:rpm:import:versions`:\r\n`RpmVersion.where(rpm_version: nil).inject([]) { |arr, rpm| arr << rpm.fedora_rpm_id; arr }`\r\n\r\n- [ ] **Dependencies(?)**\r\nHard to know if something went wrong. We could just check for always picking the environment.\r\n\r\n- [ ] **Bugs(?)**\r\nHard to know if something went wrong. We could search the Bug list (once it gets implemented) and check for missing bugs.\r\n\r\n- [ ] **Builds(?)**\r\nHard to know if something went wrong"}}