504 Commits

Author SHA1 Message Date
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
67 changed files with 10068 additions and 1100 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
+118 -35
View File
@@ -10,15 +10,25 @@ jobs:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4
- name: Install `rust` toolchain
run: |
## Install `rust` toolchain
rustup toolchain install stable --no-self-update -c rustfmt --profile minimal
rustup default stable
# 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 +37,117 @@ jobs:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4
- name: Install `rust` toolchain
run: |
## Install `rust` toolchain
rustup toolchain install stable --no-self-update -c rustfmt --profile minimal
rustup default stable
# 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
- uses: actions/checkout@v4
- name: Install `rust` toolchain
run: |
## Install `rust` toolchain
rustup toolchain install stable --no-self-update -c rustfmt --profile minimal
rustup default stable
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- 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
with:
profile: minimal
toolchain: stable
override: true
- uses: actions/checkout@v4
- name: Install `rust` toolchain
run: |
## Install `rust` toolchain
rustup toolchain install stable --no-self-update -c rustfmt --profile minimal
rustup default stable
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
- name: cargo clippy
run: |
cargo clippy --all-targets -- -D warnings
grcov:
name: Code coverage
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
toolchain:
- nightly
cargo_flags:
- "--all-features"
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Install `rust` toolchain
run: |
## Install `rust` toolchain
rustup toolchain install nightly --no-self-update -c rustfmt --profile minimal
rustup default nightly
- name: "`grcov` ~ install"
run: cargo install grcov
- name: cargo test
run: |
cargo test --all --no-fail-fast ${{ matrix.cargo_flags }}
env:
CARGO_INCREMENTAL: "0"
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort -Cdebug-assertions=off"
RUSTDOCFLAGS: "-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort -Cdebug-assertions=off"
- name: Generate coverage data
id: grcov
run: |
grcov target/debug/ \
--branch \
--llvm \
--source-dir . \
--output-path lcov.info \
--ignore-not-existing \
--excl-line "#\\[derive\\(" \
--excl-br-line "#\\[derive\\(" \
--excl-start "#\\[cfg\\(test\\)\\]" \
--excl-br-start "#\\[cfg\\(test\\)\\]" \
--commit-sha ${{ github.sha }} \
--service-job-id ${{ github.job }} \
--service-name "GitHub Actions" \
--service-number ${{ github.run_id }}
- name: Upload coverage as artifact
uses: actions/upload-artifact@v4
with:
command: clippy
args: -- -D warnings
name: lcov.info
# path: ${{ steps.grcov.outputs.report }}
path: lcov.info
- name: Upload coverage to codecov.io
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
# file: ${{ steps.grcov.outputs.report }}
file: lcov.info
fail_ci_if_error: true
+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@v7
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@v7
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'
});
+200
View File
@@ -0,0 +1,200 @@
on: [push, pull_request]
name: External-testsuites
jobs:
gnu-tests:
name: Run GNU findutils tests
runs-on: ubuntu-latest
steps:
- name: Checkout findutils
uses: actions/checkout@v4
with:
path: findutils
- name: Checkout GNU findutils
uses: actions/checkout@v4
with:
repository: gnu-mirror-unofficial/findutils
path: findutils.gnu
ref: 5768a03ddfb5e18b1682e339d6cdd24ff721c510
submodules: true
- name: Install `rust` toolchain
run: |
## Install `rust` toolchain
rustup toolchain install stable --no-self-update -c rustfmt --profile minimal
rustup default stable
- name: Install dependencies
shell: bash
run: |
# Enable sources & install dependencies
sudo find /etc/apt/sources.list* -type f -exec sed -i 'p; s/^deb /deb-src /' '{}' +
sudo apt-get update
sudo apt-get build-dep findutils
- name: Run GNU tests
shell: bash
run: |
cd findutils
bash util/build-gnu.sh ||:
- name: Extract testing info
shell: bash
run: |
- name: Upload gnu-test-report
uses: actions/upload-artifact@v4
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@v4
with:
name: gnu-result
path: gnu-result.json
- name: Download the result
uses: dawidd6/action-download-artifact@v6
with:
workflow: compat.yml
workflow_conclusion: completed
name: gnu-result
repo: uutils/findutils
branch: main
path: dl
- name: Download the log
uses: dawidd6/action-download-artifact@v6
with:
workflow: compat.yml
workflow_conclusion: completed
name: gnu-test-report
repo: uutils/findutils
branch: main
path: dl
- 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: |
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@v4
with:
path: findutils
- name: Checkout BFS
uses: actions/checkout@v4
with:
repository: tavianator/bfs
path: bfs
ref: "3.1.3"
- name: Install `rust` toolchain
run: |
## Install `rust` toolchain
rustup toolchain install stable --no-self-update -c rustfmt --profile minimal
rustup default stable
- name: Install dependencies
shell: bash
run: |
# Enable sources & install dependencies
sudo find /etc/apt/sources.list* -type f -exec sed -i 'p; s/^deb /deb-src /' '{}' +
sudo apt-get update
sudo apt-get build-dep bfs
- name: Run BFS tests
shell: bash
run: |
cd findutils
bash util/build-bfs.sh ||:
- name: Upload bfs-test-report
uses: actions/upload-artifact@v4
with:
name: bfs-test-report
path: bfs/tests.log
- name: Upload bfs-result
uses: actions/upload-artifact@v4
with:
name: bfs-result
path: bfs-result.json
- name: Download the result
uses: dawidd6/action-download-artifact@v6
with:
workflow: compat.yml
workflow_conclusion: completed
name: bfs-result
repo: uutils/findutils
branch: main
path: dl
- name: Download the log
uses: dawidd6/action-download-artifact@v6
with:
workflow: compat.yml
workflow_conclusion: completed
name: bfs-test-report
repo: uutils/findutils
branch: main
path: dl
- 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: |
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@v7
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@v4
with:
name: comment
path: annotations.json
+266
View File
@@ -0,0 +1,266 @@
# Copyright 2022-2023, axodotdev
# SPDX-License-Identifier: MIT or Apache-2.0
#
# CI that:
#
# * checks for a Git Tag that looks like a release
# * builds artifacts with cargo-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 cargo-dist-able).
#
# If PACKAGE_NAME isn't specified, then the announcement will be for all
# (cargo-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:
push:
tags:
- '**[0-9]+.[0-9]+.[0-9]+*'
pull_request:
jobs:
# Run 'cargo 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@v4
with:
submodules: recursive
- name: Install cargo-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.12.0/cargo-dist-installer.sh | sh"
# 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: |
cargo dist ${{ (!github.event.pull_request && format('host --steps=create --tag={0}', github.ref_name)) || 'plan' }} --output-format=json > plan-dist-manifest.json
echo "cargo 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@v4
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 cargo-dist in create-release.
# Each member of the matrix has the following arguments:
#
# - runner: the github runner
# - dist-args: cli flags to pass to cargo dist
# - install-dist: expression to run to install cargo-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 }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_MANIFEST_NAME: target/distrib/${{ join(matrix.targets, '-') }}-dist-manifest.json
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: swatinem/rust-cache@v2
- name: Install cargo-dist
run: ${{ matrix.install_dist }}
# Get the dist-manifest
- name: Fetch local artifacts
uses: actions/download-artifact@v4
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
cargo dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json
echo "cargo 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"
jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
- name: "Upload artifacts"
uses: actions/upload-artifact@v4
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-20.04"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install cargo-dist
shell: bash
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.12.0/cargo-dist-installer.sh | sh"
# Get all the local artifacts for the global tasks to use (for e.g. checksums)
- name: Fetch local artifacts
uses: actions/download-artifact@v4
with:
pattern: artifacts-*
path: target/distrib/
merge-multiple: true
- id: cargo-dist
shell: bash
run: |
cargo dist build ${{ needs.plan.outputs.tag-flag }} --output-format=json "--artifacts=global" > dist-manifest.json
echo "cargo dist ran successfully"
# Parse out what we just built and upload it to scratch storage
echo "paths<<EOF" >> "$GITHUB_OUTPUT"
jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
- name: "Upload artifacts"
uses: actions/upload-artifact@v4
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-20.04"
outputs:
val: ${{ steps.host.outputs.manifest }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install cargo-dist
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.12.0/cargo-dist-installer.sh | sh"
# Fetch artifacts from scratch-storage
- name: Fetch artifacts
uses: actions/download-artifact@v4
with:
pattern: artifacts-*
path: target/distrib/
merge-multiple: true
# This is a harmless no-op for Github Releases, hosting for that happens in "announce"
- id: host
shell: bash
run: |
cargo 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@v4
with:
# Overwrite the previous copy
name: artifacts-dist-manifest
path: dist-manifest.json
# Create a Github Release while uploading all files to it
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-20.04"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: "Download Github Artifacts"
uses: actions/download-artifact@v4
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
uses: ncipollo/release-action@v1
with:
tag: ${{ needs.plan.outputs.tag }}
name: ${{ fromJson(needs.host.outputs.val).announcement_title }}
body: ${{ fromJson(needs.host.outputs.val).announcement_github_body }}
prerelease: ${{ fromJson(needs.host.outputs.val).announcement_is_prerelease }}
artifacts: "artifacts/*"
+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/
+17
View File
@@ -0,0 +1,17 @@
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
-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>.
+264
View File
@@ -0,0 +1,264 @@
<!-- 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.
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/ch5-2.html.
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.
**Tip:** For Windows, Microsoft provides some images (VMWare, Hyper-V,
VirtualBox and Parallels) for development:
<https://developer.microsoft.com/windows/downloads/virtual-machines/>
## Licensing
uutils is distributed under the terms of the MIT License; see the `LICENSE` file
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
+802 -124
View File
File diff suppressed because it is too large Load Diff
+45 -9
View File
@@ -1,29 +1,65 @@
[package]
name = "findutils"
version = "0.1.0"
version = "0.6.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"
chrono = "0.4.38"
clap = "4.5"
faccess = "0.2.4"
walkdir = "2.5"
regex = "1.10"
once_cell = "1.19"
onig = { version = "6.4", default-features = false }
uucore = { version = "0.0.27", features = ["entries", "fs", "fsext", "mode"] }
nix = { version = "0.29", features = ["fs", "user"] }
[dev-dependencies]
assert_cmd = "1"
predicates = "1"
serial_test = "0.5"
assert_cmd = "2"
filetime = "0.2"
nix = { version = "0.29", features = ["fs"] }
predicates = "3"
serial_test = "3.1"
tempfile = "3"
pretty_assertions = "1.4.0"
[[bin]]
name = "find"
path = "src/find/main.rs"
[[bin]]
name = "xargs"
path = "src/xargs/main.rs"
[[bin]]
name = "testing-commandline"
path = "src/testing/commandline/main.rs"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.12.0"
# CI backends to support
ci = ["github"]
# The installers to generate for each app
installers = []
# Target platforms to build apps for (Rust target-triple syntax)
targets = [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
]
# Publish jobs to run in CI
pr-run-mode = "plan"
+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.png?raw=true)
![Evolution over time - BFS testsuite](https://github.com/uutils/findutils-tracking/blob/main/bfs-results.png?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/
+10
View File
@@ -0,0 +1,10 @@
[book]
authors = ["Terts Diepraam"]
language = "en"
multilingual = false
src = "src"
title = "findutils"
[preprocessor.toc]
command = "mdbook-toc"
renderer = ["html"]
+9
View File
@@ -0,0 +1,9 @@
# Summary
[Introduction](index.md)
* [Installation](installation.md)
* [Build from source](build.md)
* [Platform support](platforms.md)
* [Contributing](contributing.md)
* [GNU test coverage](test_coverage.md)
* [Extensions](extensions.md)
+3
View File
@@ -0,0 +1,3 @@
# Build from source
TODO
+3
View File
@@ -0,0 +1,3 @@
<!-- markdownlint-disable MD041 -->
{{ #include ../../CONTRIBUTING.md }}

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