Repository navigation
Build sandfs in: no sandfs to install - #4
Merged
Merged
Conversation
Graft calls the sandfs library instead of running the `sandfs` command, so installing `gft` is all it takes. Mounts are served by `gft` itself, run again as `gft sandfs daemon`. `GRAFT_SANDFS` goes, and the tests and CI need only a mount. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01CboUL9BU7nvDEZKfQBSkkq
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01CboUL9BU7nvDEZKfQBSkkq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Graft now calls the
sandfslibrary (lydakis/sandfs#167, merged) instead of running thesandfscommand, socargo install --git https://github.com/lydakis/graftis all it takes.What changes
src/tools.rs:sandfs()returns asandfs::Home;mount,forkandcopy_changesare small wrappers over its methods.changesandmountedread typed results (Changes,workspaces()) instead of parsing printed lines.syncreads the files changed on both sides fromUpdated::both.maincallssandfs::handle_relaunch(&["sandfs"])first. The mount process isgftitself, run again asgft sandfs daemon --serve; git's file monitor in a mount runsgft sandfs git-fsmonitor.sandfscommand, if installed, still lists them.GRAFT_SANDFSis gone. The tests need only a mount (GRAFT_REQUIRE_MOUNT, wasGRAFT_REQUIRE_SANDFS), and clean up throughsandfs::Home::at. CI no longer installs sandfs.sandfsis a git dependency onmainuntil the library is released on crates.io.Tests
cargo fmt,clippy -D warningsandcargo testwithGRAFT_REQUIRE_MOUNT=1,TMPDIRon btrfs, and nosandfson thePATH: 10 unit tests and both workflow tests pass, against sandfs main (3fefc8a).🤖 Generated with Claude Code
https://claude.ai/code/session_01CboUL9BU7nvDEZKfQBSkkq