Commit graph

7541 commits

Author SHA1 Message Date
Sylvestre Ledru
b70a61aa11
Merge pull request #3449 from uutils/dependabot/cargo/pretty_assertions-1.2.1
build(deps): bump pretty_assertions from 1.0.0 to 1.2.1
2022-04-26 20:31:20 +02:00
dependabot[bot]
7a7311f5f6
build(deps): bump pretty_assertions from 1.0.0 to 1.2.1
Bumps [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions) from 1.0.0 to 1.2.1.
- [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases)
- [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/colin-kiegel/rust-pretty-assertions/compare/v1.0.0...v1.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-26 10:36:05 +00:00
Sylvestre Ledru
bb213887f4
Merge pull request #3446 from uutils/dependabot/cargo/clap_complete-3.1.2
build(deps): bump clap_complete from 3.1.1 to 3.1.2
2022-04-26 11:22:58 +02:00
dependabot[bot]
6fde02ecf6 build(deps): bump clap_complete from 3.1.1 to 3.1.2
Bumps [clap_complete](https://github.com/clap-rs/clap) from 3.1.1 to 3.1.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/clap_complete-v3.1.1...clap_complete-v3.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-26 09:45:21 +02:00
Sylvestre Ledru
2caa123bb4
Merge pull request #3444 from tertsdiepraam/dont-build-uudoc-by-default
uudoc: require a feature to build
2022-04-26 09:43:41 +02:00
Sylvestre Ledru
31190edb74
Merge pull request #3445 from uutils/dependabot/cargo/rand-0.8.5
build(deps): bump rand from 0.8.4 to 0.8.5
2022-04-26 09:13:59 +02:00
Terts Diepraam
094e6e623f
Merge pull request #3431 from sylvestre/skip
Remove an old skipped crate for nix 0.21.0
2022-04-25 23:21:33 +02:00
dependabot[bot]
186199c5d7 build(deps): bump rand from 0.8.4 to 0.8.5
Bumps [rand](https://github.com/rust-random/rand) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/0.8.4...0.8.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 23:15:00 +02:00
Sylvestre Ledru
641435d1dc
Merge pull request #3433 from uutils/dependabot/cargo/strum_macros-0.24.0
build(deps): bump strum_macros from 0.23.1 to 0.24.0
2022-04-25 23:08:35 +02:00
Sylvestre Ledru
51c0893564
Merge pull request #3434 from uutils/dependabot/cargo/z85-3.0.5
build(deps): bump z85 from 3.0.4 to 3.0.5
2022-04-25 23:07:54 +02:00
Sylvestre Ledru
52808615ed
Merge pull request #3443 from rtzoeller/nix_0.24.1_ctrlc_3.2.2
Upgrade nix to 0.24.1, ctrlc to 3.2.2
2022-04-25 23:05:52 +02:00
Sylvestre Ledru
f3e5f31279 remove an old skipped crate for nix 0.21.0 2022-04-25 08:14:03 +02:00
dependabot[bot]
681f5c88e2 build(deps): bump strum_macros from 0.23.1 to 0.24.0
Bumps [strum_macros](https://github.com/Peternator7/strum) from 0.23.1 to 0.24.0.
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 08:13:59 +02:00
dependabot[bot]
8f8aa61e6a build(deps): bump z85 from 3.0.4 to 3.0.5
Bumps [z85](https://github.com/decafbad/z85) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/decafbad/z85/releases)
- [Commits](https://github.com/decafbad/z85/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 08:13:54 +02:00
Terts Diepraam
a10f234854 uudoc: require a feature to build
This is used to not build uudoc by default. See https://github.com/uutils/coreutils/issues/3411
2022-04-25 08:13:28 +02:00
Ryan Zoeller
363a2a5611 Upgrade nix to 0.24.1, ctrlc to 3.2.2
Limit nix features, which should help compile times slightly.

Replace usage of deprecated nix functionality with std equivalent.
2022-04-25 08:13:20 +02:00
Sylvestre Ledru
91ccdb6479
Merge pull request #3442 from uutils/revert-3423-remove_trailing_spaces_in_rightmost_column
Revert "df: remove trailing spaces in rightmost column"
2022-04-25 08:13:10 +02:00
Sylvestre Ledru
181ebd3996
Revert "df: remove trailing spaces in rightmost column" 2022-04-24 20:39:39 +02:00
Terts Diepraam
96807e4db8
Merge pull request #3441 from cakebaker/ticket_3416
df: allow sizes with a suffix for --block-size
2022-04-24 18:25:03 +02:00
Daniel Hofstetter
0f13de4e1a df: allow sizes with a suffix for --block-size
Fixes #3416
2022-04-24 15:37:23 +02:00
Sylvestre Ledru
ed5bd136d4
Merge pull request #3437 from cakebaker/fix_todo_in_test_df
df: simplify get_header() in test_block_size_1024
2022-04-23 19:26:34 +02:00
Daniel Hofstetter
78dc90124e df: simplify get_header() in test_block_size_1024 2022-04-23 16:56:06 +02:00
Sylvestre Ledru
5088ddc377
Merge pull request #3408 from cakebaker/ticket_3325
df: respect -t arg when specific file is provided
2022-04-23 09:24:08 +02:00
Terts Diepraam
a03e9c7d8b
Merge pull request #3432 from cakebaker/remove_unreachable_code
df: remove unreachable code
2022-04-23 01:03:06 +02:00
Terts Diepraam
0324be1f17
Merge pull request #3436 from cakebaker/fix_use_of_undeclared_crate_nix
Add "nix" to Cargo.toml to fix compile error
2022-04-22 22:45:59 +02:00
Daniel Hofstetter
88c2b445e5 Add "nix" to Cargo.toml 2022-04-22 17:17:17 +02:00
Sylvestre Ledru
48a521224e
Merge pull request #3396 from jtracey/android2
fix Android support
2022-04-22 16:06:12 +02:00
Daniel Hofstetter
2d4552cce4 df: respect -t arg when specific file is provided
Fixes #3325
2022-04-22 10:27:25 +02:00
Sylvestre Ledru
4ea443bf42
Merge pull request #3407 from uutils/dependabot/cargo/crossterm-0.23.2
build(deps): bump crossterm from 0.23.1 to 0.23.2
2022-04-21 21:32:51 +02:00
Sylvestre Ledru
f684162e21
Merge pull request #3403 from uutils/dependabot/cargo/remove_dir_all-0.7.0
build(deps): bump remove_dir_all from 0.5.3 to 0.7.0
2022-04-21 21:32:23 +02:00
Daniel Hofstetter
8d1e340d80 df: remove unreachable code 2022-04-21 15:24:52 +02:00
Terts Diepraam
e8574ca184
Merge pull request #3418 from cakebaker/ticket_3409
df: show error if all types are excluded
2022-04-20 23:51:36 +02:00
Sylvestre Ledru
ddb87d500f
Allow v0.5.3 of remove_all_dir for tempfile 2022-04-20 19:10:20 +02:00
Sylvestre Ledru
4c5f586e33
Allow 0.10.2+wasi-snapshot-preview1 of wasi for getrandom 2022-04-20 19:01:57 +02:00
Sylvestre Ledru
4ed3bbe705
Merge pull request #3423 from cakebaker/remove_trailing_spaces_in_rightmost_column
df: remove trailing spaces in rightmost column
2022-04-20 11:42:27 +02:00
Sylvestre Ledru
f6dafbc950
Merge pull request #3429 from cakebaker/ticket_3425
df: fix "File" column width for unicode filenames
2022-04-20 10:50:07 +02:00
Justin Tracey
67a01a5d79 preserve LD_PRELOAD in the test env 2022-04-20 08:44:49 +02:00
Justin Tracey
4caeb2ff1d add Android to CICD 2022-04-20 08:44:49 +02:00
Justin Tracey
1f025c19af address libc weirdness on 32 bit android 2022-04-20 08:44:49 +02:00
Justin Tracey
2a0d58d060 get android builds to compile and pass tests 2022-04-20 08:44:49 +02:00
Justin Tracey
5e7d58650d fix null pointer derefs
The code for creating a Passwd from the fields of the raw syscall result
assumed that the syscall would return valid C strings in all non-error
cases. This is not true, and at least one platform (Android) will
populate the fields with null pointers where they are not supported.

To fix this and prevent the error from happening again, this commit
changes `cstr2string(ptr)` to check for a null pointer, and return an
`Option<String>`, with `None` being the null pointer case. While
arguably it should be the caller's job to check for a null pointer
before calling (since the safety precondition is that the pointer is to
a valid C string), relying on the type checker to force remembering this
edge case is safer in the long run.
2022-04-20 08:44:49 +02:00
Sylvestre Ledru
45b29d287f
Remove an old comment
We have windows stable in the CI:
https://github.com/uutils/coreutils/runs/6082164374?check_suite_focus=true
And no longer Redox:
https://github.com/uutils/coreutils/pull/2550
2022-04-20 08:37:53 +02:00
Terts Diepraam
cce2eebf98
Merge pull request #3420 from sylvestre/install-verbose
install: verbose - list all created directories
2022-04-19 18:56:57 +02:00
Terts Diepraam
68d5a5a9b8
Merge pull request #3424 from sylvestre/coreutils-update2
update another ref to coreutils 9.1
2022-04-19 18:48:56 +02:00
Sylvestre Ledru
bfaf7616e2
Improve the GNU doc when a test uses $fail 2022-04-19 17:20:37 +02:00
Daniel Hofstetter
9de407b1f0 df: fix "File" column width for unicode filenames
Fixes #3425
2022-04-19 11:09:46 +02:00
Daniel Hofstetter
cc4b28780b df: show error if all types are excluded
Fixes #3409
2022-04-19 09:10:37 +02:00
Daniel Hofstetter
576ec49fa5 df: remove trailing spaces in rightmost column 2022-04-19 08:13:35 +02:00
Sylvestre Ledru
346902e30b
Merge pull request #3428 from cakebaker/fix_test_df_output_overridden
df: fix broken "test_df_output_overridden" test
2022-04-19 08:06:39 +02:00
Daniel Hofstetter
0d7f99a21f df: fix broken "test_df_output_overridden" test 2022-04-19 07:46:00 +02:00