Repository navigation
Conversation
r still only relabels. Edit opens the add-location form over the bookmark line so a bad URI can be rewritten in place. An unmounted share's menu is Edit alone, which is how a bookmark gio cannot mount (sftp://user@host:22/~; gio does not expand ~) gets fixed. A mounted share keeps Unmount first, and Ctrl+E reads releaseAction rather than the first menu row so it cannot fire Edit. Places.replace rewrites the matched GTK bookmarks line; an empty old URI appends, which is also the add dialog's write now.
Edit rewrites a bookmark; there was still no way to drop one. Remove deletes the GTK bookmarks line, and unmounts if it was live so the row leaves the rail instead of becoming a mount-only leftover.
The add form writes sftp://user@host:22/path and gio mount -l reports the same share without the default port. normalize only stripped trailing slashes, so opening a saved place added a second, brighter row and left the cursor on the dim bookmark. Drop a scheme's default port in the same canonical form already used on write and on dedup. A non-default port is kept.
After port-collapse, gio's row won the rail and kept gio's own name
("tom" for an SFTP session). Rename wrote the bookmarks file, then the
poll put "tom" back. Places.networkEntries prefers the bookmark label.
Unmount of a share Flea is listing also failed as busy; go Home first
when the open FUSE path is that share, then gio mount -u.
gvfsd-sftp mounts one connection per host. gio mount -l lists sftp://user@host/ even when the bookmark is .../home/tom, so the home row stayed dim and Unmount of the root failed as busy while Flea was listing the home path on the same FUSE mount. A second SFTP path on that host stays its own row and reads as mounted. Unmount sends gio the live root URI and leaves Home when any path on that connection is open. SMB/NFS stay per-share.
Protocols.parse split credentials on the last @ in the whole URI, so a path like inbox@2026 was stolen as a username on save. The path is now cut off before that search. Remove of a live share wrote the bookmarks file before gio mount -u finished, so a busy unmount left the share mounted with no row to retry from. The file is rewritten from unmountProcess.onExited only when gio succeeds; an idle bookmark is still dropped immediately.
Detect copies and moves whose source and destination are separate GVFS mounts, label them explicitly, and prove they retain the existing backend's copy, move, and undo semantics. LR-T: ./tests/run-all.sh (10 suites, 0 failed); ./tests/ops.sh; ./tools/flea-qmllint-gate; ./tools/flea-file-budget LR-D: remote transfers already worked but were indistinguishable from local operations in progress feedback LR-K: ui/js/Remote.js; ui/js/Ops.js; tests/ops.sh
Turn share and menu rows into bounded accelerated views, keep keyboard cursors visible, and add deterministic wheel arithmetic and surface-coverage tests. LR-T: ./tests/run-all.sh (11 suites, 0 failed); ./tools/flea-qmllint-gate; ./tools/flea-file-budget LR-D: large SMB and Taildrop lists overflowed their viewport; pointer scrolling had no regression coverage LR-K: ui/ContextMenu.qml; ui/ShareBrowser.qml; tests/scroll.sh
Add bounded parsers for Avahi and Tailscale, Quick Connect shorthand, sanitized recent/Wake state, IPv6-safe protocol parsing, and metadata-aware rail merging. LR-T: ./tests/js.sh (1,263 checks, 0 failed) LR-D: discovery, shorthand, history, and live mount state need one canonical URI and first-position metadata merge LR-K: ui/js/Discovery.js; ui/js/Tailnet.js; ui/js/QuickConnect.js; ui/js/Recents.js
Wire LAN and tailnet discovery, health, recents, Quick Connect, SSH/Taildrop/clipboard actions, and validated Wake-on-LAN through one composed network rail. LR-T: cargo test (341 passed); ./tests/modes.sh; live Wayland Configuration Loaded LR-D: Tailscale supplies private reachability while GIO protocols remain the filesystem transport LR-K: ui/NetworkRail.qml; ui/NetworkDiscovery.qml; ui/NetworkActions.qml; src/wol.rs
Cover real Quickshell process calls, timeout and malformed states, action exit reporting, secret-free persistence, packaging dependencies, and operator-facing network documentation. LR-T: ./tests/run-all.sh (12 suites, 0 failed); ./tests/network-services.sh LR-D: command-backed discovery and actions require failure, empty, malformed, unavailable, and timeout coverage LR-K: tests/network-services.sh; tests/network-services.qml; README.md; PKGBUILD
Remove separator-only lines after combining PR thisisgm#21's safe-remove path with discovery health; behavior is unchanged. LR-T: ./tests/budget.sh LR-D: the integrated service reached 405 lines against the repository's 400-line hard limit LR-K: ui/NetworkMounts.qml
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Compare GVFS mount roots and require every source to be remote and different from the destination before saying a batch crosses remote hosts. LR-T: ./tests/js.sh (1,171 checks, 0 failed); ./tests/ops.sh LR-D: mixed batches and same-mount copies were described too broadly LR-K: ui/js/Remote.js; tests/js/remote.js
Reset a pending remote kind when the backend refuses a transfer before transferstarted, fail the backend integration test when the remote move never finishes, and cover move wording. LR-T: ./tests/js.sh (1,173 checks, 0 failed); ./tests/ops.sh; ./tools/flea-qmllint-gate; ./tools/flea-file-budget LR-D: a pre-start error could leak remote wording into the next transfer LR-K: ui/PaneWire.qml; ui/js/Ops.js; tests/ops.sh
Fall back from unsupported RENAME_NOREPLACE only for directories on fuse.rclone. Preserve no-clobber behavior with an explicit collision check and rclone's directory-move contract, while keeping files and other filesystems on the atomic path.
The checklist this branch is being worked against: Tailscale treated as a private routed network rather than a filesystem protocol, peers discovered through Tailscale and reached over SFTP/SMB/NFS/WebDAV, plus the completion rules (no item ticked before its named automated test passes, failure/empty/ malformed/unavailable/timeout covered for command-driven features, file size caps, full matrix run twice). It was sitting untracked, so it existed only on this machine. Note it rides this branch: drop it before opening anything upstream. LR-T: flea, tailscale, checklist, network LR-D: networking, desktop LR-K: flea-network-tricks-checklist LR-P: docs Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_018dpDaNUG2v8dthwqgMnr7x
WHAT: The NETWORK rail now shows what is reachable, not only what was saved. ui/NetworkDiscovery.qml polls "tailscale status --json" and "avahi-browse -artp" every 30s, and ui/NetworkRail.qml folds the results in behind the saved places and live gvfs mounts. On gus this turns an empty rail into 26 tailnet hosts, online ones first. WHY: Flea 0.3.8 never browsed the network at all: the rail was the bookmarks file plus whatever gio already had mounted, so a machine you had not written down by hand did not exist. Fred asked whether Flea could list the network hosts at the bottom of the left tree. It could not. Now it does. HOW: A discovered host is an ordinary unmounted kind "share", which is the shape ui/NetworkMounts.qml activate() already routes through openShare, so no second activation path exists and clicking a host mounts and opens it down the same leg a bookmark does. ui/NetworkRail.qml EXTENDS Flea.NetworkMounts rather than wrapping it, inheriting the whole twenty-member surface unchanged; the window-long host builds one of these instead, and ui/WindowBody.qml changes by exactly one word. That indirection is deliberate: ui/NetworkMounts.qml and ui/Sidebar.qml both sit at the length tools/flea-file-budget records and may not grow by a line. Saved places always win: Discovery.merge dedupes by normalized URI with the operator's own rows first, so discovery can never shadow a bookmark's label nor re-offer a mounted share. Both legs are bounded the way ui/MountListing.qml bounds its gio listing, with a per-leg 8s deadline and the last good answer standing, so a host that stops answering cannot hold the rail. Polling follows the inherited _rails gate, so a rail nobody can see runs no processes. Tailnet refusals are named states (missing, daemon-stopped, logged-out, no-peers) rather than one silent empty list, and Mullvad exit relays are filtered out because they are reachability with no filesystem behind them. VERIFIED: tests/js.sh 11296 checks 0 failed (+29 from the two new suites), flea-qmllint-gate 0 regressions, flea-file-budget exit 0 with every new file inside its soft budget and ui/WindowBody.qml still at its recorded 651 lines. Built and installed 0.3.8-1, launched, and read the rail off a screenshot: saved VIC/Projects/google first, then the 14 online hosts, then the offline ones. smb://vic.local/ and sftp://vic.tail.ts.net/ both show, correctly: they are different protocols to different endpoints. CONTEXT: Ported from the fork's feat/network-productivity branch (PR thisisgm#32, closed upstream, 2747 commits behind main), rebuilt against 0.3.8 rather than rebased. Row kind changed from the branch's "peer"/"discovered" to "share". TAGS: network, discovery, tailscale, avahi, rail, sidebar, mounts, port LR-T: network-discovery, tailnet, avahi, network-rail, flea LR-D: flea, ui, network LR-K: discovered-host-is-an-unmounted-share, saved-places-win-the-merge, facade-extends-networkmounts-to-respect-the-file-budget, per-leg-deadline-last-good-answer-stands LR-L: law-7, law-9, law-10, law-11, law-14 LR-E: medium LR-P: shipped LR-R: 81a1eb0 Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AnB5YmkdfX8Yri7gSGuAWf
|
A typed user@host:/path address was treated as a local path. A user@host:/path location opens as a network share (6839f48421, v0.4.0). Further requested work is recorded for a later release: host discovery and Wake-on-LAN. Thanks @nixfred! Release. |
|
Nearby hosts on Network's + grew from your discovery work; it landed, off by default, with you as co-author in 2b5e559, shipped in v0.4.1. Thanks @nixfred! https://github.com/thisisgm/flea/releases/tag/v0.4.1 |
Dependency order
The branch contains those exact commits so it is testable now; GitHub's diff will shrink as the prerequisite PRs merge.
What changes
user@host:/path,host/share, bare hosts, supported URIs, IPv4, and bracketed IPv6flea --wake <mac>validation and a 102-byte UDP magic packetAdditional bugs fixed
gio listcould hang foreverEINVAL@-in-path and failed-live-remove fixes are retainedVerification, repeated twice
./tests/run-all.sh— 13 suites, 0 failed; final pushed head has 1,270 JS/QML checks~/googlerclone rename succeeds; occupied destination remains untouched./tools/flea-qmllint-gate— 0 regressions./tools/flea-file-budget— all hard caps passgit diff --checkConfiguration Loadedtests/ui.shcases:omarchy-driveis not installed, packaged, or publicly discoverable under that name on this machine; deterministic QML process tests and live loads are greenSafety
Discovery and recovery never run
sudo, start daemons, or change authentication. External commands are argv-direct; persisted URIs strip passwords, query strings, fragments, and control characters. rclone compatibility is limited to directories on mounts identified exactly asfuse.rclone; files and all other filesystems retain atomic no-clobber rename.