You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move special .st* files into a .syncthing directory #1056
enhancementNew features or improvements of some kind, as opposed to a problem (bug)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
Instead of cluttering the synced folder with .st* files (such as .stfolder, (.stignoreglobal), .stignore and .stversions), we should use a .syncthing folder that allows the storage of all this and future information.
BTSync did a similar conversion some months ago.
I'd like to see those files put into a single folder too. I don't feel that there are enough common usecases where having an option to fall back to the current design would be beneficial to justify the UI bloat added by a per-repo option tough.
Yeah I think you're right. Skimmed this too quickly I guess :/
but seems like either way a synced folder would be non-empty by default either with a hidden dir or some hidden files.
We are having this issue on the KALABOX project where we are git cloning directly into a synced folder. The clone fails because the die is non-empty. For now we are just moving .stfolder to tmp, cloning and then moving .stfolder back in. This seems like a bad thing to do but seems to be working this far.
@pirog Yeah, or clone to the dir before letting syncthing know about it... But there's also some ticket about handling read only dirs without creating any crap in them, maybe that fits your use case? I'm kind of hoping at least one side is read only (from the syncthing perspective), or you'll probably corrupt your git directory anyway.
We might be a bit on the frontier for ST here then.
We are building a local dev environment which is kind of in between docker and vagrant so a lot of this stuff happens automatically and needs to be RW both ways.
About to roll out an alpha so we can get some useable feedback soon!
enhancementNew features or improvements of some kind, as opposed to a problem (bug)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
Activity
calmh commentedon Dec 1, 2014
Sounds sensible enough
generalmanager commentedon Dec 1, 2014
+1
101100 commentedon Dec 1, 2014
Perhaps this should be a per-repo option? I can see both options being useful in different contexts.Nevermind, I misunderstood the idea.
generalmanager commentedon Dec 1, 2014
I'd like to see those files put into a single folder too. I don't feel that there are enough common usecases where having an option to fall back to the current design would be beneficial to justify the UI bloat added by a per-repo option tough.
calmh commentedon Dec 1, 2014
In practice, today this would mean a layout like
The
.stfolderfile is no longer necessary, as it's implied by the existence of the.syncthingdirectory.bherila commentedon Dec 2, 2014
Awesome, backwards compatibility too 👍
cbhushan commentedon Jan 1, 2015
+1
pirog commentedon Feb 18, 2015
+1
this would be very helpful for things like git which cannot clone into a non-empty folder
calmh commentedon Feb 19, 2015
@pirog Whatever that issue is, I don't think this will help...?
pirog commentedon Feb 19, 2015
Yeah I think you're right. Skimmed this too quickly I guess :/
but seems like either way a synced folder would be non-empty by default either with a hidden dir or some hidden files.
We are having this issue on the KALABOX project where we are git cloning directly into a synced folder. The clone fails because the die is non-empty. For now we are just moving .stfolder to tmp, cloning and then moving .stfolder back in. This seems like a bad thing to do but seems to be working this far.
Anyway, ignore this I guess :)
calmh commentedon Feb 20, 2015
@pirog Yeah, or clone to the dir before letting syncthing know about it... But there's also some ticket about handling read only dirs without creating any crap in them, maybe that fits your use case? I'm kind of hoping at least one side is read only (from the syncthing perspective), or you'll probably corrupt your git directory anyway.
pirog commentedon Feb 26, 2015
We might be a bit on the frontier for ST here then.
We are building a local dev environment which is kind of in between docker and vagrant so a lot of this stuff happens automatically and needs to be RW both ways.
About to roll out an alpha so we can get some useable feedback soon!
Move .st* files into .syncthing (fixes syncthing#1056)
1 remaining item
Move .st* files into .syncthing (fixes syncthing#1056)
Move .st* files into .syncthing (fixes syncthing#1056)
Move .st* files into .syncthing (fixes syncthing#1056)
Move .st* files into .syncthing (fixes syncthing#1056)
Move .st* files into .syncthing (fixes syncthing#1056)
calmh commentedon Nov 19, 2015
Going to close this, as I think we should instead minimize the amount of special files.
.stfoldermust exist and may as well be what it is today.stignoreshould cease to exist and move into the configThere should be nothing else.
Move .st* files into .syncthing (fixes syncthing#1056)