Package: backintime-common
Version: 1.3.3-4
Severity: minor
File: /usr/bin/backintime

Hello,

I am not sure but it seems the WATCH is not able to correct sorting "v1.5.3"
and "v1.5.3-rc1".

It still show "v1.5.3-rc1" as the latest version available.
But the latest version available is "v1.5.3".

That is the current regex in the WATCH file.

    .*/v?(\d.*)@ARCHIVE_EXT@

Should it be something like this (with extra $)?

    .*/v?(\d.*)$@ARCHIVE_EXT@

or better

    .*/v?(\d+\.\d+\.\d+)$@ARCHIVE_EXT@

So the quick n dirty solution is just to ignore "rc", "dev" or any other
version-suffix.

A more general problem is that the WATCH file system seems not to be able to
sort versions the correct way.
Version "v1.5.3" is higher than "v1.5.3-rc1".

Thanks
Christian


-- System Information:
Debian Release: 12.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-27-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages backintime-common depends on:
ii  cron [cron-daemon]  3.0pl1-162
ii  openssh-client      1:9.2p1-2+deb12u3
ii  python3             3.11.2-1+b1
ii  python3-dbus        1.3.2-4+b1
ii  python3-keyring     23.9.3-2
ii  python3-packaging   23.0-1
ii  rsync               3.2.7-1

Versions of packages backintime-common recommends:
ii  backintime-qt  1.3.3-4

Versions of packages backintime-common suggests:
ii  encfs           1.9.5-2
pn  powermgmt-base  <none>
ii  sshfs           3.7.3-1.1

-- no debconf information

Reply via email to