Commit graph

7466 commits

Author SHA1 Message Date
Sylvestre Ledru
ddb87d500f
Allow v0.5.3 of remove_all_dir for tempfile 2022-04-20 19:10:20 +02:00
dependabot[bot]
fae0065276
build(deps): bump remove_dir_all from 0.5.3 to 0.7.0
Bumps [remove_dir_all](https://github.com/XAMPPRocky/remove_dir_all) from 0.5.3 to 0.7.0.
- [Release notes](https://github.com/XAMPPRocky/remove_dir_all/releases)
- [Changelog](https://github.com/XAMPPRocky/remove_dir_all/blob/master/CHANGELOG.md)
- [Commits](https://github.com/XAMPPRocky/remove_dir_all/compare/remove_dir_all@0.5.3...v0.7.0)

---
updated-dependencies:
- dependency-name: remove_dir_all
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 11:14:49 +00:00
Sylvestre Ledru
a6de705226
Merge pull request #3401 from uutils/dependabot/cargo/clap-3.1.8
build(deps): bump clap from 3.1.6 to 3.1.8
2022-04-14 13:07:37 +02:00
Sylvestre Ledru
9beca8b28e
Merge pull request #3400 from uutils/dependabot/cargo/zip-0.6.0
build(deps): bump zip from 0.5.13 to 0.6.0
2022-04-14 12:01:32 +02:00
dependabot[bot]
4820e7ee76
build(deps): bump clap from 3.1.6 to 3.1.8
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.6 to 3.1.8.
- [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.6...v3.1.8)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 07:17:35 +00:00
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
5425b7744e
Merge pull request #3398 from uutils/dependabot/cargo/byte-unit-4.0.14
build(deps): bump byte-unit from 4.0.13 to 4.0.14
2022-04-14 09:15:54 +02:00
Sylvestre Ledru
67986bf412
Merge pull request #3397 from uutils/dependabot/cargo/selinux-0.2.7
build(deps): bump selinux from 0.2.5 to 0.2.7
2022-04-14 09:15:24 +02:00
dependabot[bot]
4e1f2aec47
build(deps): bump byte-unit from 4.0.13 to 4.0.14
Bumps [byte-unit](https://github.com/magiclen/byte-unit) from 4.0.13 to 4.0.14.
- [Release notes](https://github.com/magiclen/byte-unit/releases)
- [Commits](https://github.com/magiclen/byte-unit/compare/v4.0.13...v4.0.14)

---
updated-dependencies:
- dependency-name: byte-unit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 21:24:09 +00:00
dependabot[bot]
a791541e1c
build(deps): bump selinux from 0.2.5 to 0.2.7
Bumps [selinux](https://github.com/koutheir/selinux) from 0.2.5 to 0.2.7.
- [Release notes](https://github.com/koutheir/selinux/releases)
- [Changelog](https://github.com/koutheir/selinux/blob/master/CHANGELOG.md)
- [Commits](https://github.com/koutheir/selinux/commits)

---
updated-dependencies:
- dependency-name: selinux
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 21:23:48 +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