{"action":"created","issue":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1674","labels_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1674/labels{/name}","comments_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1674/comments","events_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1674/events","html_url":"https://github.com/SynoCommunity/spksrc/issues/1674","id":73247700,"number":1674,"title":"Add Syncthing 0.11.x","user":{"login":"TimVNL","id":5219523,"avatar_url":"https://avatars.githubusercontent.com/u/5219523?v=3","gravatar_id":"","url":"https://api.github.com/users/TimVNL","html_url":"https://github.com/TimVNL","followers_url":"https://api.github.com/users/TimVNL/followers","following_url":"https://api.github.com/users/TimVNL/following{/other_user}","gists_url":"https://api.github.com/users/TimVNL/gists{/gist_id}","starred_url":"https://api.github.com/users/TimVNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimVNL/subscriptions","organizations_url":"https://api.github.com/users/TimVNL/orgs","repos_url":"https://api.github.com/users/TimVNL/repos","events_url":"https://api.github.com/users/TimVNL/events{/privacy}","received_events_url":"https://api.github.com/users/TimVNL/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SynoCommunity/spksrc/labels/update","name":"update","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-05-05T08:32:29Z","updated_at":"2015-06-11T11:48:12Z","closed_at":null,"body":"Syncthing has a new major release with lots of improvements and fixes see:\r\n\r\nhttps://github.com/syncthing/syncthing/releases/tag/v0.11.0\r\nhttps://github.com/syncthing/syncthing/releases/tag/v0.11.1\r\nhttps://github.com/syncthing/syncthing/releases/tag/v0.11.2\r\n\r\nWould love to see it in the repo\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/13151652-add-syncthing-0-11-x?utm_campaign=plugin&utm_content=tracker%2F282943&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282943&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/comments/111101158","html_url":"https://github.com/SynoCommunity/spksrc/issues/1674#issuecomment-111101158","issue_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1674","id":111101158,"user":{"login":"Zetten","id":111609,"avatar_url":"https://avatars.githubusercontent.com/u/111609?v=3","gravatar_id":"","url":"https://api.github.com/users/Zetten","html_url":"https://github.com/Zetten","followers_url":"https://api.github.com/users/Zetten/followers","following_url":"https://api.github.com/users/Zetten/following{/other_user}","gists_url":"https://api.github.com/users/Zetten/gists{/gist_id}","starred_url":"https://api.github.com/users/Zetten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zetten/subscriptions","organizations_url":"https://api.github.com/users/Zetten/orgs","repos_url":"https://api.github.com/users/Zetten/repos","events_url":"https://api.github.com/users/Zetten/events{/privacy}","received_events_url":"https://api.github.com/users/Zetten/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T11:48:12Z","updated_at":"2015-06-11T11:48:12Z","body":"@DaftHonk My package has been in the 'running' state happily since I posted originally (less an internal restart or two for config changes), but I'll definitely keep an eye on it. How long did it take for the issue to present itself?\r\n\r\n@TimVNL That makes some sense given the protocol incompatibility, but the main issue I can see would be handling the upgrade from 0.10.x to 0.11.x. The file index does need to be recreated, but the host ID, remembered peers, and synced folders are all retained if you upgrade the existing package. Maybe that's not an issue for some, but I reckon losing that and having to reconfigure would be a big downside for users with a lot of peers or folders.\r\n\r\nThe two versions will conflict with listening ports and so on if no other changes are made, so the best thing to do from a package management perspective would be to mark them as conflicting (or 'provides' or whatever the equivalent is). But my guess is that the upgrade/replace mechanism in question would totally uninstall syncthing before installing syncthing-0.11, and even if not they would end up in different target directories (which seem to be based on package names).\r\n\r\nI don't know much about the spk system - is it possible to handle this kind of situation? A brute force kind of workaround would be moving all the data out of `/var/packages/syncthing/target` and into an external folder which is kept safe through a package removal/reinstall, but that also then requires an upgrade to the syncthing 0.10.x package to externalise this data in the first place."}}