Commit graph

2931 commits

Author SHA1 Message Date
PThorpe92 c6eab635b9 fix: lifetime annotations and manpage/shell completion nits 2023-11-22 16:42:10 +01:00
MartinFillon 0889f23919 feat(input): adding piping of args
fix: lifetime issue
fix: try to fix lifetime issues for pipe from stdin
2023-11-22 16:42:10 +01:00
Steven Davies 2a63c93a63 fix: don't panic if the btime of a file is Err
Fixes #667
2023-11-22 14:43:09 +01:00
Steven Davies 09b66a70f3 fix: don't panic with todo!() on inaccessible dir
Fixes #655
2023-11-22 14:43:09 +01:00
Robert Minsk c0a3065f06 feat(xattr): Add netbsd and freebsd support for extended attributes 2023-11-22 14:31:03 +01:00
Robert Minsk 475ed40af9 feat(xattr): Handle formatting and display of binary extended attributes.
Fixes issue 425
TODO: Add FreeBSD support
TODO: Add environment variable for maximum length for hex display of
binary values.  Currently hard coded to 16.
2023-11-22 14:31:03 +01:00
Christina Sørensen 9df7dc69c3 chore(flake): update flake inputs
I just bumped semnix versions, and thus it felt fitting to bump our flake inputs as well.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-17 08:22:10 +01:00
Christina Sørensen 6997414f50 test: long view options
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-16 14:41:07 +01:00
Christina Sørensen 7616ad5903 test: filtering and sorting
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-16 14:41:07 +01:00
Christina Sørensen 9c55a616c2 test: display and meta options
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-16 14:41:07 +01:00
MartinFillon ced41b911a test(vars): Vars mocking
Implemented var mocking in order to sue in tests, especially clap tests
2023-11-16 14:06:28 +01:00
Yogansh Sharma 643fa5cf7e fix(docs): Escape ``` in zsh completions
- fixes #631
2023-11-16 14:01:51 +01:00
Christina Sørensen 7b813751cb build: sign release tags
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-16 11:42:39 +01:00
Christina Sørensen ecc2eac4fb chore: release eza v0.16.0
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-16 11:14:43 +01:00
Christina Sørensen 0af411d0a9 chore(flake): stabilize powertest version
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-16 10:06:51 +01:00
Christina Sørensen 6ea8ff4715 test(powertests): add hashed versions of powertests
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-16 10:06:51 +01:00
MartinFillon cf0c57d7ad docs(total-size): added the fact that total-size is unix only 2023-11-13 18:02:07 +01:00
Christina Sørensen 1d826a80a9 chore(git): ignore blame from #644
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-13 17:45:52 +01:00
Christina Sørensen 4f949fc9bb test(powertest): powertests using generated testdirs
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-13 17:41:03 +01:00
MartinFillon 2273e29bc0 test: Implements tests using the generated directory
Picked from #592
2023-11-13 17:41:03 +01:00
Christina Sørensen d6d02d14e8 feat(powertest): add powertest
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-13 17:41:03 +01:00
Christina Sørensen a99638a3dc feat: abort on panic (saving 0.1 M)
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-12 18:44:32 +01:00
Christina Sørensen 0b2128e812 fix(snap): fix snapcraft.yaml formatting
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-12 08:41:04 +01:00
MartinFillon 79cf3a2257 fix(flags): colo[u]r-scale didn't have a base value
Base value is set to all
2023-11-12 08:35:25 +01:00
Steven Ward 1343ff72f6 fix(docs): move --smart-group to long view options
`--smart-group` is only applicable if `--group` is given.
Move its description to be after `--group` in the LONG VIEW OPTIONS
section.
2023-11-12 08:31:11 +01:00
Jonathan 31e0193364 fix: Snap requires a base 2023-11-12 08:29:18 +01:00
Christina Sørensen c479c6dcbf docs(filetypes): add comments for bzip variants
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-12 08:24:55 +01:00
Jonathan 29c7ca33d1 feat: Add some file extensions
This adds file extensions for Kusto, Malloy, SPARQL and Zig.

Signed-off-by: Jonathan <vanillajonathan@users.noreply.github.com>
2023-11-12 08:24:55 +01:00
Christina Sørensen 363c53e08f fix(build): fix cross compilation
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-12 07:57:41 +01:00
Christina Sørensen f113353910
Merge pull request #586 from MartinFillon/fix-git-repos-column-always-showing
fix(git)!: remove Repo column when using --git-repos when no git repo
2023-11-12 07:55:31 +01:00
MartinFillon c45951a714
Merge branch 'main' into fix-git-repos-column-always-showing
Signed-off-by: MartinFillon <114775771+MartinFillon@users.noreply.github.com>
2023-11-12 00:24:14 +01:00
Christina Sørensen 9683862a42 chore: release eza v0.15.3
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-09 08:16:54 +01:00
Christina Sørensen 4767d299c3 fix(lint): allow unused macro rule arms
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-08 19:45:52 +01:00
Christina Sørensen 2775a05500 refactor(theme): finalize decay -> color_scale
This finalizes the move from `decay` to `color_scale`, mostly via a `sed
-i 's/decay/color_scale/g' src/**.rs`, but doc errors emerging from this
move were also corrected.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-08 19:45:52 +01:00
Christina Sørensen bf69d295ba refactor(theme): remove commented out test code
This code seems no longer significant, and serves no purpose existing in
the codebase.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-08 19:45:52 +01:00
Christina Sørensen f6d243b4b3 fix(docs): reformat help.rs
`help.rs` had many lines that were overflown, as well as column
alignment issues. These have been adjusted and reflown.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-08 19:45:52 +01:00
Christina Sørensen 288696db10 feat: add --color-scale
This is based on a series of commits done by aashirabadb in #526.

This introduces the `--color-scale` flag both for file age and size, as
well as `--color-scale-mode` which allows "fixed" and gradient".

The reason for reapplying from the diff of the PR instead of the patch
is that the commit history was messy, and introduced "breaking changes"
that were only locally breaking to the PR, that is, not the users.

Further, the PR had seemingly gone stale, and the rather long and
complicated commit history interwoven with merges made it seem more
efficient to just work from scratch.

Again, the work here is done by aashirbadb, my contribution is just
ensuring the quality of the code they've written.

Co-authored-by: aashirbadb <aashirbadbhandari@gmail.com>
Signed-off-by: Christina Sørensen <christina@cafkafk.com>

Refs: #486
2023-11-08 19:45:52 +01:00
dependabot[bot] f2b89bbaaa build(deps): bump rustix from 0.38.13 to 0.38.21
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.13 to 0.38.21.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.13...v0.38.21)

---
updated-dependencies:
- dependency-name: rustix
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-08 08:17:26 +01:00
Jonathan 20c8c208bc feat: Add PRQL
PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement.

https://prql-lang.org/
https://github.com/PRQL/prql

Signed-off-by: Jonathan <vanillajonathan@users.noreply.github.com>

feat: Add PRQL

PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement.

https://prql-lang.org/
https://github.com/PRQL/prql
2023-11-07 19:46:48 +01:00
MartinFillon 66dc7551bf fix(git)!: remove Repo column when using --git-repos when no git repo
Repo column was always showing even tho no repo was here
see eza-community/eza#579 first point

test(nix): changed nix tests on git repos
2023-11-07 11:10:56 +01:00
Christina Sørensen ea5c1e0a4b
Merge pull request #622 from eza-community/dependabot/github_actions/DeterminateSystems/nix-installer-action-7
build(deps): bump DeterminateSystems/nix-installer-action from 4 to 7
2023-11-07 05:56:19 +01:00
dependabot[bot] f1de9b2289 build(deps): bump libc from 0.2.149 to 0.2.150
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.149 to 0.2.150.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.149...0.2.150)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07 05:54:10 +01:00
dependabot[bot] 95f328c944
build(deps): bump DeterminateSystems/nix-installer-action from 4 to 7
Bumps [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action) from 4 to 7.
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v4...v7)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 23:00:10 +00:00
PThorpe92 e11632a8be feat: add ocaml icon filetypes 2023-11-06 15:02:28 +01:00
9glenda faaac59266 ci(nix): refactor publish workflow
- `flakehub-backfill.yaml` and `flakehub-publish-tagged.yml` replaced by `publish-flake.yml`
- flakestry.dev is also supported by `publish-flake.yml`
2023-11-06 14:55:50 +01:00
Christina Sørensen 0c75e4cc97 feat(docs): demo gif and gif generation recipe
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-04 13:31:30 +01:00
Christina Sørensen bb31787afb docs: introduce INSTALL.md
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-04 13:31:30 +01:00
Christina Sørensen 2b708287af docs: improve README.md
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-04 13:31:30 +01:00
9glenda ad3d0f4c67 ci(nix): refactor pre-commit-hooks
The pre-commit-hooks now use the treefmt formatter list.
The `toFilter` list is used to filer the formatters not supported by treefmt.
2023-11-04 13:26:22 +01:00
Christina Sørensen 168abd252c chore(github): improve the PR template
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-04 09:46:26 +01:00