Commit graph

9147 commits

Author SHA1 Message Date
Niyaz Nigmatullin
95e7b53402 test_sort: make timeout smarter, wait if failed to create dir
Before the change it slept for 0.1 seconds and right after that
asserted if `sort` has created the directory. Sometimes `sort`
didn't manage to create the directory in 0.1 seconds.
So the change is it tries to wait for `timeout` starting with
0.1 seconds, and if directory was not found, it tries 4 more times,
each time increasing timeout twice. Once the directory is found
it breaks.
2022-10-18 13:18:50 +03:00
Sylvestre Ledru
513b764434
Merge pull request #4057 from uutils/dependabot/cargo/clap-4.0.16
build(deps): bump clap from 4.0.15 to 4.0.16
2022-10-18 10:46:15 +02:00
Sylvestre Ledru
f4484c71b6
Merge pull request #4058 from niyaznigmatullin/windows_tests
tests: fixed some tests on Windows
2022-10-18 10:45:51 +02:00
Niyaz Nigmatullin
cefc4f6736 tests: fixed some tests on Windows
Tests used to use system `touch` and `ls` instead of
testing bench `fixtures.touch` and `uu_ls`
2022-10-18 10:00:28 +03:00
dependabot[bot]
ee561973c5 build(deps): bump clap from 4.0.15 to 4.0.16
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.15 to 4.0.16.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.0.15...v4.0.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-18 08:59:59 +02:00
Sylvestre Ledru
3ec8cc3976
Merge pull request #4056 from niyaznigmatullin/split_fix_clap_update
split: fix `---io` for clap 4
2022-10-18 08:59:51 +02:00
Pat Laster
87df47dee3
Merge branch 'main' into rm-correct-prompts 2022-10-17 17:41:44 -05:00
Pat Laster
2e61580b99 Cleaner force_prompt_never 2022-10-17 17:40:33 -05:00
Niyaz Nigmatullin
505865cce8 split: fix ---io for clap 4 2022-10-18 00:21:27 +03:00
Sylvestre Ledru
969f821830
Merge pull request #4009 from andrewbaptist/fix_eof_linebytes
Match GNU semantics for missing EOF
2022-10-17 16:23:20 +02:00
Sylvestre Ledru
480f36fa41
Merge pull request #4055 from niyaznigmatullin/bump_bstr-1.0.1
Bump bstr 1.0.1
2022-10-17 16:22:48 +02:00
Niyaz Nigmatullin
3e907e0c06 Fix usage of for_byte_record_with_terminator from bstr 2022-10-17 11:00:23 +03:00
dependabot[bot]
e48125fc9c build(deps): bump bstr from 0.2.17 to 1.0.1
Bumps [bstr](https://github.com/BurntSushi/bstr) from 0.2.17 to 1.0.1.
- [Release notes](https://github.com/BurntSushi/bstr/releases)
- [Commits](https://github.com/BurntSushi/bstr/compare/0.2.17...1.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 10:58:56 +03:00
Sylvestre Ledru
15dc0aa6e7
Merge pull request #4052 from tertsdiepraam/docs-fix-usage-since-clap-4
docs: fix usage string since clap 4
2022-10-17 08:39:39 +02:00
Sylvestre Ledru
2b27925d6a
Merge pull request #4053 from niyaznigmatullin/cargo_update
`cargo +1.60.0 update`
2022-10-17 08:39:24 +02:00
Pat Laster
03578a7aca Fixed invert issue 2022-10-16 13:14:17 -05:00
Niyaz Nigmatullin
277e3d17a1 tests: change error messages for wrong arguments
Clap used `"` for argument values, now uses `'`.
2022-10-16 19:28:04 +03:00
Pat Laster
b612ce5cd7 Cleaner force_prompt_never 2022-10-16 10:57:12 -05:00
Niyaz Nigmatullin
39edd16c9f deps: cargo +1.60.0 update 2022-10-16 16:52:55 +03:00
Pat Laster
b3b90e453c Forgot fmt again 2022-10-15 17:41:11 -05:00
Pat Laster
1c507c6739 Updated to clap4 2022-10-15 17:39:10 -05:00
Terts Diepraam
ed6b4c8635 docs: fix usage string since clap 4 2022-10-15 22:30:52 +02:00
Pat Laster
430652193b Fixed merge conflicts 2022-10-15 15:08:28 -05:00
Pat Laster
7e62945fd3
Merge branch 'main' into rm-correct-prompts 2022-10-15 14:58:13 -05:00
Sylvestre Ledru
d9ca1d4805
Merge pull request #4050 from tertsdiepraam/package-install-docs
docs: installation.md fixes
2022-10-15 13:40:30 +02:00
Sylvestre Ledru
96721a0b1e
Merge pull request #4051 from tertsdiepraam/docs-url-update
Fix links to documentation after moving them
2022-10-15 13:40:17 +02:00
Terts Diepraam
9a0e47706c Fix links to documentation after moving them 2022-10-15 12:37:01 +02:00
Terts Diepraam
9d3a0835f7 docs: installation.md fixes 2022-10-15 11:45:28 +02:00
Sylvestre Ledru
23b0bb3da4
Merge pull request #3991 from tertsdiepraam/clap-4
Clap 4
2022-10-14 21:49:05 +02:00
Sylvestre Ledru
6fd64c83fa
Merge pull request #4048 from tertsdiepraam/package-install-docs
docs: add installation page with package managers
2022-10-14 21:15:54 +02:00
Sylvestre Ledru
563dde4403
Merge pull request #4046 from uutils/dependabot/cargo/smallvec-1.10.0
build(deps): bump smallvec from 1.9.0 to 1.10.0
2022-10-14 18:45:41 +02:00
Sylvestre Ledru
f2086b188c
Merge branch 'main' into dependabot/cargo/smallvec-1.10.0 2022-10-14 18:45:34 +02:00
Terts Diepraam
5c676ac268 docs: add installation page with package managers 2022-10-14 17:11:27 +02:00
Terts Diepraam
cbc8427419 uudoc: update to clap 4 2022-10-14 16:47:39 +02:00
Sylvestre Ledru
ec7c220daa
Merge pull request #4047 from uutils/dependabot/cargo/zip-0.6.3
build(deps): bump zip from 0.6.2 to 0.6.3
2022-10-14 13:35:26 +02:00
dependabot[bot]
2135673fd0
build(deps): bump zip from 0.6.2 to 0.6.3
Bumps [zip](https://github.com/zip-rs/zip) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/zip-rs/zip/releases)
- [Commits](https://github.com/zip-rs/zip/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 06:43:49 +00:00
dependabot[bot]
4480d6d714
build(deps): bump smallvec from 1.9.0 to 1.10.0
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.9.0...v1.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 06:43:33 +00:00
Pat Laster
21b066a58e Why is S_IWUSR showing up as a u16 on macos 2022-10-13 20:03:35 -05:00
Pat Laster
e89d9d091d Forgot .lock 2022-10-13 20:03:35 -05:00
Pat Laster
fddc8c9d9d More readable unix write permissions for directory using libc 2022-10-13 20:03:35 -05:00
Pat Laster
a3f35a726c Add override for prompting 2022-10-13 20:03:35 -05:00
Pat Laster
e11dd50eb4 Added comments 2022-10-13 20:03:35 -05:00
Pat Laster
355136936f Fixed force rm 2022-10-13 20:03:35 -05:00
Pat Laster
3a1098489e Small fix 2022-10-13 20:03:35 -05:00
Pat Laster
0507270f90 Clippy is going to be the death of me 2022-10-13 20:03:35 -05:00
Pat Laster
70bf4f36a0 Added test to check rm force prompts order 2022-10-13 20:03:35 -05:00
Pat Laster
3c39a57da0 Check force position in rm 2022-10-13 20:03:35 -05:00
Pat Laster
50d2948aa1 Fixed rm --force argument not forcing prompt to not show up 2022-10-13 20:03:35 -05:00
Pat Laster
6856ce0bf4 Fixed handle_writable_directory on windows 2022-10-13 20:03:35 -05:00
Pat Laster
1f50df2af6 Fixed spelling error 2022-10-13 20:03:35 -05:00