dependabot[bot]
b20446490e
build(deps): bump zip from 0.5.13 to 0.6.0
...
Bumps [zip](https://github.com/zip-rs/zip ) from 0.5.13 to 0.6.0.
- [Release notes](https://github.com/zip-rs/zip/releases )
- [Commits](https://github.com/zip-rs/zip/commits/v0.6 )
---
updated-dependencies:
- dependency-name: zip
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 07:17:20 +00:00
Sylvestre Ledru
7967017086
Merge pull request #3358 from uutils/dependabot/cargo/nom-7.1.1
...
build(deps): bump nom from 7.1.0 to 7.1.1
2022-04-13 23:21:38 +02:00
Sylvestre Ledru
a08038f2e8
Merge pull request #3395 from uutils/dependabot/cargo/regex-1.5.5
...
build(deps): bump regex from 1.5.4 to 1.5.5
2022-04-13 23:21:25 +02:00
Sylvestre Ledru
98beda50f4
Merge pull request #3359 from uutils/dependabot/cargo/os_display-0.1.3
...
build(deps): bump os_display from 0.1.2 to 0.1.3
2022-04-13 23:20:39 +02:00
dependabot[bot]
a644233ea2
build(deps): bump regex from 1.5.4 to 1.5.5
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.5 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 15:17:42 +02:00
dependabot[bot]
29fcb8653b
build(deps): bump nom from 7.1.0 to 7.1.1
...
Bumps [nom](https://github.com/Geal/nom ) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/Geal/nom/releases )
- [Changelog](https://github.com/Geal/nom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Geal/nom/compare/7.1.0...7.1.1 )
---
updated-dependencies:
- dependency-name: nom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 15:11:54 +02:00
Sylvestre Ledru
c23118bab4
Merge pull request #3387 from cakebaker/ticket_3355
...
df: fix calculation of IUse%
2022-04-13 15:11:41 +02:00
dependabot[bot]
90b80617b9
build(deps): bump os_display from 0.1.2 to 0.1.3
...
Bumps [os_display](https://github.com/blyxxyz/os_display ) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/blyxxyz/os_display/releases )
- [Changelog](https://github.com/blyxxyz/os_display/blob/master/CHANGELOG.md )
- [Commits](https://github.com/blyxxyz/os_display/compare/v0.1.2...v0.1.3 )
---
updated-dependencies:
- dependency-name: os_display
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 14:54:10 +02:00
Sylvestre Ledru
f7fef343f3
Merge pull request #3377 from uutils/dependabot/cargo/rlimit-0.8.3
...
build(deps): bump rlimit from 0.4.0 to 0.8.3
2022-04-13 14:53:47 +02:00
Sylvestre Ledru
84b8253821
Merge pull request #3394 from sylvestre/revert-wa
...
Revert the force set of the rustc nightly version
2022-04-13 13:54:04 +02:00
Sylvestre Ledru
10be79c095
Merge pull request #3150 from pyoky/mkdir-fix
...
mkdir: fixed not respecting set umask
2022-04-13 12:00:56 +02:00
Sylvestre Ledru
2bed02b70a
Revert the force set of the rustc nightly version
2022-04-13 11:57:11 +02:00
Daniel Hofstetter
56e8dda606
df: fix calculation of IUse%
...
Fixes #3355
2022-04-13 11:19:24 +02:00
Sylvestre Ledru
991672a030
Adjust rlimit usage with the new version
2022-04-13 11:18:37 +02:00
dependabot[bot]
3166484387
build(deps): bump rlimit from 0.4.0 to 0.8.3
...
Bumps [rlimit](https://github.com/Nugine/rlimit ) from 0.4.0 to 0.8.3.
- [Release notes](https://github.com/Nugine/rlimit/releases )
- [Changelog](https://github.com/Nugine/rlimit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Nugine/rlimit/compare/v0.4.0...v0.8.3 )
---
updated-dependencies:
- dependency-name: rlimit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 11:18:37 +02:00
Sylvestre Ledru
7d14961235
Merge pull request #3393 from uutils/sylvestre-patch-1
...
mkdir.rs: Fix a clippy warning on clippy::ptr-arg
2022-04-13 11:18:18 +02:00
Sylvestre Ledru
4afe0a77aa
mkdir.rs: Fix a clippy warning on clippy::ptr-arg
...
```
error: writing `&mut Vec` instead of `&mut [_]` involves a new object where a slice will do
--> src\uu\mkdir\src/mkdir.rs:72:33
|
72 | fn strip_minus_from_mode(_args: &mut Vec<String>) -> bool {
| ^^^^^^^^^^^^^^^^ help: change this to: `&mut [String]`
|
= note: `-D clippy::ptr-arg` implied by `-D warnings`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
```
2022-04-13 10:47:32 +02:00
Sylvestre Ledru
92f01a79dd
Clippy on Windows: also ignore the self warning
2022-04-13 09:28:26 +02:00
Sylvestre Ledru
8cd359c556
Merge pull request #3392 from sylvestre/mv-itself
...
mv: trigger an error when doing mv dir1 dir2 dir2
2022-04-13 09:16:24 +02:00
Sylvestre Ledru
07be7a0ceb
Merge pull request #3388 from cakebaker/return_unnecessarily_wrapped_by_result
...
df: remove unnecessary return of Result
2022-04-12 22:52:31 +02:00
Sylvestre Ledru
920633c0ea
mv: trigger an error when doing mv dir1 dir2 dir2
2022-04-12 22:37:38 +02:00
Sylvestre Ledru
5c3580fb04
Merge pull request #3390 from sylvestre/mv-test
...
mv: move the tests in a separate function
2022-04-12 22:36:24 +02:00
Sylvestre Ledru
57b8caf1d0
mv: move the tests in a separate function
2022-04-12 20:39:00 +02:00
Sylvestre Ledru
0f59af22d5
Merge pull request #3383 from sudosmile/main
...
mv: add OverwriteMode match in specific case
2022-04-12 20:28:07 +02:00
Daniel Hofstetter
07317f3d9f
df: remove unnecessary return of Result
2022-04-12 16:40:48 +02:00
Sylvestre Ledru
079f00d104
Merge pull request #3365 from cakebaker/ticket_3349
...
df: fix too low values in I* columns
2022-04-12 14:38:37 +02:00
Daniel Hofstetter
d2289d268a
df: fix too low values in I* columns
...
Fixes #3349
2022-04-12 10:19:41 +02:00
Ashe Leclerc
76a74c65ab
tests/mv: test interactive mvError
...
test -i flag in case of overwriting a non-directory with a directory
2022-04-12 09:28:11 +02:00
Ashe Leclerc
1d76c96570
mv: add OverwriteMode match in specific case
...
Check OverwriteMode and act depending on its value, specifically in the
the case of overwriting a non-directory with a directory(#3337 )
2022-04-12 09:28:11 +02:00
Sylvestre Ledru
f114d63b4e
Merge pull request #3376 from jfinkels/df-error-on-nonexistent-files
...
df: show error when file argument does not exist
2022-04-12 09:27:59 +02:00
Sylvestre Ledru
d8da10d4e1
Merge pull request #3378 from tertsdiepraam/rust-1.60-clippy
...
Clippy: Don't use `from_*` method names that take `self`
2022-04-12 09:26:28 +02:00
Sylvestre Ledru
6a818454ce
Merge pull request #3384 from marv/makefile-improvements
...
build: Remove MANDIR & introduce DATAROOTDIR
2022-04-12 09:25:15 +02:00
Terts Diepraam
af32f7a117
Dont use from_*
method names that take self
...
This was reported as an error in Clippy 1.60.
2022-04-11 22:50:36 +02:00
Sylvestre Ledru
8b719a8591
du: add support for --exclude and --exclude-from ( #3381 )
...
* du: add support for --exclude and --exclude-from
And add an option --verbose (doesn't exist in GNU)
2022-04-11 22:50:01 +02:00
Sylvestre Ledru
9214249bdd
Merge pull request #3385 from tertsdiepraam/docs-platform-info
...
Docs: Fix the platform icons not showing up in some browsers
2022-04-11 17:23:36 +02:00
Terts Diepraam
f7d53889e8
Fix the platform icons not showing up in some browsers
2022-04-11 16:03:36 +02:00
Jeffrey Finkelstein
460bd67050
df: show error when file argument does not exist
...
For example:
$ df not-a-file
df: not-a-file: No such file or directory
Fixes #3373 .
2022-04-10 22:22:18 -04:00
Jeffrey Finkelstein
c5413167e2
df: correct --total argument used in unit test
...
Add a missing dash to the `--total` argument applied in the
`test_df_output` test case. Before this commit, the argument `-total`
was treated as a path argument. After this commit, `--total` is
treated as a command-line option that causes the total file usage to
be displayed.
2022-04-10 22:22:18 -04:00
Sylvestre Ledru
cfc87b684c
Update GNUmakefile
2022-04-10 18:28:20 +02:00
Marvin Schmidt
b00357a19c
make: Introduce DATAROOTDIR
...
This makes it easier to install binaries into an arch-dependent
directory (e.g. /usr/${host}/bin) while keeping arch-independent files
like the shell completions under /usr/share by specifying e.g.
PREFIX=/usr/${host} and DATAROOTDIR=/usr/share
2022-04-10 13:27:35 +02:00
Marvin Schmidt
66168bf06b
make: Include PREFIX in BINDIR
2022-04-10 13:27:35 +02:00
Marvin Schmidt
79f1266017
make: Remove MANDIR
...
It's unused since commit 6cfed3bd
("make: no longer create INSTALLDIR_MAN")
2022-04-10 13:27:35 +02:00
Sylvestre Ledru
ddf067f188
Merge pull request #3382 from sylvestre/du-nox
...
du: Return non zero error code when dealing with permissions errors
2022-04-10 12:25:26 +02:00
Sylvestre Ledru
a2cefd9b52
du: Return non zero error code when dealing with permissions errors
...
Nd make the tests/du/no-x.sh & long-sloop.sh pass
2022-04-10 01:47:39 +02:00
Sylvestre Ledru
398ded6789
Merge pull request #3379 from jfinkels/tests-no-stdout-error-message
...
tests: print stdout in error msg for no_stdout()
2022-04-09 19:59:33 +02:00
Jeffrey Finkelstein
7192856da4
tests: print stdout in error msg for no_stdout()
...
Fix a bug in which the error message displayed when using
`CmdResult::no_stdout()` was incorrectly showing stderr when it should
have been showing stdout.
2022-04-09 12:44:24 -04:00
Sylvestre Ledru
d0aa9a9927
Merge pull request #3343 from uutils/dependabot/cargo/lscolors-0.9.0
...
build(deps): bump lscolors from 0.7.1 to 0.9.0
2022-04-09 09:29:25 +02:00
Sylvestre Ledru
53baecab49
Merge pull request #3280 from crazystylus/stat-fails-to-read-a-file-redirected-to-stdin
...
`stat`: Adds support to read a filename redirected to stdin
2022-04-09 09:11:48 +02:00
Sylvestre Ledru
a044086b70
Merge pull request #3374 from tertsdiepraam/docs-platform-info
...
docs: show supported platforms for each util
2022-04-08 09:19:15 +02:00
Terts Diepraam
3c09c747dd
docs: show platforms for each util
2022-04-07 15:12:21 +02:00