From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id C71D53858D1E for ; Sat, 2 Mar 2024 16:45:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C71D53858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C71D53858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::52d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709397960; cv=none; b=AwopAyD4vCV6Yg0MJ5Ha4NuY4xMkWW4xAc7J3ZJMwGreRsJb3cctqO2VgedbCN3ShU+vLCCfnxR1IKW41gZdUqNuWQER1a1ODm3PJnp/a/Bchsc8nMtQ4/k619i8FfolCyIf1c8gCFDF1jSlexadiUSpLwek2y4Tz+SbbPTgWQ8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709397960; c=relaxed/simple; bh=k0FmRyNEtDYpFdGk7Q4V450Pb5QXTATXRGmCGfAbemU=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=WsNGSpNP0HH/S/47w/KZrI2x2S9Cd3ZiaRgEWsfFVoCkgYvbKwNspTLdJSodCFvge+R7zb4mH1ISpAH7Tf2ZJHjRg82Kwh5D0bw6GT/J9ScqQBsCog5A0dFmPtl82Mo8Z5gFyvl4RmmJ6gMw1tEyX6VeTtxDuA6Eb7vIW5WRgXg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-5643ae47cd3so4501162a12.3 for ; Sat, 02 Mar 2024 08:45:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709397957; x=1710002757; darn=cygwin.com; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=dnL9qg+rAbhL9UvaB4Yso03ztaolQ3SCGHUpht/X5Eo=; b=K3CDSEJ29OOzDaspunShnJMk/1TM7Z+9PZM8Lt69vUzIFcmktcl5cC6rsZVW7Do+nl rQzBt00Ox7xuNvoso2tdztF9tnKMBy+7WsX1b2mxO3pqvA5elKfie7QzdaNJOtK+dt6e 2KscvEZFY4m2YQpklzL+oXen84SG6/Y4jpj+XoxNiQR1rZNkeO1mBR5WprKx8cEGCMy7 roosoySCsB+bFMMg5pQ0ZBrlw6buCAxLZxKiFknE/nhNnTj3D5Mn/hDSsT240pMeWG8S RaEm+/K1/feUCbMv/2wYRDw+IWsmovQfivFtRYVFY3z7Q5ABoCh30OlfvIZjI7AnkClt uXeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709397957; x=1710002757; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=dnL9qg+rAbhL9UvaB4Yso03ztaolQ3SCGHUpht/X5Eo=; b=NWisClKb8M6dSeT8dyopzXECqNXtmgi+1h1TkWpppHdYd632wo6QUPCE7tqp7amuUm Z5zWDhiVlIYeRCUoDL1aUXI8caC8HcGNiMOzt/hBOsmMyv6u+RBvFO8vkSh/UWjLcMgS liYQLTmVHNTZfGerU04DPe0U14yvmj6fJ0LO1z2VlFULoYbNOPhv65h1Cv1/2HGFsYS6 cN0ftC233bCbJezMnyuuDbk8KBhKEE6boX5+uv8AuSXXc/MhJ/LNISYe8C8F/vDPS/XT +ATVUamCXJIEihAUgwvsCngHS5f+W1Kz8PQhA6LX83PUdk9ziVu3uFhhLMnXLqX2+Kl/ RyZg== X-Gm-Message-State: AOJu0YwHAgoFFb8mwetJpTuWGqshJMPFqx0tqYqh+210A8CazdQM4usN FfCfiuj2pETBWQOquHJB2VViRfWY4JqA9dL44Opleg623wNTqGCaac8XbOG3RBTEUE6zH30+bNS aaXbsHj+fnR2eDXQ1oSVVosOF7pdfKurPoMM= X-Google-Smtp-Source: AGHT+IF7xJDrVMVd5i5NcTbuSQ877OnG7/cq39lAuas2nkp3V+3BIA/r+zuu/cOeALcHYHZhsY6aNp2b81Ci6CglBzk= X-Received: by 2002:a05:6402:35cb:b0:566:f6ec:bf9d with SMTP id z11-20020a05640235cb00b00566f6ecbf9dmr2543776edc.16.1709397957115; Sat, 02 Mar 2024 08:45:57 -0800 (PST) MIME-Version: 1.0 From: Andrew Schulman Date: Sat, 2 Mar 2024 11:45:46 -0500 Message-ID: Subject: unison-2.53.4-1 To: cygwin-announce@cygwin.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: unison 2.53.4-1 is now available in Cygwin. This is a new upstream release, with minor improvements 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@cygwin.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