889 Commits

Author SHA1 Message Date
Sylvestre Ledru 62deaf6e60 updatedb: clear error when the output database can't be created
Opening the output file with `?` surfaced a bare "No such file or
directory" with no indication of which file failed (easy to hit because the
default output path /usr/local/var/locatedb often doesn't exist).

Report it like GNU does, naming the path and the reason, e.g.
`cannot create '/usr/local/var/locatedb': No such file or directory`.
strip_errno() drops the trailing "(os error N)" noise.
2026-06-08 23:38:59 +02:00
Sylvestre Ledru 1be5541c74 find: avoid redundant stat per -fstype evaluation
The -fstype matcher called path.symlink_metadata() (a statx/lstat syscall)
on every entry before consulting its cache, just to obtain the device id.
With several -fstype clauses on the same expression (as updatedb builds:
nfs/NFS/proc), every file was stat'd once per clause.

Derive the device id from WalkEntry::metadata() instead, which is cached on
the entry in a OnceCell and shared across all matchers, so each file is
stat'd at most once regardless of how many -fstype clauses run.

On 'updatedb --localpaths=/usr' (~506k files) this drops statx calls from
~1.52M to ~506k and wall-clock from ~1.82s to ~1.32s, with byte-identical
output.
2026-06-08 23:38:59 +02:00
Sylvestre Ledru 5d0e7add34 lints: enable clippy all/cargo/pedantic groups, mirroring uutils/coreutils
Enable the broader clippy lint set used by uutils/coreutils (the all,
cargo and pedantic groups plus the use_self nursery lint), allowing the
noisy/low-value lints. The preceding commits fix the warnings these
groups surface so the tree stays warning-free.
2026-06-08 22:48:45 +02:00
Sylvestre Ledru 42f8a9af36 find: fix clippy::needless_for_each 2026-06-08 22:48:45 +02:00
Sylvestre Ledru 664a9c23e6 xargs: fix clippy::needless_continue 2026-06-08 22:48:45 +02:00
Sylvestre Ledru fd4bd6acfa find,xargs: fix clippy::items_after_statements 2026-06-08 22:48:45 +02:00
Sylvestre Ledru fa4f90befb find: fix clippy::unnecessary_wraps 2026-06-08 22:48:45 +02:00
Sylvestre Ledru 7deeee6fdf find: fix clippy::unreadable_literal 2026-06-08 22:48:45 +02:00
Sylvestre Ledru 51a50022c2 find: fix clippy::assigning_clones 2026-06-08 22:48:45 +02:00
Sylvestre Ledru 600f3af140 find: fix clippy::implicit_clone 2026-06-08 22:48:45 +02:00
Sylvestre Ledru a63482b8cf find: fix clippy::match_bool 2026-06-08 22:48:45 +02:00
Sylvestre Ledru 47796303ca find: fix clippy::single_match_else 2026-06-08 22:48:45 +02:00
Sylvestre Ledru baa6ce5d92 find: fix clippy::unnecessary_semicolon 2026-06-08 22:48:45 +02:00
Sylvestre Ledru 9f33c14fc9 find: fix clippy::map_unwrap_or 2026-06-08 22:48:45 +02:00
Sylvestre Ledru a80620c88f find: fix clippy::redundant_closure_for_method_calls 2026-06-08 22:48:45 +02:00
Sylvestre Ledru a2c75f94ca prepare release 0.9.0 (#714) 2026-06-08 22:44:43 +02:00
dependabot[bot] 44fbc59263 build(deps): bump rstest from 0.25.0 to 0.26.1 (#710)
Bumps [rstest](https://github.com/la10736/rstest) from 0.25.0 to 0.26.1.
- [Release notes](https://github.com/la10736/rstest/releases)
- [Changelog](https://github.com/la10736/rstest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/la10736/rstest/compare/v0.25.0...v0.26.1)

---
updated-dependencies:
- dependency-name: rstest
  dependency-version: 0.26.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-08 08:40:05 +02:00
✿ Fleur de Blue fb9f8df047 fix: Handle write failures when printing --help/--version (#656) 2026-06-07 19:05:03 +02:00
Sylvestre Ledru 2044d1e31d make locate and updatedb work on Windows (#704)
locate and updatedb were Unix-only (gated behind cfg and stubbed out on
Windows). Make them cross-platform:

- locate: decode raw DB entries via a platform-specific bytes_to_path
  (verbatim bytes on Unix, lossy UTF-8 elsewhere), use Metadata::len()
  instead of the unix-only size(), and a cross-platform make_symlink in
  tests that skips gracefully when symlink creation is unprivileged.
- drop the #[cfg(unix)] gate on the locate module and the
  "unsupported on Windows" main stubs for locate/updatedb.
- db_tests: remove #[cfg(not(windows))] gates, write updatedb output to
  a tempdir instead of /dev/null, and add a full updatedb->locate
  roundtrip test that is platform-independent.
2026-06-07 11:52:08 +02:00
Jesse Rosenstock 0494ba1be4 find: Update --help text (#707)
Replace the "early alpha implementation" placeholder help text with a
proper organized reference grouped by category (global options,
operators, positional options, tests, and actions), with brief
descriptions for each entry. The old text was a flat list that hadn't
kept up with the implementation and still carried the "early alpha"
disclaimer.

Also fix a typo in a comment: "- newercm" -> "-newercm".
2026-06-07 11:51:45 +02:00
Sylvestre Ledru fc446aba0b ci: add CodSpeed benchmarks for updatedb and locate (#705)
Drive both utilities end-to-end through their real entry points.

- benches/updatedb_bench.rs: walks a generated tree (~8.5k paths) and
  writes a LOCATE02 database, measuring the walk + front-coding + write
  (full build and a -regex/-prune variant). Empty prune options keep the
  run deterministic regardless of temp_dir location.
- benches/locate_bench.rs: builds the database once via updatedb, then
  scans it in -c/count mode so database decoding and pattern matching
  dominate (no-match, substring, -b basename, -i ignore-case, -r regex).
  Unix-only, matching the locate module's cfg.

The existing CodSpeed workflow picks these up via cargo codspeed build/run.
2026-06-06 11:00:04 +02:00
Sylvestre Ledru 33703b79d8 ci: add CodSpeed benchmarks for find and xargs (#703)
Introduce criterion benchmarks (via codspeed-criterion-compat) that drive
find and xargs end-to-end through their real entry points, plus a CodSpeed
GitHub Actions workflow to track performance on pushes and PRs.

- benches/find_bench.rs: walks a generated directory tree exercising the
  matcher tree (-name/-iname/-regex/-size/-type, grouping, -prune, -printf).
  Output is sent to a sink so the directory walk and matching dominate.
- benches/xargs_bench.rs: feeds a corpus via -a and runs 'true' so xargs'
  own argument reading/splitting/batching dominates (whitespace, NUL, -n, -s).
- .github/workflows/codspeed.yml: mirrors the uutils/grep setup.
2026-06-06 10:37:56 +02:00
Jeremy Smart c5ff1bbb6b implement locate and updatedb (#536)
---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2026-06-06 10:10:44 +02:00
Sylvestre Ledru e7c34ab12f test: properly exercise {} in -exec utility name (#702)
The test from #647 used {} only in an argument, so it passed on
unpatched code. Rewrite it to make the matched entry the
testing-commandline binary and pass {} as the utility name, so the
placeholder must resolve to the entry's path and execute.
2026-06-06 09:35:34 +02:00
Matt Van Horn 1a77a83432 fix: replace {} placeholder in -exec utility name (#647)
* fix: replace {} placeholder in -exec utility name

The {} placeholder was only replaced in arguments to -exec, not in the
utility_name position itself. Running `find -exec {} \;` passed the
literal string "{}" to Command::new, causing "No such file or directory".

Extracted arg parsing into a shared `parse_arg` helper and changed the
`executable` field from String to the existing Arg enum so it undergoes
the same {} replacement as other arguments.

Fixes #614

* test: add test for {} placeholder in utility name

Verify that SingleExecMatcher resolves {} in arguments
when the executable is a known path. Covers the case
where -exec receives {} in argument positions.

---------

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
2026-06-06 08:50:24 +02:00
Sylvestre Ledru a65160f724 find: match GNU prompt format for -ok/-okdir (#699)
The -ok/-okdir prompt rendered the full substituted command, but GNU
find prints a fixed, abbreviated form: "< executable ... pathname > ? "
(literal ..., a space before ?, and always the full entry path even for
-okdir). Match it exactly and update the prompt-format test.

Verified byte-for-byte against GNU findutils 4.10.0.
2026-06-05 13:18:13 +08:00
dependabot[bot] 435f00d491 build(deps): bump softprops/action-gh-release from 2 to 3
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2 to 3.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2...v3)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-05 07:10:08 +02:00
dependabot[bot] db941e7fba build(deps): bump chrono from 0.4.44 to 0.4.45
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.44 to 0.4.45.
- [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.44...v0.4.45)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-05 07:08:07 +02:00
Sylvestre Ledru 5bef01f72f github action: publish the release as draft first (#530) 2026-06-04 22:51:02 +02:00
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
Sylvestre Ledru b94b5f0122 Merge pull request #524 from tavianator/cmp-signs
find: Allow comparable values with signs
2025-04-06 18:46:33 +02:00
Sylvestre Ledru 4f8fbf55a1 Merge pull request #528 from sylvestre/ver
prepare version 0.8.0
2025-04-06 18:41:08 +02:00
Sylvestre Ledru 3dbdbe8442 prepare version 0.8.0 2025-04-06 18:35:31 +02:00
Sylvestre Ledru 949bcb83c8 Merge pull request #526 from cakebaker/find_fix_typo_in_test
find: fix typo in test (slashs -> slashes)
2025-04-05 10:24:14 +02:00
Daniel Hofstetter 61b396ac31 find: fix typo in test (slashs -> slashes) 2025-04-05 10:14:03 +02:00
Daniel Hofstetter 6c99dc175f Merge pull request #497 from uutils/dependabot/cargo/chrono-0.4.40
build(deps): bump chrono from 0.4.38 to 0.4.40
2025-04-05 10:07:02 +02:00
dependabot[bot] 778abdb6a9 build(deps): bump chrono from 0.4.38 to 0.4.40
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.38 to 0.4.40.
- [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.38...v0.4.40)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-05 09:57:27 +02:00
Tavian Barnes a61993b705 find: Allow comparable values with signs
find -uid -+10 means "UID less than +10".
2025-04-05 09:57:10 +02:00
Daniel Hofstetter bd159d7627 Merge pull request #525 from sylvestre/cov
ci: adjust to code cov v5
2025-04-05 09:49:52 +02:00
Sylvestre Ledru ad61338bb2 ci: use github for gnulib 2025-04-04 23:04:33 +02:00
Sylvestre Ledru 4a1c683834 ci: remove trailing spaces 2025-04-04 23:00:59 +02:00
Sylvestre Ledru 2ec695381e ci: adjust to code cov v5 2025-04-04 22:27:47 +02:00
Sylvestre Ledru a04b499e15 Merge pull request #521 from tavianator/user-group-ids
find: User/group ID fixes
2025-04-04 14:01:21 +02:00
Tavian Barnes de42f9bd83 find: Implement -uid [-+]N, -gid [-+]N
GNU find's -uid/-gid matchers take a comparable value.
2025-04-04 09:51:19 +02:00
Tavian Barnes 6d264dbbcf find: Allow -user UID / -group GID
POSIX says

> -user uname
>   The primary shall evaluate as true if the file belongs to the user
>   uname. If uname is a decimal integer and the getpwnam() (or
>   equivalent) function does not return a valid user name, uname shall
>   be interpreted as a user ID.

and similarly for -group.

Link: https://pubs.opengroup.org/onlinepubs/9799919799/utilities/find.html
2025-04-04 09:51:19 +02:00
Sylvestre Ledru 81c39aad7d Merge pull request #522 from cakebaker/clippy_fix_warnings_from_rust_1_86
clippy: fix warnings from Rust 1.86
2025-04-04 09:50:42 +02:00
Daniel Hofstetter 5cb273eecb clippy: fix error from manual_div_ceil lint 2025-04-04 09:21:12 +02:00
Daniel Hofstetter 55021afb69 clippy: fix errors from double_ended_iterator_last
lint
2025-04-04 09:21:12 +02:00
Sylvestre Ledru 013be1b093 Merge pull request #520 from tavianator/exec-multi-deterministic
tests: Make -exec {} + tests deterministic
2025-04-04 09:20:25 +02:00
Tavian Barnes 0429507f15 tests: Make -exec {} + tests deterministic
These tests failed on my system because directory entries were returned
in a different order, causing an output mismatch.  Add --sort to the
testing_commandline to make the output deterministic.
2025-04-02 22:11:27 -04:00
milkory 5235d78291 find: Implement exec[dir] + (#515)
* add argmax dependency

* implement finished and finished_dir callback

* implement multi exec matcher

* fix finished_dir not working correctly

* add more test for multi exec matcher

* fix execdir multi in current directory not working

* add more test for parsing multi exec

* set exit code when exec + failed

* fix clippy warnings

* prevent multi exec panics on long paths

---------

Co-authored-by: hanbings <hanbings@hanbings.io>
2025-04-02 21:04:48 +08:00
cryptodarth 1a40442f20 Merge pull request #509 from Crypto-Darth/main
Implement : -files0-from (#378)
2025-04-02 20:47:51 +08:00
Daniel Hofstetter cb83b6db3a Merge pull request #519 from uutils/dependabot/cargo/clap-4.5.35
build(deps): bump clap from 4.5.34 to 4.5.35
2025-04-02 07:01:01 +02:00
dependabot[bot] e92ebc9288 build(deps): bump clap from 4.5.34 to 4.5.35
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.34 to 4.5.35.
- [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.34...clap_complete-v4.5.35)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 03:05:31 +00:00
Daniel Hofstetter d6dc18973d Merge pull request #517 from hanbings/clippy
clippy: run cargo clippy and cargo fmt.
2025-03-29 13:55:57 +01:00
hanbings 9fdfb1ee08 Run cargo clippy and cargo fmt. 2025-03-29 15:58:41 +08:00
hanbings 830298ed22 Merge pull request #510 from uutils/sylvestre-patch-1
clippy: add the same rules as coreutils
2025-03-29 15:51:24 +08:00
hanbings 8784923b54 Merge pull request #516 from tavianator/set-exit-code
find: Use matcher_io.set_exit_code()
2025-03-29 15:29:25 +08:00
hanbings 89f98f1aff Merge pull request #514 from cakebaker/bump_uucore
Bump `uucore` from `0.0.29` to `0.0.30`
2025-03-29 15:05:45 +08:00
Tavian Barnes f911610d93 find: Use matcher_io.set_exit_code()
The uucore function has the downside of leaking the failure state
between unrelated tests, because the exit code is global.  PR #436
introduced a method on MatcherIO which solves the problem, but future
PRs added new uses of uucore::error::set_exit_code().
2025-03-28 12:56:30 -04:00
Daniel Hofstetter 22c5f7dcc3 Bump uucore from 0.0.29 to 0.0.30 2025-03-27 10:01:46 +01:00
Daniel Hofstetter f3a70e9eb4 Merge pull request #513 from uutils/dependabot/cargo/clap-4.5.34
build(deps): bump clap from 4.5.32 to 4.5.34
2025-03-27 07:11:18 +01:00
dependabot[bot] 55298be4ad build(deps): bump clap from 4.5.32 to 4.5.34
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.32 to 4.5.34.
- [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.32...clap_complete-v4.5.34)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-27 03:08:45 +00:00
hanbings 764be30111 Merge pull request #512 from Every2/main
Fix incorrect triple slashes behavior
2025-03-26 23:11:13 +08:00
Every2 6d54482ed4 add one more test to check if case 2025-03-26 04:08:58 -03:00
Every2 49975f5c62 fix windows not running 2025-03-26 03:43:35 -03:00
Every2 dacc473c85 fix incorrect matchs in -name and fix incorrect slashes test 2025-03-26 03:35:38 -03:00
hanbings 5bad2e0afe Merge branch 'main' into sylvestre-patch-1 2025-03-25 10:58:13 -07:00
hanbings 28b1c88d9c Merge pull request #508 from Every2/main
-name / should match ///
2025-03-25 10:56:48 -07:00
Every2 c7b89d5341 fix typo 2025-03-24 18:20:50 -03:00
Every2 b4c5c4946b add find cmd tests 2025-03-24 18:18:33 -03:00
Every2 16bb731937 add test for triple slash case 2025-03-23 14:52:38 +01:00
Every2 6d366cbbda fix -name not returning the same character 2025-03-23 14:52:38 +01:00
Sylvestre Ledru 280381bb28 disable clippy::warn for now 2025-03-23 14:40:56 +01:00
Sylvestre Ledru 1809a3edca fix many clippy warnings
Done with
cargo clippy --fix
2025-03-23 14:38:11 +01:00
Sylvestre Ledru 0a54e7c6d9 clippy: add the same rules as coreutils 2025-03-23 14:35:35 +01:00
Daniel Hofstetter 5d264c9c7b Merge pull request #507 from uutils/dependabot/cargo/tempfile-3.19.1
build(deps): bump tempfile from 3.19.0 to 3.19.1
2025-03-20 07:06:01 +01:00
dependabot[bot] d8355d48a3 build(deps): bump tempfile from 3.19.0 to 3.19.1
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.19.0 to 3.19.1.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.19.0...v3.19.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-20 03:42:20 +00:00
Sylvestre Ledru a7b596daef Merge pull request #506 from cakebaker/ci_update_dist
ci: update `dist` from `0.12` to `0.28`
2025-03-14 10:21:51 +01:00
Daniel Hofstetter 22a58468b8 ci: update dist from 0.12 to 0.28 2025-03-14 10:05:01 +01:00
Daniel Hofstetter 0f9ca9eace Merge pull request #505 from uutils/dependabot/cargo/tempfile-3.19.0
build(deps): bump tempfile from 3.18.0 to 3.19.0
2025-03-14 07:20:48 +01:00
dependabot[bot] a90f505510 build(deps): bump tempfile from 3.18.0 to 3.19.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.18.0 to 3.19.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.18.0...v3.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-14 03:05:16 +00:00
Daniel Hofstetter e32e754102 Merge pull request #502 from uutils/dependabot/cargo/once_cell-1.21.0
build(deps): bump once_cell from 1.20.3 to 1.21.0
2025-03-11 09:40:13 +01:00
dependabot[bot] 83dc5fe7de build(deps): bump once_cell from 1.20.3 to 1.21.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.20.3 to 1.21.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.3...v1.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-11 08:29:42 +00:00
Sylvestre Ledru cb3f3cfea4 Merge pull request #503 from cakebaker/remove_unused_once_cell
Remove unused `once_cell` dependency
2025-03-11 09:28:39 +01:00
Daniel Hofstetter 1f9d90eb4f Remove unused once_cell dependency 2025-03-11 09:11:34 +01:00
Daniel Hofstetter 98ce63a65e Merge pull request #501 from uutils/dependabot/cargo/clap-4.5.32
build(deps): bump clap from 4.5.31 to 4.5.32
2025-03-11 07:16:03 +01:00
dependabot[bot] a547d24f46 build(deps): bump clap from 4.5.31 to 4.5.32
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.31 to 4.5.32.
- [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/v4.5.31...clap_complete-v4.5.32)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-11 03:40:49 +00:00
Daniel Hofstetter b263b20801 Merge pull request #500 from uutils/dependabot/cargo/tempfile-3.18.0
build(deps): bump tempfile from 3.17.1 to 3.18.0
2025-03-07 07:05:56 +01:00
dependabot[bot] 5ae9315c1b build(deps): bump tempfile from 3.17.1 to 3.18.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.17.1 to 3.18.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.17.1...v3.18.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-07 03:51:50 +00:00
hanbings 87459296e6 Merge pull request #499 from cakebaker/bump_dependencies_to_remove_older_windows_sys
Bump dependencies to remove two `windows-sys` versions
2025-03-02 16:55:08 +08:00
Daniel Hofstetter e9374afc99 Bump deps to remove two windows-sys versions
anstream from 0.6.12 to 0.6.18
anstyle-query from 1.0.0 to 1.1.2
anstyle-wincon from 3.0.1 to 3.0.7
parking_lot_core from 0.9.9 to 0.9.10
winapi-util from 0.1.8 to 0.1.9
2025-03-01 15:52:30 +01:00
hanbings 1ea16258c3 Merge pull request #498 from cakebaker/find_fix_unused_import_on_windows
find: fix "unused import" warning on Windows
2025-03-01 00:12:14 +08:00
Daniel Hofstetter 9226ff10b6 find: fix "unused import" warning on Windows 2025-02-28 16:52:46 +01:00
Daniel Hofstetter 8c93719bfc Merge pull request #495 from uutils/dependabot/cargo/tempfile-3.17.1
build(deps): bump tempfile from 3.13.0 to 3.17.1
2025-02-28 16:51:03 +01:00
Daniel Hofstetter 629f5b793d Merge pull request #485 from uutils/dependabot/cargo/predicates-3.1.3
build(deps): bump predicates from 3.1.2 to 3.1.3
2025-02-28 16:50:14 +01:00
Daniel Hofstetter d7ce651130 Merge pull request #491 from uutils/dependabot/cargo/once_cell-1.20.3
build(deps): bump once_cell from 1.20.2 to 1.20.3
2025-02-28 16:48:51 +01:00
Daniel Hofstetter 7be665cbbe Merge pull request #496 from uutils/dependabot/cargo/clap-4.5.31
build(deps): bump clap from 4.5.20 to 4.5.31
2025-02-28 16:43:05 +01:00
dependabot[bot] 5319654dfb build(deps): bump clap from 4.5.20 to 4.5.31
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.20 to 4.5.31.
- [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.20...v4.5.31)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-25 03:03:17 +00:00
dependabot[bot] 145b96871a build(deps): bump tempfile from 3.13.0 to 3.17.1
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.13.0 to 3.17.1.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.13.0...v3.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-18 03:38:09 +00:00
dependabot[bot] fb4108192c build(deps): bump once_cell from 1.20.2 to 1.20.3
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.20.2 to 1.20.3.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.2...v1.20.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-14 08:06:30 +00:00
Sylvestre Ledru e0397917e4 Merge pull request #470 from cakebaker/ci_fix_code_coverage
ci: use `-Cinstrument-coverage` instead of `-Zprofile`
2025-02-13 18:16:44 +01:00
Daniel Hofstetter 9d1a97768f ci: use -Cinstrument-coverage instead of -Zprofile
and use cargo-llvm-cov instead of grcov.

Support for -Zprofile has been removed from Rust nightly: https://github.com/rust-lang/rust/pull/131829
2025-02-07 14:45:53 +01:00
dependabot[bot] fc3de09ca2 build(deps): bump predicates from 3.1.2 to 3.1.3
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 3.1.2 to 3.1.3.
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v3.1.2...v3.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 09:34:31 +00:00
hanbings 78e520106c Merge pull request #486 from sylvestre/uucore
Update to uucore 0.0.29
2025-01-20 17:33:23 +08:00
Sylvestre Ledru a21c379953 Update to uucore 0.0.29 2025-01-20 10:12:10 +01:00
Sylvestre Ledru c45e474c7e Merge pull request #487 from hanbings/fix-ci
ci: Fix issues related to downloading builds in ci.
2025-01-20 10:11:35 +01:00
hanbings f536f813e2 Run cargo clippy. 2025-01-20 16:22:17 +08:00
hanbings 8685fa5c64 Switch to using js script to download builds. 2025-01-20 16:16:28 +08:00
Sylvestre Ledru b7f93ea816 Merge pull request #475 from cakebaker/find_fix_clippy_warnings
find: fix new clippy warnings
2025-01-20 08:47:09 +01:00
hanbings 10c24ca5f1 Update action-download-artifact to try to fix the download issue. 2025-01-20 03:25:00 +08:00
hanbings 33cd6573aa Adjust CI to new configuration files for Ubuntu 24.04. 2025-01-20 03:00:24 +08:00
hanbings 6ce5ffaa9e Adjust CI to new configuration files for Ubuntu 24.04. 2025-01-20 02:49:28 +08:00
dependabot[bot] 78b264deae build(deps): bump serial_test from 3.1.1 to 3.2.0 (#471)
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.1.1...v3.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-20 02:25:13 +08:00
Daniel Hofstetter 3fa75542c4 find: fix needless_lifetimes warning 2024-11-29 10:23:25 +01:00
Daniel Hofstetter 4e954a7a41 find: fix empty_line_after_outer_attr warnings 2024-11-29 10:20:45 +01:00
Daniel Hofstetter 50b7ec67e0 Merge pull request #468 from uutils/dependabot/cargo/regex-1.11.1
build(deps): bump regex from 1.11.0 to 1.11.1
2024-10-25 07:03:50 +02:00
dependabot[bot] b3f4deda63 build(deps): bump regex from 1.11.0 to 1.11.1
Bumps [regex](https://github.com/rust-lang/regex) from 1.11.0 to 1.11.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.0...1.11.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-25 03:10:12 +00:00
dependabot[bot] 1b3ad03b1f build(deps): bump clap from 4.5.18 to 4.5.20 (#465)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.18 to 4.5.20.
- [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.18...clap_complete-v4.5.20)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: hanbings <hanbings@hanbings.io>
2024-10-19 15:19:54 +08:00
dependabot[bot] 11a0b64c91 build(deps): bump once_cell from 1.20.0 to 1.20.2 (#464)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.20.0 to 1.20.2.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.0...v1.20.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: hanbings <hanbings@hanbings.io>
2024-10-19 15:03:20 +08:00
dependabot[bot] 2e9e90887f build(deps): bump tempfile from 3.12.0 to 3.13.0 (#458)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.12.0 to 3.13.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.12.0...v3.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: hanbings <hanbings@hanbings.io>
2024-10-19 14:53:16 +08:00
Phillips Horselover 526079b5d3 find/time: calculate midnight with local time zone (#467)
* find/time: calculate midnight with local time zone

* find/time: remove deprecated functions

* find/time: add test for local midnight calculation
2024-10-19 14:33:37 +08:00
Daniel Hofstetter dce8b2dda5 Merge pull request #460 from uutils/dependabot/cargo/regex-1.11.0
build(deps): bump regex from 1.10.6 to 1.11.0
2024-09-30 08:25:19 +02:00
dependabot[bot] fb7a56be63 build(deps): bump regex from 1.10.6 to 1.11.0
Bumps [regex](https://github.com/rust-lang/regex) from 1.10.6 to 1.11.0.
- [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.10.6...1.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 03:03:45 +00:00
Tavian Barnes acbfcc52ca find/glob: Don't use $. as a non-matching regex (#457)
The oniguruma version built by onig_sys does not include the commit
6f7b0aa ("add ONIG_SYN_BRE_ANCHOR_AT_EDGE_OF_SUBEXP into
ONIG_SYNTAX_POSIX_BASIC and ONIG_SYNTAX_GREP"), causing `$.` to actually
match a literal newline.

Using `$.` is not portable anyway; POSIX says

> A <dollar-sign> ( '$' ) shall be an anchor when used as the last
> character of an entire BRE.
2024-09-27 13:23:31 +08:00
Andrew Liebenow b641b85239 Print help/version without error prefix (#455)
* xargs: print help/version without error prefix

xargs, when executed with -h/--help or -V/--version, is printing an
"Error: " prefix before the help and version text. The exit code is
also incorrect (1, instead of 0).

Display the help/version text without the erroneous prefix, and exit
with the correct exit code (success, 0).

Add tests for this bug to prevent regressions.
2024-09-23 22:20:05 +02:00
Daniel Hofstetter eefc5804d4 Merge pull request #456 from uutils/dependabot/cargo/clap-4.5.18
build(deps): bump clap from 4.5.17 to 4.5.18
2024-09-23 07:08:29 +02:00
dependabot[bot] 309d3d9211 build(deps): bump clap from 4.5.17 to 4.5.18
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.17 to 4.5.18.
- [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.17...clap_complete-v4.5.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 03:24:18 +00:00
Sylvestre Ledru 9d66be6b7d manage the special case 'find %A+ (#454)
* declare the variable where it is used

* manage the special case 'find %A+'

Closes: #451
2024-09-22 16:15:53 +08:00
hanbings 27d95aa1cc Implement -fprintf (#444) 2024-09-21 21:49:04 +02:00
dependabot[bot] 05493375c7 build(deps): bump once_cell from 1.19.0 to 1.20.0 (#452)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.19.0 to 1.20.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.19.0...v1.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 12:43:27 +08:00
dependabot[bot] 7f3c00db69 build(deps): bump pretty_assertions from 1.4.0 to 1.4.1 (#453)
Bumps [pretty_assertions](https://github.com/rust-pretty-assertions/rust-pretty-assertions) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/rust-pretty-assertions/rust-pretty-assertions/releases)
- [Changelog](https://github.com/rust-pretty-assertions/rust-pretty-assertions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-pretty-assertions/rust-pretty-assertions/compare/v1.4.0...v1.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 12:39:30 +08:00
hanbings 4d367891dc Implement -fprint0 (#443) 2024-09-09 18:36:44 +02:00
Sylvestre Ledru e3f4224f12 prepare version 0.7.0 2024-09-08 10:04:46 +02:00
Sylvestre Ledru 8fc5ddb299 Merge pull request #450 from cakebaker/find_fix_clippy_warning
find: use array instead of closure
2024-09-06 08:53:55 +02:00
Daniel Hofstetter b4f22f0747 find: use array instead of closure
fix warning from manual_pattern_char_comparison lint
2024-09-06 07:44:59 +02:00
hanbings db8e265547 Clean up unused generated during Windows platform build process. (#448)
* Fix Windows' warning in build.

* Fix Windows' warning in build.

* Fix Windows' warning in build.

* Run cargo fmt.
2024-09-05 10:10:34 +02:00
hanbings f9d74ada2e Implement -ls and -fls (#435) 2024-09-05 09:06:54 +02:00
Daniel Hofstetter 907f3841ab Merge pull request #449 from uutils/dependabot/cargo/clap-4.5.17
build(deps): bump clap from 4.5.16 to 4.5.17
2024-09-05 07:11:53 +02:00
dependabot[bot] 888d3cd516 build(deps): bump clap from 4.5.16 to 4.5.17
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.16 to 4.5.17.
- [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.16...clap_complete-v4.5.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-05 03:38:19 +00:00
Daniel Hofstetter f2e49d8d48 Merge pull request #447 from uutils/dependabot/cargo/filetime-0.2.25
build(deps): bump filetime from 0.2.24 to 0.2.25
2024-08-28 07:05:08 +02:00
dependabot[bot] d847a7bf7e build(deps): bump filetime from 0.2.24 to 0.2.25
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.24 to 0.2.25.
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.24...0.2.25)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-28 03:28:47 +00:00
Tavian Barnes abf851dd7d ci: Update bfs to 4.0 (#446)
And fix diff-bfs.sh for the new test result format.
2024-08-17 08:13:30 +01:00
Daniel Hofstetter d9d2a4e865 Merge pull request #445 from uutils/dependabot/cargo/clap-4.5.16
build(deps): bump clap from 4.5.15 to 4.5.16
2024-08-16 09:28:56 +02:00
dependabot[bot] 9b0fea9880 build(deps): bump clap from 4.5.15 to 4.5.16
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.15 to 4.5.16.
- [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.15...clap_complete-v4.5.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-16 03:39:20 +00:00
Tavian Barnes a7a73c325d Wrap walkdir::DirEntry in a new type (#436)
* Add -follow support.

* tests/find: Serialize find_time()

find_time() relies on the working directory, but e.g.
delete_on_dot_dir() will temporarily change directories, causing
find_time() to fail when run in parallel.

* find: Don't use uutils::error::set_exit_code()

The global exit code can polute the results of other tests.

Link: https://github.com/uutils/coreutils/issues/5777

* find: New WalkEntry wrapper

The new type wraps DirEntry when possible, but also lets us pass a valid
entry to matchers when walkdir returns a broken symlink error.  It also
implements a Metadata cache (part of #430).

* find: Implement -H, -L, -P flags

* find: Fix -follow -samefile

* find: Fix -follow -newer

* find: Implement -xtype

* find: Fix -delete error handling

---------

Co-authored-by: hanbings <hanbings@hanbings.io>
2024-08-15 04:01:19 +08:00
Daniel Hofstetter 465856ce24 Merge pull request #442 from uutils/dependabot/cargo/filetime-0.2.24
build(deps): bump filetime from 0.2.23 to 0.2.24
2024-08-12 08:16:29 +02:00
Daniel Hofstetter e456c23d5c Merge pull request #441 from uutils/dependabot/cargo/clap-4.5.15
build(deps): bump clap from 4.5.14 to 4.5.15
2024-08-12 08:14:51 +02:00
dependabot[bot] 4dc350e5fb build(deps): bump filetime from 0.2.23 to 0.2.24
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.23 to 0.2.24.
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.23...0.2.24)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 03:51:06 +00:00
dependabot[bot] fcc929a978 build(deps): bump clap from 4.5.14 to 4.5.15
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.14 to 4.5.15.
- [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.14...v4.5.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 03:51:01 +00:00
hanbings 423453eaf8 Implement -fprint (#421) 2024-08-11 09:38:05 +02:00
Daniel Hofstetter 79986a26f2 Merge pull request #437 from uutils/dependabot/cargo/assert_cmd-2.0.16
build(deps): bump assert_cmd from 2.0.15 to 2.0.16
2024-08-09 08:07:12 +02:00
Daniel Hofstetter de1bc84812 Merge pull request #438 from uutils/dependabot/cargo/clap-4.5.14
build(deps): bump clap from 4.5.13 to 4.5.14
2024-08-09 08:05:59 +02:00
dependabot[bot] f0cd3748b8 build(deps): bump clap from 4.5.13 to 4.5.14
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.13 to 4.5.14.
- [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.13...v4.5.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-09 03:24:36 +00:00
dependabot[bot] 780d106b34 build(deps): bump assert_cmd from 2.0.15 to 2.0.16
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.15 to 2.0.16.
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.15...v2.0.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-09 03:24:28 +00:00
Daniel Hofstetter 4043c00bde Merge pull request #434 from uutils/dependabot/cargo/tempfile-3.12.0
build(deps): bump tempfile from 3.11.0 to 3.12.0
2024-08-07 08:01:56 +02:00
dependabot[bot] f0c3562aca build(deps): bump tempfile from 3.11.0 to 3.12.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.11.0 to 3.12.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 03:44:37 +00:00
dependabot[bot] d7bf7da4a1 build(deps): bump predicates from 3.1.0 to 3.1.2 (#424)
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 3.1.0 to 3.1.2.
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v3.1.0...v3.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: hanbings <hanbings@hanbings.io>
2024-08-06 00:39:50 +08:00
dependabot[bot] 73dcd94827 build(deps): bump assert_cmd from 2.0.14 to 2.0.15 (#426)
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.14 to 2.0.15.
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.14...v2.0.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: hanbings <hanbings@hanbings.io>
2024-08-06 00:29:40 +08:00
Tavian Barnes 60e4a8cf92 find: -daystart returns true (#428) 2024-08-06 00:22:42 +08:00
Daniel Hofstetter 8b295e7d8a Merge pull request #433 from uutils/dependabot/cargo/tempfile-3.11.0
build(deps): bump tempfile from 3.10.1 to 3.11.0
2024-08-05 07:59:49 +02:00
Daniel Hofstetter 2dc916f980 Merge pull request #432 from uutils/dependabot/cargo/regex-1.10.6
build(deps): bump regex from 1.10.5 to 1.10.6
2024-08-05 07:58:59 +02:00
dependabot[bot] 19012452e1 build(deps): bump tempfile from 3.10.1 to 3.11.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.10.1 to 3.11.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.10.1...v3.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 03:55:36 +00:00
dependabot[bot] 6042d5a47f build(deps): bump regex from 1.10.5 to 1.10.6
Bumps [regex](https://github.com/rust-lang/regex) from 1.10.5 to 1.10.6.
- [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.10.5...1.10.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 03:55:28 +00:00
Daniel Hofstetter 45e5964e6a Merge pull request #429 from uutils/dependabot/cargo/clap-4.5.13
build(deps): bump clap from 4.5.10 to 4.5.13
2024-08-01 09:33:03 +02:00
dependabot[bot] 9544f78977 build(deps): bump clap from 4.5.10 to 4.5.13
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.10 to 4.5.13.
- [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.10...v4.5.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-01 03:35:21 +00:00
Sylvestre Ledru 5be00c85d7 Merge pull request #427 from tavianator/simplify-matcher-io
Remove unnecessary lifetime parameter from Dependencies
2024-07-28 09:53:25 +02:00
Tavian Barnes 8771861b0c Remove unnecessary lifetime parameter from Dependencies 2024-07-27 19:54:28 -04:00
Daniel Hofstetter c4a56e9c3f find: fix needless borrow clippy warning (#423) 2024-07-26 03:15:07 +08:00
Daniel Hofstetter 3b222d6040 Merge pull request #422 from uutils/dependabot/cargo/clap-4.5.10
build(deps): bump clap from 4.5.9 to 4.5.10
2024-07-24 07:27:06 +02:00
dependabot[bot] 6f53585a4c build(deps): bump clap from 4.5.9 to 4.5.10
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.9 to 4.5.10.
- [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.9...v4.5.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-24 03:12:02 +00:00
hanbings 1b9904eb5f Implement -daystart (#413) 2024-07-21 16:06:15 +02:00
Tavian Barnes 4807264faa find: ctime is "changed" time, not "created" time (#416)
Fixes #358
2024-07-17 21:14:00 +08:00
Chen Chen 9f44977270 Implement simple caching for -fstype (#419)
* Implement simple caching for -fstype

* Using lstat instead of stat in -fstype
2024-07-13 01:43:56 +08:00
Sylvestre Ledru 7f4423e703 Merge pull request #417 from tavianator/options-return-true
options return true
2024-07-11 21:49:40 +02:00
Tavian Barnes e9634f1ed4 find: Stop parsing after we see -help or -version
GNU find accepts things like

    $ find \( -help -foo -not
2024-07-10 11:55:14 -04:00
Tavian Barnes 37a543b9d6 find: Options like -maxdepth return true
Previously, this would give an error:

    $ find -maxdepth 0 -a -print
    Error: invalid expression; you have used a binary operator '-a' with nothing before it.

Now, options are treated like other primary expressions:

    $ find -maxdepth 0 -a print
    .
2024-07-10 11:42:58 -04:00
hanbings 9c11f11045 Implement -noleaf (#414) 2024-07-09 23:27:18 +02:00
Daniel Hofstetter a0b5713b61 Merge pull request #415 from uutils/dependabot/cargo/clap-4.5.9
build(deps): bump clap from 4.5.8 to 4.5.9
2024-07-09 08:23:11 +02:00
dependabot[bot] 5d4b9ca5e2 build(deps): bump clap from 4.5.8 to 4.5.9
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.8 to 4.5.9.
- [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/v4.5.8...v4.5.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 03:09:20 +00:00
Daniel Hofstetter 3bf5567397 Merge pull request #410 from uutils/dependabot/cargo/clap-4.5.8
build(deps): bump clap from 4.5.7 to 4.5.8
2024-07-01 07:41:29 +02:00
dependabot[bot] bbc9f06543 build(deps): bump clap from 4.5.7 to 4.5.8
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.7 to 4.5.8.
- [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.7...v4.5.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 03:30:04 +00:00
Sylvestre Ledru 8bfa9d200b Revert "cargo-dist: generate more targets"
it fails with:
```
  error occurred: Failed to find tool. Is `aarch64-linux-musl-gcc` installed?
```
and
```
          /usr/bin/ld: /home/runner/work/findutils/findutils/target/aarch64-unknown-linux-gnu/dist/deps/find-c77ccffa664800a0.49era2xhdewepevi.rcgu.o: error adding symbols: file in wrong format
```

This reverts commit b5e7dd52d9.
2024-06-29 10:49:11 +02:00
Sylvestre Ledru a235b35ac3 Revert "Fix cargo-dist generation of arm64 linux"
This reverts commit ca252c9727.
2024-06-29 10:48:01 +02:00
Sylvestre Ledru ca252c9727 Fix cargo-dist generation of arm64 linux
See:
https://github.com/axodotdev/cargo-dist/issues/74#issuecomment-2053680080
2024-06-29 10:37:01 +02:00
Sylvestre Ledru c995e25eb4 prepare version 0.6.0 2024-06-29 10:16:34 +02:00
Tavian Barnes fd54f9f72a samefile: Cache FileInformation for the target (#409)
And don't follow symlinks.
2024-06-28 15:53:52 +08:00
hanbings f145469cfd Comments are only sent when GNU/BFS test compatibility changes. (#407) 2024-06-28 08:56:32 +02:00
hanbings f2202dc23f find: Implement -fstype (#408)
---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2024-06-27 08:26:27 +02:00
hanbings fa4cce8a95 find: Implement -samefile (#389)
.

---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2024-06-27 07:55:31 +02:00
Sylvestre Ledru 7136628c45 Merge pull request #405 from hanbings/implement-371
find: Implement `-uid` and `-gid`
2024-06-26 22:48:23 +02:00
hanbings db9d69f8eb Merge branch 'main' into implement-371 2024-06-26 16:35:17 -04:00
Daniel Hofstetter 42075f53f0 find: make InodeMatcher & LinksMatcher unix-only (#393) 2024-06-24 09:35:14 +02:00
Daniel Hofstetter 57b670680c Bump regex from 1.7 to 1.10 (#391) 2024-06-24 08:19:10 +02:00
Daniel Hofstetter cf8a29d73b Merge pull request #406 from uutils/dependabot/cargo/uucore-0.0.27
build(deps): bump uucore from 0.0.26 to 0.0.27
2024-06-24 07:52:40 +02:00
dependabot[bot] bc715f84fa build(deps): bump uucore from 0.0.26 to 0.0.27
Bumps [uucore](https://github.com/uutils/coreutils) from 0.0.26 to 0.0.27.
- [Release notes](https://github.com/uutils/coreutils/releases)
- [Commits](https://github.com/uutils/coreutils/compare/0.0.26...0.0.27)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 03:06:45 +00:00
hanbings 8736cde582 Run cargo fmt. 2024-06-23 19:00:57 -04:00
hanbings af1741ba85 implement -uid and -gid features. 2024-06-23 18:57:57 -04:00
hanbings 5b19ea2125 Fix CI code for comment.yml (#404) 2024-06-24 00:29:26 +02:00
hanbings d329702b69 Provide GNU test comparison comments for PRs in Github Actions. (#400) 2024-06-23 19:02:12 +02:00
Y.D.X. 84e4be85c1 xargs: support args with conflicts 2024-06-23 18:23:25 +02:00
Y.D.X. 1979483175 xargs: split input only at newlines if replace 2024-06-23 18:23:25 +02:00
Y.D.X. a750b3225a xargs: do not merge extra args before replacing
Resolves #362
2024-06-23 18:23:25 +02:00
hanbings a2e350ce96 find: Implement -[no]user and -[no]group predicates. (#368)
---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2024-06-23 10:04:29 +02:00
Daniel Hofstetter d35aebf5ed find: fix usage of legacy numeric methods (#403) 2024-06-14 11:25:02 +02:00
Daniel Hofstetter 9502a7c4eb Merge pull request #402 from uutils/dependabot/github_actions/dawidd6/action-download-artifact-6
build(deps): bump dawidd6/action-download-artifact from 5 to 6
2024-06-13 07:09:36 +02:00
dependabot[bot] f74ef7c2af build(deps): bump dawidd6/action-download-artifact from 5 to 6
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 5 to 6.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-13 03:26:29 +00:00
Daniel Hofstetter 3ec8d4da46 Merge pull request #401 from uutils/dependabot/cargo/clap-4.5.7
build(deps): bump clap from 4.5.6 to 4.5.7
2024-06-11 07:09:10 +02:00
dependabot[bot] 62e370179b build(deps): bump clap from 4.5.6 to 4.5.7
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.6 to 4.5.7.
- [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/v4.5.6...v4.5.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 03:48:06 +00:00
Daniel Hofstetter 98fd45a182 Merge pull request #399 from uutils/dependabot/cargo/clap-4.5.6
build(deps): bump clap from 4.5.4 to 4.5.6
2024-06-07 07:26:25 +02:00
dependabot[bot] 665165b297 build(deps): bump clap from 4.5.4 to 4.5.6
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.4 to 4.5.6.
- [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.4...v4.5.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07 03:06:14 +00:00
Daniel Hofstetter d78f44a923 Merge pull request #398 from uutils/dependabot/github_actions/dawidd6/action-download-artifact-5
build(deps): bump dawidd6/action-download-artifact from 4 to 5
2024-06-05 07:13:18 +02:00
dependabot[bot] a2631ae925 build(deps): bump dawidd6/action-download-artifact from 4 to 5
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 4 to 5.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-05 03:53:18 +00:00
Daniel Hofstetter c2279ffae8 Merge pull request #397 from uutils/dependabot/github_actions/dawidd6/action-download-artifact-4
build(deps): bump dawidd6/action-download-artifact from 3 to 4
2024-06-04 07:22:34 +02:00
dependabot[bot] fba701b928 build(deps): bump dawidd6/action-download-artifact from 3 to 4
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 3 to 4.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-04 03:05:07 +00:00
hanbings d7057e09b9 find: Implement -amin -cmin -mmin age ranges. (#355) 2024-06-01 10:34:47 +02:00
Sylvestre Ledru add14dbebf Merge pull request #394 from hanbings/fix-windows-test
find: Fix `-newerXY` test code for Windows platform.
2024-05-30 23:13:07 +02:00
Sylvestre Ledru ed97c851aa Merge pull request #395 from cakebaker/find_remove_unused_import
find: remove unused import on Windows
2024-05-30 23:12:20 +02:00
Sylvestre Ledru 0ca2450ab2 Merge pull request #396 from cakebaker/xargs_allow_dead_code
xargs: use `#[allow(dead_code)]` for enum
2024-05-30 23:12:04 +02:00
Daniel Hofstetter 52ee81296c xargs: use #[allow(dead_code)] for enum 2024-05-30 10:43:35 +02:00
Daniel Hofstetter a0c9f2dfd4 find: remove unused import on Windows 2024-05-30 09:05:17 +02:00
hanbings bd759d5e21 Fix test code for Windows platform. 2024-05-29 19:39:03 +08:00
Sylvestre Ledru 3badb05772 Merge pull request #392 from cakebaker/ci_run_tests
ci: run `cargo test` instead of `cargo check` in "cargo test" jobs
2024-05-28 16:51:54 +02:00
Daniel Hofstetter ab1c2bacb7 ci: run "cargo test" in "cargo test" jobs
instead of "cargo check"
2024-05-28 16:28:43 +02:00
Daniel Hofstetter 393f0b9672 Merge pull request #390 from uutils/dependabot/cargo/nix-0.29.0
build(deps): bump nix from 0.28.0 to 0.29.0
2024-05-27 06:59:45 +02:00
dependabot[bot] 18dfc9b0cc build(deps): bump nix from 0.28.0 to 0.29.0
Bumps [nix](https://github.com/nix-rust/nix) from 0.28.0 to 0.29.0.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.28.0...v0.29.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 03:35:27 +00:00
hanbings 0693242553 find: Implement -anewer and -cnewer. (#386)
* Add short args support for -newer.

* Add unit tests.

* Add integration tests.

* Clean up duplicate code.

* Clean up duplicate code.

* Clean up duplicate code.
2024-05-22 16:57:43 +02:00
Sylvestre Ledru aa6ff46078 release 0.5.1 2024-05-19 19:07:24 +02:00
Daniel Hofstetter ab03198152 Merge pull request #388 from sylvestre/cargo-dist
cargo-dist: generate more targets
2024-05-19 12:40:29 +02:00
Sylvestre Ledru b5e7dd52d9 cargo-dist: generate more targets 2024-05-19 11:58:13 +02:00
Sylvestre Ledru b91820de17 Merge pull request #385 from cakebaker/find_replace_zip_with_nested_loops
find: replace `zip` with nested loops in tests
2024-05-16 10:54:45 +02:00
Daniel Hofstetter 6fe2c9c649 find: replace zip with nested loops in tests 2024-05-16 10:44:16 +02:00
Sylvestre Ledru 70b7b3633e Merge pull request #361 from hanbings/fix-355
find: Fix `convert_arg_to_comparable_value()` function parsing unexpected characters.
2024-05-16 10:43:43 +02:00
Daniel Hofstetter 92c60597ec Merge pull request #364 from uutils/dependabot/cargo/serial_test-3.1.1
build(deps): bump serial_test from 3.1.0 to 3.1.1
2024-04-29 07:03:43 +02:00
Daniel Hofstetter 0cfb381cd9 Merge pull request #365 from uutils/dependabot/cargo/uucore-0.0.26
build(deps): bump uucore from 0.0.25 to 0.0.26
2024-04-29 07:01:53 +02:00
dependabot[bot] ec0fff41e3 build(deps): bump uucore from 0.0.25 to 0.0.26
Bumps [uucore](https://github.com/uutils/coreutils) from 0.0.25 to 0.0.26.
- [Release notes](https://github.com/uutils/coreutils/releases)
- [Commits](https://github.com/uutils/coreutils/compare/0.0.25...0.0.26)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 03:53:10 +00:00
dependabot[bot] 288f7f07a2 build(deps): bump serial_test from 3.1.0 to 3.1.1
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.1.0...v3.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 03:53:03 +00:00
hanbings c0b8cd0b3b Add integration tests. 2024-04-24 21:17:57 +08:00
hanbings 5370f7f999 Fix convert_arg_to_comparable_value function parsing unexpected characters. 2024-04-24 02:43:40 +08:00
Sylvestre Ledru baa09baf47 Merge pull request #359 from cakebaker/ci_use_clippy_all_targets
ci: use `--all-targets` when running clippy
2024-04-23 08:49:02 +02:00
Daniel Hofstetter bb667e388a Merge pull request #357 from hanbings/clippy
clippy: Fix clippy warning.
2024-04-23 07:41:54 +02:00
Daniel Hofstetter 415d17deed ci: use --all-targets when running clippy 2024-04-23 07:29:39 +02:00
hanbings acd5c4b8b2 Fix clippy warning. 2024-04-23 00:54:18 +08:00
Daniel Hofstetter 2084d9d91b Merge pull request #356 from uutils/dependabot/cargo/serial_test-3.1.0
build(deps): bump serial_test from 3.0.0 to 3.1.0
2024-04-22 07:17:10 +02:00
dependabot[bot] 14d4629519 build(deps): bump serial_test from 3.0.0 to 3.1.0
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.0.0...v3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 03:01:35 +00:00
hanbings 6a8379520f find: Fix unexpectedly accepted empty expression. (#353)
* Check for expression that contain only empty parentheses.

* Add an empty expression test in the test file.
2024-04-18 16:32:32 +02:00
Daniel Hofstetter d4c40acb9c Merge pull request #354 from uutils/dependabot/cargo/chrono-0.4.38
build(deps): bump chrono from 0.4.37 to 0.4.38
2024-04-16 07:07:37 +02:00
dependabot[bot] 89ca20cba5 build(deps): bump chrono from 0.4.37 to 0.4.38
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.37 to 0.4.38.
- [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.37...v0.4.38)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-16 03:49:44 +00:00
hanbings d8e2ce20ce find: Changed exit code when an error is encountered in process_dir(). (#352)
* Add an error flag to process_dir().

* Added no permission file error test.

* Restore files after no permission file test.

* Adjust the timing of matcher_io creation in process_dir().

* Use uucore::error to set global return code.
2024-04-08 15:24:25 +02:00
hanbings d94a8e9093 find: Fix panic when piped into head (#351)
* Ignore the SIGPIPE signal.

* Add description of calling mute_sigpipe_panic().
2024-04-04 11:00:46 +02:00
Sylvestre Ledru f32425a83c Merge pull request #350 from sylvestre/release
use cargo-dist + prepare 0.5.0
2024-04-04 00:25:48 +02:00
Sylvestre Ledru fd8ef0bb26 release: version 0.5.0 2024-04-04 00:19:57 +02:00
Sylvestre Ledru 93469e6f97 chore: wow shiny new cargo-dist CI 2024-04-04 00:19:57 +02:00
Sylvestre Ledru b801c97830 Merge pull request #349 from sylvestre/clipp2
Run clippy pedantic fixes on the recent changes
2024-04-04 00:19:48 +02:00
Sylvestre Ledru da0de660ae Run clippy pedantic fixes on the recent changes 2024-04-03 23:23:40 +02:00
hanbings 49d870d27d find: Implement -newerXY (#342) 2024-04-03 18:56:58 +02:00
Daniel Hofstetter 450c4aeefc Merge pull request #348 from sylvestre/clippy
Run clippy pedantic fixes
2024-04-03 17:57:10 +02:00
Sylvestre Ledru b4fbbe50c2 Run clippy pedantic fixes
Done with:
$ cargo +nightly clippy --tests --fix --allow-dirty -- -W clippy::pedantic
2024-04-03 17:50:13 +02:00
Daniel Hofstetter da968c058b Merge pull request #345 from uutils/dependabot/github_actions/KyleMayes/install-llvm-action-2
build(deps): bump KyleMayes/install-llvm-action from 1 to 2
2024-04-03 15:04:49 +02:00
dependabot[bot] 65b1c4099a build(deps): bump KyleMayes/install-llvm-action from 1 to 2
Bumps [KyleMayes/install-llvm-action](https://github.com/kylemayes/install-llvm-action) from 1 to 2.
- [Release notes](https://github.com/kylemayes/install-llvm-action/releases)
- [Changelog](https://github.com/KyleMayes/install-llvm-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kylemayes/install-llvm-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: KyleMayes/install-llvm-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-03 12:58:26 +00:00
Daniel Hofstetter 05d82cee36 Merge pull request #323 from sylvestre/replace
xargs: Implement replace / -I (Closes: #310)
2024-04-03 14:38:01 +02:00
Terts Diepraam ef9c382464 docs: initial version of mdbook (#347)
* docs: initial version of mdbook

* docs: fix typo in CONTRIBUTING.md

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-04-03 07:50:24 +02:00
Sylvestre Ledru 45c1938eef xargs: add more tests and priority 2024-04-02 21:37:59 +02:00
Sylvestre Ledru a123a94c7d Improve the help
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-04-02 19:11:00 +02:00
Sylvestre Ledru 21e15c3015 xargs -I: support -i/-I add a corner case test 2024-04-02 19:11:00 +02:00
Sylvestre Ledru 299973809a xargs -I: support -i/-I different behavior 2024-04-02 19:11:00 +02:00
Sylvestre Ledru 90cee0fe37 Fix long line
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-04-02 19:11:00 +02:00
Sylvestre Ledru 0c2bb89770 tests: improve test output in case of error 2024-04-02 19:11:00 +02:00
Sylvestre Ledru e64c69a703 use pretty_assertions 2024-04-02 19:11:00 +02:00
Sylvestre Ledru 9b3514a100 xargs: Implement -I to replace (Closes: #310) 2024-04-02 19:11:00 +02:00
Sylvestre Ledru a85f5d7e01 parse_delimiter: Make the code more idiomatic 2024-04-02 19:11:00 +02:00
Sylvestre Ledru 274d749f8d Merge pull request #346 from cakebaker/ci_name_upload_steps
ci: name upload steps
2024-04-02 18:05:15 +02:00
Daniel Hofstetter 375c80e178 ci: name upload steps 2024-04-02 15:25:02 +02:00
Sylvestre Ledru 5360d01b08 Merge pull request #343 from cakebaker/xargs_max_lines
xargs: add --max-lines
2024-03-28 22:29:11 +01:00
Daniel Hofstetter 28a6e6c163 Merge pull request #344 from uutils/dependabot/cargo/chrono-0.4.37
build(deps): bump chrono from 0.4.35 to 0.4.37
2024-03-28 07:01:47 +01:00
dependabot[bot] c8249b46ff build(deps): bump chrono from 0.4.35 to 0.4.37
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.35 to 0.4.37.
- [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.35...v0.4.37)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-28 03:58:33 +00:00
Daniel Hofstetter bb71ee31a5 xargs: add --max-lines 2024-03-27 16:45:35 +01:00
Terts Diepraam 626fe1325d Merge pull request #341 from cakebaker/remove_extern_crate
tests: remove "extern crate x"
2024-03-26 16:21:49 +01:00
Daniel Hofstetter 55f297fd88 tests: remove "extern crate x" 2024-03-26 16:14:24 +01:00
Daniel Hofstetter dbeeca19ab Merge pull request #340 from uutils/dependabot/cargo/clap-4.5.4
build(deps): bump clap from 4.5.3 to 4.5.4
2024-03-26 07:40:54 +01:00
dependabot[bot] 5d3ff98a23 build(deps): bump clap from 4.5.3 to 4.5.4
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.3 to 4.5.4.
- [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/v4.5.3...v4.5.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 03:40:09 +00:00
Sylvestre Ledru 49227dfe57 Merge pull request #339 from cakebaker/cargo_toml_specify_complete_chrono_version
Cargo.toml: specify complete chrono version
2024-03-25 11:10:23 +01:00
Sylvestre Ledru 67e279e986 README: add badges + bfs info (#337)
* README: add badges + bfs info

* fix typo

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* list all programs

* README: fix typo

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-03-25 11:02:27 +01:00
Daniel Hofstetter 82adc2022d Cargo.toml: specify complete chrono version 2024-03-25 10:50:57 +01:00
Daniel Hofstetter 44c73fa8a7 Merge pull request #336 from uutils/dependabot/cargo/uucore-0.0.25
build(deps): bump uucore from 0.0.24 to 0.0.25
2024-03-25 07:20:08 +01:00
dependabot[bot] 66f3a570c6 build(deps): bump uucore from 0.0.24 to 0.0.25
Bumps [uucore](https://github.com/uutils/coreutils) from 0.0.24 to 0.0.25.
- [Release notes](https://github.com/uutils/coreutils/releases)
- [Commits](https://github.com/uutils/coreutils/compare/0.0.24...0.0.25)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 03:24:52 +00:00
Sylvestre Ledru 27b4bf5bb2 Merge pull request #335 from cakebaker/find_fix_clippy_warnings
find: fix two clippy warnings
2024-03-23 09:09:21 +01:00
Daniel Hofstetter f10a2e0d8d find: fix two clippy warnings 2024-03-23 08:19:05 +01:00
Sylvestre Ledru ae280f7751 Merge pull request #334 from tavianator/bfs-3.1.3
ci: Update bfs to 3.1.3
2024-03-19 18:41:53 +01:00
Tavian Barnes 5cbb3142e0 ci: Update bfs to 3.1.3 2024-03-19 13:29:08 -04:00
Daniel Hofstetter 3626fe14f0 Merge pull request #333 from uutils/dependabot/cargo/clap-4.5.3
build(deps): bump clap from 4.5.2 to 4.5.3
2024-03-18 07:07:35 +01:00
dependabot[bot] c85ebb1165 build(deps): bump clap from 4.5.2 to 4.5.3
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.2 to 4.5.3.
- [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/v4.5.2...v4.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 03:17:48 +00:00
Sylvestre Ledru f7ccc76991 Merge pull request #332 from uutils/dependabot/cargo/clap-4.5.2
build(deps): bump clap from 4.4.18 to 4.5.2
2024-03-15 10:06:20 +01:00
dependabot[bot] 2167cd1c45 build(deps): bump clap from 4.4.18 to 4.5.2
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.18 to 4.5.2.
- [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/v4.4.18...v4.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-14 16:02:54 +00:00
Sylvestre Ledru ce2ca6b0ce Merge pull request #331 from cakebaker/upgrade_to_clap_v4_4
xargs: upgrade to clap v4.4
2024-03-14 17:02:13 +01:00
Daniel Hofstetter e66a7c1df5 xargs: adapt code to clap changes 2024-03-14 16:52:40 +01:00
Daniel Hofstetter 3e40c1673b Bump clap from 2.34 to 4.4.18 2024-03-08 16:34:27 +01:00
Daniel Hofstetter 6dec8048fb Merge pull request #330 from uutils/dependabot/cargo/chrono-0.4.35
build(deps): bump chrono from 0.4.34 to 0.4.35
2024-03-07 08:25:22 +01:00
dependabot[bot] b68050c245 build(deps): bump chrono from 0.4.34 to 0.4.35
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.34 to 0.4.35.
- [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.34...v0.4.35)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-07 03:19:35 +00:00
Daniel Hofstetter 74142a392d Merge pull request #329 from uutils/dependabot/cargo/walkdir-2.5.0
build(deps): bump walkdir from 2.4.0 to 2.5.0
2024-03-04 07:56:00 +01:00
dependabot[bot] 229117392e build(deps): bump walkdir from 2.4.0 to 2.5.0
Bumps [walkdir](https://github.com/BurntSushi/walkdir) from 2.4.0 to 2.5.0.
- [Commits](https://github.com/BurntSushi/walkdir/compare/2.4.0...2.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 04:00:18 +00:00
Sylvestre Ledru e770b985ee Merge pull request #327 from cakebaker/bump_nix
Bump nix from 0.27 to 0.28 & enable "fs" feature
2024-02-27 10:32:02 +01:00
Sylvestre Ledru f442349913 Merge pull request #326 from cakebaker/find_fix_imported_redundantly_warnings
find: fix "item x imported redundantly" warnings
2024-02-27 10:31:44 +01:00
Daniel Hofstetter af3a56939c Merge pull request #328 from uutils/dependabot/cargo/tempfile-3.10.1
build(deps): bump tempfile from 3.10.0 to 3.10.1
2024-02-27 06:59:44 +01:00
dependabot[bot] 4e1a87d44d build(deps): bump tempfile from 3.10.0 to 3.10.1
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.10.0 to 3.10.1.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.10.0...v3.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-27 03:46:44 +00:00
Daniel Hofstetter 579fa97607 Bump nix from 0.27 to 0.28 & enable "fs" feature 2024-02-26 14:40:17 +01:00
Daniel Hofstetter f2bf4b0fd9 find: fix "item x imported redundantly" warnings 2024-02-26 09:47:24 +01:00
Sylvestre Ledru 30302305fd Merge pull request #321 from cakebaker/xargs_rename_size_to_max_chars
xargs: rename `--size` to `--max-chars`
2024-02-25 18:47:56 +01:00
Daniel Hofstetter b87d04b51b xargs: rename --size to --max-chars 2024-02-21 15:28:46 +01:00
Sylvestre Ledru a573202814 Merge pull request #319 from cakebaker/bump_clap
Bump clap from 4.4.6 to 4.4.18
2024-02-21 11:23:35 +01:00
Sylvestre Ledru 35fe84ea85 Merge pull request #318 from cakebaker/xargs_remove_unnecessary_else_blocks
xargs: remove unnecessary else blocks
2024-02-21 11:15:50 +01:00
Sylvestre Ledru 75bede0a4c Merge pull request #320 from cakebaker/ci_codecov_token
ci: update codecov-action to v4 & use token
2024-02-21 11:15:29 +01:00
Daniel Hofstetter 94c5227aae ci: update codecov-action to v4 & use token 2024-02-21 10:58:07 +01:00
Daniel Hofstetter e3e20c9c02 xargs: remove unnecessary else blocks 2024-02-21 10:27:04 +01:00
Daniel Hofstetter 373b544c3b Bump clap from 4.4.6 to 4.4.18 2024-02-21 10:10:53 +01:00
Sylvestre Ledru bb562a0ff3 Merge pull request #316 from cakebaker/bump_parking_lot_core
Bump parking_lot_core from 0.9.3 to 0.9.9
2024-02-20 17:45:54 +01:00
Sylvestre Ledru 46f43b5cd3 Merge pull request #315 from cakebaker/fix_deprecated_warnings_from_chrono
Fix deprecation warnings from `chrono` in test
2024-02-20 17:30:00 +01:00
Sylvestre Ledru 1add1f6859 Merge pull request #317 from cakebaker/bump_wasm_bindgen
Bump wasm-bindgen from 0.2.82 to 0.2.91
2024-02-20 17:29:52 +01:00
Daniel Hofstetter 395636d779 Bump wasm-bindgen from 0.2.82 to 0.2.91 2024-02-20 16:22:31 +01:00
Daniel Hofstetter fd2dede6e3 Bump parking_lot_core from 0.9.3 to 0.9.9 2024-02-20 15:59:11 +01:00
Daniel Hofstetter b0b43cc321 Fix deprecation warnings from chrono in test 2024-02-20 15:19:39 +01:00
Sylvestre Ledru 1bc7d774bb Merge pull request #314 from cakebaker/use_2021_edition
Cargo.toml: use 2021 edition
2024-02-20 10:51:26 +01:00
Daniel Hofstetter 4e7e8c43a1 Cargo.toml: use 2021 edition 2024-02-20 10:45:18 +01:00
Sylvestre Ledru 3ee8744a0e Merge pull request #312 from uutils/dependabot/cargo/assert_cmd-2.0.14
build(deps): bump assert_cmd from 2.0.13 to 2.0.14
2024-02-20 10:30:10 +01:00
Sylvestre Ledru e8f993fee7 Merge pull request #300 from uutils/dependabot/cargo/serial_test-3.0.0
build(deps): bump serial_test from 2.0.0 to 3.0.0
2024-02-20 10:29:55 +01:00
Sylvestre Ledru 5265f4ff4c Merge pull request #313 from cakebaker/set_default_features_false_for_onig
Cargo.toml: set "default-features = false" for onig
2024-02-20 10:28:43 +01:00
Daniel Hofstetter faf735866c Cargo.toml: set "default-features=false" for onig 2024-02-20 09:49:42 +01:00
dependabot[bot] 148af7b48d build(deps): bump assert_cmd from 2.0.13 to 2.0.14
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.13 to 2.0.14.
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.13...v2.0.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-20 03:23:51 +00:00
Daniel Hofstetter ae6143f659 Merge pull request #309 from uutils/dependabot/cargo/tempfile-3.10.0
build(deps): bump tempfile from 3.9.0 to 3.10.0
2024-02-12 09:19:07 +01:00
Daniel Hofstetter 3322f87c0c Merge pull request #311 from uutils/dependabot/cargo/chrono-0.4.34
build(deps): bump chrono from 0.4.33 to 0.4.34
2024-02-12 09:01:35 +01:00
dependabot[bot] c2787ad3a2 build(deps): bump chrono from 0.4.33 to 0.4.34
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.33 to 0.4.34.
- [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.33...v0.4.34)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 03:04:45 +00:00
dependabot[bot] 590ef28f76 build(deps): bump tempfile from 3.9.0 to 3.10.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.9.0 to 3.10.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.9.0...v3.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 03:03:03 +00:00
Daniel Hofstetter 5caf6da061 Merge pull request #306 from uutils/dependabot/cargo/chrono-0.4.33
build(deps): bump chrono from 0.4.32 to 0.4.33
2024-01-26 07:02:44 +01:00
dependabot[bot] 261b29acfc build(deps): bump chrono from 0.4.32 to 0.4.33
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.32 to 0.4.33.
- [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.32...v0.4.33)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-26 03:23:57 +00:00
Daniel Hofstetter 31d6af8d62 Merge pull request #305 from uutils/dependabot/cargo/uucore-0.0.24
build(deps): bump uucore from 0.0.23 to 0.0.24
2024-01-25 07:14:03 +01:00
dependabot[bot] 96ee3419c9 build(deps): bump uucore from 0.0.23 to 0.0.24
Bumps [uucore](https://github.com/uutils/coreutils) from 0.0.23 to 0.0.24.
- [Release notes](https://github.com/uutils/coreutils/releases)
- [Commits](https://github.com/uutils/coreutils/compare/0.0.23...0.0.24)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-25 03:54:03 +00:00
Daniel Hofstetter 428a507c24 Merge pull request #303 from uutils/dependabot/cargo/shlex-1.3.0
build(deps): bump shlex from 1.1.0 to 1.3.0
2024-01-23 07:06:04 +01:00
Daniel Hofstetter 090808edeb Merge pull request #304 from uutils/dependabot/cargo/chrono-0.4.32
build(deps): bump chrono from 0.4.31 to 0.4.32
2024-01-23 07:04:36 +01:00
dependabot[bot] e2a589e02b build(deps): bump chrono from 0.4.31 to 0.4.32
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.31 to 0.4.32.
- [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.31...v0.4.32)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-23 03:10:44 +00:00
dependabot[bot] 72efca3e3c build(deps): bump shlex from 1.1.0 to 1.3.0
Bumps [shlex](https://github.com/comex/rust-shlex) from 1.1.0 to 1.3.0.
- [Changelog](https://github.com/comex/rust-shlex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/comex/rust-shlex/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 21:41:57 +00:00
Daniel Hofstetter b86ad63430 Merge pull request #302 from uutils/dependabot/cargo/predicates-3.1.0
build(deps): bump predicates from 3.0.4 to 3.1.0
2024-01-16 06:52:52 +01:00
dependabot[bot] 11ded4b603 build(deps): bump predicates from 3.0.4 to 3.1.0
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 3.0.4 to 3.1.0.
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v3.0.4...v3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-16 03:19:56 +00:00
Daniel Hofstetter 691fd77492 Merge pull request #301 from uutils/dependabot/cargo/assert_cmd-2.0.13
build(deps): bump assert_cmd from 2.0.12 to 2.0.13
2024-01-12 06:57:57 +01:00
dependabot[bot] 5e9f407d3a build(deps): bump assert_cmd from 2.0.12 to 2.0.13
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.12 to 2.0.13.
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.12...v2.0.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-12 03:49:44 +00:00
dependabot[bot] 180c36894a build(deps): bump serial_test from 2.0.0 to 3.0.0
Bumps [serial_test](https://github.com/palfrey/serial_test) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v2.0.0...v3.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 03:35:29 +00:00
Sylvestre Ledru 317fd90d58 Merge pull request #299 from uutils/dependabot/cargo/tempfile-3.9.0
build(deps): bump tempfile from 3.8.1 to 3.9.0
2023-12-28 09:56:13 +01:00
dependabot[bot] 7775f47022 build(deps): bump tempfile from 3.8.1 to 3.9.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.8.1 to 3.9.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.8.1...v3.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-28 03:53:21 +00:00
Daniel Hofstetter a2506d236a Merge pull request #298 from uutils/dependabot/github_actions/actions/upload-artifact-4
build(deps): bump actions/upload-artifact from 3 to 4
2023-12-15 06:57:20 +01:00
dependabot[bot] bc57faabdb build(deps): bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 03:43:27 +00:00
Sylvestre Ledru 3cdf5778f2 Merge pull request #294 from uutils/dependabot/cargo/uucore-0.0.23
build(deps): bump uucore from 0.0.22 to 0.0.23
2023-12-14 10:56:02 +01:00
dependabot[bot] da77a1860e build(deps): bump uucore from 0.0.22 to 0.0.23
Bumps [uucore](https://github.com/uutils/coreutils) from 0.0.22 to 0.0.23.
- [Release notes](https://github.com/uutils/coreutils/releases)
- [Commits](https://github.com/uutils/coreutils/compare/0.0.22...0.0.23)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-14 08:51:12 +00:00
Sylvestre Ledru 275514ea60 Merge pull request #293 from uutils/dependabot/cargo/tempfile-3.8.1
build(deps): bump tempfile from 3.8.0 to 3.8.1
2023-12-14 09:50:35 +01:00
Sylvestre Ledru bcee1f5387 Merge pull request #295 from uutils/dependabot/cargo/filetime-0.2.23
build(deps): bump filetime from 0.2.22 to 0.2.23
2023-12-14 09:50:12 +01:00
Sylvestre Ledru 90ce7c120a Merge pull request #296 from uutils/dependabot/cargo/once_cell-1.19.0
build(deps): bump once_cell from 1.18.0 to 1.19.0
2023-12-14 09:50:06 +01:00
Sylvestre Ledru 6d3fe42ca8 Merge pull request #297 from uutils/dependabot/github_actions/dawidd6/action-download-artifact-3
build(deps): bump dawidd6/action-download-artifact from 2 to 3
2023-12-14 09:49:55 +01:00
dependabot[bot] 2f60b3fc47 build(deps): bump dawidd6/action-download-artifact from 2 to 3
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 2 to 3.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-14 03:25:56 +00:00
dependabot[bot] cc13e94908 build(deps): bump once_cell from 1.18.0 to 1.19.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.18.0 to 1.19.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.18.0...v1.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-08 03:59:17 +00:00
dependabot[bot] 411fbe521e build(deps): bump filetime from 0.2.22 to 0.2.23
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.22 to 0.2.23.
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.22...0.2.23)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-06 03:29:29 +00:00
dependabot[bot] 4961570278 build(deps): bump tempfile from 3.8.0 to 3.8.1
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.8.0 to 3.8.1.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 03:56:17 +00:00
Sylvestre Ledru 4aa4b80133 Merge pull request #279 from uutils/dependabot/cargo/nix-0.27.1
build(deps): bump nix from 0.26.2 to 0.27.1
2023-10-16 09:11:27 +02:00
dependabot[bot] 27acdee574 build(deps): bump nix from 0.26.2 to 0.27.1
Bumps [nix](https://github.com/nix-rust/nix) from 0.26.2 to 0.27.1.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.26.2...v0.27.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 06:11:07 +00:00
Sylvestre Ledru c7abe333e1 Merge pull request #289 from uutils/dependabot/cargo/predicates-3.0.4
build(deps): bump predicates from 3.0.3 to 3.0.4
2023-10-16 07:58:37 +02:00
Sylvestre Ledru c62ecca6d6 Merge pull request #291 from uutils/dependabot/cargo/uucore-0.0.22
build(deps): bump uucore from 0.0.21 to 0.0.22
2023-10-16 07:58:19 +02:00
dependabot[bot] 144561624a build(deps): bump uucore from 0.0.21 to 0.0.22
Bumps [uucore](https://github.com/uutils/coreutils) from 0.0.21 to 0.0.22.
- [Release notes](https://github.com/uutils/coreutils/releases)
- [Commits](https://github.com/uutils/coreutils/compare/0.0.21...0.0.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 03:50:28 +00:00
Sylvestre Ledru 635357271d Merge pull request #290 from tavianator/bfs-3.0.3
ci: Update bfs to 3.0.3
2023-10-13 09:04:31 +02:00
Tavian Barnes be8adfa390 ci: Update bfs to 3.0.3 2023-10-12 22:47:11 -04:00
dependabot[bot] f6ddeac9fa build(deps): bump predicates from 3.0.3 to 3.0.4
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 3.0.3 to 3.0.4.
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v3.0.3...v3.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 03:27:01 +00:00
Sylvestre Ledru 7ad3e83c93 Merge pull request #288 from uutils/dependabot/cargo/chrono-0.4.31
build(deps): bump chrono from 0.4.29 to 0.4.31
2023-09-18 08:17:41 +02:00
dependabot[bot] dc6b49fef4 build(deps): bump chrono from 0.4.29 to 0.4.31
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.29 to 0.4.31.
- [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.29...v0.4.31)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 03:08:17 +00:00
Sylvestre Ledru 4004ecece5 Merge pull request #285 from uutils/dependabot/cargo/chrono-0.4.29
build(deps): bump chrono from 0.4.28 to 0.4.29
2023-09-06 08:57:07 +02:00
Sylvestre Ledru bc67d93991 Merge pull request #284 from uutils/dependabot/cargo/walkdir-2.4.0
build(deps): bump walkdir from 2.3.3 to 2.4.0
2023-09-06 08:57:00 +02:00
dependabot[bot] fe5e6bc951 build(deps): bump chrono from 0.4.28 to 0.4.29
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.28 to 0.4.29.
- [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.28...v0.4.29)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-06 03:31:14 +00:00
dependabot[bot] f3d546af04 build(deps): bump walkdir from 2.3.3 to 2.4.0
Bumps [walkdir](https://github.com/BurntSushi/walkdir) from 2.3.3 to 2.4.0.
- [Commits](https://github.com/BurntSushi/walkdir/compare/2.3.3...2.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-06 03:31:01 +00:00
Sylvestre Ledru abb523d928 Merge pull request #281 from uutils/dependabot/cargo/chrono-0.4.28
build(deps): bump chrono from 0.4.26 to 0.4.28
2023-09-05 10:24:09 +02:00
Sylvestre Ledru 5f6d463688 Merge pull request #271 from uutils/dependabot/cargo/filetime-0.2.22
build(deps): bump filetime from 0.2.21 to 0.2.22
2023-09-05 10:23:45 +02:00
Sylvestre Ledru fc6eb6f0b1 Merge pull request #272 from jellehelsen/fix-223
Fix clippy warning on 'format!' strings
2023-09-05 10:23:22 +02:00
Sylvestre Ledru c9a78ed148 Merge pull request #276 from uutils/dependabot/cargo/tempfile-3.8.0
build(deps): bump tempfile from 3.7.0 to 3.8.0
2023-09-05 10:23:05 +02:00
Sylvestre Ledru 748373600d Merge pull request #282 from uutils/dependabot/cargo/uucore-0.0.21
build(deps): bump uucore from 0.0.20 to 0.0.21
2023-09-05 10:22:47 +02:00
Sylvestre Ledru 08dfc988bd Merge pull request #283 from uutils/dependabot/github_actions/actions/checkout-4
build(deps): bump actions/checkout from 3 to 4
2023-09-05 10:22:32 +02:00
dependabot[bot] db301dda4c build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 03:28:15 +00:00
dependabot[bot] fc4190887c build(deps): bump uucore from 0.0.20 to 0.0.21
Bumps [uucore](https://github.com/uutils/coreutils) from 0.0.20 to 0.0.21.
- [Release notes](https://github.com/uutils/coreutils/releases)
- [Commits](https://github.com/uutils/coreutils/compare/0.0.20...0.0.21)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 03:27:37 +00:00
dependabot[bot] c47b1bb9b5 build(deps): bump chrono from 0.4.26 to 0.4.28
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.26 to 0.4.28.
- [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.26...v0.4.28)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-31 03:44:13 +00:00
Sylvestre Ledru 44d17814f6 Merge pull request #278 from uutils/oranda-setup
website: fix changelog config
2023-08-28 05:47:09 -04:00
Terts Diepraam 3588ef3e9a website: fix changelog config 2023-08-28 10:37:48 +02:00
dependabot[bot] c2bf7158c2 build(deps): bump tempfile from 3.7.0 to 3.8.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.7.0 to 3.8.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.7.0...v3.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 03:17:08 +00:00
Terts Diepraam 84bb98791e Merge pull request #275 from uutils/oranda-setup
website: fix `path_prefix` in oranda
2023-08-20 12:01:45 +02:00
Terts Diepraam 018fa55ece website: fix path_prefix 2023-08-20 11:51:49 +02:00
Sylvestre Ledru 27322a9819 Merge pull request #274 from uutils/oranda-setup
initial oranda setup
2023-08-19 19:47:21 +02:00
Terts Diepraam b2a74e221c initial oranda setup 2023-08-19 19:34:30 +02:00
Jelle Helsen 6068512549 added some tests to improve coverage 2023-08-13 21:27:46 +02:00
Jelle Helsen d7c62ed05c Fix clippy warning on 'format!' strings
Should fix #223
2023-08-10 21:23:14 +02:00
dependabot[bot] d86efa7478 build(deps): bump filetime from 0.2.21 to 0.2.22
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.21 to 0.2.22.
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.21...0.2.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 03:22:03 +00:00
Sylvestre Ledru bdc18fd002 Merge pull request #268 from uutils/dependabot/cargo/assert_cmd-2.0.12
build(deps): bump assert_cmd from 2.0.11 to 2.0.12
2023-07-24 09:24:34 +02:00
Sylvestre Ledru 484e5f073a Merge pull request #269 from uutils/dependabot/cargo/tempfile-3.7.0
build(deps): bump tempfile from 3.6.0 to 3.7.0
2023-07-24 09:24:25 +02:00
dependabot[bot] efaa85be39 build(deps): bump tempfile from 3.6.0 to 3.7.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.6.0 to 3.7.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.6.0...v3.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 03:02:35 +00:00
dependabot[bot] 7f1c191854 build(deps): bump assert_cmd from 2.0.11 to 2.0.12
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.11 to 2.0.12.
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.11...v2.0.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 03:02:31 +00:00
Sylvestre Ledru c6a8a799d3 New release (0.4.2) 2023-07-23 19:17:55 +02:00
Sylvestre Ledru 7e98dbcf03 Merge pull request #267 from sylvestre/ci
CI: test all features
2023-07-23 16:07:47 +02:00
Sylvestre Ledru a53099b8f1 CI: test all features 2023-07-23 15:53:45 +02:00
Sylvestre Ledru b5f2d3a8cf Merge pull request #265 from sylvestre/uucore
move to uucore 0.0.20
2023-07-23 13:01:10 +02:00
Sylvestre Ledru a5f720874a rustfmt the recent change 2023-07-23 12:53:50 +02:00
Sylvestre Ledru 329a4fd622 move to uucore 0.0.20 2023-07-23 10:42:05 +02:00
Sylvestre Ledru c4f7872cab Merge pull request #264 from sylvestre/travis
Remove the travis configuration as we don't use it
2023-07-23 10:26:16 +02:00
Sylvestre Ledru 67f56fea8c Remove the travis configuration as we don't use it 2023-07-23 10:05:27 +02:00
Sylvestre Ledru 27bf2d2d26 Merge pull request #263 from sylvestre/appveyor
Remove appveyor configuration
2023-07-23 09:40:43 +02:00
Sylvestre Ledru c55e2caade Merge pull request #245 from uutils/dependabot/cargo/predicates-3.0.3
build(deps): bump predicates from 3.0.2 to 3.0.3
2023-07-23 08:47:37 +02:00
Sylvestre Ledru 55dad3745e Merge pull request #249 from uutils/dependabot/cargo/chrono-0.4.26
build(deps): bump chrono from 0.4.24 to 0.4.26
2023-07-23 08:47:21 +02:00
Sylvestre Ledru 249b6eedcf Remove appveyor configuration 2023-07-23 08:46:46 +02:00
Sylvestre Ledru c464e8ff1f Merge pull request #250 from uutils/dependabot/cargo/once_cell-1.18.0
build(deps): bump once_cell from 1.17.1 to 1.18.0
2023-07-23 08:45:50 +02:00
dependabot[bot] fa976740e9 build(deps): bump chrono from 0.4.24 to 0.4.26
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.24 to 0.4.26.
- [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.24...v0.4.26)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 11:52:30 +00:00
Sylvestre Ledru 13b4ae4d45 bump the version 2023-07-12 13:51:37 +02:00
dependabot[bot] 1cbc975b33 build(deps): bump once_cell from 1.17.1 to 1.18.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.17.1 to 1.18.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.1...v1.18.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 03:57:30 +00:00
Sylvestre Ledru 6a034e28e8 Merge pull request #248 from uutils/dependabot/cargo/tempfile-3.6.0
build(deps): bump tempfile from 3.4.0 to 3.6.0
2023-06-12 08:49:00 +02:00
dependabot[bot] abdd86c63d build(deps): bump predicates from 3.0.2 to 3.0.3
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v3.0.2...v3.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 06:48:39 +00:00
Sylvestre Ledru eb6322df5f Merge pull request #247 from uutils/dependabot/cargo/assert_cmd-2.0.11
build(deps): bump assert_cmd from 2.0.10 to 2.0.11
2023-06-12 08:48:06 +02:00
dependabot[bot] cd44d01d57 build(deps): bump tempfile from 3.4.0 to 3.6.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.4.0 to 3.6.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.4.0...v3.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 03:58:57 +00:00
dependabot[bot] bda32f0482 build(deps): bump assert_cmd from 2.0.10 to 2.0.11
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.10 to 2.0.11.
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.10...v2.0.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 03:58:42 +00:00
Sylvestre Ledru eed9b64aaf Merge pull request #230 from uutils/dependabot/cargo/serial_test-2.0.0
build(deps): bump serial_test from 1.0.0 to 2.0.0
2023-06-09 11:01:23 +02:00
Sylvestre Ledru ed3a62e9d7 Merge pull request #232 from uutils/dependabot/cargo/walkdir-2.3.3
build(deps): bump walkdir from 2.3.2 to 2.3.3
2023-06-09 11:01:07 +02:00
dependabot[bot] 1488d55ceb build(deps): bump serial_test from 1.0.0 to 2.0.0
Bumps [serial_test](https://github.com/palfrey/serial_test) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v1.0.0...v2.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-09 08:34:11 +00:00
dependabot[bot] 61f2ffe803 build(deps): bump walkdir from 2.3.2 to 2.3.3
Bumps [walkdir](https://github.com/BurntSushi/walkdir) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/BurntSushi/walkdir/releases)
- [Commits](https://github.com/BurntSushi/walkdir/compare/2.3.2...2.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-09 08:34:05 +00:00
Sylvestre Ledru efdf1f17c7 Merge pull request #234 from uutils/dependabot/cargo/filetime-0.2.21
build(deps): bump filetime from 0.2.20 to 0.2.21
2023-06-09 10:33:22 +02:00
Shiv 6be2cd4c2c Refactor code to use String::new (#237)
* Refactor code to use String::new instead of manually creating an empty string

* Refactor code to use String::new instead of manually creating an empty string

---------

Co-authored-by: HelloShiv <swagatswarooparida@gmail.com>
2023-04-15 22:58:05 +02:00
Shiv a1ae326e72 replaced not equal operation with equality operator (#235)
* replaced not equal operation with equality operator

---------

Co-authored-by: HelloShiv <swagatswarooparida@gmail.com>
2023-04-10 21:08:32 +02:00
dependabot[bot] 61002aec2b build(deps): bump filetime from 0.2.20 to 0.2.21
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.20 to 0.2.21.
- [Release notes](https://github.com/alexcrichton/filetime/releases)
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.20...0.2.21)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 03:16:56 +00:00
Sylvestre Ledru 225f77f7ff Merge pull request #208 from uutils/dependabot/cargo/filetime-0.2.20
build(deps): bump filetime from 0.2.19 to 0.2.20
2023-04-07 09:46:13 +02:00
dependabot[bot] 0ebefda3a8 build(deps): bump filetime from 0.2.19 to 0.2.20
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.19 to 0.2.20.
- [Release notes](https://github.com/alexcrichton/filetime/releases)
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.19...0.2.20)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 08:57:25 +02:00
Sylvestre Ledru 91a6e64c9f Merge pull request #214 from uutils/dependabot/cargo/tempfile-3.4.0
build(deps): bump tempfile from 3.3.0 to 3.4.0
2023-04-07 08:57:14 +02:00
Sylvestre Ledru f36f576fd9 Merge pull request #215 from uutils/dependabot/cargo/chrono-0.4.24
build(deps): bump chrono from 0.4.23 to 0.4.24
2023-04-07 08:57:03 +02:00
Sylvestre Ledru a5db23c712 Merge pull request #218 from uutils/dependabot/cargo/assert_cmd-2.0.10
build(deps): bump assert_cmd from 2.0.8 to 2.0.10
2023-04-07 08:56:48 +02:00
Sylvestre Ledru 04dad0ba5f Merge pull request #228 from uutils/dependabot/cargo/regex-1.7.3
build(deps): bump regex from 1.7.1 to 1.7.3
2023-04-07 08:56:35 +02:00
Shiv 2011a7adfa implemented assert! for resolving warning panic! (#227)
* implemented assert! for resolving warning panic!
2023-04-07 08:56:17 +02:00
Sylvestre Ledru 1753e032b2 Merge pull request #229 from jayvdb/spelling
Fix spelling
2023-04-07 08:11:08 +02:00
John Vandenberg 6be211a336 Fix spelling 2023-04-07 13:21:50 +08:00
dependabot[bot] dbc2f2729b build(deps): bump regex from 1.7.1 to 1.7.3
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.1 to 1.7.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.7.1...1.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 03:59:34 +00:00
dependabot[bot] 828a72a1ba build(deps): bump assert_cmd from 2.0.8 to 2.0.10
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.8 to 2.0.10.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.8...v2.0.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-02 17:22:51 +00:00
dependabot[bot] bcc4e0b099 build(deps): bump chrono from 0.4.23 to 0.4.24
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.23 to 0.4.24.
- [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.23...v0.4.24)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-02 17:22:48 +00:00
Sylvestre Ledru 0e4517b8c9 version 0.4.0 2023-04-02 19:20:22 +02:00
Sylvestre Ledru 671916f718 Merge pull request #222 from sylvestre/fix-release
Various clippy fixes + precommit
2023-04-02 19:13:13 +02:00
Sylvestre Ledru e4121cc988 Fix more clippy warnings 2023-04-02 18:56:31 +02:00
Sylvestre Ledru d7bb67e53d Fix more clippy warnings 2023-04-02 18:53:40 +02:00
Sylvestre Ledru 3e96a14d1f add a pre commit configuration - just like coreutils 2023-04-02 18:52:18 +02:00
Sylvestre Ledru 3f6ac572e1 fix some clippy warnings 2023-04-02 18:51:29 +02:00
dependabot[bot] c6e025f19a build(deps): bump tempfile from 3.3.0 to 3.4.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-02 18:48:06 +02:00
Sylvestre Ledru 8f2409742d Merge pull request #220 from uutils/dependabot/cargo/predicates-3.0.2
build(deps): bump predicates from 2.1.5 to 3.0.2
2023-04-02 18:47:01 +02:00
dependabot[bot] 7469db2027 build(deps): bump predicates from 2.1.5 to 3.0.2
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 2.1.5 to 3.0.2.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases)
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v2.1.5...v3.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 03:59:28 +00:00
Sylvestre Ledru 5659812641 Merge pull request #213 from int3/embedded
Add support for embedded "{}"
2023-03-13 08:34:09 +01:00
Jez Ng 30a22453d6 Add support for embedded "{}"
Given

  find . -exec foo{}bar \;

GNU find will replace `{}` by the filename. This commit matches that
behavior.

Note that this is not required by the POSIX spec.

The GNU testsuite doesn't cover this case, so I've added a test in this
repo.
2023-02-23 23:38:40 +01:00
Sylvestre Ledru a3287a978f Merge pull request #211 from sylvestre/ci-warnings
fix the ci warnings
2023-02-23 23:38:28 +01:00
Sylvestre Ledru 238100bc67 fix the ci warnings 2023-02-23 23:09:54 +01:00
Sylvestre Ledru 59301c788a Merge pull request #209 from uutils/dependabot/cargo/once_cell-1.17.1
build(deps): bump once_cell from 1.17.0 to 1.17.1
2023-02-15 14:54:48 +01:00
dependabot[bot] 5b907e2ea8 build(deps): bump once_cell from 1.17.0 to 1.17.1
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.17.0 to 1.17.1.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.0...v1.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-15 03:57:59 +00:00
Sylvestre Ledru 31d3ae2cd1 Merge pull request #207 from uutils/dependabot/cargo/bumpalo-3.12.0
build(deps): bump bumpalo from 3.10.0 to 3.12.0
2023-01-21 09:20:28 +01:00
dependabot[bot] f5f1aac007 build(deps): bump bumpalo from 3.10.0 to 3.12.0
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.10.0 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.10.0...3.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 22:14:12 +00:00
Sylvestre Ledru f044f44cf4 Merge pull request #206 from uutils/dependabot/cargo/serial_test-1.0.0
build(deps): bump serial_test from 0.10.0 to 1.0.0
2023-01-18 08:50:59 +01:00
Sylvestre Ledru cbd2849546 Merge pull request #205 from uutils/dependabot/cargo/nix-0.26.2
build(deps): bump nix from 0.26.1 to 0.26.2
2023-01-18 08:50:51 +01:00
dependabot[bot] 0cbeae5a21 build(deps): bump serial_test from 0.10.0 to 1.0.0
Bumps [serial_test](https://github.com/palfrey/serial_test) from 0.10.0 to 1.0.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v0.10.0...v1.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 03:02:13 +00:00
dependabot[bot] bd0ab84fd5 build(deps): bump nix from 0.26.1 to 0.26.2
Bumps [nix](https://github.com/nix-rust/nix) from 0.26.1 to 0.26.2.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/v0.26.2/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.26.1...v0.26.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 03:02:06 +00:00
Sylvestre Ledru 78865ea683 Merge pull request #203 from uutils/dependabot/cargo/regex-1.7.1
build(deps): bump regex from 1.7.0 to 1.7.1
2023-01-10 09:50:04 +01:00
Sylvestre Ledru 65c29e0d71 Merge pull request #204 from uutils/dependabot/cargo/assert_cmd-2.0.8
build(deps): bump assert_cmd from 2.0.7 to 2.0.8
2023-01-10 09:49:57 +01:00
dependabot[bot] e523ea125a build(deps): bump assert_cmd from 2.0.7 to 2.0.8
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.7...v2.0.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-10 03:02:19 +00:00
dependabot[bot] 7af32c58e9 build(deps): bump regex from 1.7.0 to 1.7.1
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.0 to 1.7.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.7.0...1.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-10 03:02:16 +00:00
Sylvestre Ledru 1fbf4775cd Merge pull request #201 from uutils/dependabot/cargo/once_cell-1.17.0
build(deps): bump once_cell from 1.16.0 to 1.17.0
2022-12-30 08:49:18 +01:00
Sylvestre Ledru 624e7b6c3a Merge pull request #202 from uutils/dependabot/cargo/predicates-2.1.5
build(deps): bump predicates from 2.1.4 to 2.1.5
2022-12-30 08:49:07 +01:00
dependabot[bot] 147a62d2d6 build(deps): bump predicates from 2.1.4 to 2.1.5
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 2.1.4 to 2.1.5.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases)
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v2.1.4...v2.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-30 03:01:56 +00:00
dependabot[bot] 2933d89c28 build(deps): bump once_cell from 1.16.0 to 1.17.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.16.0...v1.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-30 03:01:51 +00:00
Sylvestre Ledru 327898dcd9 Merge pull request #200 from uutils/dependabot/cargo/serial_test-0.10.0
build(deps): bump serial_test from 0.9.0 to 0.10.0
2022-12-19 09:00:25 +01:00
dependabot[bot] a83ce989c5 build(deps): bump serial_test from 0.9.0 to 0.10.0
Bumps [serial_test](https://github.com/palfrey/serial_test) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v0.9.0...v0.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 03:04:46 +00:00
Sylvestre Ledru b028814190 Merge pull request #197 from uutils/dependabot/cargo/predicates-2.1.4
build(deps): bump predicates from 2.1.3 to 2.1.4
2022-12-08 08:45:18 +01:00
Sylvestre Ledru 6e0b4da8ce Merge pull request #198 from uutils/dependabot/cargo/assert_cmd-2.0.7
build(deps): bump assert_cmd from 2.0.6 to 2.0.7
2022-12-08 08:45:05 +01:00
Sylvestre Ledru 233ae30477 Merge pull request #199 from uutils/dependabot/cargo/filetime-0.2.19
build(deps): bump filetime from 0.2.18 to 0.2.19
2022-12-08 08:44:54 +01:00
dependabot[bot] cb1ea61de5 build(deps): bump filetime from 0.2.18 to 0.2.19
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.18 to 0.2.19.
- [Release notes](https://github.com/alexcrichton/filetime/releases)
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.18...0.2.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 03:03:07 +00:00
dependabot[bot] 28628f0e86 build(deps): bump assert_cmd from 2.0.6 to 2.0.7
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.6...v2.0.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-02 03:03:41 +00:00
dependabot[bot] e6c3e5e7cf build(deps): bump predicates from 2.1.3 to 2.1.4
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases)
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v2.1.3...v2.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-02 03:03:37 +00:00
Sylvestre Ledru 992bad1f40 Merge pull request #196 from uutils/dependabot/cargo/nix-0.26.1
build(deps): bump nix from 0.25.0 to 0.26.1
2022-11-30 10:50:39 +01:00
dependabot[bot] 7869e09f4a build(deps): bump nix from 0.25.0 to 0.26.1
Bumps [nix](https://github.com/nix-rust/nix) from 0.25.0 to 0.26.1.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.25.0...v0.26.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-30 03:03:38 +00:00
Sylvestre Ledru 620ae272ad Merge pull request #195 from uutils/dependabot/cargo/chrono-0.4.23
build(deps): bump chrono from 0.4.22 to 0.4.23
2022-11-14 08:44:28 +01:00
Sylvestre Ledru b06e8d36cf Merge pull request #194 from uutils/dependabot/cargo/predicates-2.1.3
build(deps): bump predicates from 2.1.2 to 2.1.3
2022-11-14 08:44:02 +01:00
dependabot[bot] b74e6b403f build(deps): bump chrono from 0.4.22 to 0.4.23
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.22 to 0.4.23.
- [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.22...v0.4.23)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 03:07:01 +00:00
dependabot[bot] 85014b0218 build(deps): bump predicates from 2.1.2 to 2.1.3
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases)
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v2.1.2...v2.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 03:06:49 +00:00
Sylvestre Ledru 232a301525 Merge pull request #192 from uutils/dependabot/cargo/regex-1.7.0
build(deps): bump regex from 1.6.0 to 1.7.0
2022-11-08 08:45:42 +01:00
Sylvestre Ledru fa552493ba Merge pull request #193 from uutils/dependabot/cargo/assert_cmd-2.0.6
build(deps): bump assert_cmd from 2.0.5 to 2.0.6
2022-11-08 08:44:31 +01:00
Sylvestre Ledru f0b8792cfd Merge pull request #191 from uutils/dependabot/cargo/predicates-2.1.2
build(deps): bump predicates from 2.1.1 to 2.1.2
2022-11-08 08:44:19 +01:00
dependabot[bot] c561643aa8 build(deps): bump assert_cmd from 2.0.5 to 2.0.6
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.5...v2.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 03:06:26 +00:00
dependabot[bot] 7e1fb57ede build(deps): bump regex from 1.6.0 to 1.7.0
Bumps [regex](https://github.com/rust-lang/regex) from 1.6.0 to 1.7.0.
- [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.6.0...1.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 03:06:21 +00:00
dependabot[bot] be420a911b build(deps): bump predicates from 2.1.1 to 2.1.2
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases)
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v2.1.1...v2.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 03:06:15 +00:00
Sylvestre Ledru 47274c6784 Merge pull request #190 from uutils/dependabot/cargo/once_cell-1.16.0
build(deps): bump once_cell from 1.15.0 to 1.16.0
2022-10-31 07:53:52 +01:00
dependabot[bot] 46f280e838 build(deps): bump once_cell from 1.15.0 to 1.16.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.15.0...v1.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 03:10:23 +00:00
Sylvestre Ledru 931b6e6d54 Merge pull request #189 from tavianator/bfs-2.6.2
ci: Update bfs to 2.6.2
2022-10-23 18:05:07 +02:00
Sylvestre Ledru bfc246b564 Merge pull request #186 from uutils/dependabot/cargo/filetime-0.2.18
build(deps): bump filetime from 0.2.17 to 0.2.18
2022-10-23 17:33:36 +02:00
Tavian Barnes 366c8b019f ci: Update bfs to 2.6.2 2022-10-21 12:04:44 -04:00
Sylvestre Ledru 7581c68813 Merge branch 'main' into dependabot/cargo/filetime-0.2.18 2022-10-21 09:15:45 +02:00
Sylvestre Ledru 0b02baf61b Merge pull request #188 from uutils/sylvestre-patch-1
Fix a clippy warning
2022-10-21 09:15:17 +02:00
Sylvestre Ledru 2a13f16446 Merge pull request #187 from uutils/dependabot/cargo/assert_cmd-2.0.5
build(deps): bump assert_cmd from 2.0.4 to 2.0.5
2022-10-21 09:14:57 +02:00
Sylvestre Ledru b95879684a Fix a clippy warning
`this expression borrows a value the compiler would automatically borrow`
2022-10-21 08:58:10 +02:00
dependabot[bot] f61a57ce6f build(deps): bump assert_cmd from 2.0.4 to 2.0.5
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.4...v2.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-21 03:17:10 +00:00
dependabot[bot] 5d7966f654 build(deps): bump filetime from 0.2.17 to 0.2.18
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.17 to 0.2.18.
- [Release notes](https://github.com/alexcrichton/filetime/releases)
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.17...0.2.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-21 03:17:05 +00:00
Sylvestre Ledru e785397880 Merge pull request #185 from uutils/dependabot/cargo/once_cell-1.15.0
build(deps): bump once_cell from 1.13.1 to 1.15.0
2022-09-21 09:28:08 +02:00
dependabot[bot] 3d10d81356 build(deps): bump once_cell from 1.13.1 to 1.15.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.13.1 to 1.15.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.13.1...v1.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-21 03:15:45 +00:00
Sylvestre Ledru fa8e118a30 Merge pull request #183 from uutils/dependabot/cargo/iana-time-zone-0.1.47
build(deps): bump iana-time-zone from 0.1.44 to 0.1.47
2022-08-30 23:34:19 +02:00
dependabot[bot] 25c1b5084d build(deps): bump iana-time-zone from 0.1.44 to 0.1.47
Bumps [iana-time-zone](https://github.com/strawlab/iana-time-zone) from 0.1.44 to 0.1.47.
- [Release notes](https://github.com/strawlab/iana-time-zone/releases)
- [Changelog](https://github.com/strawlab/iana-time-zone/blob/main/CHANGELOG.md)
- [Commits](https://github.com/strawlab/iana-time-zone/compare/0.1.44...v0.1.47)

---
updated-dependencies:
- dependency-name: iana-time-zone
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-30 19:57:29 +00:00
Sylvestre Ledru 4563289689 Merge pull request #181 from uutils/dependabot/cargo/chrono-0.4.22
build(deps): bump chrono from 0.4.20 to 0.4.22
2022-08-17 08:59:18 +02:00
Sylvestre Ledru c7f5ed7760 Merge pull request #182 from uutils/dependabot/cargo/once_cell-1.13.1
build(deps): bump once_cell from 1.13.0 to 1.13.1
2022-08-17 08:58:53 +02:00
dependabot[bot] cb9771e694 build(deps): bump once_cell from 1.13.0 to 1.13.1
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.13.0...v1.13.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-17 03:10:10 +00:00
dependabot[bot] e3f9fc4e90 build(deps): bump chrono from 0.4.20 to 0.4.22
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.20 to 0.4.22.
- [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.20...v0.4.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-16 03:15:26 +00:00
Sylvestre Ledru c21a0110cd Merge pull request #175 from uutils/dependabot/cargo/chrono-0.4.20
build(deps): bump chrono from 0.4.19 to 0.4.20
2022-08-15 09:14:15 +02:00
Sylvestre Ledru 497d655661 Merge pull request #180 from uutils/dependabot/cargo/nix-0.25.0
build(deps): bump nix from 0.24.2 to 0.25.0
2022-08-15 09:13:58 +02:00
dependabot[bot] f9d0fc2e36 build(deps): bump nix from 0.24.2 to 0.25.0
Bumps [nix](https://github.com/nix-rust/nix) from 0.24.2 to 0.25.0.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.24.2...v0.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 03:10:04 +00:00
dependabot[bot] 5c5d4d9543 build(deps): bump chrono from 0.4.19 to 0.4.20
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.19 to 0.4.20.
- [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.19...v0.4.20)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-12 17:42:00 +02:00
Sylvestre Ledru 32318b77aa Merge pull request #178 from uutils/dependabot/cargo/serial_test-0.9.0
build(deps): bump serial_test from 0.8.0 to 0.9.0
2022-08-12 17:41:49 +02:00
Sylvestre Ledru 0d20a3d5cd Merge pull request #179 from refi64/wip/refi64/mkfifo-errors
find: Don't swallow mkfifo errors in the tests
2022-08-12 17:41:27 +02:00
Ryan Gonzalez 07916e1c23 find: Don't swallow mkfifo errors in the tests
Use nix's version of mkfifo instead, which lets us easily access the
errors and then fail with more information than the FIFO mysteriously
not appearing.

Ref. #177.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2022-08-12 10:26:15 -05:00
dependabot[bot] 43d725275b build(deps): bump serial_test from 0.8.0 to 0.9.0
Bumps [serial_test](https://github.com/palfrey/serial_test) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v0.8.0...v0.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-11 03:08:25 +00:00
Sylvestre Ledru 96de758f19 Merge pull request #176 from uutils/dependabot/cargo/onig-6.4.0
build(deps): bump onig from 6.3.2 to 6.4.0
2022-08-10 14:34:28 +02:00
dependabot[bot] 60f554c699 build(deps): bump onig from 6.3.2 to 6.4.0
Bumps [onig](https://github.com/iwillspeak/rust-onig) from 6.3.2 to 6.4.0.
- [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.3.2...v6.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-10 03:10:13 +00:00
Sylvestre Ledru a66f38bf1c Merge pull request #174 from uutils/dependabot/cargo/regex-1.6.0
build(deps): bump regex from 1.5.6 to 1.6.0
2022-07-06 09:10:55 +02:00
dependabot[bot] 8b05a3f5e4 build(deps): bump regex from 1.5.6 to 1.6.0
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.6 to 1.6.0.
- [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.5.6...1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-06 03:11:38 +00:00
Sylvestre Ledru 1c1f6fc6e6 Merge pull request #173 from uutils/dependabot/cargo/once_cell-1.13.0
build(deps): bump once_cell from 1.12.0 to 1.13.0
2022-07-05 07:48:43 +02:00
dependabot[bot] ddbe013d05 build(deps): bump once_cell from 1.12.0 to 1.13.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.12.0...v1.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-05 03:21:12 +00:00
Sylvestre Ledru 2418d11397 Merge pull request #171 from uutils/dependabot/cargo/onig-6.3.2
build(deps): bump onig from 6.3.1 to 6.3.2
2022-07-04 08:34:02 +02:00
Sylvestre Ledru 67c3193446 Merge pull request #172 from uutils/dependabot/cargo/filetime-0.2.17
build(deps): bump filetime from 0.2.16 to 0.2.17
2022-07-04 08:33:45 +02:00
dependabot[bot] a41537a803 build(deps): bump filetime from 0.2.16 to 0.2.17
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.16 to 0.2.17.
- [Release notes](https://github.com/alexcrichton/filetime/releases)
- [Commits](https://github.com/alexcrichton/filetime/commits/0.2.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 03:26:15 +00:00
dependabot[bot] 8f673c5899 build(deps): bump onig from 6.3.1 to 6.3.2
Bumps [onig](https://github.com/iwillspeak/rust-onig) from 6.3.1 to 6.3.2.
- [Release notes](https://github.com/iwillspeak/rust-onig/releases)
- [Commits](https://github.com/iwillspeak/rust-onig/commits/v6.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 03:26:13 +00:00
Sylvestre Ledru 4aab22af08 Link to the tracking page 2022-06-27 08:57:17 +02:00
Sylvestre Ledru da45c3b424 Merge pull request #167 from tavianator/stat
find/matchers: Implement -inum and -links
2022-06-27 08:53:01 +02:00
Sylvestre Ledru 1a4cb25c5c Merge pull request #170 from uutils/dependabot/cargo/serial_test-0.8.0
build(deps): bump serial_test from 0.7.0 to 0.8.0
2022-06-27 08:51:42 +02:00
dependabot[bot] 2a8636162f build(deps): bump serial_test from 0.7.0 to 0.8.0
Bumps [serial_test](https://github.com/palfrey/serial_test) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v0.7.0...v0.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 03:12:03 +00:00
Sylvestre Ledru 6bad054a5e Merge branch 'main' into stat 2022-06-06 09:43:46 +02:00
Sylvestre Ledru 4a47054ffc Merge pull request #168 from tavianator/access
find/matchers: Implement the -{read,writ,execut}able access checks
2022-06-06 09:43:06 +02:00
Sylvestre Ledru a6b1827ee0 Merge pull request #169 from uutils/dependabot/cargo/serial_test-0.7.0
build(deps): bump serial_test from 0.6.0 to 0.7.0
2022-06-06 09:42:31 +02:00
dependabot[bot] f05c2f1b61 build(deps): bump serial_test from 0.6.0 to 0.7.0
Bumps [serial_test](https://github.com/palfrey/serial_test) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v0.6.0...v0.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 03:17:56 +00:00
Tavian Barnes f967b29735 find/matchers: Implement the -{read,writ,execut}able access checks 2022-06-01 11:22:12 -04:00
Sylvestre Ledru dbde7abdc2 Merge branch 'main' into stat 2022-06-01 08:42:44 +01:00
Sylvestre Ledru a9241678e5 Merge pull request #166 from tavianator/right-sed-ed
find/matchers: Add the `ed` and `sed` regex types
2022-06-01 08:40:06 +01:00
Sylvestre Ledru 37547b00be Merge pull request #165 from tavianator/mount
find/matchers: Implement -mount as an alias for -xdev
2022-06-01 08:39:26 +01:00
Tavian Barnes 7c3268d9ef tests: Add integration tests for find -inum and -links 2022-05-31 17:09:43 -04:00
Tavian Barnes 972ac0bbff tests: Add integration tests for find -regextype ed/sed 2022-05-31 17:02:59 -04:00
Tavian Barnes 1bfbe7623e tests: Add a simple integration test for find -mount/-xdev 2022-05-31 17:01:35 -04:00
Tavian Barnes 08c22e6e33 find/matchers: Implement -inum and -links 2022-05-30 12:12:35 -04:00
Tavian Barnes 7855d08379 find/matchers: Add the ed and sed regex types 2022-05-30 11:53:39 -04:00
Tavian Barnes 80bfec17eb find/matchers: Implement -mount as an alias for -xdev 2022-05-30 11:52:40 -04:00
Sylvestre Ledru 75de125d45 Merge pull request #163 from tavianator/bfs-2.6
ci: Update bfs testsuite to version 2.6
2022-05-30 09:08:04 +01:00
Tavian Barnes e04cd34384 ci: Update bfs testsuite to version 2.6
The latest bfs properly groups the --sudo tests, so we can test things
that require root like -xdev.
2022-05-25 13:23:55 -04:00
Sylvestre Ledru 36e3229537 Merge pull request #162 from uutils/dependabot/cargo/once_cell-1.12.0
build(deps): bump once_cell from 1.11.0 to 1.12.0
2022-05-24 08:13:45 +02:00
dependabot[bot] eff4c5d38a build(deps): bump once_cell from 1.11.0 to 1.12.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.11.0...v1.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-24 03:11:37 +00:00
Sylvestre Ledru 2defcbeacc Merge pull request #161 from uutils/dependabot/cargo/regex-1.5.6
Bump regex from 1.5.5 to 1.5.6
2022-05-23 08:36:06 +02:00
dependabot[bot] 301b495097 Bump regex from 1.5.5 to 1.5.6
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.5 to 1.5.6.
- [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.5.5...1.5.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 03:21:30 +00:00
Sylvestre Ledru f3ecd5b424 Merge pull request #160 from uutils/dependabot/github_actions/codecov/codecov-action-3
Bump codecov/codecov-action from 1 to 3
2022-05-20 11:51:40 +02:00
Sylvestre Ledru a44b981812 Merge pull request #159 from uutils/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-05-20 10:03:56 +02:00
Sylvestre Ledru 3466eabfc7 Merge pull request #158 from uutils/dependabot/github_actions/actions/upload-artifact-3
Bump actions/upload-artifact from 2 to 3
2022-05-20 09:57:25 +02:00
dependabot[bot] 283082a36d Bump codecov/codecov-action from 1 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 07:29:37 +00:00
dependabot[bot] 5741479e2f Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 07:29:34 +00:00
dependabot[bot] 9e434052e5 Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 07:29:30 +00:00
Sylvestre Ledru 92a24ecad0 Enable dependabot for github actions 2022-05-20 09:29:07 +02:00
Sylvestre Ledru 0ec8d472d1 Merge pull request #157 from uutils/dependabot/cargo/once_cell-1.11.0
Bump once_cell from 1.10.0 to 1.11.0
2022-05-20 09:25:23 +02:00
dependabot[bot] 6050706bfd Bump once_cell from 1.10.0 to 1.11.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.10.0...v1.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 07:10:21 +00:00
Sylvestre Ledru 946544eec9 Merge pull request #156 from uutils/dependabot/cargo/filetime-0.2.16
Bump filetime from 0.2.15 to 0.2.16
2022-04-18 14:41:03 +02:00
dependabot[bot] 5e32ed0381 Bump filetime from 0.2.15 to 0.2.16
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.15 to 0.2.16.
- [Release notes](https://github.com/alexcrichton/filetime/releases)
- [Commits](https://github.com/alexcrichton/filetime/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 07:10:52 +00:00
Sylvestre Ledru b111e50fa9 Merge pull request #153 from uutils/dependabot/cargo/regex-1.5.5
Bump regex from 1.5.4 to 1.5.5
2022-03-25 09:02:28 +01:00
dependabot[bot] d58fb523b1 Bump regex from 1.5.4 to 1.5.5
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.4 to 1.5.5.
- [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.5.4...1.5.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 07:20:20 +00:00
Sylvestre Ledru fcb89d2156 Merge pull request #154 from tavianator/perm-uucore
find: Use the uucore mode parsing implementation for -perm
2022-03-25 08:19:09 +01:00
Tavian Barnes 0b23d9b202 find: Add integration tests for -perm 2022-03-23 13:34:09 -04:00
Tavian Barnes 13bc54f7ae find: Use the uucore mode parsing implementation for -perm
Fixes #26.
2022-03-16 16:37:31 -04:00
Sylvestre Ledru 4cd4e4fb79 Merge pull request #151 from tavianator/globs
POSIX compliant globs
2022-03-05 21:01:56 +01:00
Sylvestre Ledru 27bfbdc906 Merge pull request #152 from uutils/dependabot/cargo/once_cell-1.10.0
Bump once_cell from 1.9.0 to 1.10.0
2022-03-04 09:28:18 +01:00
dependabot[bot] 1faeef0ab2 Bump once_cell from 1.9.0 to 1.10.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.9.0...v1.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-04 07:11:08 +00:00
Tavian Barnes ce375a71b0 ci: Fix BFS tests comparison with zero skipped tests
Now that -path/-ipath is implemented, no tests are skipped any more.
Fix CI by using zero instead of the empty string, which breaks the
compare_bfs_result.py script.
2022-02-23 21:33:32 -05:00
Tavian Barnes 016995fa4a find/matchers: Implement -[i]path, -[i]wholename 2022-02-23 21:33:32 -05:00
Tavian Barnes 36cc88e159 find/matchers: Implement POSIX-compliant globs
The glob crate exposes .gitignore style globs with recursive (**)
matching and other features.  find should implement globs exactly as
specified by POSIX.  Do this by translating them to POSIX Basic Regular
Expressions.

Fixes #140.
2022-02-23 21:08:04 -05:00
Tavian Barnes 22cbd8e467 find/matchers: Use the same type for case-[in]sensitive matchers 2022-02-23 20:34:03 -05:00
Tavian Barnes a9ad63838f find/matchers: Split lname matchers into separate types 2022-02-23 20:20:25 -05:00
Sylvestre Ledru e18c369b33 Merge pull request #150 from tavianator/bfs-2.4
ci: Update BFS testsuite to version 2.4
2022-02-22 21:47:15 +01:00
Tavian Barnes cead712118 ci: Fix GNU testsuite comparison
The uploaded log artifact maintains the directory structure, so just
compare it directly to the GNU find directory.
2022-02-22 14:30:56 -05:00
Tavian Barnes 193aaf2aa0 ci: Don't run the GNU/bfs testsuites twice 2022-02-22 13:42:39 -05:00
Tavian Barnes 7be2715f07 ci: Update BFS testsuite to version 2.4 2022-02-22 13:41:43 -05:00
Sylvestre Ledru a3501a267a Merge pull request #149 from uutils/dependabot/cargo/serial_test-0.6.0
Bump serial_test from 0.5.1 to 0.6.0
2022-02-21 08:29:44 +01:00
dependabot[bot] a3928291f8 Bump serial_test from 0.5.1 to 0.6.0
Bumps [serial_test](https://github.com/palfrey/serial_test) from 0.5.1 to 0.6.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v0.5.1...v0.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 07:16:47 +00:00
Sylvestre Ledru 493a1e9998 Merge pull request #147 from tavianator/quit
Implement -quit
2022-02-11 09:37:53 +01:00
Sylvestre Ledru d26cdf3010 Merge pull request #148 from tavianator/easy-flags
Implement -P and --
2022-02-10 22:37:11 +01:00
Sylvestre Ledru eddfddf217 Merge pull request #145 from tavianator/dash-and
Support -and as a synonym for -a
2022-02-10 22:35:52 +01:00
Sylvestre Ledru f2c808c3cf Merge pull request #146 from tavianator/printf-times
printf: Fix some time formatting to match GNU find
2022-02-10 22:34:52 +01:00
Tavian Barnes d16305d5fd Implement -quit 2022-02-10 15:29:50 -05:00
Tavian Barnes 1f3b2094a5 Implement -P and -- 2022-02-10 15:24:54 -05:00
Tavian Barnes b16a05f260 printf: Fix some time formatting to match GNU find
GNU find uses 10 digits for nanoseconds for some reason, and %S includes
them.
2022-02-10 13:50:40 -05:00
Tavian Barnes f04d297372 Support -and as a synonym for -a 2022-02-10 13:23:51 -05:00
Sylvestre Ledru 7ffd5f8424 Merge pull request #141 from tavianator/into-box
matchers: Replace new_box() with an into_box() trait method
2022-02-08 20:31:53 +01:00
Sylvestre Ledru 48d6f63fc8 Merge pull request #144 from tavianator/dejagnu
ci: Also run the dejagnu tests from GNU findutils
2022-02-08 20:31:19 +01:00
Tavian Barnes 979a442443 matchers: Replace new_box() with an into_box() trait method
This lets us get rid of the boilerplate new_box() inherent method on
most Matcher impls.  It also removes the need for explicit boxing before
passing Matchers to a few functions like new_and_matcher().
2022-02-08 13:20:26 -05:00
Tavian Barnes 43027d0808 ci: Also run the dejagnu tests from GNU findutils 2022-02-08 12:05:00 -05:00
Tavian Barnes 5c45b30427 Parse and ignore GNU find optimization levels (-On)
This makes us compatible with the GNU find testsuite.
2022-02-08 12:05:00 -05:00
Sylvestre Ledru a7af22724b Merge pull request #143 from sylvestre/clippy
Various Clippy fixes
2022-02-05 20:52:55 +01:00
Sylvestre Ledru 4eb943fea2 rustfmt recent changes 2022-02-05 15:16:36 +01:00
Sylvestre Ledru f399291533 fix clippy warning: Fix the needless_pass_by_value 2022-02-05 15:09:29 +01:00
Sylvestre Ledru 59be8d5ce7 refresh cargo.lock with recent updates 2022-02-05 15:06:18 +01:00
Sylvestre Ledru 384aa23e74 fix clippy warning: use Self when possible 2022-02-05 15:06:18 +01:00
Sylvestre Ledru 58070d6a00 Merge pull request #139 from refi64/prune-dirs-only
Avoid skipping the entire directory if a file hits -prune
2022-01-31 20:28:22 +01:00
Ryan Gonzalez 5f054351d4 Avoid skipping the entire directory if a file hits -prune
This matches up with the behavior of GNU findutils, as documented in its
man page:

> **if the file is a directory**, do not descend into it

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2022-01-31 13:00:51 -06:00
Sylvestre Ledru 78eba7efbc Merge pull request #136 from refi64/xdev
Add support for -xdev
2022-01-27 09:15:25 +01:00
Sylvestre Ledru d6433f9f54 Merge pull request #137 from refi64/empty
Add support for -empty
2022-01-27 09:12:43 +01:00
Sylvestre Ledru 1bf7ff7e13 Merge pull request #138 from refi64/lname
Add support for -lname / -ilname
2022-01-27 09:07:19 +01:00
Ryan Gonzalez 162d5f3822 Add support for -lname / -ilname
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2022-01-26 20:28:21 -06:00
Ryan Gonzalez efa2a4b553 Add support for -empty
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2022-01-26 19:17:46 -06:00
Ryan Gonzalez 0a8b72fdbc Add support for -xdev
Unfortunately, the nature of this makes it incredibly hard to test for
in CI; not even BFS's massive test suite covers it. That being said,
it's a simple enough addition that the risk it incurs hopefully
shouldn't be too large.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2022-01-26 17:42:15 -06:00
Sylvestre Ledru 1517cc0e84 Update 0.3.0 2022-01-26 23:41:02 +01:00
Sylvestre Ledru 250867d99c Merge pull request #135 from sylvestre/udeps
Move tempfile dep to dev-dep
2022-01-26 23:34:53 +01:00
Sylvestre Ledru c61af2ae0e Move tempfile dep to dev-dep
cargo +nightly udeps
2022-01-26 23:10:33 +01:00
Sylvestre Ledru c616c69854 Merge pull request #132 from refi64/update-uucore
Update uucore to 0.0.12
2022-01-25 22:38:14 +01:00
Sylvestre Ledru bec239f9d6 Merge pull request #133 from refi64/download-correct-workflow
Fix compat tests not using the latest workflow
2022-01-25 13:48:10 +01:00
Ryan Gonzalez ab25ef8d1a Fix compat tests not using the latest workflow
By default, artifacts are only downloaded from the latest successful
workflow, meaning that, if the compat tests regressed, then it is
impossible to compare against the new current state. This isn't a
perfect solution, but I believe it should by far be "good enough" for
these purposes.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2022-01-24 11:28:53 -06:00
Ryan Gonzalez 949e76b5b9 Update uucore to 0.0.12
This version includes the needed filesystem type detection fix.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2022-01-24 09:32:59 -06:00
Sylvestre Ledru 1e67813594 Merge pull request #121 from refi64/xargs
Add an initial implementation of xargs
2022-01-23 15:59:20 +01:00
Ryan Gonzalez 3a1c42123f Add an initial implementation of xargs
This includes much of the core xargs functionality, with the following
notable exceptions:

- Parallel execution (`-P`): This option currently just does
  nothing, that way anything that passes -P can at least run without a
  notable behavior shift (other than simply being slower).
- Replacement strings (`-I`): This can easily be worked around via an
  intermediate shell invocation (e.g. `xargs -L1 sh -c 'do-things-with
  $@' --`).
- EOF strings (`-E`): I've honestly never seen this actually used,
  though it would not be particularly difficult to implement given the
  current architecture.

Closes #37

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2022-01-22 20:22:01 -06:00
Sylvestre Ledru 8fe924cb68 update of the readme 2022-01-23 01:23:53 +01:00
Sylvestre Ledru d432d665d1 Merge pull request #126 from refi64/regex
Add support for regex matching
2022-01-23 01:19:55 +01:00
Sylvestre Ledru 96b353b7f5 Merge pull request #123 from refi64/print02
Add support for -print0
2022-01-23 01:18:09 +01:00
Ryan Gonzalez 4d9ede3c89 Add support for -print0
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2022-01-22 09:10:10 -06:00
Ryan Gonzalez 0298d20481 Update proc_macro2
Depending on onig ends up requiring proc_macro2, but the version that
was in the lockfile breaks the build if panic=abort is used (which is
done for coverage checks). This was fixed in 1.0.30+ for Rust 1.57+, so
update to that version.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2022-01-22 09:05:20 -06:00
Ryan Gonzalez e52b4f2e46 Add support for regex matching
This adds support for -regextype, -regex, and -iregex, using Oniguruma
to implement support for the Emacs, grep, POSIX basic, and POSIX
extended regex types.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2022-01-22 09:05:20 -06:00
Sylvestre Ledru bdfd492a0a Merge pull request #130 from refi64/compat-tests-2
Add remaining portions of automated compatibility tests
2022-01-22 10:14:58 +01:00
Sylvestre Ledru 79d4bc4b2f Merge pull request #129 from refi64/compat-tests-1
Add initial parts of automated compatibility tests
2022-01-21 23:51:08 +01:00
Ryan Gonzalez 165d72efd2 Add remaining portions of automated compatibility tests
This adds the rest of the compatibility test workflow, in order to
automatically run against the GNU findutils & BFS test suites as part of
standard CI and compare the results to the latest from the 'main'
branch.

Closes #128

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2022-01-21 16:18:35 -06:00
Ryan Gonzalez 97ea4ae294 Add initial parts of automated compatibility tests
This is the first half of the needed changes to set up automated
compatibility tests against GNU findutils and bfs, handling the uploads
of the build logs and JSON results. The workflow itself is heavily based
on the one from uutils/coreutils:

https://github.com/uutils/coreutils/blob/main/.github/workflows/GnuTests.yml

but with various cleanups & tweaks to better suit findutils.

This does *not* include the actual regression comparisons, because those
will only pass once archives of these files are up on the main branch.

Ref #128

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2022-01-21 16:15:48 -06:00
Sylvestre Ledru 50d2bde28f Merge pull request #127 from uutils/dependabot/cargo/assert_cmd-2.0.4
Bump assert_cmd from 2.0.2 to 2.0.4
2022-01-14 09:34:57 +01:00
dependabot[bot] 8e3093b4e8 Bump assert_cmd from 2.0.2 to 2.0.4
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.2...v2.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 07:18:26 +00:00
Sylvestre Ledru b8b3c32a1c Merge pull request #124 from uutils/dependabot/cargo/predicates-2.1.1
Bump predicates from 2.1.0 to 2.1.1
2022-01-12 09:58:12 +01:00
dependabot[bot] 27e8e4a186 Bump predicates from 2.1.0 to 2.1.1
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases)
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v2.1.0...v2.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-12 07:12:56 +00:00
Sylvestre Ledru 81402f3c59 Merge pull request #120 from refi64/printf
Add support for GNU-compatible printf
2022-01-10 10:32:29 +01:00
Sylvestre Ledru dd443b977c Merge branch 'master' into printf 2022-01-10 09:59:52 +01:00
Sylvestre Ledru d38536222f Merge pull request #122 from uutils/dependabot/cargo/tempfile-3.3.0
Bump tempfile from 3.2.0 to 3.3.0
2022-01-10 09:58:45 +01:00
dependabot[bot] fdf0707885 Bump tempfile from 3.2.0 to 3.3.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.2.0...v3.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 07:10:01 +00:00
Ryan Gonzalez 0ea822cecb Add support for GNU-compatible printf
This adds initial support for GNU find-compatible printf syntax. As far
as I can tell, it should implement all the specifiers, with the
following exceptions:

- Using zero as padding instead of space: GNU find isn't consistent with
  which numeric format specifiers support this.
- Specifying precision (`%x.yz`): I believe sparseness (%S)
  and seconds-since-epoch (`%A@` / `%C@` / `%T@`) are the only ones that
  allow this, making it only partially useful.
- Printing SELinux contexts (`%Z`): requires some extra dependencies and
  isn't within our scope.

uucore is added as a dependency, because it has several utility
functions that we need, the complexity of which is high enough that
using the extra dependency is quite helpful.

This also stubs out many of the specifiers for Windows, simply because I
have no idea how these should work there. (The defaults chosen should be
"good enough" for the moment, though.)

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2021-12-27 13:44:35 -06:00
Sylvestre Ledru 87ceb10073 Merge pull request #119 from uutils/dependabot/cargo/predicates-2.1.0
Bump predicates from 2.0.2 to 2.1.0
2021-11-23 14:06:03 +01:00
dependabot[bot] a99eae5136 Bump predicates from 2.0.2 to 2.1.0
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 2.0.2 to 2.1.0.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases)
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v2.0.2...v2.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-23 07:13:16 +00:00
Sylvestre Ledru aa4713e766 Merge pull request #117 from uutils/dependabot/cargo/assert_cmd-2.0.2
Bump assert_cmd from 2.0.1 to 2.0.2
2021-10-08 09:33:44 +02:00
dependabot[bot] 6078cdc66a Bump assert_cmd from 2.0.1 to 2.0.2
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.1...v2.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 07:11:12 +00:00
Sylvestre Ledru ab451cf014 Merge pull request #116 from tavianator/bfs-tests
ci: Run the bfs testsuite
2021-09-15 16:09:58 +02:00
Tavian Barnes 8b7bf9e0d1 ci: Run the bfs testsuite 2021-09-15 09:57:18 -04:00
Sylvestre Ledru 1dff91e3c5 Merge pull request #115 from sylvestre/gnu
run the GNU testsuite in the CI
2021-09-08 00:04:55 +02:00
Sylvestre Ledru bf478a140d run the GNU testsuite in the CI 2021-09-07 23:51:15 +02:00
Sylvestre Ledru 4ead9a3c62 document how to run the gnu testsuite 2021-09-07 23:25:08 +02:00
Sylvestre Ledru bcb7fab917 GNU: allow to run a specific arg 2021-09-07 23:23:29 +02:00
Sylvestre Ledru 94c830661b GNU: Don't build it everytime 2021-09-07 23:22:58 +02:00
Sylvestre Ledru 28989171ab add a script to run the tests with the GNU testsuite 2021-09-07 23:01:43 +02:00
Sylvestre Ledru ac576f50b0 add --version to the cli 2021-09-07 22:39:36 +02:00
Sylvestre Ledru 2a39bf143b update of the version to 0.2.0 2021-09-07 22:13:15 +02:00
Sylvestre Ledru 3d65249b4e remove the travis badge 2021-09-07 22:11:53 +02:00
Sylvestre Ledru 40cd5719c2 Merge pull request #111 from sylvestre/cov
Add back coverage with codecov
2021-09-07 12:16:32 +02:00
Sylvestre Ledru 0253f24657 Add back coverage with codecov 2021-09-07 11:53:37 +02:00
Sylvestre Ledru b9b899cb13 Merge pull request #110 from sylvestre/tempfile
replace tempdir by tempfile
2021-09-07 10:52:16 +02:00
Sylvestre Ledru f9e736d194 replace tempdir by tempfile 2021-09-07 10:36:07 +02:00
Sylvestre Ledru 49ee992dcd remove the author file. it hasn't been used 2021-09-07 09:35:33 +02:00
Sylvestre Ledru 1dcd2d5d77 Merge pull request #109 from uutils/dependabot/cargo/assert_cmd-2.0.1
Bump assert_cmd from 2.0.0 to 2.0.1
2021-09-07 09:33:12 +02:00
dependabot[bot] 5336410602 Bump assert_cmd from 2.0.0 to 2.0.1
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.0...v2.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-07 07:09:29 +00:00
Sylvestre Ledru 9b319c7474 Merge pull request #108 from uutils/dependabot/cargo/predicates-2.0.2
Bump predicates from 2.0.1 to 2.0.2
2021-08-17 09:35:59 +02:00
dependabot[bot] d7e7c7f7fb Bump predicates from 2.0.1 to 2.0.2
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases)
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v2.0.1...v2.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-17 07:10:18 +00:00
Sylvestre Ledru d9c68c27c3 Merge pull request #105 from uutils/dependabot/cargo/predicates-2.0.1
Bump predicates from 2.0.0 to 2.0.1
2021-08-06 09:53:29 +02:00
dependabot[bot] 420cbe826b Bump predicates from 2.0.0 to 2.0.1
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases)
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v2.0.0...v2.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 07:21:23 +00:00
Sylvestre Ledru 48ca34914f Merge pull request #107 from uutils/dependabot/cargo/assert_cmd-2.0.0
Bump assert_cmd from 1.0.8 to 2.0.0
2021-08-06 09:20:19 +02:00
dependabot[bot] 9127763651 Bump assert_cmd from 1.0.8 to 2.0.0
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 1.0.8 to 2.0.0.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v1.0.8...v2.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 07:11:06 +00:00
Sylvestre Ledru 540842a241 Merge pull request #106 from uutils/dependabot/cargo/assert_cmd-1.0.8
Bump assert_cmd from 1.0.5 to 1.0.8
2021-08-02 09:13:11 +02:00
dependabot[bot] 1f760bc2a5 Bump assert_cmd from 1.0.5 to 1.0.8
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 1.0.5 to 1.0.8.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v1.0.5...v1.0.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 07:09:50 +00:00
Sylvestre Ledru 0f05b1e932 Merge pull request #104 from sylvestre/pred
update predicates
2021-07-05 10:00:47 +02:00
Sylvestre Ledru 52adf59b5c Merge pull request #103 from sylvestre/clip
Fix some clippy warnings
2021-07-05 09:50:21 +02:00
Sylvestre Ledru 35ef54a2b3 predicate: adjust the api 2021-07-05 09:50:06 +02:00
dependabot[bot] eedda44ac9 Bump predicates from 1.0.8 to 2.0.0
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 1.0.8 to 2.0.0.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases)
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v1.0.8...v2.0.0)
2021-07-05 09:46:33 +02:00
Sylvestre Ledru 8f9334479e Fix another clippy warning
`writing `&PathBuf` instead of `&Path` involves a new object where a slice will do`
2021-07-05 09:44:25 +02:00
Sylvestre Ledru 2b5eca5355 Fix a clippy warning
`struct constructor field order is inconsistent with struct definition field order`
2021-07-05 09:39:47 +02:00
Sylvestre Ledru d7fcd6c1ee Merge pull request #99 from uutils/dependabot/cargo/assert_cmd-1.0.5
Bump assert_cmd from 1.0.4 to 1.0.5
2021-06-03 11:54:18 +02:00
dependabot[bot] 8472a9e982 Bump assert_cmd from 1.0.4 to 1.0.5
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v1.0.4...v1.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 07:46:27 +00:00
Sylvestre Ledru 73593f30ae Merge pull request #95 from uutils/dependabot/cargo/predicates-1.0.8
Bump predicates from 1.0.7 to 1.0.8
2021-05-22 12:50:55 +02:00
Sylvestre Ledru 93be4b7050 Merge pull request #97 from uutils/dependabot/cargo/regex-1.5.4
Bump regex from 1.5.3 to 1.5.4
2021-05-22 12:50:42 +02:00
Sylvestre Ledru b3a2767bcb Merge pull request #98 from uutils/dependabot/cargo/assert_cmd-1.0.4
Bump assert_cmd from 1.0.3 to 1.0.4
2021-05-13 09:58:55 +02:00
dependabot[bot] 80938e1ff3 Bump assert_cmd from 1.0.3 to 1.0.4
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v1.0.3...v1.0.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 07:17:43 +00:00
dependabot[bot] bda0bac489 Bump regex from 1.5.3 to 1.5.4
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.3 to 1.5.4.
- [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.5.3...1.5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 08:50:45 +00:00
Sylvestre Ledru aab63c089d Merge pull request #92 from tavianator/execdir-root-chdir
exec: Handle parent directories more carefully
2021-05-03 10:00:38 +02:00
Sylvestre Ledru 0069dd3e71 Merge pull request #94 from uutils/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-05-03 10:00:08 +02:00
Sylvestre Ledru 7cc30e3c07 Merge pull request #96 from uutils/dependabot/cargo/regex-1.5.3
Bump regex from 1.4.5 to 1.5.3
2021-05-03 09:59:19 +02:00
dependabot-preview[bot] 810a2df417 Bump regex from 1.4.5 to 1.5.3
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.5 to 1.5.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.4.5...1.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-03 07:37:44 +00:00
dependabot-preview[bot] c20333c9dd Bump predicates from 1.0.7 to 1.0.8
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases)
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v1.0.7...v1.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-29 07:15:07 +00:00
dependabot-preview[bot] 03923ae435 Upgrade to GitHub-native Dependabot 2021-04-28 21:37:47 +00:00
Tavian Barnes 88cbbff332 exec: Handle parent directories more carefully
Fixes #23, fixes #28.
2021-03-28 17:47:46 -04:00
Sylvestre Ledru 85e96152f6 Merge pull request #91 from tavianator/calm-exec-plus
Make multi-exec only match {} + with nothing in between
2021-03-28 20:28:56 +02:00
Tavian Barnes 87c5caa779 Make multi-exec only match {} + with nothing in between
Fixes #40.
2021-03-28 13:37:11 -04:00
Sylvestre Ledru 8ecc66fc46 Merge pull request #90 from uutils/dependabot/cargo/walkdir-2.3.2
Bump walkdir from 2.3.1 to 2.3.2
2021-03-23 12:38:25 +01:00
dependabot-preview[bot] 595d832f8f Bump walkdir from 2.3.1 to 2.3.2
Bumps [walkdir](https://github.com/BurntSushi/walkdir) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/BurntSushi/walkdir/releases)
- [Commits](https://github.com/BurntSushi/walkdir/compare/2.3.1...2.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 11:10:22 +00:00
Sylvestre Ledru 49d78548b2 README.md: add the crates.io badge 2021-03-15 10:03:28 +01:00
89 changed files with 16920 additions and 1613 deletions
-23
View File
@@ -1,23 +0,0 @@
os: Visual Studio 2015
version: "{build}"
environment:
matrix:
- channel: stable
target: x86_64-pc-windows-msvc
- channel: nightly
target: x86_64-pc-windows-msvc
install:
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -yv --default-toolchain %channel% --default-host %target%
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- rustc -vV && cargo -vV
build_script:
- cargo build --verbose
test_script:
- cargo test --verbose
+12
View File
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 5
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 5
+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 }}
+66 -36
View File
@@ -2,6 +2,9 @@ on: [push, pull_request]
name: Basic CI
env:
CARGO_INCREMENTAL: "0"
jobs:
check:
name: cargo check
@@ -10,15 +13,19 @@ jobs:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- 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'
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: check
version: "11.0"
directory: ${{ runner.temp }}/llvm
- run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
if: matrix.os == 'windows-latest'
- name: Check
run: |
cargo check --all --all-features
test:
name: cargo test
@@ -27,44 +34,67 @@ jobs:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- 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'
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
version: "11.0"
directory: ${{ runner.temp }}/llvm
- run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
if: matrix.os == 'windows-latest'
- name: Test
run: |
cargo test
fmt:
name: cargo fmt --all -- --check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions/checkout@v6
- name: cargo fmt
run: |
cargo fmt --all -- --check
clippy:
name: cargo clippy -- -D warnings
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v6
- run: |
cargo clippy --all-targets -- -D warnings
grcov:
name: Code coverage
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
cargo_flags:
- "--all-features"
steps:
- name: Checkout source code
uses: actions/checkout@v6
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
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@v7
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
name: lcov.info
path: lcov.info
- name: Upload coverage to codecov.io
uses: codecov/codecov-action@v6
with:
command: clippy
args: -- -D warnings
files: lcov.info
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
+37
View File
@@ -0,0 +1,37 @@
name: CodSpeed
on:
push:
branches:
- "main"
pull_request:
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
codspeed:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust toolchain, cache and cargo-codspeed binary
uses: moonrepo/setup-rust@v0
with:
channel: stable
cache-target: release
bins: cargo-codspeed
- name: Build the benchmark target(s)
run: cargo codspeed build
- name: Run the benchmarks
uses: CodSpeedHQ/action@v4
with:
mode: simulation
run: cargo codspeed run
+76
View File
@@ -0,0 +1,76 @@
on:
workflow_run:
workflows: [External-testsuites]
types: [completed]
name: Comment Test results on the PR
permissions: {}
jobs:
upload-pr-comment:
if: ${{ github.event.workflow_run.event == 'pull_request' }}
name: Upload PR comment
runs-on: ubuntu-latest
permissions:
actions: read
pull-requests: write
steps:
- name: List Annotations
uses: actions/github-script@v9
with:
script: |
let artifacts = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: ${{ github.event.workflow_run.id }},
});
// List all artifacts
let matchArtifact = artifacts.data.artifacts.filter((artifact) => {
return artifact.name == "comment"
})[0];
// Download the artifact to github.workspace
let download = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: matchArtifact.id,
archive_format: 'zip',
});
let fs = require('fs');
fs.writeFileSync('${{ github.workspace }}/comment.zip', Buffer.from(download.data));
- run: unzip comment.zip
- name: Comment on PR
uses: actions/github-script@v9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
let fs = require('fs');
let annotations = JSON.parse(fs.readFileSync('./annotations.json', 'utf8'));
let annotationContent = annotations
.data
.map(annotation => `${annotation.run}: ${annotation.annotation.message}`)
.join('\n');
// check if no changes
let gnuTestReport = annotationContent.includes('Run GNU findutils tests: Gnu tests No changes');
let bfsTestReport = annotationContent.includes('Run BFS tests: BFS tests No changes');
if (gnuTestReport && bfsTestReport) {
console.log('No changes');
return;
}
// Comment on the PR
github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: annotations.pull_request_number,
body: 'Commit ${{ github.event.workflow_run.head_sha }} has GNU testsuite comparison:\n```\n' + annotationContent + '\n```\n'
});
+261
View File
@@ -0,0 +1,261 @@
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@v6
with:
path: findutils
- name: Checkout GNU findutils
uses: actions/checkout@v6
with:
repository: gnu-mirror-unofficial/findutils
path: findutils.gnu
ref: 5768a03ddfb5e18b1682e339d6cdd24ff721c510
submodules: false
- name: Override submodule URL and initialize submodules
# Use github instead of upstream git server
run: |
git submodule sync --recursive
git config submodule.gnulib.url https://github.com/coreutils/gnulib.git
git submodule update --init --recursive --depth 1
working-directory: findutils.gnu
- name: Install dependencies
shell: bash
run: |
# Enable sources & install dependencies
sudo sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/ubuntu.sources
sudo apt-get update
sudo apt-get build-dep findutils
- name: Run GNU tests
shell: bash
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@v3
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@v7
with:
name: gnu-test-report
path: |
findutils.gnu/find/testsuite/*.log
findutils.gnu/xargs/testsuite/*.log
findutils.gnu/tests/**/*.log
- name: Upload gnu-result
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@v9
with:
script: |
let fs = require('fs');
fs.mkdirSync('${{ github.workspace }}/dl', { recursive: true });
async function downloadArtifact(artifactName) {
// List all artifacts from the workflow run
let artifacts = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: ${{ github.run_id }},
});
// Find the specified artifact
let matchArtifact = artifacts.data.artifacts.find((artifact) => artifact.name === artifactName);
if (!matchArtifact) {
throw new Error(`Artifact "${artifactName}" not found.`);
}
// Download the artifact
let download = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: matchArtifact.id,
archive_format: 'zip',
});
// Save the artifact to a file
fs.writeFileSync(`${{ github.workspace }}/dl/${artifactName}.zip`, Buffer.from(download.data));
}
// Download the required artifacts
await downloadArtifact("gnu-result");
await downloadArtifact("gnu-test-report");
- name: Compare failing tests against master
shell: bash
run: |
./findutils/util/diff-gnu.sh ./dl ./findutils.gnu
- name: Compare against main results
shell: bash
run: |
unzip dl/gnu-result.zip -d dl/
unzip dl/gnu-test-report.zip -d dl/
mv dl/gnu-result.json latest-gnu-result.json
python findutils/util/compare_gnu_result.py
bfs-tests:
name: Run BFS tests
runs-on: ubuntu-latest
steps:
- name: Checkout findutils
uses: actions/checkout@v6
with:
path: findutils
- name: Checkout BFS
uses: actions/checkout@v6
with:
repository: tavianator/bfs
path: bfs
ref: "4.0"
- name: Install dependencies
shell: bash
run: |
# Enable sources & install dependencies
sudo sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/ubuntu.sources
sudo apt-get update
sudo apt-get build-dep bfs
- name: Run BFS tests
shell: bash
run: |
cd findutils
export CARGO_INCREMENTAL=0
bash util/build-bfs.sh ||:
- name: Upload bfs-test-report
uses: actions/upload-artifact@v7
with:
name: bfs-test-report
path: bfs/tests.log
- name: Upload bfs-result
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@v9
with:
script: |
let fs = require('fs');
fs.mkdirSync('${{ github.workspace }}/dl', { recursive: true });
async function downloadArtifact(artifactName) {
// List all artifacts from the workflow run
let artifacts = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: ${{ github.run_id }},
});
// Find the specified artifact
let matchArtifact = artifacts.data.artifacts.find((artifact) => artifact.name === artifactName);
if (!matchArtifact) {
throw new Error(`Artifact "${artifactName}" not found.`);
}
// Download the artifact
let download = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: matchArtifact.id,
archive_format: 'zip',
});
// Save the artifact to a file
fs.writeFileSync(`${{ github.workspace }}/dl/${artifactName}.zip`, Buffer.from(download.data));
}
// Download the required artifacts
await downloadArtifact("bfs-result");
await downloadArtifact("bfs-test-report");
- name: Compare failing tests against main
shell: bash
run: |
./findutils/util/diff-bfs.sh dl/tests.log bfs/tests.log
- name: Compare against main results
shell: bash
run: |
unzip dl/bfs-result.zip -d dl/
unzip dl/bfs-test-report.zip -d dl/
mv dl/bfs-result.json latest-bfs-result.json
python findutils/util/compare_bfs_result.py
upload-annotations:
name: Upload annotations
runs-on: ubuntu-latest
needs: [gnu-tests, bfs-tests]
if: ${{ github.event_name == 'pull_request' }}
steps:
- name: List Annotations
uses: actions/github-script@v9
with:
script: |
let runs = await github.rest.checks.listForRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: '${{ github.event.pull_request.head.sha }}'
});
let names = ['Run GNU findutils tests', 'Run BFS tests'];
let results = [];
runs.data.check_runs.filter(check => names.includes(check.name)).forEach(run => results.push(run));
let annotations = { data: [], pull_request_number: '${{ github.event.number }}' };
for (let result of results) {
let run = await github.rest.checks.listAnnotations({
owner: context.repo.owner,
repo: context.repo.repo,
check_run_id: result.id
});
run.data.forEach(data => {
annotations.data.push({
run: result.name,
annotation: data
});
});
}
// Remove duplicate items.
annotations.data = annotations.data.filter((value, index, self) =>
self.findIndex(v => v.annotation.message === value.annotation.message) === index);
let fs = require('fs');
fs.writeFileSync('${{ github.workspace }}/annotations.json', JSON.stringify(annotations));
- name: Upload annotations
uses: actions/upload-artifact@v7
with:
name: comment
path: annotations.json
+291
View File
@@ -0,0 +1,291 @@
# This file was autogenerated by dist: https://opensource.axo.dev/cargo-dist/
#
# Copyright 2022-2024, axodotdev
# SPDX-License-Identifier: MIT or Apache-2.0
#
# CI that:
#
# * checks for a Git Tag that looks like a release
# * builds artifacts with dist (archives, installers, hashes)
# * uploads those artifacts to temporary workflow zip
# * on success, uploads the artifacts to a GitHub Release
#
# Note that the GitHub Release will be created with a generated
# title/body based on your changelogs.
name: Release
permissions:
"contents": "write"
# This task will run whenever you push a git tag that looks like a version
# like "1.0.0", "v0.1.0-prerelease.1", "my-app/0.1.0", "releases/v1.0.0", etc.
# Various formats will be parsed into a VERSION and an optional PACKAGE_NAME, where
# PACKAGE_NAME must be the name of a Cargo package in your workspace, and VERSION
# must be a Cargo-style SemVer Version (must have at least major.minor.patch).
#
# If PACKAGE_NAME is specified, then the announcement will be for that
# package (erroring out if it doesn't have the given version or isn't dist-able).
#
# If PACKAGE_NAME isn't specified, then the announcement will be for all
# (dist-able) packages in the workspace with that version (this mode is
# intended for workspaces with only one dist-able package, or with all dist-able
# packages versioned/released in lockstep).
#
# If you push multiple tags at once, separate instances of this workflow will
# spin up, creating an independent announcement for each one. However, GitHub
# will hard limit this to 3 tags per commit, as it will assume more tags is a
# mistake.
#
# If there's a prerelease-style suffix to the version, then the release(s)
# will be marked as a prerelease.
on:
pull_request:
push:
tags:
- '**[0-9]+.[0-9]+.[0-9]+*'
jobs:
# Run 'dist plan' (or host) to determine what tasks we need to do
plan:
runs-on: "ubuntu-latest"
outputs:
val: ${{ steps.plan.outputs.manifest }}
tag: ${{ !github.event.pull_request && github.ref_name || '' }}
tag-flag: ${{ !github.event.pull_request && format('--tag={0}', github.ref_name) || '' }}
publishing: ${{ !github.event.pull_request }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Install dist
# we specify bash to get pipefail; it guards against the `curl` command
# failing. otherwise `sh` won't catch that `curl` returned non-0
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@v7
with:
name: cargo-dist-cache
path: ~/.cargo/bin/dist
# sure would be cool if github gave us proper conditionals...
# so here's a doubly-nested ternary-via-truthiness to try to provide the best possible
# functionality based on whether this is a pull_request, and whether it's from a fork.
# (PRs run on the *source* but secrets are usually on the *target* -- that's *good*
# but also really annoying to build CI around when it needs secrets to work right.)
- id: plan
run: |
dist ${{ (!github.event.pull_request && format('host --steps=create --tag={0}', github.ref_name)) || 'plan' }} --output-format=json > plan-dist-manifest.json
echo "dist ran successfully"
cat plan-dist-manifest.json
echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
- name: "Upload dist-manifest.json"
uses: actions/upload-artifact@v7
with:
name: artifacts-plan-dist-manifest
path: plan-dist-manifest.json
# Build and packages all the platform-specific things
build-local-artifacts:
name: build-local-artifacts (${{ join(matrix.targets, ', ') }})
# Let the initial task tell us to not run (currently very blunt)
needs:
- plan
if: ${{ fromJson(needs.plan.outputs.val).ci.github.artifacts_matrix.include != null && (needs.plan.outputs.publishing == 'true' || fromJson(needs.plan.outputs.val).ci.github.pr_run_mode == 'upload') }}
strategy:
fail-fast: false
# Target platforms/runners are computed by dist in create-release.
# Each member of the matrix has the following arguments:
#
# - runner: the github runner
# - dist-args: cli flags to pass to dist
# - install-dist: expression to run to install dist on the runner
#
# Typically there will be:
# - 1 "global" task that builds universal installers
# - N "local" tasks that build each platform's binaries and platform-specific installers
matrix: ${{ fromJson(needs.plan.outputs.val).ci.github.artifacts_matrix }}
runs-on: ${{ matrix.runner }}
container: ${{ matrix.container && matrix.container.image || null }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_MANIFEST_NAME: target/distrib/${{ join(matrix.targets, '-') }}-dist-manifest.json
steps:
- name: enable windows longpaths
run: |
git config --global core.longpaths true
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Install Rust non-interactively if not already installed
if: ${{ matrix.container }}
run: |
if ! command -v cargo > /dev/null 2>&1; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
fi
- name: Install dist
run: ${{ matrix.install_dist.run }}
# Get the dist-manifest
- name: Fetch local artifacts
uses: actions/download-artifact@v8
with:
pattern: artifacts-*
path: target/distrib/
merge-multiple: true
- name: Install dependencies
run: |
${{ matrix.packages_install }}
- name: Build artifacts
run: |
# Actually do builds and make zips and whatnot
dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json
echo "dist ran successfully"
- id: cargo-dist
name: Post-build
# We force bash here just because github makes it really hard to get values up
# to "real" actions without writing to env-vars, and writing to env-vars has
# inconsistent syntax between shell and powershell.
shell: bash
run: |
# Parse out what we just built and upload it to scratch storage
echo "paths<<EOF" >> "$GITHUB_OUTPUT"
dist print-upload-files-from-manifest --manifest dist-manifest.json >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
- name: "Upload artifacts"
uses: actions/upload-artifact@v7
with:
name: artifacts-build-local-${{ join(matrix.targets, '_') }}
path: |
${{ steps.cargo-dist.outputs.paths }}
${{ env.BUILD_MANIFEST_NAME }}
# Build and package all the platform-agnostic(ish) things
build-global-artifacts:
needs:
- plan
- build-local-artifacts
runs-on: "ubuntu-latest"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Install cached dist
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@v8
with:
pattern: artifacts-*
path: target/distrib/
merge-multiple: true
- id: cargo-dist
shell: bash
run: |
dist build ${{ needs.plan.outputs.tag-flag }} --output-format=json "--artifacts=global" > dist-manifest.json
echo "dist ran successfully"
# Parse out what we just built and upload it to scratch storage
echo "paths<<EOF" >> "$GITHUB_OUTPUT"
jq --raw-output ".upload_files[]" dist-manifest.json >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
- name: "Upload artifacts"
uses: actions/upload-artifact@v7
with:
name: artifacts-build-global
path: |
${{ steps.cargo-dist.outputs.paths }}
${{ env.BUILD_MANIFEST_NAME }}
# Determines if we should publish/announce
host:
needs:
- plan
- build-local-artifacts
- build-global-artifacts
# Only run if we're "publishing", and only if local and global didn't fail (skipped is fine)
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-latest"
outputs:
val: ${{ steps.host.outputs.manifest }}
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Install cached dist
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@v8
with:
pattern: artifacts-*
path: target/distrib/
merge-multiple: true
- id: host
shell: bash
run: |
dist host ${{ needs.plan.outputs.tag-flag }} --steps=upload --steps=release --output-format=json > dist-manifest.json
echo "artifacts uploaded and released successfully"
cat dist-manifest.json
echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
- name: "Upload dist-manifest.json"
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@v8
with:
pattern: artifacts-*
path: artifacts
merge-multiple: true
- name: Cleanup
run: |
# Remove the granular manifests
rm -f artifacts/*-dist-manifest.json
- name: Create GitHub Release
env:
PRERELEASE_FLAG: "${{ fromJson(steps.host.outputs.manifest).announcement_is_prerelease && '--prerelease' || '' }}"
ANNOUNCEMENT_TITLE: "${{ fromJson(steps.host.outputs.manifest).announcement_title }}"
ANNOUNCEMENT_BODY: "${{ fromJson(steps.host.outputs.manifest).announcement_github_body }}"
RELEASE_COMMIT: "${{ github.sha }}"
run: |
# Write and read notes from a file to avoid quoting breaking things
echo "$ANNOUNCEMENT_BODY" > $RUNNER_TEMP/notes.txt
gh release create "${{ needs.plan.outputs.tag }}" --draft --target "$RELEASE_COMMIT" $PRERELEASE_FLAG --title "$ANNOUNCEMENT_TITLE" --notes-file "$RUNNER_TEMP/notes.txt" artifacts/*
announce:
needs:
- plan
- host
# use "always() && ..." to allow us to wait for all publish jobs while
# 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-latest"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
+2 -2
View File
@@ -3,5 +3,5 @@ target
.project
.cargo
.settings
test_data/links/link-f
test_data/links/link-d
test_data/links/link-*
/public/
+19
View File
@@ -0,0 +1,19 @@
repos:
- repo: local
hooks:
- id: rust-linting
name: Rust linting
description: Run cargo fmt on files included in the commit.
entry: cargo +nightly fmt --
pass_filenames: true
types: [file, rust]
language: system
- id: rust-clippy
name: Rust clippy
description: Run cargo clippy on files included in the commit.
entry: cargo +nightly clippy --workspace --all-targets --all-features --
pass_filenames: false
types: [file, rust]
language: system
ci:
skip: [rust-linting, rust-clippy]
-33
View File
@@ -1,33 +0,0 @@
language: rust
sudo: false
os:
- linux
- osx
rust:
- stable
- nightly
matrix:
fast_finish: true
branches:
only:
- master
cache: cargo
before_cache: |
if [[ "$TRAVIS_RUST_VERSION" = nightly ]]; then
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin -f
fi
script:
- cargo build --verbose
- cargo test --verbose
after_script: |
if [[ "$TRAVIS_OS_NAME" = linux && "$TRAVIS_RUST_VERSION" = nightly ]]; then
cargo tarpaulin --out Xml
bash <(curl -s https://codecov.io/bash)
fi
-4
View File
@@ -1,4 +0,0 @@
# Names should be added to this file like so:
# # Name or Organization <email address>
#
# Google Inc. <opensource@google.com>
+128
View File
@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socioeconomic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment for our
community include:
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community
Examples of unacceptable behavior include:
* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
## Scope
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
sylvestre@debian.org.
All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series
of actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within
the community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
<https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.
Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see the FAQ at
<https://www.contributor-covenant.org/faq>. Translations are available at
<https://www.contributor-covenant.org/translations>.
+262
View File
@@ -0,0 +1,262 @@
<!-- spell-checker:ignore reimplementing toybox RUNTEST CARGOFLAGS nextest embeddable Rustonomicon rustdoc's -->
# Contributing to findutils
Hi! Welcome to uutils/findutils!
Thanks for wanting to contribute to this project! This document explains
everything you need to know to contribute. Before you start make sure to also
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:
> [!WARNING]
> uutils is original code and cannot contain any code from GNU or
> other implementations. This means that **we cannot accept any changes based on
> the GNU source code**. To make sure that cannot happen, **you cannot link to
> the GNU source code** either. It is however possible to look at other implementations
> under a BSD or MIT license like [Apple's implementation](https://opensource.apple.com/source/file_cmds/)
> or [OpenBSD](https://github.com/openbsd/src/tree/master/bin).
Finally, feel free to join our [Discord](https://discord.gg/wQVJbvJ)!
<!-- TODO: Getting Oriented -->
## Design Goals
We have the following goals with our development:
- **Compatible**: The utilities should be a drop-in replacement for the GNU
coreutils.
- **Cross-platform**: All utilities should run on as many of the supported
platforms as possible.
- **Reliable**: The utilities should never unexpectedly fail.
- **Performant**: Our utilities should be written in fast idiomatic Rust. We aim
to match or exceed the performance of the GNU utilities.
- **Well-tested**: We should have a lot of tests to be able to guarantee
reliability and compatibility.
## How to Help
There are several ways to help and writing code is just one of them. Reporting
issues and writing documentation are just as important as writing code.
### Reporting Issues
We can't fix bugs we don't know about, so good issues are super helpful! Here
are some tips for writing good issues:
- If you find a bug, make sure it's still a problem on the `main` branch.
- Search through the existing issues to see whether it has already been
reported.
- Make sure to include all relevant information, such as:
- Which version of uutils did you check?
- Which version of GNU coreutils are you comparing with?
- What platform are you on?
- Provide a way to reliably reproduce the issue.
- Be as specific as possible!
### Writing Documentation
There's never enough documentation. If you come across any documentation that
could be improved, feel free to submit a PR for it!
### Writing Code
If you want to submit a PR, make sure that you've discussed the solution with
the maintainers beforehand. We want to avoid situations where you put a lot of
work into a fix that we can't merge! If there's no issue for what you're trying
to fix yet, make one _before_ you start working on the PR.
Generally, we try to follow what GNU is doing in terms of options and behavior.
It is recommended to look at the GNU findtils manual
([on the web](https://www.gnu.org/software/findutils/manual/html_node/index.html),
or locally using `info <utility>`). It is more in depth than the man pages and
provides a good description of available features and their implementation
details. But remember, you cannot look at the GNU source code!
Also remember that we can only merge PRs which pass our test suite, follow
rustfmt, and do not have any warnings from clippy. See
[DEVELOPMENT.md](./DEVELOPMENT.md) for more information. Be sure to also read
about our [Rust style](#our-rust-style).
## Our Rust Style
We want uutils to be written in idiomatic Rust, so here are some guidelines to
follow. Some of these are aspirational, meaning that we don't do them correctly
everywhere in the code. If you find violations of the advice below, feel free to
submit a patch!
### Don't `panic!`
The coreutils should be very reliable. This means that we should never `panic!`.
Therefore, you should avoid using `.unwrap()` and `panic!`. Sometimes the use of
`unreachable!` can be justified with a comment explaining why that code is
unreachable.
### Don't `exit`
We want uutils to be embeddable in other programs. This means that no function
in uutils should exit the program. Doing so would also lead to code with more
confusing control flow. Avoid therefore `std::process::exit` and similar
functions which exit the program early.
### `unsafe`
uutils cannot be entirely safe, because we have to call out to `libc` and do
syscalls. However, we still want to limit our use of `unsafe`. We generally only
accept `unsafe` for FFI, with very few exceptions. Note that performance is very
rarely a valid argument for using `unsafe`.
If you still need to write code with `unsafe`, make sure to read the
[Rustonomicon](https://doc.rust-lang.org/nomicon/intro.html) and annotate the
calls with `// SAFETY:` comments explaining why the use of `unsafe` is sound.
### Macros
Macros can be a great tool, but they are also usually hard to understand. They
should be used sparingly. Make sure to explore simpler options before you reach
for a solution involving macros.
### `str`, `OsStr` & `Path`
Rust has many string-like types, and sometimes it's hard to choose the right
one. It's tempting to use `str` (and `String`) for everything, but that is not
always the right choice for uutils, because we need to support invalid UTF-8,
just like the GNU coreutils. For example, paths on Linux might not be valid
UTF-8! Whenever we are dealing with paths, we should therefore stick with
`OsStr` and `Path`. Make sure that you only convert to `str`/`String` if you
know that something is always valid UTF-8. If you need more operations on
`OsStr`, you can use the [`bstr`](https://docs.rs/bstr/latest/bstr/) crate.
### Doc-comments
We use rustdoc for our documentation, so it's best to follow
[rustdoc's guidelines](https://doc.rust-lang.org/rustdoc/how-to-write-documentation.html#documenting-components).
Make sure that your documentation is not just repeating the name of the
function, but actually giving more useful information. Rustdoc recommends the
following structure:
```
[short sentence explaining what it is]
[more detailed explanation]
[at least one code example that users can copy/paste to try it]
[even more advanced explanations if necessary]
```
### Other comments
Comments should be written to _explain_ the code, not to _describe_ the code.
Try to focus on explaining _why_ the code is the way it is. If you feel like you
have to describe the code, that's usually a sign that you could improve the
naming of variables and functions.
If you edit a piece of code, make sure to update any comments that need to
change as a result. The only thing worse than having no comments is having
outdated comments!
## Git Etiquette
To ensure easy collaboration, we have guidelines for using Git and GitHub.
### Commits
- Make small and atomic commits.
- Keep a clean history of commits.
- Write informative commit messages.
- Annotate your commit message with the component you're editing. For example:
`cp: do not overwrite on with -i` or `uucore: add support for FreeBSD`.
- Do not unnecessarily move items around in the code. This makes the changes
much harder to review. If you do need to move things around, do that in a
separate commit.
### Commit messages
You can read this section in the Git book to learn how to write good commit
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:
- commit for a single utility
```
nohup: cleanup and refactor
```
- commit for a utility's tests
```
tests/rm: test new feature
```
Beyond changes to an individual utility or its tests, other summary lines for
non-utility modules include:
```
README: add help
uucore: add new modules
uutils: add new utility
gitignore: add temporary files
```
### PRs
- Make the titles of PRs descriptive.
- This means describing the problem you solve. For example, do not write
`Fix #1234`, but `ls: fix version sort order`.
- You can prefix the title with the utility the PR concerns.
- Keep PRs small and self-contained. A set of small PRs is much more likely to
get merged quickly than one large PR.
- Make sure the CI passes (up to intermittently failing tests).
- You know your code best, that's why it's best if you can solve merge conflicts
on your branch yourself.
- It's up to you whether you want to use `git merge main` or
`git rebase main`.
- Feel free to ask for help with merge conflicts.
- You do not need to ping maintainers to request a review, but it's fine to do
so if you don't get a response within a few days.
## Platforms
We take pride in supporting many operating systems and architectures. Any code
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.
## Licensing
uutils is distributed under the terms of the MIT License; see the `LICENSE` file
for details. This is a permissive license, which allows the software to be used
with few restrictions.
Copyrights in the uutils project are retained by their contributors, and no
copyright assignment is required to contribute.
If you wish to add or change dependencies as part of a contribution to the
project, a tool like `cargo-license` can be used to show their license details.
The following types of license are acceptable:
- MIT License
- Dual- or tri-license with an MIT License option ("Apache-2.0 or MIT" is a
popular combination)
- "MIT equivalent" license (2-clause BSD, 3-clause BSD, ISC)
- License less restrictive than the MIT License (CC0 1.0 Universal)
- Apache License version 2.0
Licenses we will not use:
- An ambiguous license, or no license
- Strongly reciprocal licenses (GNU GPL, GNU LGPL)
If you wish to add a reference but it doesn't meet these requirements, please
raise an issue to describe the dependency.
Generated
+2039 -282
View File
File diff suppressed because it is too large Load Diff
+99 -9
View File
@@ -1,29 +1,119 @@
[package]
name = "findutils"
version = "0.1.0"
version = "0.9.0"
homepage = "https://github.com/uutils/findutils"
repository = "https://github.com/uutils/findutils"
edition = "2018"
edition = "2021"
license = "MIT"
readme = "README.md"
description = "Rust implementation of GNU findutils"
authors = ["uutils developers"]
[dependencies]
glob = "0.3"
walkdir = "2.3"
tempdir = "0.3"
regex = "1.4"
argmax = "0.4.0"
chrono = "0.4.45"
clap = { version = "4.6", features = ["env"] }
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"
itertools = "0.14.0"
thiserror = "2.0.12"
[dev-dependencies]
assert_cmd = "1"
predicates = "1"
serial_test = "0.5"
criterion = { version = "4.7.0", package = "codspeed-criterion-compat" }
assert_cmd = "2"
ctor = "1.0"
filetime = "0.2"
nix = { version = "0.31", features = ["fs"] }
rstest = "0.26.1"
tempfile = "3"
uutests = "0.9.0"
[[bench]]
name = "find_bench"
harness = false
[[bench]]
name = "xargs_bench"
harness = false
[[bench]]
name = "updatedb_bench"
harness = false
[[bench]]
name = "locate_bench"
harness = false
[[bin]]
name = "find"
path = "src/find/main.rs"
[[bin]]
name = "locate"
path = "src/locate/main.rs"
[[bin]]
name = "updatedb"
path = "src/updatedb/main.rs"
[[bin]]
name = "xargs"
path = "src/xargs/main.rs"
[[bin]]
name = "testing-commandline"
path = "src/testing/commandline/main.rs"
[profile.release]
lto = "thin"
codegen-units = 1
[profile.release-fast]
inherits = "release"
panic = "abort"
[lints.clippy]
all = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
use_self = "warn" # nursery lint
# Group-level allows for lints that are too noisy or not worth enforcing for now.
multiple_crate_versions = "allow"
cargo_common_metadata = "allow"
uninlined_format_args = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
match_same_arms = "allow"
cast_possible_truncation = "allow"
too_many_lines = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
struct_excessive_bools = "allow"
cast_precision_loss = "allow"
cast_lossless = "allow"
ignored_unit_patterns = "allow"
similar_names = "allow"
float_cmp = "allow"
return_self_not_must_use = "allow"
inline_always = "allow"
fn_params_excessive_bools = "allow"
used_underscore_items = "allow"
should_panic_without_expect = "allow"
doc_markdown = "allow"
unused_self = "allow"
enum_glob_use = "allow"
unnested_or_patterns = "allow"
implicit_hasher = "allow"
doc_link_with_quotes = "allow"
format_push_string = "allow"
flat_map_option = "allow"
from_iter_instead_of_collect = "allow"
large_types_passed_by_value = "allow"
# Disable for now, we have a few occurrences
# panic = "warn"
+156
View File
@@ -0,0 +1,156 @@
<!-- spell-checker:ignore (flags) Ccodegen Coverflow Cpanic Zinstrument Zpanic reimplementing toybox RUNTEST CARGOFLAGS nextest prereq autopoint gettext texinfo automake findutils shellenv libexec gnubin toolchains gsed -->
# Setting up your local development environment
For contributing rules and best practices please refer to [CONTRIBUTING.md](CONTRIBUTING.md)
## Before you start
For this guide we assume that you already have a GitHub account and have `git` and your favorite code editor or IDE installed and configured.
Before you start working on findutils, please follow these steps:
1. Fork the [findutils repository](https://github.com/uutils/findutils) to your GitHub account.
***Tip:*** See [this GitHub guide](https://docs.github.com/en/get-started/quickstart/fork-a-repo) for more information on this step.
2. Clone that fork to your local development environment:
```shell
git clone https://github.com/YOUR-GITHUB-ACCOUNT/findutils
cd findutils
```
## Tools
You will need the tools mentioned in this section to build and test your code changes locally.
This section will explain how to install and configure these tools.
We also have an extensive CI that uses these tools and will check your code before it can be merged.
The next section [Testing](#testing) will explain how to run those checks locally to avoid waiting for the CI.
### Rust toolchain
[Install Rust](https://www.rust-lang.org/tools/install)
If you're using rustup to install and manage your Rust toolchains, `clippy` and `rustfmt` are usually already installed. If you are using one of the alternative methods, please make sure to install them manually. See following sub-sections for their usage: [clippy](#clippy) [rustfmt](#rustfmt).
***Tip*** You might also need to add 'llvm-tools' component if you are going to [generate code coverage reports locally](#code-coverage-report):
```shell
rustup component add llvm-tools-preview
```
### pre-commit hooks
A configuration for `pre-commit` is provided in the repository. It allows
automatically checking every git commit you make to ensure it compiles, and
passes `clippy` and `rustfmt` without warnings.
To use the provided hook:
1. [Install `pre-commit`](https://pre-commit.com/#install)
1. Run `pre-commit install` while in the repository directory
Your git commits will then automatically be checked. If a check fails, an error
message will explain why, and your commit will be canceled. You can then make
the suggested changes, and run `git commit ...` again.
**NOTE: On MacOS** the pre-commit hooks are currently broken. There are workarounds involving switching to unstable nightly Rust and components.
### clippy
```shell
cargo clippy --all-targets --all-features
```
The `msrv` key in the clippy configuration file `clippy.toml` is used to disable
lints pertaining to newer features by specifying the minimum supported Rust
version (MSRV).
### rustfmt
```shell
cargo fmt --all
```
### cargo-deny
This project uses [cargo-deny](https://github.com/EmbarkStudios/cargo-deny/) to
detect duplicate dependencies, checks licenses, etc. To run it locally, first
install it and then run with:
```shell
cargo deny --all-features check all
```
### Markdown linter
We use [markdownlint](https://github.com/DavidAnson/markdownlint) to lint the
Markdown files in the repository.
### Spell checker
We use `cspell` as spell checker for all files in the project. If you are using
VS Code, you can install the
[code spell checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker)
extension to enable spell checking within your editor. Otherwise, you can
install [cspell](https://cspell.org/) separately.
If you want to make the spell checker ignore a word, you can add
```rust
// spell-checker:ignore word_to_ignore
```
at the top of the file.
## Testing
Just like with building, we follow the standard procedure for testing using
Cargo:
```shell
cargo test
```
## Code coverage report
Code coverage report can be generated using [grcov](https://github.com/mozilla/grcov).
### Using Nightly Rust
To generate [gcov-based](https://github.com/mozilla/grcov#example-how-to-generate-gcda-files-for-a-rust-project) coverage report
```shell
export CARGO_INCREMENTAL=0
export RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort"
export RUSTDOCFLAGS="-Cpanic=abort"
cargo build <options...>
cargo test <options...>
grcov . -s . --binary-path ./target/debug/ -t html --branch --ignore-not-existing --ignore build.rs --excl-br-line "^\s*((debug_)?assert(_eq|_ne)?\#\[derive\()" -o ./target/debug/coverage/
# open target/debug/coverage/index.html in browser
```
if changes are not reflected in the report then run `cargo clean` and run the above commands.
### Using Stable Rust
If you are using stable version of Rust that doesn't enable code coverage instrumentation by default
then add `-Z-Zinstrument-coverage` flag to `RUSTFLAGS` env variable specified above.
## Tips for setting up on Mac
### C Compiler and linker
On MacOS you'll need to install C compiler & linker:
```shell
xcode-select --install
```
## Tips for setting up on Windows
### MSVC build tools
On Windows you'll need the MSVC build tools for Visual Studio 2013 or later.
If you are using `rustup-init.exe` to install Rust toolchain, it will guide you through the process of downloading and installing these prerequisites.
Otherwise please follow [this guide](https://learn.microsoft.com/en-us/windows/dev-environment/rust/setup).
+33 -3
View File
@@ -1,7 +1,37 @@
# findutils
[![Build Status](https://travis-ci.org/uutils/findutils.svg?branch=master)](https://travis-ci.org/uutils/findutils)
[![Build status](https://ci.appveyor.com/api/projects/status/wrmbs03dn6sb721e/branch/master?svg=true)](https://ci.appveyor.com/project/Arcterus/findutils/branch/master)
[![Crates.io](https://img.shields.io/crates/v/findutils.svg)](https://crates.io/crates/findutils)
[![Discord](https://img.shields.io/badge/discord-join-7289DA.svg?logo=discord&longCache=true&style=flat)](https://discord.gg/wQVJbvJ)
[![License](http://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/uutils/findutils/blob/main/LICENSE)
[![dependency status](https://deps.rs/repo/github/uutils/findutils/status.svg)](https://deps.rs/repo/github/uutils/findutils)
[![codecov](https://codecov.io/gh/uutils/findutils/branch/master/graph/badge.svg)](https://codecov.io/gh/uutils/findutils)
Rust implementation of [GNU findutils](https://www.gnu.org/software/findutils/).
Rust implementation of [GNU findutils](https://www.gnu.org/software/findutils/): `xargs`, `find`, `locate` and `updatedb`.
The goal is to be a full drop-in replacement of the original commands.
## Run the GNU testsuite on rust/findutils:
```
bash util/build-gnu.sh
# To run a specific test:
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.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
[bfs](https://github.com/tavianator/bfs) is a variant of the UNIX find command that operates breadth-first rather than depth-first.
```
bash util/build-bfs.sh
# To run a specific test:
bash util/build-bfs.sh posix/basic
```
For more details, see https://github.com/uutils/findutils-tracking/
+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.
+166
View File
@@ -0,0 +1,166 @@
// Copyright 2024 the uutils developers
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
//! End-to-end benchmarks for `find`, run through the real `find_main` entry
//! point so they exercise argument parsing, the matcher tree and the directory
//! walk together. Output is sent to a sink so the benchmarks measure the work
//! `find` does rather than terminal I/O.
use std::cell::RefCell;
use std::io::{self, Write};
use std::path::{Path, PathBuf};
use std::time::SystemTime;
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use findutils::find::{find_main, Dependencies};
/// `Dependencies` implementation that throws output away. A fixed `now` keeps
/// time-based matchers (`-newer`, `-mtime`, …) deterministic across runs.
struct SinkDependencies {
output: RefCell<io::Sink>,
now: SystemTime,
}
impl SinkDependencies {
fn new() -> Self {
Self {
output: RefCell::new(io::sink()),
now: SystemTime::now(),
}
}
}
impl Dependencies for SinkDependencies {
fn get_output(&self) -> &RefCell<dyn Write> {
&self.output
}
fn now(&self) -> SystemTime {
self.now
}
fn confirm(&self, _prompt: &str) -> bool {
false
}
}
/// Run `find` end-to-end. `args` are the arguments after the program name
/// (flags, paths, expression). The exit status is ignored — we only care about
/// the work performed.
fn run(args: &[&str]) {
let mut argv: Vec<&str> = Vec::with_capacity(args.len() + 1);
argv.push("find");
argv.extend_from_slice(args);
let deps = SinkDependencies::new();
let _ = find_main(&argv, &deps);
}
/// Build a moderately deep directory tree to walk. `depth` levels, each holding
/// `dirs` sub-directories and `files` files. File names vary so name/regex
/// matchers have something to discriminate on, and sizes vary so `-size` does
/// real work. Returns the root directory.
fn build_tree(depth: u32, dirs: u32, files: u32) -> PathBuf {
let root = std::env::temp_dir().join(format!("uu_find_bench_{}", std::process::id()));
let _ = std::fs::remove_dir_all(&root);
std::fs::create_dir_all(&root).unwrap();
populate(&root, depth, dirs, files, 0);
root
}
fn populate(dir: &Path, depth: u32, dirs: u32, files: u32, seed: u32) {
for f in 0..files {
let n = seed.wrapping_add(f);
// A mix of extensions and a sprinkling of a rare marker name.
let name = match n % 5 {
0 => format!("module_{n}.rs"),
1 => format!("data_{n}.txt"),
2 => format!("image_{n}.png"),
3 => format!("README_{n}.md"),
_ if n % 500 == 0 => format!("RAREHIT_{n}.log"),
_ => format!("file_{n}.log"),
};
// Sizes from a few bytes up to ~8 KiB so -size buckets differ.
let size = (n as usize % 8192) + 1;
let path = dir.join(name);
std::fs::write(&path, vec![b'x'; size]).unwrap();
}
if depth == 0 {
return;
}
for d in 0..dirs {
let sub = dir.join(format!("dir_{d}"));
std::fs::create_dir_all(&sub).unwrap();
populate(
&sub,
depth - 1,
dirs,
files,
seed.wrapping_add((d + 1) * 31),
);
}
}
fn bench_e2e(c: &mut Criterion) {
// depth 4, 4 dirs/level, 25 files/dir → a few thousand entries.
let root = build_tree(4, 4, 25);
let dir = root.to_str().unwrap();
let mut group = c.benchmark_group("find");
// Plain full walk with the implicit -print.
group.bench_function("walk_all", |b| {
b.iter(|| run(black_box(&[dir])));
});
// Filter by file type only.
group.bench_function("type_f", |b| {
b.iter(|| run(black_box(&[dir, "-type", "f"])));
});
// Glob name match — a common invocation.
group.bench_function("name_glob", |b| {
b.iter(|| run(black_box(&[dir, "-name", "*.rs"])));
});
// Case-insensitive name match.
group.bench_function("iname_glob", |b| {
b.iter(|| run(black_box(&[dir, "-iname", "*.RS"])));
});
// Regex over the whole path.
group.bench_function("regex_path", |b| {
b.iter(|| run(black_box(&[dir, "-regex", r".*/module_[0-9]+\.rs"])));
});
// Size predicate forces a stat per entry.
group.bench_function("size_gt", |b| {
b.iter(|| run(black_box(&[dir, "-type", "f", "-size", "+4k"])));
});
// Combined predicate with AND/OR and grouping.
group.bench_function("combined_expr", |b| {
b.iter(|| {
run(black_box(&[
dir, "-type", "f", "(", "-name", "*.rs", "-o", "-name", "*.md", ")",
]));
});
});
// Prune whole subtrees, then print the rest.
group.bench_function("prune", |b| {
b.iter(|| {
run(black_box(&[
dir, "-name", "dir_0", "-prune", "-o", "-type", "f", "-print",
]));
});
});
// -printf with several directives exercises the formatter.
group.bench_function("printf", |b| {
b.iter(|| run(black_box(&[dir, "-type", "f", "-printf", "%p %s %y\\n"])));
});
group.finish();
let _ = std::fs::remove_dir_all(&root);
}
criterion_group!(benches, bench_e2e);
criterion_main!(benches);

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