Commit graph

16 commits

Author SHA1 Message Date
Oded Falik
6753ade6ff feat(rclone): add read-only rclone VFS provider
Adds an `rclone://<remote>/<path>` scheme backed by the rclone CLI, giving
yazi native browsing of any of rclone's 100+ remotes (S3, GCS, Azure, SFTP,
WebDAV, local, …) without a FUSE mount.

- New SchemeKind::Rclone threaded through the scheme/URL type system,
  mirroring Sftp (remote, virtual, Unix-path, byte-encoded path semantics).
- yazi-vfs rclone provider:
  - read_dir via `rclone lsjson`
  - metadata via `rclone lsjson --stat` (synthesized POSIX mode)
  - seekable read-only File streaming `rclone cat --offset`; seek respawns
    the child at the new offset. Detects premature EOF and unknown sizes.
  - all write ops return Unsupported (read-only for now)
  - `remote:/path` targets preserve the leading slash, so filesystem-like
    backends (local, sftp) work alongside object stores.
- Config: [services.<name>] type = "rclone", remote = "..."
- Tests:
  - tests/rclone_local.rs: hermetic, points an rclone `local` remote at a
    temp fixture dir, so it needs no cloud/credentials and skips if `rclone`
    isn't installed. Covers list, read, seek, missing-object, and a >8 MiB
    parallel multi-chunk copy with position-varying bytes.
  - tests/rclone_read.rs: env-driven live tests against a real remote
    (ignored by default; paths supplied via env vars, nothing hard-coded).
2026-07-07 12:17:38 -07:00
三咲雅 misaki masa
581886a355
feat!: make help menu a command palette (#4074) 2026-06-22 23:57:29 +08:00
三咲雅 misaki masa
1caa5807c6
fix: mock OS-level reaping on Windows to avoid child processes potentially detached (#3922) 2026-04-30 18:50:51 +08:00
三咲雅 misaki masa
d0adb9c015
feat: new ind-sort and key-sort DDS events to change sorting in Lua (#3391) 2025-12-01 10:51:27 +08:00
sxyazi
449450d0db
feat!: introduce Path as a subset of Url to enforce type safety (#3361) 2025-11-24 15:23:06 +08:00
sxyazi
81a0cf4a1e
ci: enable Dependabot 2025-09-06 23:40:06 +08:00
三咲雅 · Misaki Masa
56d6e4a71e
fix: do not change revision when package deployment fails (#2627) 2025-04-16 17:14:39 +08:00
Valter Santos
6bc4a0295d
docs: correct the cargo test command in the contribution guide (#2182)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2025-01-09 15:52:13 +08:00
sxyazi
c65bdb3b09
fix: implement FromLua for Cha instead of AnyUserData 2024-11-14 13:08:11 +08:00
三咲雅 · Misaki Masa
00486521b8
perf: lazy load ui, ya, fs, and ps (#1903) 2024-11-13 11:38:11 +08:00
三咲雅 · Misaki Masa
ef1a31a274
perf: using usize instead of *const OsStr reduces memory usage (#1839) 2024-10-26 17:09:27 +08:00
George Nelson
dcd23f2cd3
ci: fix cargo unit tests execution (#1041) 2024-05-15 23:23:23 +08:00
uncenter
3213674dc7
ci: add clippy/rustfmt workflow (#663) 2024-02-12 15:12:49 +08:00
sxyazi
f7f1e34649
refactor: use as_encoded_bytes instead of as_bytes 2023-11-25 12:38:54 +08:00
sxyazi
283f9377f2
chore: release 2023-10-21 13:27:26 +08:00
Collide
3313f17954
feat: shell completions & auto releasing (#282) 2023-10-21 12:18:26 +08:00
Renamed from .github/workflows/rust.yml (Browse further)