Easily add shared repositories

Currently, is Node A shares something with node B, node B will immediately see:

6:17:57: Unexpected repository ID "test" sent from node "athena.barrera.io"; ensure that the repository exists and that this node is selected under "Share With" in the repository configuration.

I think it would be nice if this message was acompanied with a button saying “configure this repository locally”, which pops up a the usual “Add repo” dialog with the relevant fields pre-filled (being the location the required input). This would make sharing repos much more user-friendly.

The message could also use some re-wording once this is done.

Does this sound ok? Opinions?

Note: I looked at issue#120, but that seems to be limited to node discovery, not repository discovery. Please correct me if I’m wrong.

2 Likes

https://github.com/syncthing/syncthing/issues/330 ?

Yes, thank you. I wish I could close topics so this gets out of the way forever. (though it will help future searches).