Emil Suleymanov
a7b637b1eb
cp: assume --reflink=always on no value ( #3992 )
...
* Set reflink to auto by default
2022-10-03 20:20:55 +02:00
Sylvestre Ledru
a437cf0187
Merge pull request #3996 from uutils/dependabot/github_actions/vmactions/freebsd-vm-0.2.9
...
build(deps): bump vmactions/freebsd-vm from 0.2.6 to 0.2.9
2022-10-03 01:38:32 -10:00
Sylvestre Ledru
63203a0a68
test: add -N FILE exists and has been modified since it was last read
...
Upstream: tests/misc/test-N.sh
2022-10-03 00:59:39 -10:00
Sylvestre Ledru
ee13d98f10
remove an old travis CI script
2022-10-03 00:58:21 -10:00
Sylvestre Ledru
7257adb53b
wc: document the long match
2022-10-03 00:57:48 -10:00
dependabot[bot]
78994824f8
build(deps): bump vmactions/freebsd-vm from 0.2.6 to 0.2.9
...
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm ) from 0.2.6 to 0.2.9.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases )
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.6...v0.2.9 )
---
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-10-03 06:46:23 +00:00
Sylvestre Ledru
043c009a41
Merge pull request #3990 from cakebaker/clap_replace_deprecated_is_present
...
du,stty: replace deprecated is_present()
2022-09-29 05:53:09 -10:00
Daniel Hofstetter
8cae763321
du,stty: replace deprecated is_present()
2022-09-29 15:20:10 +02:00
Terts Diepraam
6d5d6f2bb6
Merge pull request #3989 from cakebaker/clap_replace_deprecated_values_of_lossy
...
df: replace deprecated values_of_lossy()
2022-09-29 13:59:23 +02:00
Daniel Hofstetter
af51493368
df: replace deprecated values_of_lossy()
2022-09-29 09:37:13 +02:00
Terts Diepraam
4b517a361d
Merge pull request #3959 from Joining7943/tail-reactivate-presume-input-pipe
...
tail: Reactivate ---presume-input-pipe option
2022-09-28 00:09:18 +02:00
Sylvestre Ledru
a44eb5b097
Merge pull request #3828 from cakebaker/clap_replace_deprecated_value_of
...
Replace deprecated value_of() with get_one()
2022-09-27 06:59:54 -10:00
Sylvestre Ledru
bbbe1cf11a
Merge pull request #3983 from uutils/dependabot/cargo/thiserror-1.0.36
...
build(deps): bump thiserror from 1.0.35 to 1.0.36
2022-09-27 06:51:02 -10:00
Jeffrey Finkelstein
1f907bfd4b
fixup! cp: make copy_on_write_linux() func more readable
2022-09-26 23:59:41 -04:00
Daniel Hofstetter
9e8daf92dd
Replace deprecated value_of() with get_one()
2022-09-26 16:42:42 +02:00
dependabot[bot]
8b7bbc3da9
build(deps): bump thiserror from 1.0.35 to 1.0.36
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.35 to 1.0.36.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.35...1.0.36 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 06:42:42 +00:00
Jeffrey Finkelstein
e0dcc43076
cp: make copy_on_write_linux() func more readable
...
Improve readability of the `copy_on_write_linux()` helper function by
employing new helper functions `clone()` and `sparse_copy()`.
2022-09-25 23:14:37 -04:00
Sylvestre Ledru
b43bbe9e98
Merge pull request #3980 from sashashura/patch-1
...
GitHub Workflows security hardening
2022-09-25 18:33:38 +02:00
Alex
1138c906fe
build: harden CICD.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-25 16:30:33 +02:00
Alex
b182f81a62
build: harden GnuTests.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-25 16:17:38 +02:00
Terts Diepraam
a3ba02a791
Merge pull request #3971 from niyaznigmatullin/cp_H_option
...
cp: add `-H` option
2022-09-25 15:16:37 +02:00
Terts Diepraam
9ce600ffa8
Merge pull request #3904 from cakebaker/pr_use_clap_for_help_and_version
...
pr: use clap to handle help & version
2022-09-25 14:10:00 +02:00
Niyaz Nigmatullin
9166269aec
cp: fix help for -H
2022-09-23 20:35:14 +03:00
Niyaz Nigmatullin
90babe2775
uucore: remove is_symlink
function
...
Since Rust 1.58 there is `is_symlink` method for `Path`
2022-09-23 20:32:09 +03:00
Niyaz Nigmatullin
84a741fe91
cp: add -H
option, add tests, fix test
2022-09-23 20:31:24 +03:00
Niyaz Nigmatullin
5640d56584
Fix clippy warning
2022-09-23 20:27:43 +03:00
Sylvestre Ledru
fce36c80f1
Merge pull request #3967 from uutils/dependabot/cargo/md-5-0.10.5
...
build(deps): bump md-5 from 0.10.4 to 0.10.5
2022-09-22 17:42:17 +02:00
jfinkels
dd0daa5e06
df: remove trailing spaces in rightmost column ( #3882 )
...
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2022-09-22 08:37:20 +02:00
dependabot[bot]
52b977de79
build(deps): bump md-5 from 0.10.4 to 0.10.5
...
Bumps [md-5](https://github.com/RustCrypto/hashes ) from 0.10.4 to 0.10.5.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/md-5-v0.10.4...md-5-v0.10.5 )
---
updated-dependencies:
- dependency-name: md-5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 06:37:09 +00:00
Sylvestre Ledru
1e268b1a8f
Merge pull request #3940 from jfinkels/mktemp-nonexistent-tmpdir-env-var
...
mktemp: add message for directory not found
2022-09-22 08:36:30 +02:00
Jeffrey Finkelstein
60ca9a03bb
mktemp: add message for directory not found
...
Add special handling in `mktemp` for when the directory that will
contain the temporary file is not found. This situation now produces
the message
mktemp: failed to create file via template 'XXX': No such file or directory
to match the behavior of GNU mktemp.
2022-09-21 21:26:39 -04:00
Jeffrey Finkelstein
f2e4225bc6
mktemp: refactor make_temp_dir(), make_temp_file()
...
Factor code out of `exec()` into two helper functions,
`make_temp_dir()` and `make_temp_file()`.
2022-09-21 21:26:39 -04:00
Sylvestre Ledru
68ad9e4301
Merge pull request #3951 from jfinkels/mktemp-too-many-templates
...
mktemp: match GNU error message on too many args
2022-09-21 22:39:55 +02:00
Sylvestre Ledru
5a746a778f
Merge pull request #3938 from tertsdiepraam/dd-positional-args
...
`dd`: parse operands manually via positional args
2022-09-21 22:39:13 +02:00
Terts Diepraam
6e74408834
Merge pull request #3960 from sylvestre/chroot-improv
...
Various improvements to chroot
2022-09-21 22:35:14 +02:00
Sylvestre Ledru
69b52b4a1b
chroot: add a new test to verify that 'chroot / ls -al' works
2022-09-21 19:47:01 +02:00
Sylvestre Ledru
2e26e1d2bd
chroot: implement --skip-chdir
2022-09-21 19:46:58 +02:00
Terts Diepraam
e377e4f046
dd: custom positional argument parsing
2022-09-21 18:41:12 +02:00
Joining7943
c32d61dcfb
tests/tail: Add system tests for ---presume-input-pipe
2022-09-21 16:39:52 +02:00
Joining7943
fa8eaf3080
tail: Reactivate --presume-input-pipe option
2022-09-21 16:39:52 +02:00
Sylvestre Ledru
3654efe8e7
chroot: add more tests
2022-09-21 14:53:50 +02:00
Sylvestre Ledru
adc4ecd856
Merge pull request #3907 from tertsdiepraam/chroot-allow-hyphen-values
...
`chroot`: set trailing var arg
2022-09-21 14:09:50 +02:00
Sylvestre Ledru
7b4dcc3748
Merge pull request #3928 from niyaznigmatullin/factor_enable_union_feature_for_smallvec
...
factor: enable `union` feature for `smallvec`
2022-09-21 11:39:42 +02:00
Jeffrey Finkelstein
7b35749ea6
mktemp: match GNU error message on too many args
...
Update the usage message when too many template arguments are given on
the command line to match that of GNU mktemp:
mktemp: too many templates
Try 'mktemp --help' for more information.
This fixes the test case `too-many` in the GNU test suite file
`tests/misc/mktemp.pl`.
2022-09-21 10:02:56 +02:00
Sylvestre Ledru
9ed546b02c
Merge pull request #3953 from Joining7943/fix-random-errors-on-macos
...
Fix random errors for piped input on macos
2022-09-21 10:00:48 +02:00
Joining7943
96321f958c
tail: Fix random errors mainly on macos for piped input. Treat resolved paths to /dev/fd/0 as pipe.
...
Closes #3953
2022-09-20 01:20:49 +02:00
Sylvestre Ledru
6051c4693f
Merge pull request #3956 from uutils/dependabot/cargo/ouroboros-0.15.5
...
build(deps): bump ouroboros from 0.15.4 to 0.15.5
2022-09-19 18:15:43 +02:00
Sylvestre Ledru
a4064eac34
Merge pull request #3955 from uutils/dependabot/cargo/selinux-0.3.0
...
build(deps): bump selinux from 0.2.7 to 0.3.0
2022-09-19 18:15:20 +02:00
dependabot[bot]
efcd1a072d
build(deps): bump ouroboros from 0.15.4 to 0.15.5
...
Bumps [ouroboros](https://github.com/joshua-maros/ouroboros ) from 0.15.4 to 0.15.5.
- [Release notes](https://github.com/joshua-maros/ouroboros/releases )
- [Commits](https://github.com/joshua-maros/ouroboros/commits )
---
updated-dependencies:
- dependency-name: ouroboros
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 06:46:19 +00:00
dependabot[bot]
39d9fa31f6
build(deps): bump selinux from 0.2.7 to 0.3.0
...
Bumps [selinux](https://github.com/koutheir/selinux ) from 0.2.7 to 0.3.0.
- [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-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 06:46:06 +00:00