204 Commits

Author SHA1 Message Date
oech3 575bf0aef9 Publish binary from main instead of discarding (#618) 2026-06-04 22:34:18 +02:00
vip892766gma b07b27d13f chore: improve findutils maintenance path (#687) 2026-06-04 21:28:34 +02:00
Sylvestre Ledru 9a1e379a9d fix: avoid panic on -fprintf with missing arguments (#698)
Fixes #696
2026-06-05 02:41:58 +08:00
Jesse Rosenstock 5269e233a6 find: implement -ok and -okdir (#650)
-ok is like -exec ... ; but prompts the user on stderr before each
invocation and only runs the command if the response is affirmative
(starts with 'y' or 'Y').  -okdir is the corresponding -execdir variant.
Only the ';' terminator is accepted: POSIX does not define -ok ... + and
GNU find rejects it.

Response source: GNU find reads from /dev/tty so that the user's answer
always comes from the real terminal even when stdin is occupied (e.g.
`find -files0-from - -ok rm {} \;` reads paths from stdin, so responses
cannot also come from there).  /dev/tty is the POSIX name for a
process's controlling terminal and exists on all Unix-like systems.  We
open /dev/tty only when stdin is itself a terminal
(std::io::stdin().is_terminal() == true).  When stdin is a pipe or file,
we read from stdin directly — matching BSD find and making scripted use
(and integration tests via pipe_in()) work naturally without any special
environment variable.  On Windows, or when /dev/tty cannot be opened, we
likewise fall back to stdin.

Implementation: rather than a separate OkMatcher that duplicated
SingleExecMatcher's fields, constructor, and exec logic, the interactive
prompt is folded into SingleExecMatcher behind an `interactive: bool`
field.  `SingleExecMatcher::new_interactive()` constructs the -ok/-okdir
variant; `matches()` adds a guarded block that builds a GNU-find-style
prompt ("< executable arg... >? ") and calls `matcher_io.confirm()`
before executing.  If the user declines, the expression is false and the
command is not run.  This keeps the arg-parsing, path resolution,
current_dir logic, and error handling in one place so bug fixes apply to
both -exec and -ok.

Dependencies::confirm() trait method: abstracts prompt+read so matchers
remain testable without a real terminal; FakeDependencies uses a
VecDeque of preset responses.

Tests:
- Unit tests (exec_unit_tests.rs): confirmed executes command, declined
  skips command and returns false, confirmed but command fails returns
  false, -okdir runs in parent dir
- Parser unit tests (matchers/mod.rs): missing-arg errors, missing
  semicolon, correct parse, confirm/decline via FakeDependencies
- Integration tests (test_find.rs): pipe_in() makes stdin a pipe so
  is_terminal() returns false and responses are read from the pipe;
  "y"/"Y"/"yes"/" y" run command, "n" and empty response skip command,
  -okdir runs in parent dir, prompt format verified, missing-semicolon
  error

Closes https://github.com/uutils/findutils/issues/8.
2026-06-04 20:31:54 +02:00
dependabot[bot] fd876a7a8a build(deps): bump ctor from 1.0.6 to 1.0.7
Bumps [ctor](https://github.com/mmastrac/linktime) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/mmastrac/linktime/releases)
- [Changelog](https://github.com/mmastrac/linktime/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mmastrac/linktime/compare/ctor-1.0.6...ctor-1.0.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-01 08:32:49 +02:00
dependabot[bot] cffa946ffa build(deps): bump uucore from 0.8.0 to 0.9.0
Bumps [uucore](https://github.com/uutils/coreutils) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/uutils/coreutils/releases)
- [Commits](https://github.com/uutils/coreutils/compare/0.8.0...0.9.0)

---
updated-dependencies:
- dependency-name: uucore
  dependency-version: 0.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-01 08:32:25 +02:00
dependabot[bot] 032d1c1fc0 build(deps): bump uutests from 0.8.0 to 0.9.0
Bumps [uutests](https://github.com/uutils/coreutils) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/uutils/coreutils/releases)
- [Commits](https://github.com/uutils/coreutils/compare/0.8.0...0.9.0)

---
updated-dependencies:
- dependency-name: uutests
  dependency-version: 0.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-01 08:26:02 +02:00
Sylvestre Ledru fe9e872710 CONTRIBUTING: link to the review guidelines website 2026-05-30 10:00:13 +02:00
dependabot[bot] c944cf7d1f build(deps): bump ctor from 1.0.5 to 1.0.6
Bumps [ctor](https://github.com/mmastrac/linktime) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/mmastrac/linktime/releases)
- [Changelog](https://github.com/mmastrac/linktime/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mmastrac/linktime/compare/ctor-1.0.5...ctor-1.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-18 07:05:55 +02:00
Daniel Hofstetter 079330c28c ci: deactivate pre-commit hooks (#679) 2026-05-13 11:20:44 +02:00
dependabot[bot] ebd2d3c959 build(deps): bump filetime from 0.2.28 to 0.2.29
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.28 to 0.2.29.
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.28...0.2.29)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-13 07:11:12 +02:00
dependabot[bot] b7c59b27a7 build(deps): bump nix from 0.31.2 to 0.31.3
Bumps [nix](https://github.com/nix-rust/nix) from 0.31.2 to 0.31.3.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.31.2...v0.31.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 10:28:26 +02:00
dependabot[bot] 35e3925968 build(deps): bump filetime from 0.2.27 to 0.2.28
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.27 to 0.2.28.
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.27...0.2.28)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 10:28:09 +02:00
dependabot[bot] 6e1922b508 build(deps): bump ctor from 1.0.1 to 1.0.5
Bumps [ctor](https://github.com/mmastrac/linktime) from 1.0.1 to 1.0.5.
- [Release notes](https://github.com/mmastrac/linktime/releases)
- [Changelog](https://github.com/mmastrac/linktime/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mmastrac/linktime/compare/ctor-1.0.1...ctor-1.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 10:21:53 +02:00
oech3 8664976e40 CONTRIBUTING.md: drop outdated hint (#678) 2026-05-08 14:54:02 +02:00
Daniel Hofstetter 29c644fc72 tests/common/mod.rs: adapt to change in ctor 2026-05-07 10:47:04 +02:00
Daniel Hofstetter 68d6d805f6 Bump ctor from 0.12.0 to 1.0.1 2026-05-07 10:47:04 +02:00
xtqqczze fafd557eed actions: add security audit workflow 2026-05-05 16:40:58 +02:00
Kevin Burke 69a20eb6df xargs: accept hyphenated -I and -E values
GNU xargs treats the arguments to -I, -E, and -e as values even when
they begin with a hyphen. Clap was parsing those strings as options
instead, so invocations like 'xargs -I -_' failed before xargs could
process input.

Allow hyphen-leading values for those options and add regression
coverage for replacement and EOF markers that start with '-'.
2026-05-05 16:26:23 +02:00
xtqqczze cb5005b489 Add SECURITY.md
Copied from https://github.com/uutils/coreutils/blob/5e974797bd8050c2d425a706670254ad0323404d/SECURITY.md

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2026-05-05 09:02:14 +02:00
dependabot[bot] 3b23c9a41e build(deps): bump ctor from 0.11.1 to 0.12.0
Bumps [ctor](https://github.com/mmastrac/rust-ctor) from 0.11.1 to 0.12.0.
- [Changelog](https://github.com/mmastrac/linktime/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mmastrac/rust-ctor/commits)

---
updated-dependencies:
- dependency-name: ctor
  dependency-version: 0.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-01 07:30:06 +02:00
dependabot[bot] b374033f88 build(deps): bump ctor from 0.10.1 to 0.11.1
Bumps [ctor](https://github.com/mmastrac/rust-ctor) from 0.10.1 to 0.11.1.
- [Changelog](https://github.com/mmastrac/rust-ctor/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mmastrac/rust-ctor/commits)

---
updated-dependencies:
- dependency-name: ctor
  dependency-version: 0.11.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-29 07:22:30 +02:00
dependabot[bot] 2332e46830 build(deps): bump onig from 6.5.2 to 6.5.3
Bumps [onig](https://github.com/iwillspeak/rust-onig) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/iwillspeak/rust-onig/releases)
- [Changelog](https://github.com/rust-onig/rust-onig/blob/main/CHANGELOG.md)
- [Commits](https://github.com/iwillspeak/rust-onig/compare/v6.5.2...v6.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-28 07:02:19 +02:00
dependabot[bot] 8c32bdd514 build(deps): bump onig from 6.5.1 to 6.5.2
Bumps [onig](https://github.com/iwillspeak/rust-onig) from 6.5.1 to 6.5.2.
- [Release notes](https://github.com/iwillspeak/rust-onig/releases)
- [Changelog](https://github.com/rust-onig/rust-onig/blob/main/CHANGELOG.md)
- [Commits](https://github.com/iwillspeak/rust-onig/compare/V6.5.1...v6.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-27 07:14:28 +02:00
dependabot[bot] b851e75a45 build(deps): bump ctor from 0.10.0 to 0.10.1
Bumps [ctor](https://github.com/mmastrac/rust-ctor) from 0.10.0 to 0.10.1.
- [Changelog](https://github.com/mmastrac/rust-ctor/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mmastrac/rust-ctor/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-23 07:12:04 +02:00
dependabot[bot] c2bdb92268 build(deps): bump clap from 4.6.0 to 4.6.1
Bumps [clap](https://github.com/clap-rs/clap) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.6.0...clap_complete-v4.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-21 07:08:22 +02:00
dependabot[bot] c885a0a8f0 build(deps): bump rand from 0.10.0 to 0.10.1
Bumps [rand](https://github.com/rust-random/rand) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/0.10.0...0.10.1)

---
updated-dependencies:
- dependency-name: rand
  dependency-version: 0.10.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-14 07:05:43 +02:00
dependabot[bot] 165b2fa1b6 build(deps): bump ctor from 0.9.1 to 0.10.0
Bumps [ctor](https://github.com/mmastrac/rust-ctor) from 0.9.1 to 0.10.0.
- [Commits](https://github.com/mmastrac/rust-ctor/commits)

---
updated-dependencies:
- dependency-name: ctor
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-13 07:09:35 +02:00
xtqqczze 134cfe9658 chore(deps): update rust crates 2026-04-11 07:59:41 +02:00
dependabot[bot] 114b1bc247 build(deps): bump actions/github-script from 8 to 9
Bumps [actions/github-script](https://github.com/actions/github-script) from 8 to 9.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v8...v9)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '9'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-10 07:02:13 +02:00
dependabot[bot] 113c307672 build(deps): bump ctor from 0.8.0 to 0.9.1
Bumps [ctor](https://github.com/mmastrac/rust-ctor) from 0.8.0 to 0.9.1.
- [Commits](https://github.com/mmastrac/rust-ctor/commits)

---
updated-dependencies:
- dependency-name: ctor
  dependency-version: 0.9.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-10 07:00:25 +02:00
oech3 3fb0a98ad7 build-gnu.sh: Support any profile 2026-04-08 16:40:31 +02:00
Daniel Hofstetter 7824335c47 Remove getrandom 0.3.1 (#655) 2026-04-08 16:34:37 +02:00
dependabot[bot] 1266b7ffd1 build(deps): bump uucore from 0.7.0 to 0.8.0
Bumps [uucore](https://github.com/uutils/coreutils) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/uutils/coreutils/releases)
- [Commits](https://github.com/uutils/coreutils/compare/0.7.0...0.8.0)

---
updated-dependencies:
- dependency-name: uucore
  dependency-version: 0.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-07 09:50:29 +02:00
dependabot[bot] 3b05fc9ea6 build(deps): bump uutests from 0.7.0 to 0.8.0
Bumps [uutests](https://github.com/uutils/coreutils) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/uutils/coreutils/releases)
- [Commits](https://github.com/uutils/coreutils/compare/0.7.0...0.8.0)

---
updated-dependencies:
- dependency-name: uutests
  dependency-version: 0.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-07 07:08:40 +02:00
dependabot[bot] 5610042e7d build(deps): bump ctor from 0.6.3 to 0.8.0
Bumps [ctor](https://github.com/mmastrac/rust-ctor) from 0.6.3 to 0.8.0.
- [Commits](https://github.com/mmastrac/rust-ctor/commits)

---
updated-dependencies:
- dependency-name: ctor
  dependency-version: 0.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-06 07:05:39 +02:00
Jesse Rosenstock 41778576e2 tests: port to uutests (#645)
Replaces assert_cmd/predicates/pretty_assertions/serial_test with uutests and
ctor in dev-dependencies.

Closes https://github.com/uutils/findutils/issues/537.

- Port tests/find_cmd_tests.rs → tests/test_find.rs (uutests API)
- Port tests/xargs_tests.rs → tests/test_xargs.rs (uutests API)
- Centralize UUTESTS_BINARY_PATH init via #[ctor::ctor] in tests/common/mod.rs

Implementation notes:
- Use TestScenario::cmd(BINARY_PATH) rather than ucmd(): find/xargs are
  dedicated binaries, not multi-call, so ucmd() would prepend the utility name
  as a spurious first argument
- Set CWD to CARGO_MANIFEST_DIR in find's ucmd() so relative test_data/ paths
  resolve correctly regardless of where cargo runs
- delete_on_dot_dir sets the child process CWD via UCommand::current_dir()
  instead of mutating the process-wide CWD, removing the need for serial_test
  and all #[serial(working_dir)] attributes

Also fixes find_samefile, find_fprinter, and find_fprintf, which were writing
temporary files directly into test_data/. They now use isolated temp
directories, eliminating a source of test pollution when running in parallel.
2026-04-03 10:21:47 +02:00
oech3 4b44193bd0 ci: simplify 2026-03-28 08:29:52 +01:00
dependabot[bot] 015727fa96 build(deps): bump codecov/codecov-action from 5 to 6
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5 to 6.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-27 07:14:02 +01:00
dependabot[bot] 87ce037bc5 build(deps): bump clap from 4.5.60 to 4.6.0
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.60 to 4.6.0.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.60...clap_complete-v4.6.0)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-13 07:39:32 +01:00
dependabot[bot] 159d4a5336 build(deps): bump tempfile from 3.26.0 to 3.27.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.26.0 to 3.27.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.26.0...v3.27.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.27.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-11 07:11:31 +01:00
dependabot[bot] 6a2d9a4208 build(deps): bump assert_cmd from 2.1.2 to 2.2.0
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.1.2 to 2.2.0.
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.1.2...v2.2.0)

---
updated-dependencies:
- dependency-name: assert_cmd
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-11 07:11:13 +01:00
oech3 7aa105c082 Use preinstalled rust & CARGO_INCREMENTAL=0 2026-03-10 10:16:40 +01:00
dependabot[bot] 86ed5ff862 build(deps): bump uucore from 0.6.0 to 0.7.0
Bumps [uucore](https://github.com/uutils/coreutils) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/uutils/coreutils/releases)
- [Commits](https://github.com/uutils/coreutils/compare/0.6.0...0.7.0)

---
updated-dependencies:
- dependency-name: uucore
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-10 07:08:16 +01:00
dependabot[bot] 2dd31d0292 build(deps): bump tempfile from 3.25.0 to 3.26.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.25.0 to 3.26.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/commits/v3.26.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.26.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-03 07:22:59 +01:00
dependabot[bot] 2db10b67fe build(deps): bump nix from 0.31.1 to 0.31.2
Bumps [nix](https://github.com/nix-rust/nix) from 0.31.1 to 0.31.2.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.31.1...v0.31.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 07:17:34 +01:00
dependabot[bot] d624f1d140 build(deps): bump actions/upload-artifact from 6 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-27 06:55:45 +01:00
dependabot[bot] 15e3654295 build(deps): bump actions/download-artifact from 7 to 8
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-27 06:55:01 +01:00
dependabot[bot] 2749b4a1c9 build(deps): bump chrono from 0.4.43 to 0.4.44
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.43 to 0.4.44.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.43...v0.4.44)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-24 07:11:54 +01:00
dependabot[bot] 4e1044cf60 build(deps): bump serial_test from 3.3.1 to 3.4.0
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.3.1...v3.4.0)

---
updated-dependencies:
- dependency-name: serial_test
  dependency-version: 3.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-23 07:15:36 +01:00
dependabot[bot] 48a60c16bc build(deps): bump clap from 4.5.59 to 4.5.60
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.59 to 4.5.60.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.59...clap_complete-v4.5.60)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-20 07:12:55 +01:00
dependabot[bot] 540736bde0 build(deps): bump clap from 4.5.58 to 4.5.59
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.58 to 4.5.59.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.58...clap_complete-v4.5.59)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-17 07:04:48 +01:00
dependabot[bot] 512f3e3ef6 build(deps): bump clap from 4.5.57 to 4.5.58
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.57 to 4.5.58.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.57...clap_complete-v4.5.58)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-12 07:01:42 +01:00
dependabot[bot] 0a64b7b468 build(deps): bump predicates from 3.1.3 to 3.1.4
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 3.1.3 to 3.1.4.
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v3.1.3...v3.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-12 07:00:51 +01:00
dependabot[bot] 9fc3febef2 build(deps): bump tempfile from 3.24.0 to 3.25.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.24.0 to 3.25.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/commits)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-10 07:01:42 +01:00
Daniel Hofstetter 0d7dfb7551 Merge pull request #624 from uutils/dependabot/cargo/regex-1.12.3
build(deps): bump regex from 1.12.2 to 1.12.3
2026-02-04 07:23:34 +01:00
dependabot[bot] 3cd80fdb3b build(deps): bump regex from 1.12.2 to 1.12.3
Bumps [regex](https://github.com/rust-lang/regex) from 1.12.2 to 1.12.3.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.12.2...1.12.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-04 06:07:57 +00:00
Daniel Hofstetter 85de2b90dd Merge pull request #625 from uutils/dependabot/cargo/clap-4.5.57
build(deps): bump clap from 4.5.56 to 4.5.57
2026-02-04 07:07:22 +01:00
Daniel Hofstetter 348af55f78 Merge pull request #626 from uutils/dependabot/cargo/uucore-0.6.0
build(deps): bump uucore from 0.5.0 to 0.6.0
2026-02-04 07:06:49 +01:00
dependabot[bot] af24303f0a build(deps): bump uucore from 0.5.0 to 0.6.0
Bumps [uucore](https://github.com/uutils/coreutils) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/uutils/coreutils/releases)
- [Commits](https://github.com/uutils/coreutils/compare/0.5.0...0.6.0)

---
updated-dependencies:
- dependency-name: uucore
  dependency-version: 0.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-04 03:32:50 +00:00
dependabot[bot] 8af7934123 build(deps): bump clap from 4.5.56 to 4.5.57
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.56 to 4.5.57.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.56...clap_complete-v4.5.57)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-04 03:32:41 +00:00
Daniel Hofstetter 60715e0443 Merge pull request #623 from uutils/dependabot/cargo/clap-4.5.56
build(deps): bump clap from 4.5.55 to 4.5.56
2026-01-30 07:55:04 +01:00
dependabot[bot] 8c45028239 build(deps): bump clap from 4.5.55 to 4.5.56
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.55 to 4.5.56.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.55...clap_complete-v4.5.56)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-30 03:32:32 +00:00
Daniel Hofstetter 995c92e426 Merge pull request #621 from uutils/dependabot/cargo/clap-4.5.55
build(deps): bump clap from 4.5.54 to 4.5.55
2026-01-28 07:00:14 +01:00
dependabot[bot] 30ea794e4a build(deps): bump clap from 4.5.54 to 4.5.55
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.54 to 4.5.55.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.54...clap_complete-v4.5.55)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-28 03:32:28 +00:00
Daniel Hofstetter 89a5327e5e Merge pull request #616 from uutils/dependabot/cargo/nix-0.31.1
build(deps): bump nix from 0.30.1 to 0.31.1
2026-01-23 08:46:44 +01:00
dependabot[bot] 449a199d53 build(deps): bump nix from 0.30.1 to 0.31.1
Bumps [nix](https://github.com/nix-rust/nix) from 0.30.1 to 0.31.1.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.30.1...v0.31.1)

---
updated-dependencies:
- dependency-name: nix
  dependency-version: 0.31.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-23 03:32:34 +00:00
Daniel Hofstetter 4b5f5ce95f Merge pull request #615 from uutils/dependabot/cargo/filetime-0.2.27
build(deps): bump filetime from 0.2.26 to 0.2.27
2026-01-19 07:31:05 +01:00
dependabot[bot] 641a450c2b build(deps): bump filetime from 0.2.26 to 0.2.27
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.26 to 0.2.27.
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.26...0.2.27)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-19 03:49:49 +00:00
Daniel Hofstetter 245623ecc6 Merge pull request #612 from uutils/dependabot/cargo/chrono-0.4.43
build(deps): bump chrono from 0.4.42 to 0.4.43
2026-01-15 07:07:56 +01:00
dependabot[bot] d79c0a9f22 build(deps): bump chrono from 0.4.42 to 0.4.43
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.42 to 0.4.43.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.42...v0.4.43)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-15 03:32:34 +00:00
Daniel Hofstetter af48c151fe Merge pull request #611 from uutils/dependabot/cargo/assert_cmd-2.1.2
build(deps): bump assert_cmd from 2.1.1 to 2.1.2
2026-01-12 07:03:12 +01:00
dependabot[bot] c11e663a57 build(deps): bump assert_cmd from 2.1.1 to 2.1.2
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.1.1 to 2.1.2.
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.1.1...v2.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-12 03:37:24 +00:00
Daniel Hofstetter d7ff7cd5da Merge pull request #609 from uutils/dependabot/cargo/clap-4.5.54
build(deps): bump clap from 4.5.53 to 4.5.54
2026-01-05 07:17:08 +01:00
Daniel Hofstetter d5f70aefe7 Merge pull request #610 from uutils/dependabot/cargo/serial_test-3.3.1
build(deps): bump serial_test from 3.2.0 to 3.3.1
2026-01-05 07:16:40 +01:00
dependabot[bot] e1f794cc4b build(deps): bump serial_test from 3.2.0 to 3.3.1
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.2.0 to 3.3.1.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.2.0...v3.3.1)

---
updated-dependencies:
- dependency-name: serial_test
  dependency-version: 3.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-05 03:02:00 +00:00
dependabot[bot] fab2ec3a78 build(deps): bump clap from 4.5.53 to 4.5.54
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.53 to 4.5.54.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.53...clap_complete-v4.5.54)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-05 03:01:54 +00:00
Daniel Hofstetter e8b12b905b Merge pull request #608 from uutils/dependabot/cargo/tempfile-3.24.0
build(deps): bump tempfile from 3.23.0 to 3.24.0
2025-12-24 07:12:23 +01:00
dependabot[bot] 29b915f3aa build(deps): bump tempfile from 3.23.0 to 3.24.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.23.0 to 3.24.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.23.0...v3.24.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-24 03:01:41 +00:00
Daniel Hofstetter 699b26ec52 Merge pull request #605 from uutils/dependabot/cargo/uucore-0.5.0
build(deps): bump uucore from 0.4.0 to 0.5.0
2025-12-15 07:16:34 +01:00
Daniel Hofstetter 584fcb1d3a Merge pull request #606 from uutils/dependabot/github_actions/actions/upload-artifact-6
build(deps): bump actions/upload-artifact from 5 to 6
2025-12-15 07:15:23 +01:00
Daniel Hofstetter 38f50c4609 Merge pull request #607 from uutils/dependabot/github_actions/actions/download-artifact-7
build(deps): bump actions/download-artifact from 6 to 7
2025-12-15 07:14:39 +01:00
dependabot[bot] 2968efc09b build(deps): bump actions/download-artifact from 6 to 7
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 03:03:50 +00:00
dependabot[bot] 0b08fbb194 build(deps): bump actions/upload-artifact from 5 to 6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 03:03:47 +00:00
dependabot[bot] ef7686aaae build(deps): bump uucore from 0.4.0 to 0.5.0
Bumps [uucore](https://github.com/uutils/coreutils) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/uutils/coreutils/releases)
- [Commits](https://github.com/uutils/coreutils/compare/0.4.0...0.5.0)

---
updated-dependencies:
- dependency-name: uucore
  dependency-version: 0.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 03:01:51 +00:00
Daniel Hofstetter 111eec1b6c find: fix warnings from filter_next lint (#604) 2025-12-11 19:41:23 -03:00
Brian Pane c5c5a16700 Merge pull request #603 from brian-pane/eof
Ignore -E/-e flag when a delimiter is specified
2025-12-07 11:54:27 +01:00
Sylvestre Ledru 1a65b7634a Merge pull request #596 from cakebaker/bump_uucore
Bump `uucore` from `0.2.2` to `0.4.0`
2025-12-06 16:58:51 +01:00
Daniel Hofstetter 801aa1e33a Cargo.toml: sort deps alphabetically 2025-12-06 16:54:24 +01:00
Daniel Hofstetter bcff0450a5 Bump uucore from 0.2.2 to 0.4.0 2025-12-06 16:54:24 +01:00
Daniel Hofstetter 9c6134c8fd Merge pull request #598 from cakebaker/bump_terminal_size
Bump `terminal_size` from `0.4.0` to `0.4.3`
2025-12-06 16:43:00 +01:00
Daniel Hofstetter 67cd89b241 Merge pull request #601 from brian-pane/xargs
xargs: add support for -l option
2025-11-21 11:06:53 +01:00
Daniel Hofstetter 84a04737a4 Merge pull request #602 from uutils/dependabot/github_actions/actions/checkout-6
build(deps): bump actions/checkout from 5 to 6
2025-11-21 06:56:54 +01:00
dependabot[bot] f6c41e60d0 build(deps): bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-21 03:03:43 +00:00
Brian Pane dfc460a627 xargs: add support for -l option 2025-11-20 20:11:47 +00:00
Daniel Hofstetter 11ff89b3a9 Merge pull request #600 from uutils/dependabot/cargo/clap-4.5.53
build(deps): bump clap from 4.5.52 to 4.5.53
2025-11-20 07:06:27 +01:00
dependabot[bot] 86d4798e72 build(deps): bump clap from 4.5.52 to 4.5.53
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.52 to 4.5.53.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.52...clap_complete-v4.5.53)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-20 03:02:03 +00:00
Daniel Hofstetter 0827863e2f Bump terminal_size from 0.4.0 to 0.4.3 2025-11-19 10:17:31 +01:00
Sylvestre Ledru 5cb79e3868 Merge pull request #597 from cakebaker/bump_yanked_deps
Bump yanked dependencies
2025-11-19 09:45:52 +01:00
Brian Pane 573b9b7788 xargs: add support for -E option (#593)
* xargs: add support for -E option

* Additional test coverage for xargs -E

* Simplify EofArgumentReader and test its error pass-through
2025-11-19 09:33:14 +01:00
Daniel Hofstetter 04b6d75b8d Bump futures-util from (yanked) 0.3.21 to 0.3.31 2025-11-18 16:55:18 +01:00
Daniel Hofstetter 883e082f2b Bump scc from (yanked) 2.1.0 to 2.4.0 2025-11-18 16:53:13 +01:00
Daniel Hofstetter 783fc302a3 Merge pull request #595 from uutils/dependabot/cargo/clap-4.5.52
build(deps): bump clap from 4.5.51 to 4.5.52
2025-11-18 07:06:28 +01:00
dependabot[bot] b79326b61d build(deps): bump clap from 4.5.51 to 4.5.52
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.51 to 4.5.52.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.51...clap_complete-v4.5.52)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-18 03:02:09 +00:00
Sylvestre Ledru 0f7bf4d56e Merge pull request #591 from cakebaker/clippy_fix_derivable_impls
clippy: fix warning from `derivable_impls` lint
2025-10-31 09:53:53 +01:00
Daniel Hofstetter df2d84dd69 clippy: fix warning from derivable_impls lint 2025-10-31 09:38:20 +01:00
Sylvestre Ledru 8164791335 Merge pull request #587 from cakebaker/bump_assert_cmd
Bump `assert_cmd` & fix deprecation warnings
2025-10-30 07:59:48 +01:00
Daniel Hofstetter 120ff526f7 tests: replace deprecated Command::cargo_bin
with cargo_bin_cmd!
2025-10-30 07:47:16 +01:00
Daniel Hofstetter 44c980d8e2 Bump assert_cmd from 2.0.17 to 2.1.1 2025-10-30 07:47:16 +01:00
Daniel Hofstetter f988293df3 Merge pull request #589 from uutils/dependabot/cargo/clap-4.5.51
build(deps): bump clap from 4.5.50 to 4.5.51
2025-10-30 07:09:09 +01:00
dependabot[bot] 672b615c5e build(deps): bump clap from 4.5.50 to 4.5.51
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.50 to 4.5.51.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.50...clap_complete-v4.5.51)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-30 03:01:49 +00:00
Daniel Hofstetter 7231673877 Merge pull request #586 from oech3/release-small
Cargo.toml: Rename dist profile and add release-small
2025-10-29 11:40:13 +01:00
E 3e1f37042f Cargo.toml: Rename dist profile and add release-small 2025-10-29 14:48:10 +09:00
Daniel Hofstetter f73e575a87 Merge pull request #583 from uutils/dependabot/github_actions/actions/download-artifact-6
build(deps): bump actions/download-artifact from 5 to 6
2025-10-27 07:07:34 +01:00
Daniel Hofstetter f08cb15f0a Merge pull request #584 from uutils/dependabot/github_actions/actions/upload-artifact-5
build(deps): bump actions/upload-artifact from 4 to 5
2025-10-27 07:06:20 +01:00
dependabot[bot] 37bc574e2b build(deps): bump actions/upload-artifact from 4 to 5
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 03:12:44 +00:00
dependabot[bot] fad0c3abd1 build(deps): bump actions/download-artifact from 5 to 6
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 03:12:41 +00:00
Daniel Hofstetter df6c345af6 Merge pull request #581 from uutils/dependabot/cargo/clap-4.5.50
build(deps): bump clap from 4.5.49 to 4.5.50
2025-10-21 07:11:29 +02:00
dependabot[bot] 31fe166847 build(deps): bump clap from 4.5.49 to 4.5.50
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.49 to 4.5.50.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.49...clap_complete-v4.5.50)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-21 03:01:58 +00:00
Daniel Hofstetter 62290d1ac4 Merge pull request #579 from uutils/dependabot/cargo/clap-4.5.49
build(deps): bump clap from 4.5.48 to 4.5.49
2025-10-14 07:10:47 +02:00
Daniel Hofstetter 3790412fd6 Merge pull request #580 from uutils/dependabot/cargo/regex-1.12.2
build(deps): bump regex from 1.12.1 to 1.12.2
2025-10-14 07:10:21 +02:00
dependabot[bot] 5388d4df35 build(deps): bump regex from 1.12.1 to 1.12.2
Bumps [regex](https://github.com/rust-lang/regex) from 1.12.1 to 1.12.2.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.12.1...1.12.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-14 03:02:13 +00:00
dependabot[bot] 53a59316db build(deps): bump clap from 4.5.48 to 4.5.49
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.48 to 4.5.49.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.48...clap_complete-v4.5.49)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-14 03:02:07 +00:00
Daniel Hofstetter 69b276a1b1 Merge pull request #577 from uutils/dependabot/cargo/regex-1.12.1
build(deps): bump regex from 1.11.3 to 1.12.1
2025-10-13 07:07:29 +02:00
dependabot[bot] ebaabe7222 build(deps): bump regex from 1.11.3 to 1.12.1
Bumps [regex](https://github.com/rust-lang/regex) from 1.11.3 to 1.12.1.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.11.3...1.12.1)

---
updated-dependencies:
- dependency-name: regex
  dependency-version: 1.12.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 03:02:14 +00:00
Daniel Hofstetter a9be625085 Merge pull request #576 from uutils/dependabot/cargo/regex-1.11.3
build(deps): bump regex from 1.11.2 to 1.11.3
2025-09-26 07:12:52 +02:00
dependabot[bot] 4eeb0ab5fb build(deps): bump regex from 1.11.2 to 1.11.3
Bumps [regex](https://github.com/rust-lang/regex) from 1.11.2 to 1.11.3.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.11.2...1.11.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-26 03:02:01 +00:00
Daniel Hofstetter 05ef60c74c Merge pull request #575 from uutils/dependabot/cargo/tempfile-3.23.0
build(deps): bump tempfile from 3.22.0 to 3.23.0
2025-09-24 06:59:12 +02:00
dependabot[bot] 089229cca5 build(deps): bump tempfile from 3.22.0 to 3.23.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.22.0 to 3.23.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.22.0...v3.23.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-24 03:01:46 +00:00
Daniel Hofstetter 7d1bc752a0 Merge pull request #574 from uutils/dependabot/cargo/clap-4.5.48
build(deps): bump clap from 4.5.47 to 4.5.48
2025-09-22 07:07:12 +02:00
dependabot[bot] b90895095f build(deps): bump clap from 4.5.47 to 4.5.48
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.47 to 4.5.48.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.47...clap_complete-v4.5.48)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-22 03:02:06 +00:00
Daniel Hofstetter daedaec652 Merge pull request #572 from uutils/dependabot/cargo/uucore-0.2.2
build(deps): bump uucore from 0.2.0 to 0.2.2
2025-09-10 07:04:45 +02:00
Daniel Hofstetter 17a820e6cd Merge pull request #573 from uutils/dependabot/cargo/tempfile-3.22.0
build(deps): bump tempfile from 3.21.0 to 3.22.0
2025-09-10 07:03:03 +02:00
dependabot[bot] 028fed7782 build(deps): bump tempfile from 3.21.0 to 3.22.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.21.0 to 3.22.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.21.0...v3.22.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.22.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 03:02:00 +00:00
dependabot[bot] a50bc5073a build(deps): bump uucore from 0.2.0 to 0.2.2
Bumps [uucore](https://github.com/uutils/coreutils) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/uutils/coreutils/releases)
- [Commits](https://github.com/uutils/coreutils/compare/0.2.0...0.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 03:01:54 +00:00
Daniel Hofstetter 2d4e3208d9 Merge pull request #571 from uutils/dependabot/cargo/chrono-0.4.42
build(deps): bump chrono from 0.4.41 to 0.4.42
2025-09-09 07:12:18 +02:00
dependabot[bot] 696904b64a build(deps): bump chrono from 0.4.41 to 0.4.42
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.41 to 0.4.42.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.41...v0.4.42)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 03:01:49 +00:00
Daniel Hofstetter 135eb69c42 Merge pull request #570 from uutils/dependabot/cargo/uucore-0.2.0
build(deps): bump uucore from 0.1.0 to 0.2.0
2025-09-08 07:11:10 +02:00
dependabot[bot] 686b55ba62 build(deps): bump uucore from 0.1.0 to 0.2.0
Bumps [uucore](https://github.com/uutils/coreutils) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/uutils/coreutils/releases)
- [Commits](https://github.com/uutils/coreutils/compare/0.1.0...0.2.0)

---
updated-dependencies:
- dependency-name: uucore
  dependency-version: 0.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 03:01:48 +00:00
Daniel Hofstetter d6e37790b4 Merge pull request #569 from uutils/dependabot/github_actions/actions/github-script-8
build(deps): bump actions/github-script from 7 to 8
2025-09-05 07:18:21 +02:00
dependabot[bot] 8eb191357c build(deps): bump actions/github-script from 7 to 8
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 8.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 03:03:27 +00:00
Daniel Hofstetter 7a3a01b602 Merge pull request #568 from uutils/dependabot/cargo/clap-4.5.47
build(deps): bump clap from 4.5.46 to 4.5.47
2025-09-04 07:10:21 +02:00
dependabot[bot] 94e873795c build(deps): bump clap from 4.5.46 to 4.5.47
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.46 to 4.5.47.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.46...clap_complete-v4.5.47)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-03 20:57:21 +00:00
Daniel Hofstetter f8763a460a Merge pull request #567 from uutils/dependabot/cargo/clap-4.5.46
build(deps): bump clap from 4.5.45 to 4.5.46
2025-08-27 16:05:27 +02:00
dependabot[bot] def34a5867 build(deps): bump clap from 4.5.45 to 4.5.46
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.45 to 4.5.46.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.45...clap_complete-v4.5.46)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-27 13:57:32 +00:00
Daniel Hofstetter 153d0e602f Merge pull request #566 from uutils/dependabot/cargo/regex-1.11.2
build(deps): bump regex from 1.11.1 to 1.11.2
2025-08-25 07:55:42 +02:00
dependabot[bot] dcd1a80104 build(deps): bump regex from 1.11.1 to 1.11.2
Bumps [regex](https://github.com/rust-lang/regex) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.11.1...1.11.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 05:32:49 +00:00
Sylvestre Ledru cad6c11cd0 Merge pull request #555 from cakebaker/bump_uucore
Bump `uucore` from `0.0.30` to `0.1.0`
2025-08-21 10:22:04 +02:00
Daniel Hofstetter 09443125cb Bump uucore from 0.0.30 to 0.1.0 2025-08-21 09:33:01 +02:00
Daniel Hofstetter d61df0e97b Merge pull request #565 from uutils/dependabot/cargo/filetime-0.2.26
build(deps): bump filetime from 0.2.25 to 0.2.26
2025-08-21 08:00:23 +02:00
dependabot[bot] 51cad56ce8 build(deps): bump filetime from 0.2.25 to 0.2.26
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.25 to 0.2.26.
- [Commits](https://github.com/alexcrichton/filetime/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-21 03:57:16 +00:00
Daniel Hofstetter bdf3aafea2 Merge pull request #564 from uutils/dependabot/cargo/tempfile-3.21.0
build(deps): bump tempfile from 3.20.0 to 3.21.0
2025-08-20 08:01:37 +02:00
dependabot[bot] f6de652196 build(deps): bump tempfile from 3.20.0 to 3.21.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.20.0 to 3.21.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/commits)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-20 04:26:06 +00:00
Daniel Hofstetter 02f9e81584 Merge pull request #563 from uutils/dependabot/cargo/clap-4.5.45
build(deps): bump clap from 4.5.44 to 4.5.45
2025-08-13 07:58:28 +02:00
dependabot[bot] 758c2fd06b build(deps): bump clap from 4.5.44 to 4.5.45
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.44 to 4.5.45.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.44...clap_complete-v4.5.45)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-13 04:13:48 +00:00
Daniel Hofstetter fa886a41aa Merge pull request #562 from uutils/dependabot/cargo/clap-4.5.44
build(deps): bump clap from 4.5.43 to 4.5.44
2025-08-12 14:49:39 +02:00
dependabot[bot] 406d517df7 build(deps): bump clap from 4.5.43 to 4.5.44
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.43 to 4.5.44.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.43...clap_complete-v4.5.44)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 12:40:42 +00:00
Daniel Hofstetter f2afe6450f Merge pull request #561 from uutils/dependabot/github_actions/actions/checkout-5
build(deps): bump actions/checkout from 4 to 5
2025-08-12 13:17:34 +02:00
dependabot[bot] 9c44de78bc build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 11:02:59 +00:00
Daniel Hofstetter 7664159c45 Merge pull request #560 from uutils/dependabot/cargo/clap-4.5.43
build(deps): bump clap from 4.5.42 to 4.5.43
2025-08-07 07:53:42 +02:00
dependabot[bot] 4f32c894c3 build(deps): bump clap from 4.5.42 to 4.5.43
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.42 to 4.5.43.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.42...clap_complete-v4.5.43)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-07 03:37:42 +00:00
Daniel Hofstetter d43fd72ba9 Merge pull request #559 from uutils/dependabot/github_actions/actions/download-artifact-5
build(deps): bump actions/download-artifact from 4 to 5
2025-08-06 09:23:46 +02:00
dependabot[bot] 74f2009781 build(deps): bump actions/download-artifact from 4 to 5
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-06 03:34:56 +00:00
Daniel Hofstetter 001318d483 Merge pull request #558 from uutils/dependabot/cargo/clap-4.5.42
build(deps): bump clap from 4.5.41 to 4.5.42
2025-07-30 07:50:57 +02:00
dependabot[bot] a36d4192af build(deps): bump clap from 4.5.41 to 4.5.42
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.41 to 4.5.42.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.41...clap_complete-v4.5.42)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-30 03:43:57 +00:00
Daniel Hofstetter ed790b4ddd Merge pull request #557 from uutils/dependabot/cargo/clap-4.5.41
build(deps): bump clap from 4.5.40 to 4.5.41
2025-07-10 07:55:06 +02:00
dependabot[bot] 1984df45e1 build(deps): bump clap from 4.5.40 to 4.5.41
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.40 to 4.5.41.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.40...clap_complete-v4.5.41)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-10 03:55:53 +00:00
Daniel Hofstetter ce0067f5ce Merge pull request #556 from uutils/dependabot/cargo/argmax-0.4.0
build(deps): bump argmax from 0.3.1 to 0.4.0
2025-06-17 08:20:58 +02:00
dependabot[bot] 0b9f252f43 build(deps): bump argmax from 0.3.1 to 0.4.0
Bumps [argmax](https://github.com/sharkdp/argmax) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/sharkdp/argmax/releases)
- [Commits](https://github.com/sharkdp/argmax/compare/v0.3.1...v0.4.0)

---
updated-dependencies:
- dependency-name: argmax
  dependency-version: 0.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-17 03:30:56 +00:00
Daniel Hofstetter 8426482239 Merge pull request #554 from uutils/dependabot/cargo/clap-4.5.40
build(deps): bump clap from 4.5.39 to 4.5.40
2025-06-10 08:00:21 +02:00
dependabot[bot] 7034627fcc build(deps): bump clap from 4.5.39 to 4.5.40
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.39 to 4.5.40.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.39...clap_complete-v4.5.40)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-10 03:33:42 +00:00
Daniel Hofstetter d55e2f93cb Merge pull request #552 from uutils/dependabot/cargo/clap-4.5.39
build(deps): bump clap from 4.5.38 to 4.5.39
2025-05-28 07:21:51 +02:00
dependabot[bot] f96852e957 build(deps): bump clap from 4.5.38 to 4.5.39
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.38 to 4.5.39.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.38...clap_complete-v4.5.39)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-28 03:20:48 +00:00
Daniel Hofstetter 64a4345778 Merge pull request #551 from uutils/dependabot/cargo/onig-6.5.1
build(deps): bump onig from 6.4.0 to 6.5.1
2025-05-26 07:17:12 +02:00
dependabot[bot] 90845d95ce build(deps): bump onig from 6.4.0 to 6.5.1
Bumps [onig](https://github.com/iwillspeak/rust-onig) from 6.4.0 to 6.5.1.
- [Release notes](https://github.com/iwillspeak/rust-onig/releases)
- [Changelog](https://github.com/rust-onig/rust-onig/blob/main/CHANGELOG.md)
- [Commits](https://github.com/iwillspeak/rust-onig/compare/v6.4.0...V6.5.1)

---
updated-dependencies:
- dependency-name: onig
  dependency-version: 6.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-26 03:24:39 +00:00
Daniel Hofstetter 6cbd032905 Merge pull request #548 from uutils/dependabot/cargo/tempfile-3.20.0
build(deps): bump tempfile from 3.19.1 to 3.20.0
2025-05-12 07:04:54 +02:00
Daniel Hofstetter 520480792a Merge pull request #549 from uutils/dependabot/cargo/clap-4.5.38
build(deps): bump clap from 4.5.37 to 4.5.38
2025-05-12 07:03:51 +02:00
dependabot[bot] de9a58a0b5 build(deps): bump clap from 4.5.37 to 4.5.38
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.37 to 4.5.38.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.37...clap_complete-v4.5.38)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 03:57:47 +00:00
dependabot[bot] dd0b2d94af build(deps): bump tempfile from 3.19.1 to 3.20.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.19.1 to 3.20.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.19.1...v3.20.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 03:57:41 +00:00
Sylvestre Ledru 73d5e90590 Merge pull request #546 from cakebaker/ci_use_latest_ubuntu_in_release_workflow
ci: use `ubuntu-latest` instead of `ubuntu-20.04` for `release` workflow
2025-05-09 09:06:37 +02:00
Sylvestre Ledru be84586025 Merge pull request #547 from Qelxiros/docs_dead_link
docs: update dead link
2025-05-09 09:03:54 +02:00
Jeremy Smart 41c1013e4b update link 2025-05-08 20:58:16 -04:00
Daniel Hofstetter 319e1de581 ci: use ubuntu-latest instead of ubuntu-20.04
which is no longer available on Github
2025-05-07 10:46:41 +02:00
Sylvestre Ledru a607612ee0 Merge pull request #545 from tdulcet/svg
Switched to SVG graphs
2025-05-05 19:53:27 +02:00
Teal Dulcet 1548034e17 Updated README to use SVG graphs. 2025-05-05 09:15:45 -07:00
Daniel Hofstetter f07258765e Merge pull request #544 from uutils/dependabot/cargo/nix-0.30.1
build(deps): bump nix from 0.30.0 to 0.30.1
2025-05-05 07:06:55 +02:00
dependabot[bot] db60087142 build(deps): bump nix from 0.30.0 to 0.30.1
Bumps [nix](https://github.com/nix-rust/nix) from 0.30.0 to 0.30.1.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.30.0...v0.30.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 03:08:49 +00:00
Daniel Hofstetter 9836976905 Merge pull request #543 from uutils/dependabot/cargo/nix-0.30.0
build(deps): bump nix from 0.29.0 to 0.30.0
2025-04-30 06:51:46 +02:00
Daniel Hofstetter 63293fb539 Merge pull request #542 from uutils/dependabot/cargo/chrono-0.4.41
build(deps): bump chrono from 0.4.40 to 0.4.41
2025-04-30 06:50:55 +02:00
dependabot[bot] 9b51ba5625 build(deps): bump nix from 0.29.0 to 0.30.0
Bumps [nix](https://github.com/nix-rust/nix) from 0.29.0 to 0.30.0.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.29.0...v0.30.0)

---
updated-dependencies:
- dependency-name: nix
  dependency-version: 0.30.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-30 03:17:58 +00:00
dependabot[bot] 2bb919e29d build(deps): bump chrono from 0.4.40 to 0.4.41
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.40 to 0.4.41.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.40...v0.4.41)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-30 03:17:53 +00:00
Sylvestre Ledru e5f7dae2ae Merge pull request #532 from tavianator/fstype-stacked
find: Fix -fstype with stacked mounts
2025-04-24 21:18:48 +02:00
cryptodarth 3f026bfe6b Merge pull request #534 from Crypto-Darth/error-msgs
change "Error:" to "find:" + Testcase fix
2025-04-24 20:26:59 +02:00
cryptodarth a571de6812 Implement : Chained Type matcher arguments (#527)
* code dump

* fix : new checks + working stage

* minor fixes + duplicates check

* fix : add check for incorrect chained commands

* add : Chained Argument matching for -xtype

* add: test

* cargo fmt

* Add : more tests + old test fix

* refactor : move common code to function

* fix : convert match to if/else

* Improve : Testcase for xtype

* cargo clippy fix

* update : testcase

* fix : error handling

* fix : use single type

* add: basic tests on binary level

* Add : -xtype tests

* refactor : use single type without Option<>

* fix : use better search logic

* refactor : use HashSet<> instead of Vec<>

* remove : unnecessary hashmap usage

* Update src/find/matchers/type_matcher.rs

Co-authored-by: Tavian Barnes <tavianator@tavianator.com>

* change: variable name

* remove: type and replace with HashSet<FileType>

* remove: trimming

---------

Co-authored-by: Tavian Barnes <tavianator@tavianator.com>
2025-04-24 20:17:39 +02:00
Daniel Hofstetter 5cec2c3e41 Merge pull request #539 from uutils/dependabot/cargo/clap-4.5.37
build(deps): bump clap from 4.5.36 to 4.5.37
2025-04-21 07:06:03 +02:00
dependabot[bot] 2c3928ba21 build(deps): bump clap from 4.5.36 to 4.5.37
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.36 to 4.5.37.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.36...clap_complete-v4.5.37)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-21 04:12:31 +00:00
Daniel Hofstetter f870d272a4 Merge pull request #538 from uutils/dependabot/cargo/assert_cmd-2.0.17
build(deps): bump assert_cmd from 2.0.16 to 2.0.17
2025-04-17 07:12:15 +02:00
dependabot[bot] 6d6c40aec6 build(deps): bump assert_cmd from 2.0.16 to 2.0.17
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.16 to 2.0.17.
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.16...v2.0.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-17 03:21:55 +00:00
Daniel Hofstetter 69b32a9c0a Merge pull request #535 from uutils/dependabot/cargo/clap-4.5.36
build(deps): bump clap from 4.5.35 to 4.5.36
2025-04-14 07:08:28 +02:00
dependabot[bot] e6b3ba880b build(deps): bump clap from 4.5.35 to 4.5.36
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.35 to 4.5.36.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.35...clap_complete-v4.5.36)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 03:36:11 +00:00
Sylvestre Ledru cacb1c10bd Merge pull request #529 from KartikDua1504/fix-blocks
Fix: Use div_ceil with proper blocks computation
2025-04-10 11:23:03 -04:00
Tavian Barnes cd8790239f find: Fix -fstype with stacked mounts
If you stack two mounts on top of each other, e.g.

    # mount -t ext4 /dev/sdX /mnt
    # mount -t f2fs /dev/sdY /mnt

then read_fs_list() will return two entries for that mount point.  The
later one is the one with the correct type, since the later mount is on
top of the earlier one.
2025-04-10 09:52:26 -04:00
Kartik Dua fa4399bdbe Formatted Document 2025-04-08 01:40:22 +05:30
Kartik Dua 04a92a8fb3 Fix: Use div_ceil with proper blocks computation
Fixes: ##523
2025-04-07 21:51:13 +05:30
32 changed files with 3586 additions and 2513 deletions
+15
View File
@@ -0,0 +1,15 @@
name: Security audit
on:
schedule:
- cron: "0 0 * * *"
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: rustsec/audit-check@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
+15 -43
View File
@@ -2,6 +2,9 @@ on: [push, pull_request]
name: Basic CI
env:
CARGO_INCREMENTAL: "0"
jobs:
check:
name: cargo check
@@ -10,13 +13,7 @@ jobs:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Install `rust` toolchain
run: |
## Install `rust` toolchain
rustup toolchain install stable --no-self-update -c rustfmt --profile minimal
rustup default stable
- uses: actions/checkout@v6
# For bindgen: https://github.com/rust-lang/rust-bindgen/issues/1797
- uses: KyleMayes/install-llvm-action@v2
if: matrix.os == 'windows-latest'
@@ -37,13 +34,7 @@ jobs:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Install `rust` toolchain
run: |
## Install `rust` toolchain
rustup toolchain install stable --no-self-update -c rustfmt --profile minimal
rustup default stable
- uses: actions/checkout@v6
# For bindgen: https://github.com/rust-lang/rust-bindgen/issues/1797
- uses: KyleMayes/install-llvm-action@v2
if: matrix.os == 'windows-latest'
@@ -61,14 +52,7 @@ jobs:
name: cargo fmt --all -- --check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install `rust` toolchain
run: |
## Install `rust` toolchain
rustup toolchain install stable --no-self-update -c rustfmt --profile minimal
rustup default stable
- run: rustup component add rustfmt
- uses: actions/checkout@v6
- name: cargo fmt
run: |
cargo fmt --all -- --check
@@ -77,15 +61,8 @@ jobs:
name: cargo clippy -- -D warnings
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install `rust` toolchain
run: |
## Install `rust` toolchain
rustup toolchain install stable --no-self-update -c rustfmt --profile minimal
rustup default stable
- run: rustup component add clippy
- name: cargo clippy
run: |
- uses: actions/checkout@v6
- run: |
cargo clippy --all-targets -- -D warnings
grcov:
@@ -95,32 +72,27 @@ jobs:
matrix:
os:
- ubuntu-latest
toolchain:
- nightly
cargo_flags:
- "--all-features"
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Install `rust` toolchain
run: |
rustup toolchain install nightly --no-self-update -c rustfmt --profile minimal
rustup default nightly
uses: actions/checkout@v6
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --all-features --lcov --branch --output-path lcov.info
env:
RUSTC_BOOTSTRAP: 1
run: |
cargo llvm-cov --all-features --lcov --branch --output-path lcov.info
- name: Upload coverage as artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: lcov.info
path: lcov.info
- name: Upload coverage to codecov.io
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v6
with:
files: lcov.info
fail_ci_if_error: true
+2 -2
View File
@@ -18,7 +18,7 @@ jobs:
steps:
- name: List Annotations
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
let artifacts = await github.rest.actions.listWorkflowRunArtifacts({
@@ -46,7 +46,7 @@ jobs:
- run: unzip comment.zip
- name: Comment on PR
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
+31 -23
View File
@@ -1,21 +1,23 @@
on: [push, pull_request]
name: External-testsuites
env:
CARGO_INCREMENTAL: "0"
jobs:
gnu-tests:
permissions:
actions: read
contents: write # Publish binaries instead of discarding
name: Run GNU findutils tests
runs-on: ubuntu-latest
steps:
- name: Checkout findutils
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
path: findutils
- name: Checkout GNU findutils
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: gnu-mirror-unofficial/findutils
path: findutils.gnu
@@ -29,11 +31,6 @@ jobs:
git config submodule.gnulib.url https://github.com/coreutils/gnulib.git
git submodule update --init --recursive --depth 1
working-directory: findutils.gnu
- name: Install `rust` toolchain
run: |
## Install `rust` toolchain
rustup toolchain install stable --no-self-update -c rustfmt --profile minimal
rustup default stable
- name: Install dependencies
shell: bash
run: |
@@ -46,12 +43,27 @@ jobs:
run: |
cd findutils
bash util/build-gnu.sh ||:
install --strip -Dm755 target/release/{find,xargs} -t findutils-x86_64-unknown-linux-gnu
ZSTD_CLEVEL=19 tar --zstd -caf ../findutils-x86_64-unknown-linux-gnu.tar.zst findutils-x86_64-unknown-linux-gnu
- name: Publish latest commit
uses: softprops/action-gh-release@v2
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
tag_name: latest-commit
body: |
commit: ${{ github.sha }}
draft: false
prerelease: true
files: |
findutils-x86_64-unknown-linux-gnu.tar.zst
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Extract testing info
shell: bash
run: |
- name: Upload gnu-test-report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: gnu-test-report
path: |
@@ -59,12 +71,12 @@ jobs:
findutils.gnu/xargs/testsuite/*.log
findutils.gnu/tests/**/*.log
- name: Upload gnu-result
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: gnu-result
path: gnu-result.json
- name: Download artifacts (gnu-result and gnu-test-report)
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
let fs = require('fs');
@@ -117,20 +129,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout findutils
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
path: findutils
- name: Checkout BFS
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: tavianator/bfs
path: bfs
ref: "4.0"
- name: Install `rust` toolchain
run: |
## Install `rust` toolchain
rustup toolchain install stable --no-self-update -c rustfmt --profile minimal
rustup default stable
- name: Install dependencies
shell: bash
run: |
@@ -142,19 +149,20 @@ jobs:
shell: bash
run: |
cd findutils
export CARGO_INCREMENTAL=0
bash util/build-bfs.sh ||:
- name: Upload bfs-test-report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: bfs-test-report
path: bfs/tests.log
- name: Upload bfs-result
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: bfs-result
path: bfs-result.json
- name: Download artifacts (gnu-result and bfs-test-report)
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
let fs = require('fs');
@@ -209,7 +217,7 @@ jobs:
steps:
- name: List Annotations
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
@@ -247,7 +255,7 @@ jobs:
fs.writeFileSync('${{ github.workspace }}/annotations.json', JSON.stringify(annotations));
- name: Upload annotations
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: comment
path: annotations.json
+20 -20
View File
@@ -47,7 +47,7 @@ on:
jobs:
# Run 'dist plan' (or host) to determine what tasks we need to do
plan:
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-latest"
outputs:
val: ${{ steps.plan.outputs.manifest }}
tag: ${{ !github.event.pull_request && github.ref_name || '' }}
@@ -56,7 +56,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Install dist
@@ -65,7 +65,7 @@ jobs:
shell: bash
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.28.0/cargo-dist-installer.sh | sh"
- name: Cache dist
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: cargo-dist-cache
path: ~/.cargo/bin/dist
@@ -81,7 +81,7 @@ jobs:
cat plan-dist-manifest.json
echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
- name: "Upload dist-manifest.json"
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: artifacts-plan-dist-manifest
path: plan-dist-manifest.json
@@ -115,7 +115,7 @@ jobs:
- name: enable windows longpaths
run: |
git config --global core.longpaths true
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Install Rust non-interactively if not already installed
@@ -129,7 +129,7 @@ jobs:
run: ${{ matrix.install_dist.run }}
# Get the dist-manifest
- name: Fetch local artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
pattern: artifacts-*
path: target/distrib/
@@ -156,7 +156,7 @@ jobs:
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
- name: "Upload artifacts"
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: artifacts-build-local-${{ join(matrix.targets, '_') }}
path: |
@@ -168,23 +168,23 @@ jobs:
needs:
- plan
- build-local-artifacts
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-latest"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Install cached dist
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: cargo-dist-cache
path: ~/.cargo/bin/
- run: chmod +x ~/.cargo/bin/dist
# Get all the local artifacts for the global tasks to use (for e.g. checksums)
- name: Fetch local artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
pattern: artifacts-*
path: target/distrib/
@@ -202,7 +202,7 @@ jobs:
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
- name: "Upload artifacts"
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: artifacts-build-global
path: |
@@ -218,22 +218,22 @@ jobs:
if: ${{ always() && needs.plan.outputs.publishing == 'true' && (needs.build-global-artifacts.result == 'skipped' || needs.build-global-artifacts.result == 'success') && (needs.build-local-artifacts.result == 'skipped' || needs.build-local-artifacts.result == 'success') }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-latest"
outputs:
val: ${{ steps.host.outputs.manifest }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Install cached dist
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: cargo-dist-cache
path: ~/.cargo/bin/
- run: chmod +x ~/.cargo/bin/dist
# Fetch artifacts from scratch-storage
- name: Fetch artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
pattern: artifacts-*
path: target/distrib/
@@ -246,14 +246,14 @@ jobs:
cat dist-manifest.json
echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
- name: "Upload dist-manifest.json"
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
# Overwrite the previous copy
name: artifacts-dist-manifest
path: dist-manifest.json
# Create a GitHub Release while uploading all files to it
- name: "Download GitHub Artifacts"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
pattern: artifacts-*
path: artifacts
@@ -282,10 +282,10 @@ jobs:
# still allowing individual publish jobs to skip themselves (for prereleases).
# "host" however must run to completion, no skipping allowed!
if: ${{ always() && needs.host.result == 'success' }}
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-latest"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: recursive
+2
View File
@@ -15,3 +15,5 @@ repos:
pass_filenames: false
types: [file, rust]
language: system
ci:
skip: [rust-linting, rust-clippy]
+3 -5
View File
@@ -11,6 +11,8 @@ check out these documents:
- Our community's [CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md).
- [DEVELOPMENT.md](./DEVELOPMENT.md) for setting up your development
environment.
- Our [Review Guidelines](https://uutils.github.io/reviews/) for what we expect
from a pull request and how reviews are done.
Now follows a very important warning:
@@ -180,7 +182,7 @@ To ensure easy collaboration, we have guidelines for using Git and GitHub.
### Commit messages
You can read this section in the Git book to learn how to write good commit
messages: https://git-scm.com/book/ch5-2.html.
messages: https://git-scm.com/book/en/v2/Distributed-Git-Contributing-to-a-Project.
In addition, here are a few examples for a summary line when committing to
uutils:
@@ -231,10 +233,6 @@ you contribute must at least compile without warnings for all platforms in the
CI. However, you can use `#[cfg(...)]` attributes to create platform dependent
features.
**Tip:** For Windows, Microsoft provides some images (VMWare, Hyper-V,
VirtualBox and Parallels) for development:
<https://developer.microsoft.com/windows/downloads/virtual-machines/>
## Licensing
uutils is distributed under the terms of the MIT License; see the `LICENSE` file
Generated
+859 -549
View File
File diff suppressed because it is too large Load Diff
+15 -15
View File
@@ -10,24 +10,22 @@ description = "Rust implementation of GNU findutils"
authors = ["uutils developers"]
[dependencies]
chrono = "0.4.40"
clap = "4.5"
argmax = "0.4.0"
chrono = "0.4.44"
clap = "4.6"
faccess = "0.2.4"
nix = { version = "0.31", features = ["fs", "user"] }
onig = { version = "6.5", default-features = false }
regex = "1.12"
uucore = { version = "0.9.0", features = ["entries", "fs", "fsext", "mode"] }
walkdir = "2.5"
regex = "1.11"
onig = { version = "6.4", default-features = false }
uucore = { version = "0.0.30", features = ["entries", "fs", "fsext", "mode"] }
nix = { version = "0.29", features = ["fs", "user"] }
argmax = "0.3.1"
[dev-dependencies]
assert_cmd = "2"
ctor = "1.0"
filetime = "0.2"
nix = { version = "0.29", features = ["fs"] }
predicates = "3"
serial_test = "3.2"
nix = { version = "0.31", features = ["fs"] }
tempfile = "3"
pretty_assertions = "1.4.1"
uutests = "0.9.0"
[[bin]]
name = "find"
@@ -41,11 +39,13 @@ path = "src/xargs/main.rs"
name = "testing-commandline"
path = "src/testing/commandline/main.rs"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
[profile.release]
lto = "thin"
codegen-units = 1
[profile.release-fast]
inherits = "release"
panic = "abort"
[lints.clippy]
multiple_crate_versions = "allow"
+2 -2
View File
@@ -20,8 +20,8 @@ bash util/build-gnu.sh tests/misc/help-version.sh
## Comparing with GNU
![Evolution over time - GNU testsuite](https://github.com/uutils/findutils-tracking/blob/main/gnu-results.png?raw=true)
![Evolution over time - BFS testsuite](https://github.com/uutils/findutils-tracking/blob/main/bfs-results.png?raw=true)
![Evolution over time - GNU testsuite](https://github.com/uutils/findutils-tracking/blob/main/gnu-results.svg?raw=true)
![Evolution over time - BFS testsuite](https://github.com/uutils/findutils-tracking/blob/main/bfs-results.svg?raw=true)
## Build/run with BFS
+44
View File
@@ -0,0 +1,44 @@
# Security Policy
## Supported Versions
We provide security updates only for the latest released version of `uutils/findutils`.
Older versions may not receive patches.
If you are using a version packaged by your Linux distribution, please check with your distribution maintainers for their update policy.
---
## Reporting a Vulnerability
**Do not open public GitHub issues for security vulnerabilities.**
This prevents accidental disclosure before a fix is available.
Instead, please use the following method:
- **Email:** [sylvestre@debian.org](mailto:Sylvestre@debian.org)
- **Encryption (optional):** You may encrypt your report using our PGP key:
Fingerprint: B60D B599 4D39 BEC4 D1A9 5CCF 7E65 28DA 752F 1BE1
---
### What to Include in Your Report
To help us investigate and resolve the issue quickly, please include as much detail as possible:
- **Type of issue:** e.g. privilege escalation, information disclosure.
- **Location in the source:** file path, commit hash, branch, or tag.
- **Steps to reproduce:** exact commands, test cases, or scripts.
- **Special configuration:** any flags, environment variables, or system setup required.
- **Affected systems:** OS/distribution and version(s) where the issue occurs.
- **Impact:** your assessment of the potential severity (DoS, RCE, data leak, etc.).
---
## Disclosure Policy
We follow a **Coordinated Vulnerability Disclosure (CVD)** process:
1. We will acknowledge receipt of your report within **10 days**.
2. We will investigate, reproduce, and assess the issue.
3. We will provide a timeline for developing and releasing a fix.
4. Once a fix is available, we will publish a GitHub Security Advisory.
5. You will be credited in the advisory unless you request anonymity.
+5
View File
@@ -17,3 +17,8 @@ pr-run-mode = "plan"
install-path = "CARGO_HOME"
# Whether to install an updater program
install-updater = false
# Ignore out-of-date contents
allow-dirty = ["ci"]
[dist.github-custom-runners]
x86_64-unknown-linux-gnu = "ubuntu-latest"
+71
View File
@@ -62,6 +62,8 @@ mod tests {
use super::*;
use crate::find::matchers::tests::get_dir_entry_for;
use crate::find::tests::FakeDependencies;
#[cfg(unix)]
use std::os::unix::fs::PermissionsExt;
#[test]
fn empty_files() {
@@ -96,4 +98,73 @@ mod tests {
let file_info = get_dir_entry_for(&temp_dir_path, subdir_name);
assert!(!matcher.matches(&file_info, &mut deps.new_matcher_io()));
}
#[test]
fn empty_file_vs_empty_directory() {
let empty_file_info = get_dir_entry_for("test_data/simple", "abbbc");
let temp_dir = Builder::new()
.prefix("empty_file_vs_empty_directory")
.tempdir()
.unwrap();
let temp_dir_path = temp_dir.path().to_string_lossy();
let subdir_name = "empty_subdir";
std::fs::create_dir(temp_dir.path().join(subdir_name)).unwrap();
let matcher = EmptyMatcher::new();
let deps = FakeDependencies::new();
// Both an empty file and an empty directory should match.
assert!(
matcher.matches(&empty_file_info, &mut deps.new_matcher_io()),
"empty file should match"
);
let empty_dir_info = get_dir_entry_for(&temp_dir_path, subdir_name);
assert!(
matcher.matches(&empty_dir_info, &mut deps.new_matcher_io()),
"empty directory should match"
);
}
#[test]
#[cfg(unix)]
fn non_readable_directory() {
let temp_dir = Builder::new()
.prefix("non_readable_directory")
.tempdir()
.unwrap();
let temp_dir_path = temp_dir.path().to_string_lossy();
let subdir_name = "unreadable";
std::fs::create_dir(temp_dir.path().join(subdir_name)).unwrap();
let mut perms = std::fs::metadata(temp_dir.path().join(subdir_name))
.unwrap()
.permissions();
perms.set_mode(0o000);
std::fs::set_permissions(temp_dir.path().join(subdir_name), perms).unwrap();
// If we can still read the directory, we're likely running as root.
if std::fs::read_dir(temp_dir.path().join(subdir_name)).is_ok() {
// Restore permissions before skipping.
let mut perms = std::fs::metadata(temp_dir.path().join(subdir_name))
.unwrap()
.permissions();
perms.set_mode(0o755);
std::fs::set_permissions(temp_dir.path().join(subdir_name), perms).unwrap();
return;
}
let matcher = EmptyMatcher::new();
let deps = FakeDependencies::new();
let file_info = get_dir_entry_for(&temp_dir_path, subdir_name);
assert!(!matcher.matches(&file_info, &mut deps.new_matcher_io()));
// Restore permissions so tempdir can be cleaned up.
let mut perms = std::fs::metadata(temp_dir.path().join(subdir_name))
.unwrap()
.permissions();
perms.set_mode(0o755);
std::fs::set_permissions(temp_dir.path().join(subdir_name), perms).unwrap();
}
}
+1 -1
View File
@@ -24,7 +24,7 @@ enum Entry {
}
/// File types.
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum FileType {
Unknown,
Fifo,
+42 -2
View File
@@ -22,6 +22,7 @@ pub struct SingleExecMatcher {
executable: String,
args: Vec<Arg>,
exec_in_parent_dir: bool,
interactive: bool,
}
impl SingleExecMatcher {
@@ -29,6 +30,23 @@ impl SingleExecMatcher {
executable: &str,
args: &[&str],
exec_in_parent_dir: bool,
) -> Result<Self, Box<dyn Error>> {
Self::new_impl(executable, args, exec_in_parent_dir, false)
}
pub fn new_interactive(
executable: &str,
args: &[&str],
exec_in_parent_dir: bool,
) -> Result<Self, Box<dyn Error>> {
Self::new_impl(executable, args, exec_in_parent_dir, true)
}
fn new_impl(
executable: &str,
args: &[&str],
exec_in_parent_dir: bool,
interactive: bool,
) -> Result<Self, Box<dyn Error>> {
let transformed_args = args
.iter()
@@ -47,13 +65,13 @@ impl SingleExecMatcher {
executable: executable.to_string(),
args: transformed_args,
exec_in_parent_dir,
interactive,
})
}
}
impl Matcher for SingleExecMatcher {
fn matches(&self, file_info: &WalkEntry, _: &mut MatcherIO) -> bool {
let mut command = Command::new(&self.executable);
fn matches(&self, file_info: &WalkEntry, matcher_io: &mut MatcherIO) -> bool {
let path_to_file = if self.exec_in_parent_dir {
if let Some(f) = file_info.path().file_name() {
Path::new(".").join(f)
@@ -64,6 +82,28 @@ impl Matcher for SingleExecMatcher {
file_info.path().to_path_buf()
};
if self.interactive {
let rendered_args: Vec<String> = self
.args
.iter()
.map(|arg| match arg {
Arg::LiteralArg(a) => a.to_string_lossy().into_owned(),
Arg::FileArg(parts) => parts
.join(path_to_file.as_os_str())
.to_string_lossy()
.into_owned(),
})
.collect();
let mut prompt_parts = vec![self.executable.clone()];
prompt_parts.extend(rendered_args);
let prompt = format!("< {} >? ", prompt_parts.join(" "));
if !matcher_io.confirm(&prompt) {
return false;
}
}
let mut command = Command::new(&self.executable);
for arg in &self.args {
match *arg {
Arg::LiteralArg(ref a) => command.arg(a.as_os_str()),
+1 -1
View File
@@ -53,7 +53,7 @@ pub fn get_file_system_type(path: &Path, cache: &RefCell<Option<Cache>>) -> URes
let fs_list = uucore::fsext::read_fs_list()?;
let result = fs_list
.into_iter()
.find(|fs| fs.dev_id == dev_id)
.rfind(|fs| fs.dev_id == dev_id)
.map_or_else(String::new, |fs| fs.fs_type);
// cache the latest query if not a match before
+101 -3
View File
@@ -187,6 +187,14 @@ impl MatcherIO<'_> {
pub fn now(&self) -> SystemTime {
self.deps.now()
}
/// Prompt the user and return whether they confirmed. Delegates to
/// `Dependencies::confirm` so that matchers stay testable without a real
/// terminal — unit tests inject preset responses via `FakeDependencies`.
#[must_use]
pub fn confirm(&self, prompt: &str) -> bool {
self.deps.confirm(prompt)
}
}
/// A basic interface that can be used to determine whether a directory entry
@@ -469,7 +477,7 @@ fn build_matcher_tree(
Some(Printer::new(PrintDelimiter::Newline, Some(file)).into_box())
}
"-fprintf" => {
if i >= args.len() - 2 {
if i + 2 >= args.len() {
return Err(From::from(format!("missing argument to {}", args[i])));
}
@@ -668,6 +676,31 @@ fn build_matcher_tree(
_ => unreachable!("Encountered unexpected value {}", args[arg_index]),
}
}
"-ok" | "-okdir" => {
// -ok is like -exec ... ; but prompts before each invocation.
// Only ';' is accepted: POSIX does not define -ok ... + and
// GNU find rejects it (batch mode makes no sense with prompts).
let mut arg_index = i + 1;
while arg_index < args.len() && args[arg_index] != ";" {
arg_index += 1;
}
if arg_index < i + 2 || arg_index == args.len() {
// Need at least the executable and the terminating ';'.
return Err(From::from(format!("missing argument to {}", args[i])));
}
let expression = args[i];
let executable = args[i + 1];
let exec_args = &args[i + 2..arg_index];
i = arg_index;
Some(
SingleExecMatcher::new_interactive(
executable,
exec_args,
expression == "-okdir",
)?
.into_box(),
)
}
#[cfg(unix)]
"-inum" => {
if i >= args.len() - 1 {
@@ -720,7 +753,9 @@ fn build_matcher_tree(
i += 1;
let matcher = UserMatcher::from_user_name(user)
.or_else(|| Some(UserMatcher::from_uid(user.parse::<u32>().ok()?)))
.ok_or_else(|| format!("{user} is not the name of a known user"))?;
.ok_or_else(|| {
format!("invalid user name or UID argument to -user: '{user}'")
})?;
Some(matcher.into_box())
}
"-nouser" => Some(NoUserMatcher {}.into_box()),
@@ -749,7 +784,9 @@ fn build_matcher_tree(
i += 1;
let matcher = GroupMatcher::from_group_name(group)
.or_else(|| Some(GroupMatcher::from_gid(group.parse::<u32>().ok()?)))
.ok_or_else(|| format!("{group} is not the name of an existing group"))?;
.ok_or_else(|| {
format!("invalid group name or GID argument to -group: '{group}'")
})?;
Some(matcher.into_box())
}
"-nogroup" => Some(NoGroupMatcher {}.into_box()),
@@ -1616,6 +1653,67 @@ mod tests {
.expect("only {} + should be considered a multi-exec");
}
#[test]
fn build_top_level_ok_not_enough_args() {
// -ok follows the same validation rules as -exec for missing arguments.
let mut config = Config::default();
if let Err(e) = build_top_level_matcher(&["-ok"], &mut config) {
assert!(e.to_string().contains("missing argument"));
} else {
panic!("parsing -ok with no executable or semicolon should fail");
}
if let Err(e) = build_top_level_matcher(&["-ok", ";"], &mut config) {
assert!(e.to_string().contains("missing argument"));
} else {
panic!("parsing -ok with no executable should fail");
}
if let Err(e) = build_top_level_matcher(&["-ok", "foo"], &mut config) {
assert!(e.to_string().contains("missing argument"));
} else {
panic!("parsing -ok without terminating ';' should fail");
}
}
#[test]
fn build_top_level_ok_missing_semicolon() {
let mut config = Config::default();
build_top_level_matcher(&["-ok", "echo", "{}"], &mut config)
.err()
.expect("parsing -ok without ';' should fail");
}
#[test]
fn build_top_level_ok_parses_correctly() {
let mut config = Config::default();
build_top_level_matcher(&["-ok", "echo", "{}", ";"], &mut config)
.expect("-ok with executable, {} and ';' should succeed");
}
#[test]
#[cfg(unix)]
fn build_top_level_ok_matches_with_confirmation() {
// When the user confirms, -ok should match (run the command and return
// its exit status). When the user declines, -ok is false and the
// command is not run.
let abbbc = get_dir_entry_for("./test_data/simple", "abbbc");
let mut config = Config::default();
// Confirmed: -ok behaves like -exec (prints nothing; has_side_effects
// suppresses the default print, same as -exec).
let matcher = build_top_level_matcher(&["-ok", "true", ";"], &mut config).unwrap();
let deps = FakeDependencies::new();
deps.push_confirm_response(true);
assert!(matcher.matches(&abbbc, &mut deps.new_matcher_io()));
// Declined: -ok is false, so the default print fires.
let matcher = build_top_level_matcher(&["-ok", "true", ";"], &mut config).unwrap();
let deps = FakeDependencies::new();
deps.push_confirm_response(false);
assert!(!matcher.matches(&abbbc, &mut deps.new_matcher_io()));
}
#[test]
fn build_top_level_multi_exec_too_many_holders() {
let mut config = Config::default();
+7 -12
View File
@@ -390,23 +390,18 @@ fn format_directive<'entry>(
FormatDirective::Blocks { large_blocks } => {
#[cfg(unix)]
let blocks = meta()?.blocks();
let len = meta()?.blocks() * STANDARD_BLOCK_SIZE;
#[cfg(not(unix))]
// Estimate using a ceiling division by the block size.
let blocks = (meta()?.len() + STANDARD_BLOCK_SIZE - 1) / STANDARD_BLOCK_SIZE;
let len = meta()?.len();
// GNU find says it returns the number of 512-byte blocks for %b,
// but in reality it just returns the number of blocks, *regardless
// of their size on the filesystem*. That behavior is copied here,
// even though it's arguably not 100% correct.
if *large_blocks {
// Ceiling divide in half.
blocks.div_ceil(2)
} else {
blocks
}
.to_string()
.into()
let bs = if *large_blocks { 1024 } else { 512 };
let blocks = len.div_ceil(bs);
blocks.to_string().into()
}
#[cfg(not(unix))]
@@ -451,7 +446,7 @@ fn format_directive<'entry>(
uucore::fsext::read_fs_list().expect("Could not find the filesystem info");
fs_list
.into_iter()
.find(|fs| fs.dev_id == dev_id)
.rfind(|fs| fs.dev_id == dev_id)
.map_or_else(String::new, |fs| fs.fs_type)
.into()
}
+2 -7
View File
@@ -30,8 +30,9 @@ impl fmt::Display for ParseRegexTypeError {
}
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)]
pub enum RegexType {
#[default]
Emacs,
Grep,
PosixBasic,
@@ -74,12 +75,6 @@ impl FromStr for RegexType {
}
}
impl Default for RegexType {
fn default() -> Self {
Self::Emacs
}
}
pub struct RegexMatcher {
regex: Regex,
}
+74
View File
@@ -170,4 +170,78 @@ mod tests {
"512-byte file should match size of 1 block"
);
}
#[test]
fn size_matcher_zero_byte_file() {
let file_info = get_dir_entry_for("./test_data/simple", "abbbc");
let deps = FakeDependencies::new();
let equal_to_0 = SizeMatcher::new(ComparableValue::EqualTo(0), "c").unwrap();
assert!(
equal_to_0.matches(&file_info, &mut deps.new_matcher_io()),
"zero-byte file should match size of 0 bytes"
);
let more_than_0 = SizeMatcher::new(ComparableValue::MoreThan(0), "c").unwrap();
assert!(
!more_than_0.matches(&file_info, &mut deps.new_matcher_io()),
"zero-byte file should not match size of >0 bytes"
);
let less_than_1 = SizeMatcher::new(ComparableValue::LessThan(1), "c").unwrap();
assert!(
less_than_1.matches(&file_info, &mut deps.new_matcher_io()),
"zero-byte file should match size of <1 byte"
);
}
#[test]
fn size_matcher_boundary_values() {
let file_info = get_dir_entry_for("./test_data/size", "512bytes");
let deps = FakeDependencies::new();
// bytes (c): 512 bytes = 512
let eq_512_c = SizeMatcher::new(ComparableValue::EqualTo(512), "c").unwrap();
assert!(eq_512_c.matches(&file_info, &mut deps.new_matcher_io()));
let gt_511_c = SizeMatcher::new(ComparableValue::MoreThan(511), "c").unwrap();
assert!(gt_511_c.matches(&file_info, &mut deps.new_matcher_io()));
let lt_513_c = SizeMatcher::new(ComparableValue::LessThan(513), "c").unwrap();
assert!(lt_513_c.matches(&file_info, &mut deps.new_matcher_io()));
// words (w): 512 bytes = 256 two-byte words
let eq_256_w = SizeMatcher::new(ComparableValue::EqualTo(256), "w").unwrap();
assert!(eq_256_w.matches(&file_info, &mut deps.new_matcher_io()));
let gt_255_w = SizeMatcher::new(ComparableValue::MoreThan(255), "w").unwrap();
assert!(gt_255_w.matches(&file_info, &mut deps.new_matcher_io()));
// blocks (b): 512 bytes = 1 block
let eq_1_b = SizeMatcher::new(ComparableValue::EqualTo(1), "b").unwrap();
assert!(eq_1_b.matches(&file_info, &mut deps.new_matcher_io()));
let gt_1_b = SizeMatcher::new(ComparableValue::MoreThan(1), "b").unwrap();
assert!(!gt_1_b.matches(&file_info, &mut deps.new_matcher_io()));
let lt_1_b = SizeMatcher::new(ComparableValue::LessThan(1), "b").unwrap();
assert!(!lt_1_b.matches(&file_info, &mut deps.new_matcher_io()));
let gt_0_b = SizeMatcher::new(ComparableValue::MoreThan(0), "b").unwrap();
assert!(gt_0_b.matches(&file_info, &mut deps.new_matcher_io()));
// kibibytes (k): 512 bytes = 1k (rounded up)
let eq_1_k = SizeMatcher::new(ComparableValue::EqualTo(1), "k").unwrap();
assert!(eq_1_k.matches(&file_info, &mut deps.new_matcher_io()));
let gt_1_k = SizeMatcher::new(ComparableValue::MoreThan(1), "k").unwrap();
assert!(!gt_1_k.matches(&file_info, &mut deps.new_matcher_io()));
let lt_2_k = SizeMatcher::new(ComparableValue::LessThan(2), "k").unwrap();
assert!(lt_2_k.matches(&file_info, &mut deps.new_matcher_io()));
// mebibytes (M): 512 bytes = 1M (rounded up)
let eq_1_m = SizeMatcher::new(ComparableValue::EqualTo(1), "M").unwrap();
assert!(eq_1_m.matches(&file_info, &mut deps.new_matcher_io()));
let gt_1_m = SizeMatcher::new(ComparableValue::MoreThan(1), "M").unwrap();
assert!(!gt_1_m.matches(&file_info, &mut deps.new_matcher_io()));
// gibibytes (G): 512 bytes = 1G (rounded up)
let eq_1_g = SizeMatcher::new(ComparableValue::EqualTo(1), "G").unwrap();
assert!(eq_1_g.matches(&file_info, &mut deps.new_matcher_io()));
let gt_1_g = SizeMatcher::new(ComparableValue::MoreThan(1), "G").unwrap();
assert!(!gt_1_g.matches(&file_info, &mut deps.new_matcher_io()));
}
}

Some files were not shown because too many files have changed in this diff Show More