Sylvestre Ledru
1fccafe2b1
Merge pull request #4170 from sylvestre/deny
...
Remove some old and unused info from cargo-deny
2022-11-21 09:27:53 +01:00
Sylvestre Ledru
bdd67b7203
Remove some old and unused info from cargo-deny
2022-11-20 20:35:44 +01:00
Sylvestre Ledru
9e859e98c1
Merge pull request #4168 from sylvestre/lscolors
...
update lscolors to switch to nu_ansi_term
2022-11-20 20:35:21 +01:00
Sylvestre Ledru
a6ed764c87
Merge pull request #4167 from miles170/issue-4163-fix-ci-freebsd
...
CI: increase the FreeBSD memory limit to 4096
2022-11-20 16:56:22 +01:00
Sylvestre Ledru
406f5978a0
ignore bindgen 0.60.1
2022-11-20 16:51:10 +01:00
Sylvestre Ledru
edc08f59fb
update lscolors to switch to nu_ansi_term
2022-11-20 13:46:02 +01:00
Miles Liu
9e8c422b3f
CI: increase the FreeBSD memory limit to 4096
2022-11-20 19:58:07 +08:00
Miles Liu
3896aa31be
cp: fix cp --force --backup f f
fails on macOS
2022-11-20 18:14:42 +08:00
Sylvestre Ledru
e6ff094e54
Merge pull request #4157 from miles170/ci-update-actions
...
CI: update actions to run on Node 16
2022-11-19 19:40:48 +01:00
jfinkels
881e63a2f6
Merge pull request #4160 from jfinkels/dd-test-lazy-reader
...
dd: move tests of slow reader to test_dd.rs
2022-11-19 11:26:38 -05:00
Sylvestre Ledru
3d960570eb
Merge pull request #4141 from uutils/dependabot/cargo/selinux-0.3.1
...
build(deps): bump selinux from 0.3.0 to 0.3.1
2022-11-19 16:28:45 +01:00
Miles Liu
584f3cd0b2
CI: replace actions-rs/install with cargo install
2022-11-19 16:28:08 +01:00
Miles Liu
418fe6d758
CI: remove use of actions-rs/toolchain
2022-11-19 16:28:08 +01:00
Miles Liu
af7e4180ec
CI: remove use of actions-rs/cargo
2022-11-19 16:28:08 +01:00
Miles Liu
61b7ff8116
CI: resolve rust-cache misplacement and cache conflict
2022-11-19 16:28:08 +01:00
Jeffrey Finkelstein
903ad1656d
dd: move tests of slow reader to test_dd.rs
...
Move some tests that simulate a slow reader from `dd.rs` to
`tests/by-util/test_dd.rs`, and employ a FIFO and `sleep()` to
simulate the slow reader instead of a custom struct that implements
`Read`. This change restricts the type of `Input`s the
`Output::dd_out()` function can accept, facilitating a future change
to make `Input` an enum.
2022-11-19 09:27:23 -05:00
Terts Diepraam
5acb0227aa
Merge pull request #4134 from jfinkels/dd-output-enums
...
dd: create Dest enum and simpler Output struct
2022-11-19 14:52:46 +01:00
Terts Diepraam
1b35e467ac
Merge pull request #4137 from jfinkels/dd-bytes-suffix
...
dd: allow B as a suffix for count, seek, and skip
2022-11-19 12:23:43 +01:00
Terts Diepraam
38e810a122
Merge pull request #4161 from miles170/stat-remove-unused-import
...
stat: remove unused import
2022-11-19 11:53:40 +01:00
Miles Liu
b2b3512749
stat: remove unused import
2022-11-19 17:37:59 +08:00
Sylvestre Ledru
0e3d3f780b
Merge pull request #4155 from miles170/issue-3779-fix-ci-freebsd
...
CI: fix FreeBSD CI passed when tests failed
2022-11-19 10:06:59 +01:00
Sylvestre Ledru
6d7850549b
Merge pull request #4150 from tertsdiepraam/stat-refactor
...
`stat` refactor
2022-11-19 09:57:23 +01:00
Jeffrey Finkelstein
701550d76b
dd: allow B as a suffix for count, seek, and skip
...
Allow uppercase "B" on its own as a unit specifier for the `count`,
`seek`, and `skip` arguments to `dd`.
For example,
$ printf "abcdef" | dd count=3B status=none
abc
2022-11-18 20:27:42 -05:00
Jeffrey Finkelstein
847378f8d2
uucore: create parse_size::Parser struct
...
Add a `uucore::parse_size::Parser` struct which will allow future
commits to add fields that change the behavior of `parse_size()`.
2022-11-18 20:27:34 -05:00
Sylvestre Ledru
4d16132948
date: add a test for the issue 3780 to make sure we don't regress
2022-11-18 21:32:59 +01:00
Miles Liu
b641aa36e6
CI: fix "uucore no unix feature" on freeBSD
2022-11-19 00:05:37 +08:00
Miles Liu
a446324681
CI: fix /dev/fd errors on FreeBSD
2022-11-19 00:05:37 +08:00
Miles Liu
d748e3900b
test_cp: ignore failing tests for FreeBSD
2022-11-19 00:05:37 +08:00
Miles Liu
3d51291685
CI: fix FreeBSD CI passed when tests failed
2022-11-19 00:04:34 +08:00
Terts Diepraam
2f311c7a2d
Merge pull request #4156 from uutils/dependabot/github_actions/Swatinem/rust-cache-2
...
build(deps): bump Swatinem/rust-cache from 1 to 2
2022-11-18 11:44:33 +01:00
dependabot[bot]
f8e2be57dd
build(deps): bump Swatinem/rust-cache from 1 to 2
...
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache ) from 1 to 2.
- [Release notes](https://github.com/Swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Swatinem/rust-cache/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-18 06:06:30 +00:00
Sylvestre Ledru
435ef5da8b
Merge pull request #4132 from tertsdiepraam/sort-accept-sort-mode-multiple-times
...
`sort`: allow a sort mode to appear multiple times
2022-11-17 21:43:28 +01:00
Sylvestre Ledru
54b4b5609b
Merge pull request #4153 from uutils/dependabot/cargo/clap-4.0.26
...
build(deps): bump clap from 4.0.24 to 4.0.26
2022-11-17 21:42:42 +01:00
Sylvestre Ledru
cb9e5588d7
Merge pull request #4148 from tertsdiepraam/prompt_yes
...
`uucore`: add `prompt_yes` macro
2022-11-17 21:42:01 +01:00
Terts Diepraam
33cbc94f25
rm: use uucore::prompt_yes over custom prompt function
2022-11-17 15:12:18 +01:00
Terts Diepraam
91df2b1709
mv: use uucore::prompt_yes over custom function
2022-11-17 15:11:19 +01:00
Terts Diepraam
7bb0e8f849
ln: use uucore::prompt_yes over custom function
2022-11-17 15:10:26 +01:00
Terts Diepraam
ed34264b95
cp: use uucore prompt_yes instead of custom
2022-11-17 15:09:34 +01:00
Terts Diepraam
6cdcfca573
uucore: add prompt_yes!() and read_yes()
...
These functions are based on existing functions and macros
in utils `cp`, `ln`, `mv ` and `rm`. This unifies the separate
implementations.
2022-11-17 15:06:49 +01:00
Sylvestre Ledru
c00fc0a8c4
Merge pull request #4146 from niyaznigmatullin/clippy_fix
...
Run `cargo +nightly clippy --fix`
2022-11-17 10:33:40 +01:00
dependabot[bot]
69c56f82bb
build(deps): bump clap from 4.0.24 to 4.0.26
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.24 to 4.0.26.
- [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.24...v4.0.26 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-17 09:31:17 +00:00
Sylvestre Ledru
14f22a26b8
Merge pull request #4152 from uutils/dependabot/cargo/digest-0.10.6
...
build(deps): bump digest from 0.10.5 to 0.10.6
2022-11-17 10:29:07 +01:00
Sylvestre Ledru
00786cd8d3
Merge pull request #4151 from miles170/issue-4149-refactor-use
...
uu: use normal use declarations to import macros
2022-11-17 08:48:15 +01:00
dependabot[bot]
59c9063248
build(deps): bump digest from 0.10.5 to 0.10.6
...
Bumps [digest](https://github.com/RustCrypto/traits ) from 0.10.5 to 0.10.6.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/digest-v0.10.5...digest-v0.10.6 )
---
updated-dependencies:
- dependency-name: digest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-17 06:13:25 +00:00
Miles Liu
d505df5369
uu: use normal use declarations to import macros
2022-11-17 11:49:23 +08:00
Terts Diepraam
82464b703a
stat: remove extend_digits and print_adjusted in favor of format!
2022-11-17 01:25:10 +01:00
Terts Diepraam
3499bdaeac
stat: change precision from i32 to Option<usize>
2022-11-17 00:13:20 +01:00
Terts Diepraam
cdb777a243
stat: remove pub after moving tests
2022-11-16 23:47:45 +01:00
Terts Diepraam
b0894f86ed
stat: minor cleanup
2022-11-16 23:45:35 +01:00
Terts Diepraam
406df12b18
stat: make OutputType carry data, instead of turning everthing immediately into a string
2022-11-16 22:23:03 +01:00