Repository navigation
Releases
Releases · alexgorbatchev/workspace-overlay-cli
v0.0.6
Changelog
- 957ca2e chore(ci): update actions and reduce runner usage
- 606ce9c chore(deps): upgrade cobra-help-tree to v4
- 424d09a chore: remove justfile shell tests
- 0264069 chore: standardize setup and run entrypoints
- 074c7a1 fix(session): retain backing handles until completion is consumed
- 53bc4b4 perf(overlayfs): cache native reads and recover watcher overflow
- a4c1b67 perf(overlayfs): cache watched directory attributes
v0.0.5
Summary
- Reduce filesystem overhead for metadata lookups, directory listings, binary detection, and marked-file size calculations while preserving fresh backing-file reads.
- Keep path metadata consistent for Git's project-only view and editors' merged view, including when another caller has the file open.
- Report accurate sizes for staged merged writes and binary-collision explanations.
v0.0.4
Summary
- Files supplied by multiple overlays without a project copy mark every overlay section. Text added above the first marker becomes the project's own copy.
- Metadata caching reduces repeated filesystem lookups where callers share the same view, while preserving Git's project-only view and invalidating cached entries when backing files change.
- Declining to stop processes that keep a mount busy prints a reminder to run
workspace-overlay overlay unmountto be asked again.
v0.0.3
Summary
- Colliding files in common text formats (Markdown, HTML/XML, TOML, YAML, shell, Python, Ruby,
.env, ignore files, Dockerfiles, Makefiles, and common source files) are marked without any configuration: each overlay's part sits betweenBEGINandEND WORKSPACE-OVERLAYlines that name the overlay and its source file. Configured[[markers]]take precedence. Workspaces that had no[[markers]]showed these files joined without separators before. - Saving a marked file sends each part to its own source however the program saves it: written in place, opened with truncation, removed and written again, or written to a temporary file that is renamed over it. Vim and Neovim save correctly with their default settings. Text added after an end marker joins the overlay it follows.
- Overwriting a merged file with shorter content no longer keeps the end of the old content.
- Git works on files that an overlay also has: status stays clean, and checkout, stash, and other operations that rewrite a project file succeed.
- When a mount cannot be removed because processes are using it,
overlay unmountand a stoppedoverlay mountlist each process with its PID, command, and working directory. On a terminal they offer to stop those processes and unmount. This usesfuserfrom thepsmiscpackage. - A worktree listing that fails while Git is still creating a worktree is tried again instead of stopping the project.
v0.0.2
Summary
- A
workspace-overlay.tomlthat is a symbolic link resolves its relative project and source paths from the directory the link is in. A workspace can keep its configuration elsewhere, link it into its root, and still name its projects from that root. - A workspace reached through a symlinked directory still resolves to its real location.
- For a symlinked configuration, mounts are recorded under the link's directory instead of the target's. Stop overlays started by 0.0.1 from such a configuration before upgrading.
v0.0.1
Summary
- First release of
workspace-overlay: a writable, layered view that merges shared and per-project overlay directories into each configured project and its registered Git worktrees. - Text files that exist in more than one layer are joined end to end and stay editable; a binary collision shows an explanation instead of content.
- Overlay-only paths are hidden from Git while mounted, and
overlay unmountoroverlay mount --replacerecover after the mounting process is killed. - Prebuilt static binaries for Linux x86-64 and arm64. The runtime needs
/dev/fuse,fusermount3,findmntandgit.