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 }}
This repository was archived by the owner on Dec 3, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 3, 2024. It is now read-only.
You're right that makes sense, I wasn't thinking of that. Although I'd prefer to wait until the device discovery is fixed (imo that's needed to consider it stable).
I assume we would do releases for all platforms at the same time? How would you handle updates that only affect Android regarding version numbers? (eg would we bump upstream version for an Android only change?)
I don't really have an opinion. :) I guess the most user visible part should be what is versioned; some sort of backend "compatible with syncthing x.y.z" might be useful though. This should be less of an issue as syncthing hits 1.0 and the protocol doesn't change any more...
I meant that whatever version number the user sees when running syncthing-android should be the version number of syncthing-android. It should be meaningful in that context. If syncthing is just used as a backend service/library, the user doesn't have to care. But some note somewhere that indicates that "syncthing-android v42 is compatible with syncthing v0.9+" or so could be useful I guess.
Yeah that's what I meant with showing the syncthing version in the options (an item like "syncthing version: 0.8.5"). That's definitely the easiest solution.
I'll do that for the next version (I hope we can get working node discovery in there). I'll also make sure to use an actual release version (right now it's just whatever HEAD I checked out).
Now we're all over the place with this discussion :D
I will try to implement this tomorrow (using NSD). In the meantime, can you tell me what protocol and transport layer discovery uses, and what the service name should be?
Also, I'll need an API to pass host:port to syncthing (that's one of multiple APIs I need, I'll make an issue for that).
Activity
Nutomic commentedon May 10, 2014
You're right that makes sense, I wasn't thinking of that. Although I'd prefer to wait until the device discovery is fixed (imo that's needed to consider it stable).
I assume we would do releases for all platforms at the same time? How would you handle updates that only affect Android regarding version numbers? (eg would we bump upstream version for an Android only change?)
jpjp commentedon May 10, 2014
I think @calmh would be the one to ask about that :)
How about x.y.z-n or x.y.z.n where n is the n specific android extra release?
Nutomic commentedon May 10, 2014
Alright. You're pretty active around syncyhing, so I figured you might have a plan already.
I don't really like x.y.z.n or x.y.z-n, as that looks more like a minor release.
As a last resort, we could always just display the syncthing version in the options.
calmh commentedon May 11, 2014
I don't really have an opinion. :) I guess the most user visible part should be what is versioned; some sort of backend "compatible with syncthing x.y.z" might be useful though. This should be less of an issue as syncthing hits 1.0 and the protocol doesn't change any more...
Nutomic commentedon May 11, 2014
Sorry I'm not sure what you mean with "what is versioned", could you rephrase that please?
calmh commentedon May 11, 2014
I meant that whatever version number the user sees when running syncthing-android should be the version number of syncthing-android. It should be meaningful in that context. If syncthing is just used as a backend service/library, the user doesn't have to care. But some note somewhere that indicates that "syncthing-android v42 is compatible with syncthing v0.9+" or so could be useful I guess.
Nutomic commentedon May 11, 2014
Yeah that's what I meant with showing the syncthing version in the options (an item like "syncthing version: 0.8.5"). That's definitely the easiest solution.
I'll do that for the next version (I hope we can get working node discovery in there). I'll also make sure to use an actual release version (right now it's just whatever HEAD I checked out).
calmh commentedon May 11, 2014
BTW, about the local discovery; http://stackoverflow.com/questions/15720558/device-discovery-in-local-network seems to say that multicast is no-go on Android (or at least the Galaxy S2; don't know if that kind of thing differs between devices in Android). Broadcast packets seem to have some limitations (need to exclude the mobile network, or it fails silently). So anyway, it seems there are additional restrictions and it may be that syncthing discovery isn't going to work great on Android in general in the near future.
It could be that the best way forward for you is to do the relevant discovery in Java and feed the relevant info directly to syncthing.
Nutomic commentedon May 11, 2014
Now we're all over the place with this discussion :D
I will try to implement this tomorrow (using NSD). In the meantime, can you tell me what protocol and transport layer discovery uses, and what the service name should be?
Also, I'll need an API to pass host:port to syncthing (that's one of multiple APIs I need, I'll make an issue for that).