Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
virtadpt opened this issue Sep 22, 2022 · 6 comments
Open

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

virtadpt opened this issue Sep 22, 2022 · 6 comments

Comments

@virtadpt
Copy link

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

@rhaamo
Copy link
Owner

rhaamo commented Sep 22, 2022

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

@virtadpt
Copy link
Author

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

@virtadpt
Copy link
Author

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.)

@rhaamo
Copy link
Owner

rhaamo commented Sep 23, 2022

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

@virtadpt
Copy link
Author

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?

@rhaamo
Copy link
Owner

rhaamo commented Dec 14, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants