Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Match version numbers with upstream? #2

Closed

Description

@jpjp
No description provided.

Activity

  1. Nutomic commented on May 10, 2014

    @Nutomic
    Contributor

    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?)

  2. jpjp commented on May 10, 2014

    @jpjp
    Author

    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?

  3. Nutomic commented on May 10, 2014

    @Nutomic
    Contributor

    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.

  4. calmh commented on May 11, 2014

    @calmh
    Member

    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...

  5. Nutomic commented on May 11, 2014

    @Nutomic
    Contributor

    Sorry I'm not sure what you mean with "what is versioned", could you rephrase that please?

  6. calmh commented on May 11, 2014

    @calmh
    Member

    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.

  7. Nutomic commented on May 11, 2014

    @Nutomic
    Contributor

    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).

  8. calmh commented on May 11, 2014

    @calmh
    Member

    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.

  9. Nutomic commented on May 11, 2014

    @Nutomic
    Contributor

    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).

  10. locked and limited conversation to collaborators on Nov 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions