Commit graph

9081 commits

Author SHA1 Message Date
dependabot[bot]
1d20abfc05
build(deps): bump time from 0.3.16 to 0.3.17
Bumps [time](https://github.com/time-rs/time) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.16...v0.3.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-06 13:54:56 +00:00
Sylvestre Ledru
9ce788632b
Merge pull request #4109 from uutils/dependabot/cargo/clap-4.0.19
build(deps): bump clap from 4.0.18 to 4.0.19
2022-11-06 14:45:26 +01:00
dependabot[bot]
9afe9804bd build(deps): bump clap from 4.0.18 to 4.0.19
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.18 to 4.0.19.
- [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/v4.0.18...v4.0.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-06 08:44:07 +01:00
Sylvestre Ledru
8e5c259e4b
Merge pull request #3966 from jfinkels/cp-backup-force
cp: force copying file to itself with --backup
2022-11-06 08:43:52 +01:00
Sylvestre Ledru
fc96455e98
Merge pull request #4098 from sylvestre/gh
Replace set-output by the GITHUB_OUTPUT variable
2022-11-06 07:41:49 +01:00
Sylvestre Ledru
3ea7a061d7
Merge pull request #4097 from devnexen/fbsd_test_fix
fix cp tests build since they re supposed to be ignored on freebsd an…
2022-11-06 07:41:16 +01:00
Sylvestre Ledru
446df9da5a
Merge branch 'main' into cp-backup-force 2022-11-06 07:24:48 +01:00
Sylvestre Ledru
47e3149e85
Merge pull request #3978 from jfinkels/cp-copy-contents-fifo
cp: implement --copy-contents option for fifos
2022-11-06 07:23:25 +01:00
Jeffrey Finkelstein
5b100fef62 cp: implement --copy-contents option for fifos
Implement the `--copy-contents` option when the source is a FIFO, so
that the contents of the FIFO are copied (when the bytes become
available for reading) instead of the FIFO object itself. For example,

    $ mkfifo fifo
    $ cp --copy-contents fifo outfile &
    [1] 1614080
    $ echo foo > fifo
    $ cat outfile
    foo
    [1]+  Done                    cp --copy-contents fifo outfile
2022-11-05 19:25:37 -04:00
Jeffrey Finkelstein
fbed01dd54 cp: force copying file to itself with --backup
Fix the behavior of `cp` when both `--backup` and `--force` are
specified and the source and destination are the same file.  Before
this commit, `cp` terminated without copying and without making a
backup. After this commit, the copy is made and the backup file is
made. For example,

    $ touch f
    $ cp --force --backup f f

results in a backup file `f~` being created.
2022-11-05 19:23:50 -04:00
Sylvestre Ledru
f32f89cbf9
Merge pull request #4060 from orhun/refactor/add_nix_error_auto_conversion
refactor: add automatic conversion for `nix::Errno`
2022-11-04 19:09:46 +01:00
Sylvestre Ledru
6bc68cdcdf
Merge branch 'main' into refactor/add_nix_error_auto_conversion 2022-11-04 12:54:35 +01:00
Sylvestre Ledru
2af01ec344
Merge pull request #4108 from cakebaker/rm_fix_clippy_warnings
Fix clippy warnings
2022-11-04 12:54:10 +01:00
Orhun Parmaksız
be49eb68f3
fix: address test failures 2022-11-04 13:35:54 +03:00
Daniel Hofstetter
8114abc956 Fix "needless borrow" clippy warning in env test 2022-11-04 11:10:35 +01:00
Daniel Hofstetter
7df36bb153 mv: fix "needless borrow" clippy warnings 2022-11-04 10:07:21 +01:00
Daniel Hofstetter
96ef306cb3 Fix "unwrap or else default" clippy warning 2022-11-04 10:07:21 +01:00
Daniel Hofstetter
59f37d88d0 rm: fix "needless borrow" clippy warnings 2022-11-04 10:07:21 +01:00
Sylvestre Ledru
d76da1dc95
Merge pull request #4106 from bnjbvr/remove-unused-dependencies2
Remove unused dependencies
2022-11-04 09:24:06 +01:00
Sylvestre Ledru
454783257d
Merge pull request #4101 from uutils/dependabot/cargo/byte-unit-4.0.17
build(deps): bump byte-unit from 4.0.14 to 4.0.17
2022-11-04 09:01:53 +01:00
Sylvestre Ledru
d0b3a2fa60
Merge pull request #4107 from uutils/dependabot/cargo/num_cpus-1.14.0
build(deps): bump num_cpus from 1.13.1 to 1.14.0
2022-11-04 09:01:18 +01:00
dependabot[bot]
c44c7ac7b2
build(deps): bump num_cpus from 1.13.1 to 1.14.0
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus) from 1.13.1 to 1.14.0.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases)
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.13.1...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-04 06:07:50 +00:00
Benjamin Bouvier
c2a6f6c77b Remove unused dependencies 2022-11-03 21:14:38 +01:00
Sylvestre Ledru
2d79c4f693
Merge pull request #4091 from dmatos2012/allow-default-value-mktemp
mktemp: allow default missing value
2022-11-03 20:46:11 +01:00
Sylvestre Ledru
0e5cab4911
Merge pull request #4061 from uutils/dependabot/cargo/clap_complete-4.0.3
build(deps): bump clap_complete from 4.0.2 to 4.0.3
2022-11-03 08:28:57 +01:00
Sylvestre Ledru
f60e861232
Merge pull request #4074 from jfinkels/cp-force-dangling-symlink
cp: restrict copy through dangling symlink with -f
2022-11-03 08:27:41 +01:00
David Matos
53c4b0b81e mktemp: allow default missing value 2022-11-03 08:27:08 +01:00
dependabot[bot]
cce8d766fe build(deps): bump byte-unit from 4.0.14 to 4.0.17
Bumps [byte-unit](https://github.com/magiclen/byte-unit) from 4.0.14 to 4.0.17.
- [Release notes](https://github.com/magiclen/byte-unit/releases)
- [Commits](https://github.com/magiclen/byte-unit/compare/v4.0.14...v4.0.17)

---
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-11-03 08:26:33 +01:00
Sylvestre Ledru
afa3e84d94 Replace set-output by the GITHUB_OUTPUT variable
See: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-11-03 08:25:47 +01:00
David CARLIER
40b1ce7151 disable cp tests on FreeBSD where they are supposed to be ignored. 2022-11-03 08:25:40 +01:00
Sylvestre Ledru
9293cbb05b
Merge pull request #4040 from uutils/dependabot/cargo/binary-heap-plus-0.5.0
build(deps): bump binary-heap-plus from 0.4.1 to 0.5.0
2022-11-03 08:25:30 +01:00
Sylvestre Ledru
51c6acf9d0
Merge pull request #4102 from cakebaker/numfmt_multiple_field_specifications
build-gnu: fix test for numfmt
2022-11-03 08:24:58 +01:00
Sylvestre Ledru
89b33ffb9e
Merge pull request #4103 from uutils/dependabot/github_actions/vmactions/freebsd-vm-0.3.0
build(deps): bump vmactions/freebsd-vm from 0.2.9 to 0.3.0
2022-11-03 08:24:10 +01:00
dependabot[bot]
7b88276462
build(deps): bump vmactions/freebsd-vm from 0.2.9 to 0.3.0
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.9 to 0.3.0.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.9...v0.3.0)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-03 06:05:35 +00:00
Daniel Hofstetter
4fdfedf61e build-gnu: fix test for numfmt 2022-11-02 10:20:04 +01:00
Sylvestre Ledru
7aab3320a0
Merge pull request #4096 from cakebaker/numfmt_field_range_18
numfmt: allow ' ' as field separator
2022-11-02 08:42:19 +01:00
Daniel Hofstetter
2d4810b91b numfmt: allow ' ' as field separator 2022-11-01 10:04:46 +01:00
Sylvestre Ledru
614c367e46
Merge pull request #4094 from cakebaker/numfmt_field_range_19
numfmt: allow "-" in field list
2022-10-31 18:39:48 +01:00
Daniel Hofstetter
27c233f294 numfmt: allow "-" in field list 2022-10-31 14:53:41 +01:00
Sylvestre Ledru
b942054568
Merge pull request #4093 from cakebaker/numfmt_test_all_fields
numfmt: add test for "--field -" (all fields)
2022-10-31 11:01:32 +01:00
Terts Diepraam
59d4cae7e9
Merge pull request #4092 from sashashura/patch-4
GitHub Workflows security hardening
2022-10-31 10:24:08 +01:00
Terts Diepraam
ba3bb56041
Merge pull request #4013 from palaster/rm-correct-prompts
rm: rm3 now passes
2022-10-31 10:17:27 +01:00
Daniel Hofstetter
5d27c19853 numfmt: add test for "--field -" (all fields) 2022-10-31 09:26:28 +01:00
Alex
d5ab502f42 build: harden GnuComment.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-10-30 23:52:55 +02:00
Sylvestre Ledru
f2f2f7033e
Merge branch 'main' into refactor/add_nix_error_auto_conversion 2022-10-30 15:54:13 +01:00
Sylvestre Ledru
bc126085c4
Merge branch 'main' into cp-force-dangling-symlink 2022-10-29 20:01:07 +02:00
Sylvestre Ledru
44cded6c06
Merge pull request #4090 from cakebaker/numfmt_field_range_14_15
numfmt: allow hyphen values for --field option
2022-10-29 20:00:48 +02:00
Pat Laster
7049c64790
Merge branch 'main' into rm-correct-prompts 2022-10-29 11:10:20 -05:00
Pat Laster
4b4222ffe3
Bump libc version from "0.2.136" to "0.2.137" 2022-10-29 11:09:52 -05:00
Daniel Hofstetter
3a8feedf2d numfmt: allow hyphen values for --field option 2022-10-29 16:50:41 +02:00