-
Notifications
You must be signed in to change notification settings - Fork 31
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
mkfrogfs.py fails if root dir has subdirectories starting with dot (next branch) #49
Comments
Hmm, looks like changing |
Looks like did not help. Nothing changed, same error. Actually, I'm thinking that it's a good idea to skip files (and directories) with name starting from "." and do not include them in FrogFs image. What do you think? |
Btw, I tried to implement such exclusion by adding
at lines 113 and 139, but this not helped and I'm stuck. My Python knowledge is below zero :) |
fixed in 1a3d571 Thanks! |
Thanks, now there is no errors and the directory with file is added to FrogFs image. Could you please tell me, is it possible to exclude any or specific directory from image? |
You can do the following, which glob matches any files and folders with that name: filters:
'path/to/.folder_name*':
- discard I'll create a bug, because you should be able to just do the following: filters:
'path/to/.folder_name':
- discard But that is currently broken. |
Looks like this doesn't work either.
but actually the file is included as I see it in binary. |
I'll look into this. In the meantime, can you open a new issue with a snippet of your yaml? |
Yep,will do |
Hello.
The directory structure is like this:
/.test_dot_dir/.test.html
It looks like the dot is removed from directory name in mkfrogfs.py
The text was updated successfully, but these errors were encountered: