Jeffrey Finkelstein
aa6aefbd64
mktemp: respect path given in template argument
...
Fix a bug in `mktemp` where it was not respecting the path given by
the positional argument. Previously, it would place the temporary file
whose name is induced by a given template in the `/tmp` directory,
like this:
$ mktemp XXX
/tmp/LJr
$ mktemp d/XXX
/tmp/d/IhS
After this commit, it respects the directory given in the template
argument:
$ mktemp XXX
LJr
$ mktemp d/XXX
d/IhS
Fixes #3440 .
2022-05-01 13:03:18 -04:00
Sylvestre Ledru
ae65dcc7d2
GNU CI: show the new error
2022-05-01 19:00:55 +02:00
Sylvestre Ledru
417b4a22d0
GNU CI: show the new error
2022-05-01 17:07:29 +02:00
Sylvestre Ledru
9d81d6fef2
touch: add support of -d '1970-01-01 18:43:33.023456789'
2022-05-01 17:01:22 +02:00
Sylvestre Ledru
31c28eeaa9
fix gnu/tests/touch/60-seconds
2022-05-01 17:01:22 +02:00
Sylvestre Ledru
2b11d77395
time: Improve the l&f
2022-05-01 17:01:13 +02:00
Sylvestre Ledru
c009e1bed8
workaround the tests/touch/60-seconds test to skip leap second
2022-05-01 17:00:41 +02:00
Sylvestre Ledru
3b3585bbe5
add time 0.1.44 to cargo deny
...
And no longer ignore RUSTSEC-2022-0013
2022-05-01 17:00:41 +02:00
Sylvestre Ledru
10eaaae272
time: take in account the local tz
2022-05-01 17:00:41 +02:00
Sylvestre Ledru
326dc5080d
stat: add a test to verify time easily
2022-05-01 17:00:41 +02:00
Sylvestre Ledru
e23dd68715
time: Force the display of the tz sign
2022-05-01 17:00:41 +02:00
Sylvestre Ledru
3a576f2441
time: Various fixes
2022-05-01 17:00:35 +02:00
Sylvestre Ledru
f810b55d86
build in verbose mode (cfg isn't used)
2022-05-01 17:00:35 +02:00
Sylvestre Ledru
ca670148f2
build(deps): bump time from 0.1.43 to 0.3.9
...
Bumps [time](https://github.com/time-rs/time ) from 0.1.43 to 0.3.9.
- [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.1.43...v0.3.9 )
---
updated-dependencies:
- dependency-name: time
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-01 16:58:47 +02:00
Sylvestre Ledru
f869fafd03
Merge pull request #3460 from tertsdiepraam/fix-dir-vdir-tests
...
`dir`, `vdir`: fix incorrect regex in tests
2022-05-01 16:15:25 +02:00
Terts Diepraam
95ba8c45b2
dir, vdir: fix incorrect regex in tests
2022-05-01 13:48:51 +02:00
Jan Scheer
90a0226844
tail: improve support for polling
...
* Fix a timing related bug with polling (---disable-inotify) where some
Events weren't delivered fast enough by `Notify::PollWatcher` to pass all
of tests/tail-2/retry.sh and test_tail::{test_retry4, retry7}.
* uu_tail now reverts to polling automatically if inotify backend reports
too many open files (this mimics the behavior of GNU's tail).
2022-04-30 12:02:42 +02:00
Michael Kefeder
83a64f4afe
ptx: escape regular expression character class special chars
2022-04-30 10:01:11 +02:00
Daniel Hofstetter
023fc96aab
df: fix "Size" column header
...
Fixes #3193
2022-04-30 07:33:00 +02:00
Michael Kefeder
4889128ede
ptx: add documentation to read_char_filter_file function
2022-04-29 10:57:36 +02:00
Sylvestre Ledru
f03c069289
Merge pull request #3450 from uutils/dependabot/cargo/retain_mut-0.1.7
...
build(deps): bump retain_mut from 0.1.2 to 0.1.7
2022-04-29 10:50:45 +02:00
Michael Kefeder
994dedd6d9
tests/ptx: added breakfile option tests
2022-04-29 10:15:06 +02:00
naveen
adfe4b2289
chore: Set permissions for GitHub actions
...
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-04-29 01:01:27 +00:00
Michael Kefeder
b0567670d1
ptx: implement breakfile option
2022-04-28 16:51:06 +02:00
Michael Kefeder
c6ad244142
tests/ptx: verify output width is handled correctly
2022-04-28 16:46:10 +02:00
Sylvestre Ledru
bf3a86f654
Merge pull request #3451 from ndd7xv/help-discrepancies
...
fix -h and --help discrepancies
2022-04-28 08:19:41 +02:00
ndd7xv
88752ecc3e
fix -h and --help discrepancies
...
addresses https://github.com/uutils/coreutils/issues/3370
2022-04-27 23:16:36 -04:00
dependabot[bot]
38a8fa6a77
build(deps): bump retain_mut from 0.1.2 to 0.1.7
...
Bumps [retain_mut](https://github.com/upsuper/retain_mut ) from 0.1.2 to 0.1.7.
- [Release notes](https://github.com/upsuper/retain_mut/releases )
- [Commits](https://github.com/upsuper/retain_mut/commits )
---
updated-dependencies:
- dependency-name: retain_mut
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-27 06:44:04 +00:00
Sylvestre Ledru
a142769e46
Merge pull request #3448 from uutils/dependabot/cargo/libc-0.2.124
...
build(deps): bump libc from 0.2.121 to 0.2.124
2022-04-27 08:41:20 +02:00
Sylvestre Ledru
b70a61aa11
Merge pull request #3449 from uutils/dependabot/cargo/pretty_assertions-1.2.1
...
build(deps): bump pretty_assertions from 1.0.0 to 1.2.1
2022-04-26 20:31:20 +02:00
dependabot[bot]
7a7311f5f6
build(deps): bump pretty_assertions from 1.0.0 to 1.2.1
...
Bumps [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions ) from 1.0.0 to 1.2.1.
- [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases )
- [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/colin-kiegel/rust-pretty-assertions/compare/v1.0.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: pretty_assertions
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-26 10:36:05 +00:00
dependabot[bot]
3cee681e82
build(deps): bump libc from 0.2.121 to 0.2.124
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.121 to 0.2.124.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.121...0.2.124 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-26 11:23:42 +02:00
Sylvestre Ledru
bb213887f4
Merge pull request #3446 from uutils/dependabot/cargo/clap_complete-3.1.2
...
build(deps): bump clap_complete from 3.1.1 to 3.1.2
2022-04-26 11:22:58 +02:00
dependabot[bot]
6fde02ecf6
build(deps): bump clap_complete from 3.1.1 to 3.1.2
...
Bumps [clap_complete](https://github.com/clap-rs/clap ) from 3.1.1 to 3.1.2.
- [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/clap_complete-v3.1.1...clap_complete-v3.1.2 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-26 09:45:21 +02:00
Sylvestre Ledru
2caa123bb4
Merge pull request #3444 from tertsdiepraam/dont-build-uudoc-by-default
...
uudoc: require a feature to build
2022-04-26 09:43:41 +02:00
Sylvestre Ledru
31190edb74
Merge pull request #3445 from uutils/dependabot/cargo/rand-0.8.5
...
build(deps): bump rand from 0.8.4 to 0.8.5
2022-04-26 09:13:59 +02:00
Terts Diepraam
094e6e623f
Merge pull request #3431 from sylvestre/skip
...
Remove an old skipped crate for nix 0.21.0
2022-04-25 23:21:33 +02:00
dependabot[bot]
186199c5d7
build(deps): bump rand from 0.8.4 to 0.8.5
...
Bumps [rand](https://github.com/rust-random/rand ) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.8.4...0.8.5 )
---
updated-dependencies:
- dependency-name: rand
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 23:15:00 +02:00
Sylvestre Ledru
641435d1dc
Merge pull request #3433 from uutils/dependabot/cargo/strum_macros-0.24.0
...
build(deps): bump strum_macros from 0.23.1 to 0.24.0
2022-04-25 23:08:35 +02:00
Sylvestre Ledru
51c0893564
Merge pull request #3434 from uutils/dependabot/cargo/z85-3.0.5
...
build(deps): bump z85 from 3.0.4 to 3.0.5
2022-04-25 23:07:54 +02:00
Sylvestre Ledru
52808615ed
Merge pull request #3443 from rtzoeller/nix_0.24.1_ctrlc_3.2.2
...
Upgrade nix to 0.24.1, ctrlc to 3.2.2
2022-04-25 23:05:52 +02:00
Sylvestre Ledru
f3e5f31279
remove an old skipped crate for nix 0.21.0
2022-04-25 08:14:03 +02:00
dependabot[bot]
681f5c88e2
build(deps): bump strum_macros from 0.23.1 to 0.24.0
...
Bumps [strum_macros](https://github.com/Peternator7/strum ) from 0.23.1 to 0.24.0.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum_macros
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 08:13:59 +02:00
dependabot[bot]
8f8aa61e6a
build(deps): bump z85 from 3.0.4 to 3.0.5
...
Bumps [z85](https://github.com/decafbad/z85 ) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/decafbad/z85/releases )
- [Commits](https://github.com/decafbad/z85/commits )
---
updated-dependencies:
- dependency-name: z85
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 08:13:54 +02:00
Terts Diepraam
a10f234854
uudoc: require a feature to build
...
This is used to not build uudoc by default. See https://github.com/uutils/coreutils/issues/3411
2022-04-25 08:13:28 +02:00
Ryan Zoeller
363a2a5611
Upgrade nix to 0.24.1, ctrlc to 3.2.2
...
Limit nix features, which should help compile times slightly.
Replace usage of deprecated nix functionality with std equivalent.
2022-04-25 08:13:20 +02:00
Sylvestre Ledru
91ccdb6479
Merge pull request #3442 from uutils/revert-3423-remove_trailing_spaces_in_rightmost_column
...
Revert "df: remove trailing spaces in rightmost column"
2022-04-25 08:13:10 +02:00
Sylvestre Ledru
181ebd3996
Revert "df: remove trailing spaces in rightmost column"
2022-04-24 20:39:39 +02:00
Terts Diepraam
96807e4db8
Merge pull request #3441 from cakebaker/ticket_3416
...
df: allow sizes with a suffix for --block-size
2022-04-24 18:25:03 +02:00
Daniel Hofstetter
0f13de4e1a
df: allow sizes with a suffix for --block-size
...
Fixes #3416
2022-04-24 15:37:23 +02:00