Skip to content

fileregister 2.1.0

Latest

Choose a tag to compare

@rhsev rhsev released this 10 Oct 22:25

The bookmark store moved to ~/.local/share/fileregister/bookmarks.json. Versions before 2.1 kept it at ~/.local/share/bookmarks.json, a path the bookmark CLI shared; the store is now register's alone. There is no migration code. Move it once, before the first run of 2.1:

mkdir -p ~/.local/share/fileregister && mv ~/.local/share/bookmarks.json ~/.local/share/fileregister/

Without the move, register 2.1 starts with an empty store and every record shows a broken bookmark. Nothing is lost, and the move puts it right.

cleanup offers orphan bookmark entries. An entry that resolves but that no record claims used to be left alone, since another tool might have held it in the shared store. With the store register's own, it is a leftover: cleanup lists it with the dead and malformed entries, and --prune drops it. audit counts orphans as findings and exits 1.

go install finds 2.x. The module path is now github.com/rhsev/fileregister/v2. Go needs the /v2 for a major version of 2 or higher; without it, @latest resolved to 1.4.0. To install from source:

go install github.com/rhsev/fileregister/v2/cmd/register@latest

2.0.0 and 2.0.1 stay out of reach for go install; use the download or build from a checkout. Anyone who installed through the old path stays on 1.4.0 until they use the new command.

Upgrading from 2.0

  • Move the bookmark store (above). The download's INSTALL.txt has the command too.
  • From source: the new go install path.

Download (Apple Silicon): fileregister-macos-arm64.tar.gz bundles register with its two helpers in libexec/, the fileanchor 1.3.0 engine and grubber v0.19.0, plus each component's license in licenses/. Fetched with curl it runs as-is; after a browser download, clear the quarantine flag once in the unpacked folder: xattr -dr com.apple.quarantine register libexec. Intel Macs: build from source (go install + make fileanchor + make grubber).

License: PolyForm Noncommercial 1.0.0 (use, change, non-commercial).