Thomas Queiroz
0b24839a1e
tests/ls: add --group-directories-first test
2022-05-21 18:57:53 -03:00
Thomas Queiroz
c4606266e4
tests/ls: update version sort test
2022-05-21 18:50:26 -03:00
Thomas Queiroz
bcb9821e24
ls: take into account "." and ".." when sorting
2022-05-21 18:04:17 -03:00
Sylvestre Ledru
7dae3f7b9a
Merge branch 'main' into tail_notify
2022-05-21 09:41:02 +02:00
Sylvestre Ledru
d92107362b
Merge pull request #3521 from jfinkels/mktemp-tmpdir-absolute-path
...
mktemp: correct error message on absolute path
2022-05-21 09:40:33 +02:00
Sylvestre Ledru
bda9f9f889
Merge pull request #3529 from ilkecan/mv-target-dir
...
mv: allow a single source with --target-directory
2022-05-21 09:40:16 +02:00
Sylvestre Ledru
3ea6720d46
Update extension ID for rust-analyzer vscode extension recommendation
2022-05-21 09:22:24 +02:00
Thomas Queiroz
55a68bca80
ls: implement --group-directories-first
2022-05-21 02:55:45 -03:00
Sylvestre Ledru
9db0a877aa
Merge pull request #3548 from cakebaker/suppress_clippy_error
...
df/uniq: suppress lint errors
2022-05-20 19:41:01 +02:00
Daniel Hofstetter
af5ef5585f
df/uniq: suppress lint errors
2022-05-20 17:00:56 +02:00
Sylvestre Ledru
c517096e19
Merge pull request #3543 from jfinkels/mktemp-suffix-path-separator
...
mktemp: fix error msg when suffix has path sep.
2022-05-20 11:56:47 +02:00
Sylvestre Ledru
27ccb3df2a
Merge pull request #3501 from tertsdiepraam/kill-group-id
...
`kill`: kill process group with negative id
2022-05-20 11:53:45 +02:00
Sylvestre Ledru
9fb19c12a3
Merge pull request #3530 from cakebaker/fix_size_header_rounding
...
df: fix incorrect rounding of size header
2022-05-20 10:27:25 +02:00
Sylvestre Ledru
ae7d8aac46
Merge pull request #3539 from jfinkels/seq-usage-error
...
seq: use usage error where appropriate
2022-05-20 10:26:55 +02:00
Sylvestre Ledru
7a599c26ff
dependabot: remove trailing space
2022-05-20 09:27:44 +02:00
Jan Scheer
a62f71f93e
Merge branch 'main' into tail_notify
2022-05-19 23:00:31 +02:00
Jan Scheer
84480f892d
tail: add equivalent of stdin_is_pipe_or_fifo() for Windows
...
* add support to determine if stdin is readable on Windows
2022-05-19 22:55:47 +02:00
Jeffrey Finkelstein
6260333415
mktemp: fix error msg when suffix has path sep.
...
Correct the error message when the template argument contains a path
separator in its suffix. Before this commit:
$ mktemp aXXX/b
mktemp: too few X's in template 'b'
After this commit:
$ mktemp aXXX/b
mktemp: invalid suffix '/b', contains directory separator
This error message is more appropriate and matches the behavior of GNU
mktemp.
2022-05-19 15:46:04 +02:00
Sylvestre Ledru
0638e285f1
Merge pull request #3545 from cakebaker/date_set_names_for_arg_values
...
date: set names for arg values
2022-05-19 15:45:46 +02:00
Daniel Hofstetter
7374d76d63
date: set names for arg values
2022-05-19 10:44:01 +02:00
Terts Diepraam
57072dd4f9
Merge pull request #3537 from LevitatingBusinessMan/uname_pi
...
uname: hide processor and hwplatform options
2022-05-18 22:58:13 +02:00
Sylvestre Ledru
2a969de2a4
Merge branch 'main' into kill-group-id
2022-05-18 21:12:30 +02:00
Jan Scheer
6a1cf72316
Merge branch 'main' into tail_notify
2022-05-18 14:28:19 +02:00
Jan Scheer
07231e6c6c
tail: fix handling of stdin redirects for macOS
...
On macOS path.is_dir() can be false for directories
if it was a redirect, e.g. ` tail < DIR`
* fix some tests for macOS
Cleanup:
* fix clippy/spell-checker
* fix build for windows by refactoring stdin_is_pipe_or_fifo()
2022-05-18 14:22:53 +02:00
Terts Diepraam
05dc72902b
Merge pull request #3534 from cakebaker/invalid_suffix_error
...
uucore: add InvalidSuffix to ParseSizeError
2022-05-18 07:57:24 +02:00
Jeffrey Finkelstein
a3e6d2b84b
seq: use usage error where appropriate
2022-05-17 21:02:42 -04:00
Jeffrey Finkelstein
8a941db20a
mktemp: correct error message on absolute path
...
Correct the error message produced by `mktemp` when `--tmpdir` is
given and the template is an absolute path:
$ mktemp --tmpdir=a /XXX
mktemp: invalid template, '/XXX'; with --tmpdir, it may not be absolute
2022-05-17 20:16:47 -04:00
LevitatingBusinessMan
cbc0381f20
uname: hide processor and hwplatform options
2022-05-17 23:57:05 +02:00
Daniel Hofstetter
27dd59635a
uucore: add InvalidSuffix to ParseSizeError
2022-05-17 15:37:49 +02:00
Sylvestre Ledru
d894847fc6
Merge pull request #3520 from uutils/dependabot/cargo/clap-3.1.18
...
build(deps): bump clap from 3.1.15 to 3.1.18
2022-05-17 15:15:17 +02:00
Jan Scheer
75a6641ced
Merge branch 'main' into tail_notify
2022-05-17 14:13:20 +02:00
353fc443 aka Seagull
124312702f
Merge branch 'main' into mktemp-set-dir-mode
2022-05-17 12:51:04 +01:00
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