dependabot[bot]
5dc1a3759a
build(deps): bump clap from 3.1.15 to 3.1.18
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.15 to 3.1.18.
- [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/v3.1.15...v3.1.18 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-17 12:41:32 +02:00
Sylvestre Ledru
e337826a11
Merge pull request #3536 from uutils/dependabot/cargo/signal-hook-0.3.14
...
build(deps): bump signal-hook from 0.3.13 to 0.3.14
2022-05-17 12:32:49 +02:00
Sylvestre Ledru
7792af336e
Merge pull request #3535 from uutils/dependabot/cargo/libc-0.2.126
...
build(deps): bump libc from 0.2.125 to 0.2.126
2022-05-17 12:32:22 +02:00
Terts Diepraam
eac0760905
Merge pull request #3528 from jfinkels/clippy-fixes
...
all: clippy fixes
2022-05-17 11:57:47 +02:00
dependabot[bot]
8d0572a3ba
build(deps): bump signal-hook from 0.3.13 to 0.3.14
...
Bumps [signal-hook](https://github.com/vorner/signal-hook ) from 0.3.13 to 0.3.14.
- [Release notes](https://github.com/vorner/signal-hook/releases )
- [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vorner/signal-hook/compare/v0.3.13...v0.3.14 )
---
updated-dependencies:
- dependency-name: signal-hook
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-17 07:13:56 +00:00
dependabot[bot]
cd743c2fd1
build(deps): bump libc from 0.2.125 to 0.2.126
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.125 to 0.2.126.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.125...0.2.126 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-17 07:13:42 +00:00
Sylvestre Ledru
e6b721ef9c
Merge pull request #3532 from uutils/dependabot/cargo/lscolors-0.10.0
...
build(deps): bump lscolors from 0.9.0 to 0.10.0
2022-05-17 09:12:07 +02:00
Sylvestre Ledru
3f682d208a
Merge pull request #3533 from uutils/dependabot/cargo/rayon-1.5.3
...
build(deps): bump rayon from 1.5.2 to 1.5.3
2022-05-17 09:11:17 +02:00
353fc443 aka Seagull
2086d04996
Merge branch 'main' into mktemp-set-dir-mode
2022-05-17 04:58:03 +00:00
Jan Scheer
409878e323
Merge branch 'main' into tail_notify
2022-05-16 22:45:52 +02:00
Jan Scheer
90cef98a14
tail: implement follow
for stdin (pipe, fifo, and redirects)
...
* implement behavior to pass `gnu/tests/tail-2/follow-stdin.sh`
* add stdin redirect using the same /dev/stdin-workaround used by uu_stat
* refactor
2022-05-16 22:27:41 +02:00
Jan Scheer
ede73745f5
test_tail: add various tests for follow-stdin and redirect-stdin
...
* add various tests adapted from `gnu/tests/tail-2/follow-stdin.sh`
* explicitly set_stdin to null where needed, otherwise stdin is always
`piped`
* tighten some existing tests (no_stderr, code_is, etc)
* add test for fifo
2022-05-16 22:17:09 +02:00
Jan Scheer
5aee95b4e5
tail: add check to detect a closed file descriptor
...
This is WIP or even WONT-FIX because there's a workaround in Rust's
stdlib which prevents us from detecting a closed FD.
see also the discussion at:
https://github.com/uutils/coreutils/issues/2873
2022-05-16 22:10:27 +02:00
Jan Scheer
59827bca1a
test_tail: add various tests for stdin-follow and stdin-redirect
...
* add various tests adapted from `gnu/tests/tail-2/follow-stdin.sh`
* explicitly set_stdin to null where needed, otherwise stdin is always
`piped`
* tighten some existing tests (no_stderr, code_is, etc)
* add test for fifo
2022-05-16 22:02:47 +02:00
Jan Scheer
5004d4b458
build-gnu: replace timeout
for tests/tail/follow-stdin.sh
...
* `tests/tail-2/follow-stdin.sh` will hang undefinedly if uu_timeout
is used
2022-05-16 21:09:51 +02:00
353fc443
2383950403
mktemp: Added tests for checking directory permissions
2022-05-16 18:05:59 +00:00
dependabot[bot]
a79d2263dd
build(deps): bump rayon from 1.5.2 to 1.5.3
...
Bumps [rayon](https://github.com/rayon-rs/rayon ) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/rayon-rs/rayon/releases )
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md )
- [Commits](https://github.com/rayon-rs/rayon/compare/v1.5.2...v1.5.3 )
---
updated-dependencies:
- dependency-name: rayon
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 07:01:16 +00:00
dependabot[bot]
9090457f02
build(deps): bump lscolors from 0.9.0 to 0.10.0
...
Bumps [lscolors](https://github.com/sharkdp/lscolors ) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/sharkdp/lscolors/releases )
- [Commits](https://github.com/sharkdp/lscolors/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: lscolors
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 07:01:00 +00:00
Daniel Hofstetter
576aafb00f
df: fix incorrect rounding of size header
2022-05-15 16:25:17 +02:00
Sylvestre Ledru
40095e1b50
Merge pull request #3438 from jfinkels/chown-nonexistent-user-id
...
chown: allow setting arbitrary numeric user ID
2022-05-14 09:20:01 +02:00
Sylvestre Ledru
9044d96123
Merge pull request #3523 from jhscheer/fix_stat_redirect
...
test_stat: expand scope for stdin tests
2022-05-14 09:18:40 +02:00
Sylvestre Ledru
0a7ff713e0
Merge pull request #3524 from tertsdiepraam/clap-value-hints
...
Clap value hints
2022-05-14 09:18:04 +02:00
Sylvestre Ledru
f0262eebf0
Merge pull request #3526 from cakebaker/ticket_3479
...
df: round up values if block size is specified
2022-05-14 09:14:15 +02:00
ilkecan
530d5f6dbf
mv: allow a single source with --target-directory
2022-05-14 03:00:29 +00:00
Jeffrey Finkelstein
896bbec760
all: clippy fixes
2022-05-13 22:47:56 -04:00
Sylvestre Ledru
8891571e9a
Merge pull request #3522 from cakebaker/add_missing_default_blocksize_test
...
df: test default blocksize in POSIX mode
2022-05-13 18:47:29 +02:00
Sylvestre Ledru
bcdb247cda
Merge pull request #3525 from uutils/dependabot/github_actions/vmactions/freebsd-vm-0.1.6
...
build(deps): bump vmactions/freebsd-vm from 0.1.5 to 0.1.6
2022-05-13 18:46:37 +02:00
Daniel Hofstetter
996a84cb6f
df: round up values if block size is specified
...
Fixes #3479
2022-05-13 16:43:28 +02:00
Terts Diepraam
0acfa07d77
all: add value hints
2022-05-13 16:15:50 +02:00
dependabot[bot]
5d628310fc
build(deps): bump vmactions/freebsd-vm from 0.1.5 to 0.1.6
...
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm ) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases )
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.1.5...v0.1.6 )
---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-13 06:45:15 +00:00
Jan Scheer
fa94591b72
test_stat: expand scope for stdin tests
...
On Android and macOS all/some tests for stdin fail with:
`cannot stat '-': No such file or directory`
Apparently the `/dev/stdin` redirect workaround doesn't work for
these targets.
2022-05-12 22:49:34 +02:00
Terts Diepraam
369026a92f
tr: remove duplicate line from clap::Command
2022-05-12 22:34:08 +02:00
Jan Scheer
1de10b8333
Merge branch 'main' into fix_stat_redirect
2022-05-12 19:13:47 +02:00
Daniel Hofstetter
598dc79b69
df: test default blocksize in POSIX mode
2022-05-12 10:11:24 +02:00
Sylvestre Ledru
52cf8fbb99
cargo deny: ignore hashbrow dup 0.11.2
...
Fix:
error[B004]: found 2 duplicate entries for crate 'hashbrown'
┌─ /github/workspace/Cargo.lock:81:1
│
81 │ ╭ hashbrown 0.11.2 registry+https://github.com/rust-lang/crates.io-index
82 │ │ hashbrown 0.12.0 registry+https://github.com/rust-lang/crates.io-index
│ ╰──────────────────────────────────────────────────────────────────────^ lock entries
2022-05-12 09:09:11 +02:00
dependabot[bot]
d34a4190df
build(deps): bump rust-ini from 0.17.0 to 0.18.0
...
Bumps [rust-ini](https://github.com/zonyitoo/rust-ini ) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/zonyitoo/rust-ini/releases )
- [Commits](https://github.com/zonyitoo/rust-ini/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: rust-ini
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-12 09:09:11 +02:00
Jeffrey Finkelstein
5713de4d93
fixup! uucore(perms): better support nameless uids, gids
2022-05-12 08:41:17 +02:00
Jeffrey Finkelstein
3029d83a36
Revert "WIP Trying to diagnose 'invalid group: 1001:121' error in CI environment"
...
This reverts commit 291fb3ad71a0e93705509a352fd95de7539402ed.
2022-05-12 08:41:17 +02:00
Jeffrey Finkelstein
f56903493c
WIP Trying to diagnose 'invalid group: 1001:121' error in CI environment
2022-05-12 08:41:17 +02:00
Jeffrey Finkelstein
163df8abc1
fixup! chown: allow setting arbitrary numeric user ID
2022-05-12 08:41:17 +02:00
Jeffrey Finkelstein
55550e1a6e
chown: allow setting arbitrary numeric user ID
...
Update `chown` to allow setting the owner of a file to a numeric user
ID regardless of whether a corresponding username exists on the
system.
For example,
$ touch f && sudo chown 12345 f
succeeds even though there is no named user with ID 12345.
Fixes #3380 .
2022-05-12 08:41:17 +02:00
Jeffrey Finkelstein
08b6dd4975
uucore(perms): better support nameless uids, gids
...
Update the `wrap_chown()` function to support user IDs and group IDs
that do not correspond to named users or groups, respectively. Before
this commit, the result from `uid2usr()` and `gid2grp()` calls were
unwrapped because we assumed a user name or group name, respectively,
existed. However, this is not always true: for example, running the
command `sudo chown 12345 f` works even if there is no named user with
ID 12345. This commit expands `wrap_chown()` to work even if no name
exists for the user or group.
2022-05-12 08:41:17 +02:00
Sylvestre Ledru
6f5d5aa456
Merge pull request #3492 from uutils/dependabot/github_actions/codecov/codecov-action-3
...
build(deps): bump codecov/codecov-action from 1 to 3
2022-05-12 08:40:16 +02:00
Sylvestre Ledru
565e4855ca
Merge pull request #3493 from uutils/dependabot/github_actions/EndBug/add-and-commit-9
...
build(deps): bump EndBug/add-and-commit from 7 to 9
2022-05-12 08:40:02 +02:00
Sylvestre Ledru
91653fff28
Merge pull request #3494 from uutils/dependabot/github_actions/actions/cache-3
...
build(deps): bump actions/cache from 2 to 3
2022-05-12 08:39:40 +02:00
Sylvestre Ledru
8f5af59f48
Merge pull request #3507 from uutils/dependabot/cargo/clap_complete-3.1.4
...
build(deps): bump clap_complete from 3.1.3 to 3.1.4
2022-05-12 08:39:02 +02:00
Sylvestre Ledru
a3e4f7d375
Merge pull request #3495 from uutils/dependabot/github_actions/actions/checkout-3
...
build(deps): bump actions/checkout from 2 to 3
2022-05-12 08:36:50 +02:00
Sylvestre Ledru
296374c2b0
Merge pull request #3496 from uutils/dependabot/github_actions/actions/upload-artifact-3
...
build(deps): bump actions/upload-artifact from 2 to 3
2022-05-12 08:36:20 +02:00
Sylvestre Ledru
6a9a7d76fc
Merge pull request #3498 from jhscheer/fix_stat_redirect
...
stat: improve handling of stdin/fifo (fix #3485 )
2022-05-12 08:35:43 +02:00
Sylvestre Ledru
e1adde913f
Merge pull request #3508 from uutils/dependabot/cargo/unindent-0.1.9
...
build(deps): bump unindent from 0.1.8 to 0.1.9
2022-05-12 08:35:09 +02:00