Skip to content

feat: --json format, ResourceFork decoding, mount root path, directory theme styling, and Icon\r (eza#1898, #1541, #1463, #1806, #1824) - #7

Merged
fxrdhan merged 8 commits into
mainfrom
feat/batch-5-upstream-ports
Aug 20, 2026
Merged

feat: --json format, ResourceFork decoding, mount root path, directory theme styling, and Icon\r (eza#1898, #1541, #1463, #1806, #1824)#7
fxrdhan merged 8 commits into
mainfrom
feat/batch-5-upstream-ports

Conversation

@fxrdhan

@fxrdhan fxrdhan commented Aug 20, 2026

Copy link
Copy Markdown
Owner
Description

This PR ports and hardens structured output formats, extended attributes decoding, and UI theme customizations from eza-community/eza into lsr. Each item is committed as its own granular, atomic commit:

  1. Commit 1 (e05a414a): feat(output): add --json structured JSON output format (ported from eza-community/eza#1898)
    • Introduces the --json output flag to emit machine-readable JSON records containing complete file metadata, permissions, sizes, Git status, and timestamps.
  2. Commit 2 (cd67184b): feat(xattr): decode com.apple.ResourceFork extended attributes on macOS (ported from eza-community/eza#1541 and eza-community/eza#771)
    • Decodes legacy Apple com.apple.ResourceFork extended attributes on macOS to display resource types and counts in -@ / --extended view.
  3. Commit 3 (6ea538af): feat(mounts): display mount root path alongside mount info (ported from eza-community/eza#1463)
    • Displays the mount point destination and root paths in --mounts / -M output.
  4. Commit 4 (0d2219a0): feat(theme): support directorynames styling in theme.yml (ported from eza-community/eza#1806)
    • Adds directorynames mapping support in theme.yml to allow customizing folder colors and styles by name.
  5. Commit 5 (8f9d7a18): feat(icons): add Apple icon for macOS Icon\r files (ported from eza-community/eza#1824 and eza-community/eza#1831)
    • Adds custom Nerd Font icons for macOS Icon\r folder custom icons and modern desktop configurations.
Documentation & Man Pages
  • Updated README.md, man/lsr.1.md, and man/eza.1.md documenting --json schema and theme configuration.
How Has This Been Tested?
  • Test Suite: cargo test --all-targets (528 tests passing with unit and edge case tests).
  • Linter: cargo clippy --all-targets --all-features (0 warnings).
  • Formatting: cargo fmt --check / nix fmt (clean).
  • Compliance: reuse lint (100% compliant with REUSE v3.3).

@fxrdhan fxrdhan changed the title feat: Batch 5 upstream ports (eza -> lsr) feat: Batch 5 upstream ports Aug 20, 2026
@fxrdhan fxrdhan changed the title feat: Batch 5 upstream ports feat: --json format, ResourceFork decoding, mount root path, directory theme styling, and Icon\r (eza#1898, #1541, #1463, #1806, #1824) Aug 20, 2026
@fxrdhan
fxrdhan merged commit f82f953 into main Aug 20, 2026
@fxrdhan
fxrdhan deleted the feat/batch-5-upstream-ports branch August 23, 2026 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant