-
-
Notifications
You must be signed in to change notification settings - Fork 836
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
Import improvements #206
Comments
@WithoutPants afaik the importer was only meant for migrations and database schema upgrades. Imho there should also be a separate non destructive import so that users could share perfomers,studios,tags for example.(i imagine scenes would be tricky with the path) |
To echo what @bnkai said... the import should be dropping the database right at the start. It shouldn’t be creating duplicates and failing the entire import on error was intended. I wanted to ensure that no data was skipped from being imported so I was pedantic about errors. If we want to import without nuking current data I feel that should either be a new task or an option flag for the existing task. Sent with GitHawk |
Ensure that there are sufficient UX notifications to let the end-user know that they are about to dump any preexisting data. |
On my Windows machine, the database is definitely not deleted prior to import, so looks like there's a bug there. I'll look at doing the update import as a separate mode. |
|
On Windows, I added logging and better error reporting if the database
I tried adding a |
Would like to suggest a feature/improvement related to this issue, hopefully adding more detail to it. Feature:
You'd then be able to share and obtain these DB-fragments. Example use-case:
Would also be doable with single scenes ofc., and often you'd be the one to import. As for the more technical side i can't speak too much, but i'd imagine that:
You guys already touched on some of these aspects, but hopefully i've added some more detail/goals. |
To further add a thought: I'd imagine that #454 would somewhat deprecate above-mentioned feature, but at the same time above-mentioned feature could possibly also save a lot of queries to the official stash-box instance, if that is a concern. |
There's a few issues with the import functionality as it is currently implemented.
Before I look at implementing these changes, I wanted to confirm if this is consistent with the general view of expected import behaviour.
The text was updated successfully, but these errors were encountered: