Commit graph

8728 commits

Author SHA1 Message Date
Sylvestre Ledru
0f2067f0b9
Merge pull request #3901 from jfinkels/cp-refactor-copy-direntry
cp: move copy_directory() to its own module
2022-10-20 07:45:26 +02:00
Jeffrey Finkelstein
aeba601335 cp: break up copy_directory() into helper funcs
Add some additional structs and helper functions to make the code in
`copydir.rs` easier to read and maintain. This commit changes only the
organization of the code, not its function.
2022-10-19 22:39:34 -04:00
Jeffrey Finkelstein
d8146d1b5c cp: move copy_directory to new module copydir.rs
Move the `copy_directory()` helper function to a new module
`copydir.rs`. This commit only changes the organization of the code,
not its behavior.
2022-10-19 22:39:12 -04:00
Jeffrey Finkelstein
11d3e0f743 cp: refactor Options::preserve_hard_links()
Refactor common code into a helper method
`Options::preserve_hard_links()`. This also eliminates the need for
mutability in a local variable in two places.
2022-10-19 22:35:10 -04:00
Sylvestre Ledru
536dd90ce5
Merge pull request #4062 from uutils/dependabot/cargo/clap-4.0.17
build(deps): bump clap from 4.0.16 to 4.0.17
2022-10-19 11:31:47 +02:00
Sylvestre Ledru
1b45e50655
Merge pull request #4063 from uutils/dependabot/cargo/sha3-0.10.6
build(deps): bump sha3 from 0.10.5 to 0.10.6
2022-10-19 11:31:22 +02:00
dependabot[bot]
e2c368cee0
build(deps): bump sha3 from 0.10.5 to 0.10.6
Bumps [sha3](https://github.com/RustCrypto/hashes) from 0.10.5 to 0.10.6.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/sha3-v0.10.5...sha3-v0.10.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 06:27:28 +00:00
dependabot[bot]
e538235945
build(deps): bump clap from 4.0.16 to 4.0.17
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.16 to 4.0.17.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.0.16...v4.0.17)

---
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-19 06:27:07 +00: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
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
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
Niyaz Nigmatullin
39edd16c9f deps: cargo +1.60.0 update 2022-10-16 16:52:55 +03:00
Terts Diepraam
ed6b4c8635 docs: fix usage string since clap 4 2022-10-15 22:30:52 +02: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
Terts Diepraam
23ef35e184 deny: add clap to exception (v3 still used by bindgen) 2022-10-13 23:13:28 +02:00
Terts Diepraam
23fc898f79 chcon: fix update to clap 4 2022-10-13 23:05:02 +02:00
Terts Diepraam
9e1902eae3 build-gnu: fix test for basenc 2022-10-13 23:04:58 +02:00
Sylvestre Ledru
2021c56dd0
Merge pull request #4045 from tertsdiepraam/phf-0.11
deps: update phf to 0.11.1
2022-10-13 21:18:28 +02:00
Terts Diepraam
14e3c5176c realpath: require arguments again 2022-10-13 20:06:27 +02:00
Terts Diepraam
b0c200e831 env: handle - correctly again 2022-10-13 20:06:02 +02:00
Terts Diepraam
d6753d8914 uucore: remove string leak in format_usage 2022-10-13 17:55:02 +02:00
Terts Diepraam
84b7ecd32d coreutils: update to clap 4 2022-10-13 17:51:01 +02:00
Terts Diepraam
153614c40e tests: update to clap 4 2022-10-13 17:50:43 +02:00
Terts Diepraam
d7b08a01b1 yes: update to clap 4 2022-10-13 17:50:43 +02:00
Terts Diepraam
bfd310553d whoami: update to clap 4 2022-10-13 17:50:43 +02:00
Terts Diepraam
53567deb0f who: update to clap 4 2022-10-13 17:50:43 +02:00
Terts Diepraam
92c4b32eeb wc: update to clap 4 2022-10-13 17:50:43 +02:00
Terts Diepraam
60d51910e6 users: update to clap 4 2022-10-13 17:50:43 +02:00