Skip to content
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

Folder Type granularity in sharing #9419

Open
Kedryn opened this issue Feb 14, 2024 · 7 comments
Open

Folder Type granularity in sharing #9419

Kedryn opened this issue Feb 14, 2024 · 7 comments
Labels
enhancement New features or improvements of some kind, as opposed to a problem (bug) needs-triage New issues needed to be validated

Comments

@Kedryn
Copy link

Kedryn commented Feb 14, 2024

I think it would be useful to choose if a folder is Sent/receive/both, at sharing level.
I meant when, in a folder detail, we choose to who share it. For example, i could share to some friends the folder in send_only, but with one that collaborates in manintaining it, in send_receive
Right now we can decide only at folder level, se we have to share it two times

@Kedryn Kedryn added enhancement New features or improvements of some kind, as opposed to a problem (bug) needs-triage New issues needed to be validated labels Feb 14, 2024
@tomasz1986
Copy link
Contributor

tomasz1986 commented Feb 14, 2024

I think this is an interesting idea, however I cannot imagine how the current Web GUI would even be able to support this. If you've got anything concrete in mind, I believe that it would be useful to present at least a brief sketch of how this could possibly look visually in the GUI.

@er-pa
Copy link
Member

er-pa commented Feb 14, 2024

It is an interesting idea..but the GUI is probably the least of the hurdles here;p The folder type is quite a fundamental part of Syncthing. Changing that to a per-device configuration is probably going to be a very tricky move. Which, of course, doesn't mean that it can't happen or that it's not going to happen - just that it'll take quite some time and effort.

As long as you have all the nodes in control, this is already possible. I'm personally not sure the effort is worth the benefit here. But that's just my take. Perhaps I'm just missing the actual potential of this:)

@Kedryn
Copy link
Author

Kedryn commented Feb 14, 2024

what do you mean with "As long as you have all the nodes in control, this is already possible."?

@er-pa
Copy link
Member

er-pa commented Feb 15, 2024

what do you mean with "As long as you have all the nodes in control, this is already possible."?

What I meant is that as long as you can rely on the Syncthing Config files staying as expected, under your control, you can set your 'friends' locations' to receive only and practically have the situation you aim for.

@Kedryn
Copy link
Author

Kedryn commented Feb 15, 2024

I think this is an interesting idea, however I cannot imagine how the current Web GUI would even be able to support this. If you've got anything concrete in mind, I believe that it would be useful to present at least a brief sketch of how this could possibly look visually in the GUI.

I'm awful at sketches, but i was thinking at something like this

image

That would allow me (as others) to de-dupe a lot of folders, scans, update checks, and so on

@Kedryn
Copy link
Author

Kedryn commented Feb 15, 2024

It is an interesting idea..but the GUI is probably the least of the hurdles here;p The folder type is quite a fundamental part of Syncthing. Changing that to a per-device configuration is probably going to be a very tricky move. Which, of course, doesn't mean that it can't happen or that it's not going to happen - just that it'll take quite some time and effort.

I'm a system manager, i quite agree

As long as you have all the nodes in control, this is already possible. I'm personally not sure the effort is worth the benefit here. But that's just my take. Perhaps I'm just missing the actual potential of this:)

mainly reduce the dupes of shared folders, rescans, gui cluttering (i have a lot of shares, duped for distribution only or collaboration)

@tomasz1986
Copy link
Contributor

tomasz1986 commented Feb 15, 2024

I'm awful at sketches, but i was thinking at something like this

image

That would allow me (as others) to de-dupe a lot of folders, scans, update checks, and so on

I think one big problem with this would be that currently, depending on the folder type, the folder state changes, e.g. you get "Local Additions" and the "Override Local Changes" button for Receive Only folders, the "Override Changes" button for Send Only folders, etc. If a folder can have different types at the same time, those states don't make much sense any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or improvements of some kind, as opposed to a problem (bug) needs-triage New issues needed to be validated
Projects
None yet
Development

No branches or pull requests

3 participants