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: Syncthing's .stignore is deleted on import #1348
Comments
Can reproduce this on build
My
and seem to be working fine except for In my case I have |
I think |
Should also work in import, maybe it's on the wrong directory level. If you import from a sub folder, the patent folders might not be checked. Can also be a bug, didn't have time to look at this in detail. |
I think
which would likely make users expect that the unsupported file PS: Thank you very much for all the help! 😀 Sorry for the Syncthing-related issues recently, even if I'm slightly glad it's not just me that's using Photoprism and (breaking) Syncthing in weird ways. |
You're welcome to add a note to our docs. Most modern operating systems use hidden files to store folder metadata, so in practice deleting empty folder would never work and would likewise lead to complaints, and bug reports. |
Yep, I very much understand - would be a bit confusing if seemingly empty folders were left behind on import if the user doesn't know about or can't see the hidden files. |
My folder structure looks like this:
With
Also tested adding other dotfiles to the folder and to .ppignore, but they were also deleted on Import. |
Did you try DCIM/.stignore? |
Yes. On import, the folder structure from above comment would change to:
|
We can have a look after our vacation, in about two weeks. It's probably easy to fix. |
Follow-up discussion from #1319 :
When importing, Photoprism will delete the
.stignore
file from the folder, even if it's included on.ppignore
.The text was updated successfully, but these errors were encountered: