Skip to content

Cairn 0.1.34

Latest

Choose a tag to compare

@stepankandrushin stepankandrushin released this 28 Nov 09:58
· 3 commits to main since this release

A sync no longer waits for good on a connection the network left half open, the Android app's included, and cairn status no longer holds the whole tree in memory: on a tree of 868,000 entries it takes 0.4 GB where it went past 10 GB. The server is as in 0.1.33.

This is early software. Keep another copy of anything you put through it.

Linux (static), the client on each device, cairn-0.1.34-linux-x86_64 or, on ARM64, cairn-0.1.34-linux-aarch64, and the server, x86_64, on one machine:

sha256sum -c --ignore-missing cairn-0.1.34.sha256
install -D -m 755 cairn-0.1.34-linux-x86_64 ~/.local/bin/cairn       # ARM64: cairn-0.1.34-linux-aarch64
sudo install -m 755 cairn-0.1.34-linux-x86_64-server /usr/local/bin/cairn-server

macOS: unpack cairn-0.1.34-macos-universal.app.tar.gz (Cairn.app) and cairn-0.1.34-macos-universal-tray.app.tar.gz (Cairn Tray.app) into ~/Applications; README.md has the launchd agent for Cairn.app. Windows: put cairn-0.1.34-windows-x86_64.exe and cairn-0.1.34-windows-x86_64-tray.exe in a folder of their own as cairn.exe and cairn-tray.exe. cairn-0.1.34.sha256 is every file's SHA-256, and update.json the signed list of this release's files that every installed copy checks.

Android 11 and later: open cairn-0.1.34-android.apk on the phone, and install it over the app to update it; the app's manual shows each step. It does not update itself. Every APK of the app is signed by the same key, its certificate's SHA-256 dc981e26f3084defacb05268103e31ba30eb7cd6c01734ae9f19742f56009006, which apksigner verify --print-certs cairn-0.1.34-android.apk shows; Android installs an update only when that key signed it.

Every file is at https://cairn.storage/download/0.1.34.html and in GitHub's release v0.1.34, each with its SHA-256.

The server is unchanged since 0.1.33; a 0.1.34 client works with a 0.1.33 server.

Changes in 0.1.34

Fixed:

  • A sync no longer waits for good on a connection the network left half open, as when a machine's address
    changes in the middle of a download: a read or a write that moves nothing for ten minutes fails as the
    network's, and the next sync starts on a new connection.
  • cairn status and cairn sync --dry-run no longer hold the whole tree in memory. A dry run judges by the
    state as a sync that carries a change does, its record of the tree rebuilt from the state rather than the
    one kept trusted: on a tree of 868,000 entries 0.4 GB where it went past 10 GB. It says what the full way
    says, and writes nothing but what its scan read, the state refusing any other write. cairn status names
    what cairn exclude left out without loading the tree, and loads nothing when nothing is.