Commit graph

9293 commits

Author SHA1 Message Date
Sylvestre Ledru
e307f624e8
Merge pull request #4201 from niyaznigmatullin/ubuntu-20.04_for_GNUTests
gnu-tests: rollback to `ubuntu-20.04` for gnu-tests until fixed
2022-11-29 22:51:42 +01:00
Niyaz Nigmatullin
328b387dbd gnu-tests: rollback to ubuntu-20.04 for gnu-tests until it fixed 2022-11-29 18:43:12 +02:00
Sylvestre Ledru
27958a27ef
Merge pull request #4159 from sylvestre/issue_3780
date: add a test for the issue 3780 to make sure we don't regress
2022-11-27 18:24:07 +01:00
Sylvestre Ledru
96fab62421
Merge pull request #4182 from cakebaker/ci_remove_python_pyinotify_dependency
CI: change python-pyinotify to python3-pyinotify
2022-11-26 13:36:52 +01:00
Daniel Hofstetter
f079c7aa80 CI: change python-pyinotify to python3-pyinotify 2022-11-24 15:30:02 +01:00
Sylvestre Ledru
af804df9a2
Merge pull request #4166 from miles170/issue-4080-cp-fails-on-mac
cp: fix `cp --force --backup f f` fails on macOS
2022-11-21 21:13:35 +01:00
Sylvestre Ledru
aa0c00aeb2
Merge pull request #4174 from niyaznigmatullin/cargo_update
deps: bump `textwrap` to `0.16` and `cargo +1.60.0 update`
2022-11-21 15:35:58 +01:00
Niyaz Nigmatullin
fd42953984 deny: modify duplicate packages 2022-11-21 10:46:59 +02:00
Niyaz Nigmatullin
7ca3f0b338 deps: bump textwrap to 0.16 and cargo +1.60.0 update 2022-11-21 10:40:44 +02:00
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