Bug 28603

Summary: Unison update request + fix inconsistent version displayed
Product: Mageia Reporter: Denis Bitouzé <dbitouze>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: fri, thierry.vignaud
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: unison-2.51.2-3.mga8.src.rpm CVE:
Status comment:

Description Denis Bitouzé 2021-03-15 18:49:45 CET
Description of problem:
The versions of Unison given in CLI and in the GUI are inconsistent (don't know whether it is an upstream bug or not).

Steps to Reproduce:
1. In a terminal, run `unison -version` which gives `unison version 2.51.2 (ocaml 4.10.0)`
2. Open Unison (GUI mode) then go to the menu Help → ⓘ À propos. It will display: `Unison File Synchronizer Version 2.49.543`.
Comment 1 Lewis Smith 2021-03-15 21:37:16 CET
Thank you for reporting this small anomaly.

The actual version is the our recent (unison-2.51.2-3.mga8), so the bug is that the GUI-About info shows an older one. Curiously, 2.49.543 is not shwon on their web site https://github.com/bcpierce00/unison/releases, which jumps thus:
v2.51.4_rc1 5 Jan
v2.51.3 21 Oct 2020
v2.51.2 27 Jan 2018         ***
v2.48.15 source 18 Dec 2017 
v2.51.0 24 Nov 2017

Perhaps there is a case for updating this SRPM, nearly 3 years old. And hope for a change. If it still shows that strange 2.49.543 in the GUI, that is an upstream affair.
Their site has this strange and only mention of the GUI:
"Linux musl does not have the GUI and is likely more broadly usable."

Unison has various committers, so assigning this bug globally.

Assignee: bugsquad => pkg-bugs
Severity: normal => minor
Summary: Inconsistent versions of Unison => Inconsistent version of Unison displayed by the GUI Help-About.

Comment 2 Morgan Leijström 2022-09-15 11:59:16 CEST
CC Thierry, as I saw him push unison-2.52.1-1.mga9 just now.

CC: (none) => fri, thierry.vignaud

Comment 3 Morgan Leijström 2022-09-15 12:17:28 CEST
Seems we ought to update mga8 to unison-2.52

Under the releases change log (link above):
"2.52.1 is a maintenance release in the 2.52 series. All users are strongly encouraged to migrate all systems on which they use unison to 2.52.1. "

And for 2.52.0:

"All users are strongly encouraged to being making plans to migrate all systems on which they use unison to 2.52."

And different ocaml versions should not matter any more, see below.

---8<---

The major changes are a new wire protocol, a new archive format, and feature negotiation. In particular, once two machines have been upgraded to 2.52.0 or later, it is possible to use unison compiled with different ocaml versions within a machine (mtaintaining the ability to read archives) and across machines.

While this release is expected to work seamlessly with existing archives and with 2.51.[0-5] peers, backups are always in order. Once this release has been run on a root, the upgraded archives will no longer be readable by stable 2.51 releases.

The 2.52 series, expected to be brief in time, is very likely the last group of releases to support old ocaml. All users are strongly encouraged to being making plans to migrate all systems on which they use unison to 2.52.
Comment 4 Morgan Leijström 2022-09-15 22:34:11 CEST
Actually changing this to an update request to facilitate interoperability between different systems, per comment 3 - referring upstream recommendation.

Severity: minor => normal
Summary: Inconsistent version of Unison displayed by the GUI Help-About. => Unison update request + fix inconsistent version displayed