-
When doing a local_first sync, what is the intended behavior of check_nosync when a directory containing the .nosync file contains subdirectories? I would expect all of the subdirectories and their files to be excluded as well, but this is not what I'm experiencing. I'm using a sync_list with inclusions and exclusions as well. Looking at the code ( Line 7449 in 92be98f |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If .nosync is not being detected when the directory is being scanned, then that sounds like a bug. Please follow the basic troubleshooting process by building your client from 'master' and replicate your issue. If you can replicate, please provide a verbose debug log via email for analysis. |
Beta Was this translation helpful? Give feedback.
-
Well, I found my issue and it was a problem with my config file. I had included an extra quote on my check_nosync line: It seems like most of the other configure options are verified in some way, so perhaps bools should be too. I’m not sure my case in particular should be treated as a malformed line or an invalid value. It matches the configRegex, so if you want it as a malformed line modifying the regex from ctRegex!( Verifying that the value of a bool is either “true” or “false” would be useful. Right now, the code just checks for “true”: I noticed another issue too, but I need to verify if it's in the latest version. |
Beta Was this translation helpful? Give feedback.
Well, I found my issue and it was a problem with my config file. I had included an extra quote on my check_nosync line:
check_nosync = "true""
It seems like most of the other configure options are verified in some way, so perhaps bools should be too.
I’m not sure my case in particular should be treated as a malformed line or an invalid value.
It matches the configRegex, so if you want it as a malformed line modifying the regex from ctRegex!(
^(\w+)\s*=\s*"(.*)"\s*$
) to ctRegex!(^(\w+)\s*=\s*"([^"]*)"\s*$
) should do the trick.Verifying that the value of a bool is either “true” or “false” would be useful. Right now, the code just checks for “true”:
setValueBool(key, c.front.dup == "true" ? …