Daniel Hofstetter
15412f100a
df: show "block-size argument too large" error
2022-05-03 09:26:57 +02:00
Sylvestre Ledru
0b9d703da8
Merge branch 'main' into 2884-time-0.3
2022-05-02 21:21:45 +02:00
Sylvestre Ledru
69f8543d8f
Merge pull request #3473 from uutils/dependabot/cargo/thiserror-1.0.31
...
build(deps): bump thiserror from 1.0.30 to 1.0.31
2022-05-02 21:04:04 +02:00
Sylvestre Ledru
8353b06526
Merge pull request #3472 from uutils/dependabot/cargo/memchr-2.5.0
...
build(deps): bump memchr from 2.4.1 to 2.5.0
2022-05-02 21:03:13 +02:00
Sylvestre Ledru
9b69e6fd47
Merge branch 'main' into 2884-time-0.3
2022-05-02 18:14:14 +02:00
Terts Diepraam
0322d4633e
Merge pull request #3061 from hbina/hbina-printf-default-left-justify-legth
...
printf: Default left-justify integer conversion to 1 width
2022-05-02 17:50:10 +02:00
Terts Diepraam
8178809286
Merge pull request #3464 from sylvestre/show-error-gnu
...
GNU CI: show the new error
2022-05-02 17:48:48 +02:00
Terts Diepraam
65ad47e95b
Merge pull request #3462 from uutils/gnu-skip
...
GNU testsuite: no need to rerun the GNU build
2022-05-02 17:47:31 +02:00
dependabot[bot]
1acbc0009e
build(deps): bump thiserror from 1.0.30 to 1.0.31
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.30...1.0.31 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 13:06:15 +00:00
Sylvestre Ledru
458f8c46a7
Merge pull request #3467 from uutils/dependabot/cargo/clap_complete-3.1.3
...
build(deps): bump clap_complete from 3.1.2 to 3.1.3
2022-05-02 15:04:04 +02:00
dependabot[bot]
a1e5f8e53f
build(deps): bump memchr from 2.4.1 to 2.5.0
...
Bumps [memchr](https://github.com/BurntSushi/memchr ) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/BurntSushi/memchr/releases )
- [Commits](https://github.com/BurntSushi/memchr/compare/2.4.1...2.5.0 )
---
updated-dependencies:
- dependency-name: memchr
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 13:03:18 +00:00
Sylvestre Ledru
1c124fa6ed
Merge pull request #3468 from uutils/dependabot/cargo/libc-0.2.125
...
build(deps): bump libc from 0.2.124 to 0.2.125
2022-05-02 15:01:17 +02:00
Sylvestre Ledru
fe7829d2f9
Merge pull request #3455 from mike-kfed/ptx_breakfile
...
ptx: implement breakfile option
2022-05-02 08:39:14 +02:00
Sylvestre Ledru
e8aca59f92
Merge pull request #3465 from uutils/mktemp-respect-template
...
mktemp: respect path given in template argument
2022-05-02 08:37:54 +02:00
dependabot[bot]
de6aa6de9b
build(deps): bump libc from 0.2.124 to 0.2.125
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.124 to 0.2.125.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.124...0.2.125 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 06:36:41 +00:00
dependabot[bot]
0dc3eafaa4
build(deps): bump clap_complete from 3.1.2 to 3.1.3
...
Bumps [clap_complete](https://github.com/clap-rs/clap ) from 3.1.2 to 3.1.3.
- [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.2...clap_complete-v3.1.3 )
---
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-05-02 06:36:27 +00:00
Jeffrey Finkelstein
08816a4f05
fixup! mktemp: respect path given in template argument
2022-05-01 16:51:25 -04:00
Sylvestre Ledru
3078ca8346
Add CHARCLASS to the spell ignore
2022-05-01 20:18:33 +02:00
Sylvestre Ledru
eaad6c5286
more comment
...
mostly to retrigger the ci :)
2022-05-01 20:15:44 +02:00
Jan Scheer
bab7ba8a52
Update util.rs
2022-05-01 20:15:44 +02:00
Jan Scheer
de01b11a7d
Update util.rs
...
add feature for `whoami`
2022-05-01 20:15:44 +02:00
Jan Scheer
e991838ca8
tests/util: add a convenience wrapper to run a ucmd with root
...
permissions
2022-05-01 20:15:44 +02:00
Hanif Ariffin
2e60dce11a
printf: Default left-justify integer conversion to 1 width
...
When using left-justify with integer conversion (like `printf '%-o'`),
default the minimum width to 1.
Closes: https://github.com/uutils/coreutils/issues/3050
Signed-off-by: Hanif Ariffin <hanif.ariffin.4326@gmail.com>
2022-05-01 20:00:09 +02:00
Sylvestre Ledru
0314f3ed8e
GNU testsuite: no need to rerun the GNU build
...
At least, two use cases:
* when hacking on test update
* when we want to rebuild only Rust coreutils with the right option
Indeed, the GNU code should not cache often in this case
2022-05-01 19:04:52 +02:00
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
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