Bug#1061296: syncthing version is treated as beta

2024-06-01 Thread Tom Atkinson
After noticing Kali Linux has a fresh version of syncthing, and also it
bricks Kubuntu's install by upgrading the users config file version from 35
to 37, you can see that I had to manually upgrade syncthing myself
documented over at:
https://forum.syncthing.net/t/warning-failed-to-initialize-config-config-file-version-37-is-newer-than-supported-version-35-if-this-is-expected-use-allow-newer-config-to-override/22250

*I used this command to un-brick syncthing by overwriting the fresh copy
from KALI LINUX:*
rm /usr/bin/syncthing
cp -f /media/tom/kali/usr/bin/syncthing /usr/bin/syncthing

Syncthing is fine, no bugs, no idea why you woni't refresh the default
Kubuntu repo (oops I mean Debian stable). In fact it is pretty urgent now.

On Thu, 25 Jan 2024 08:08:31 +0100 Simon Frei  wrote:
> On 22/01/2024 11:44, Thomas Butz wrote:
> > Syncthing treats versions with a "-" as beta builds:
> I think it's anything after the semver-like part that some pattern
> doesn't recognize.
> > This might have unintended consequences.
> It most definitely does - it enabled deadlock detection (was removed
> recently) and usage-reporting.


Bug#1061296: syncthing version is treated as beta

2024-01-24 Thread Simon Frei

On 22/01/2024 11:44, Thomas Butz wrote:

Syncthing treats versions with a "-" as beta builds:
I think it's anything after the semver-like part that some pattern 
doesn't recognize.

This might have unintended consequences.
It most definitely does - it enabled deadlock detection (was removed 
recently) and usage-reporting.


I thought that was fixed a while ago and when building in debian, you 
pass `-version not. That's the way to go though for the best experience/expected 
behaviour: Full debian version for the package and upstream version for 
the build script.




Bug#1061296: syncthing version is treated as beta

2024-01-22 Thread Selana . Pevey
Package: syncthing
Version: 1.19.2~ds1-1+b4
Followup-For: Bug #1061296

affects debian-stable (bookworm) as well.



Bug#1061296: syncthing version is treated as beta

2024-01-22 Thread Thomas Butz
Subject: syncthing version is treated as beta
Package: syncthing
Version: 1.27.2~ds4-1
Severity: normal

Syncthing treats versions with a "-" as beta builds:

https://github.com/syncthing/syncthing/blob/683b48182c08095bb396b810d0cbe40f8bccd348/lib/build/build.go#L79

{
  "arch": "amd64",
  "codename": "Gold Grasshopper",
  "container": false,
  "date": "2024-01-06T15:38:16+01:00",
  "extra": "",
  "isBeta": true,
  "isCandidate": false,
  "isRelease": true,
  "longVersion": "syncthing v1.27.2-ds4 \"Gold Grasshopper\" (go1.21.5
linux-amd64) debian@debian 2024-01-06 14:38:16 UTC",
  "os": "linux",
  "stamp": "1704551896",
  "tags": [],
  "user": "debian",
  "version": "v1.27.2-ds4"
}

This might have unintended consequences.