{"action":"created","issue":{"url":"https://api.github.com/repos/servermon/servermon/issues/128","repository_url":"https://api.github.com/repos/servermon/servermon","labels_url":"https://api.github.com/repos/servermon/servermon/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/servermon/servermon/issues/128/comments","events_url":"https://api.github.com/repos/servermon/servermon/issues/128/events","html_url":"https://github.com/servermon/servermon/pull/128","id":93796642,"number":128,"title":"Racktables importer","user":{"login":"akosiaris","id":814130,"avatar_url":"https://avatars.githubusercontent.com/u/814130?v=3","gravatar_id":"","url":"https://api.github.com/users/akosiaris","html_url":"https://github.com/akosiaris","followers_url":"https://api.github.com/users/akosiaris/followers","following_url":"https://api.github.com/users/akosiaris/following{/other_user}","gists_url":"https://api.github.com/users/akosiaris/gists{/gist_id}","starred_url":"https://api.github.com/users/akosiaris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akosiaris/subscriptions","organizations_url":"https://api.github.com/users/akosiaris/orgs","repos_url":"https://api.github.com/users/akosiaris/repos","events_url":"https://api.github.com/users/akosiaris/events{/privacy}","received_events_url":"https://api.github.com/users/akosiaris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-08T14:00:03Z","updated_at":"2016-05-09T23:57:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/servermon/servermon/pulls/128","html_url":"https://github.com/servermon/servermon/pull/128","diff_url":"https://github.com/servermon/servermon/pull/128.diff","patch_url":"https://github.com/servermon/servermon/pull/128.patch"},"body":"Add a racktables to hwdoc import script. For now only mysql support\r\nexists and we target version 0.20.4. Various assumptions had to be made\r\nto make this possible. Unfortunately racktables and servermon vary quite\r\na lot in the way they structure their models and relations. It might\r\nneed updates depending on installation. We are obviously gonna accept\r\nPRs though.\r\n\r\nThis closes #21"},"comment":{"url":"https://api.github.com/repos/servermon/servermon/issues/comments/218023902","html_url":"https://github.com/servermon/servermon/pull/128#issuecomment-218023902","issue_url":"https://api.github.com/repos/servermon/servermon/issues/128","id":218023902,"user":{"login":"Krenair","id":826662,"avatar_url":"https://avatars.githubusercontent.com/u/826662?v=3","gravatar_id":"","url":"https://api.github.com/users/Krenair","html_url":"https://github.com/Krenair","followers_url":"https://api.github.com/users/Krenair/followers","following_url":"https://api.github.com/users/Krenair/following{/other_user}","gists_url":"https://api.github.com/users/Krenair/gists{/gist_id}","starred_url":"https://api.github.com/users/Krenair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Krenair/subscriptions","organizations_url":"https://api.github.com/users/Krenair/orgs","repos_url":"https://api.github.com/users/Krenair/repos","events_url":"https://api.github.com/users/Krenair/events{/privacy}","received_events_url":"https://api.github.com/users/Krenair/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T23:57:24Z","updated_at":"2016-05-09T23:57:24Z","body":"I haven't got this to succeed a full run yet. Notes so far:\r\n* MySQL user and password should be considered required\r\n* If a row's location is None, yell about it in console instead of skipping the row and breaking when we try to get the RackRow object later\r\n* I don't seem to have any RackModel objects, so it breaks at line 123 \"rm = RackModel.objects.get(id=1)\""}}