delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/04/06/09:36:37

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 524413857725
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1680788161;
bh=ybD6orI64R3lrI1FL94qe+4gmxL1VbkCltazXu2vZTQ=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:Cc:From;
b=eTZLzAR/dmgy8T7LQFgh33FS73U0Pps8ZS2bU2i1QWqrTJcpkW/ThCBIrAy6L//Mk
k255GcxJgjW74yQl+NeR9OTfgmf25tOjMPqtRCTPHDbJM8J3+xpYY2wHhDTGM3MdEO
EHsLCo65G7GXSsx8nZOn9sf8qdOLuHQTejMjsabc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D6C5C3858C50
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 807C33858433
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 305E53858D32
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112; t=1680788096;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=HozGy2fd3uPtAXRJqGeqBFVw8HCfH7AlTzZusvnA6Sc=;
b=mQDeRpaOIEIWMZqS/rWV/306kzSMgIVa87hAGPXX4MuRPtXSjlVs/c60b2b+HnfITr
dQSBmcRSicakpMrcYLaycEpgLSazbg7+4VugqYTX1+EcU//uXird+7mpTISmLIC+6Hur
UQoRiZOhqYNJpOgwmd5iBi62V5l8r8/+qKMZEj/uudCGqgDkHQgg2W6VuTfn4WBOqcBM
FjgGV0o3zXWgv4LyvYqgEnWBDobgMyEepEPgGAwQUxFjb6X4axi4ZCgGeaqLusB/Djnp
W253xb355NePqnAmv0d+A9nRPAalMVMAryylJq0yK/2hzfMdDbXZZDva0r034x7uazHI
LBVA==
X-Gm-Message-State: AAQBX9fAJih9fuKxUcLDiTuprjKLK2QoDTIwVrAgibhVAEQjgkiHL9kI
m7dcDTWLAM9ncbUiKi8tOl4IHPh9/+7Nynq031F5eyHj6w5vew==
X-Google-Smtp-Source: AKy350b3ReUptZMhilHtawXkhf/DCJL8DCdHfscFHkQH3mVMZpm9KzPie4VcDpxNFj2sWdIJ5EVxunY3l107lUUd8gU=
X-Received: by 2002:aa7:de91:0:b0:4fd:2b05:aa2 with SMTP id
j17-20020aa7de91000000b004fd2b050aa2mr4870564edv.42.1680788095888; Thu, 06
Apr 2023 06:34:55 -0700 (PDT)
MIME-Version: 1.0
Date: Thu, 6 Apr 2023 09:34:43 -0400
Message-Id: <announce.CAJOCpN2O5Zfiq4bBXWTCCmHgDA7Zi=+mmGrnvpHckM6nvCo8fQ@mail.gmail.com>
Subject: [ANNOUNCEMENT] unison 2.53.2-1
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin-announce AT cygwin DOT com
X-Mailman-Version: 2.1.29
X-Mailer: Perl5 Mail::Internet v2.20
X-BeenThere: cygwin AT cygwin DOT com
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andrew Schulman via Cygwin-announce via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrew Schulman via Cygwin-announce <cygwin-announce AT cygwin DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

unison 2.53.2-1 is now available in Cygwin. This is a new upstream release,
with new features and bug fixes. See the upstream release log[1] for
details.

Unison is a file synchronizer for Unix and Windows. It allows two replicas
of a collection of files and directories to be stored on different hosts (or
different disks on the same host), modified separately, and then brought up
to date by propagating the changes in each replica to the other.

== Unison versions and packages

Unison versions 2.52 and later are provided in Cygwin by the unison package.
The executable is /usr/bin/unison-latest. All versions 2.52 and later are
compatible with each other, so they can sync with each other. They can also
sync with Unison versions 2.48-2.51, but apparently not with versions older
than that. Test reports are welcome on the Cygwin list, cygwin AT cygwin DOT com.

Prior to version 2.52, Unison came in multiple complementary packages for
Cygwin:

                   Unison   OCaml
Package name       version  version  Unison executable
------------       -------  -------  -----------------
unison2.27         2.27.*   4.01.0   /usr/bin/unison-2.27
unison2.32         2.32.*   4.01.0   /usr/bin/unison-2.32
unison2.40         2.40.*   4.02.3   /usr/bin/unison-2.40
unison2.45         2.45.*   4.01.1   /usr/bin/unison-2.45
unison2.48+4.04.2  2.48.*   4.04.2   /usr/bin/unison-2.48+4.04.2
unison2.48+4.08.1  2.48.*   4.08.1   /usr/bin/unison-2.48+4.08.1
unison2.49         2.49.*   4.02.3   /usr/bin/unison-2.49
unison2.51+4.04.2  2.51.*   4.04.2   /usr/bin/unison-2.51+4.04.2
unison2.51+4.10.0  2.51.*   4.10.0   /usr/bin/unison-2.51+4.10.0

Different packages were needed because Unison executables were only
compatible if they had the same Unison version, and were compiled with
compatible versions of OCaml. (It was kind of a nightmare.) So you had to
have a version installed locally that matched the version you were
synchronizing with.

== Migrating to version 2.52 or later

To upgrade Unison on your local host to version 2.52 or later:

* If the remote host is also running Unison 2.52 or later, you're all set.

* If the remote host is running Unison 2.48-2.51, you can sync with it. If
  you've previously synchronized files with that host, try syncing with it
  again with your local version 2.52 or later. If the two Unisons were built
  with compatible versions of OCaml, then the newer Unison will upgrade the
  local Unison archive files to the newer format. After that you can sync
  using any later version of Unison, regardless of the OCaml version. But if
  Unison throws an error about bad archives or the like, then you'll have to
  either go back to using the previous Unison version, or (recommended)
  remove the previous archive files (~/.unison/ar* and ~/.unison/fp*), and
  start over with a fresh synchronization.

* If the remote host is running a version older than 2.48, you can't sync to
  it with version 2.52 or later. You'll have to keep using one of the older
  Unison packages listed above, that matches the Unison and OCaml versions
  of the remote host.

The Unison 2.52 Migration Guide[2] has more information.

== Setting a default version

The package postinstallation script uses alternatives(8) to install a
symlink
/usr/bin/unison that points to one of the above-named executables. By
default
this symlink will track the highest-numbered version of Unison that you
install on your system. You can change that using alternatives:

  alternatives --config unison

(recommended) or manually. See "man alternatives" for details.

If the server provides multiple versions of Unison, you can invoke Unison on
the client with for example '-servercmd /usr/bin/unison-2.51' to run the
version you want on the server, or put 'servercmd /usr/bin/unison-2.51' into
the client's preference file.

== User interface

All of the Unison packages for Cygwin use the text UI. There is also a GTK3
UI for Unison, but I haven't tried to build it for Cygwin yet.


Andrew E. Schulman

[1]https://github.com/bcpierce00/unison/releases
[2]https://github.com/bcpierce00/unison/wiki/2.52-Migration-Guide

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019