Repository navigation
Conversation
|
@st-jenkins run integration tests please |
287a771 to
a577c16
Compare
|
I think #1631 is a prerequisite for this one. |
|
Yes, another prefix flag? |
a577c16 to
a4aa409
Compare
|
Hmm, a prefix would break compatibility with default golang regexp. |
|
Why? |
cf4c95b to
695a684
Compare
|
TODO:
|
There was a problem hiding this comment.
False assumption, as the file might be empty.
There was a problem hiding this comment.
It's similar to HasMarker, should I change it to HasIgnoreFile?
|
If there are going to be any more .stfoo files created in a sync directory,
I'd like to propose a small tidy up and reorganisation :
The current .stfolder file (which is only used as an existence check)
should become a dir. All the other syncthing processing-directive files
should then be moved inside.
This makes them easier to ignore, both for the code when syncing, and the
user when using. It also makes it easier to create more if needed.
|
|
@dcarosone see #1056 |
695a684 to
1afdb2d
Compare
|
Neat! |
There was a problem hiding this comment.
Cleaner as an "enum" I think:
type ignoreResult int
const (
DontIgnore ignoreResult = iota
Ignore
Nuke
)
type cacheEntry struct {
result ignoreResult
access time.Time
}|
Open question - should "nuke" in fact be the default behavior and something like |
|
Also, a |
|
+1 for
|
615e1f4 to
be6a8ff
Compare
7ca5c7b to
d9c9093
Compare
(reminder to self) |
There was a problem hiding this comment.
0777 and let umask handle the rest I think
There was a problem hiding this comment.
If I remember correctly a nonexisting #include will break the parsing of the includes right now. Also, should probably use a name more like sharedignores.txt if we're going to default to something? (And are includes relative to the folder root or the .syncthing dir?)
|
Bonk? |
|
Reopen if this comes back to life :) |

No description provided.