rhaamo/StockazIO

Feature request: Import from Part-DB or Part-DB-symfony?

Opened this issue · 6 comments

How difficult would it be to import the JSON dumps from installations of Part-DB or Part-DB-symfony?

maybe not a lot, I just need to manage to get a dump from thoses and see what can be easily imported

I'm having great difficulty getting a data export from Part-DB-symfony master/8e6bc25 right now. I'll try again after work today.

Welp, I just remembered why I opened this ticket. I just updated my install of Part-DB-symfony to the latest checkout, but the JSON and CSV exports are worthless. Zero entries. Observe:

[
  {
    "children": [],
    "comment": "These things breed like rabbits.  May as well inventory them to keep them straight.",
    "name": "Cables and Connectors",
    "lastModified": "2022-09-07T21:36:05+00:00",
    "addedDate": "2022-09-07T21:36:05+00:00",
    "type": null
  }
]

(This category has 24 entries.)

arg, if they fix that issue I should be possible to import that

I was able to work around it by exporting all of my tables that had stuff in them as JSON docs using the mysql shell. Would those help?

hey, yes that could be useful, for a one-shot import.
I don't know when I will be able to look at that, probably more in january, you can drop me an email with the file redacted of personal/private infos and I will look at what I can do.