release notes: store a copy in-tree too

This commit is contained in:
Sylvestre Ledru
2025-09-06 13:30:26 +02:00
parent 38a248cba6
commit f19611660c
21 changed files with 5711 additions and 0 deletions
+69
View File
@@ -0,0 +1,69 @@
# 0.0.12
**Version:** 0.0.12
**Published:** 2022-01-19T14:53:45Z
## Release Notes
Due to problems with `stdbuf`, the previous release (0.0.9) required a patch to work and no binary artifacts were generated. This release fixes that issue.
## Changes
These are selected user-facing changes since 0.0.8.
* The minimum supported Rust version is now 1.54.
* The version numbers of the utils, the `coreutils` binary, `uucore` and `uucore_procs` are now synced. Hence the jump from 0.0.9 to 0.012.
* All utils now use `UResult` due to incredible work by @jfinkels, who contributed over 50 PRs for this to happen, with additional contributions by @thomasqueirozb, @Smicry and @E3uka. This change is mostly invisible to users, but does lead to more consistent error messages now and in the future.
### `cp`
* Fix pre-write permission change by @kimono-koans in https://github.com/uutils/coreutils/pull/2769
* Handle edge cases when dest is a symlink by @miDeb in https://github.com/uutils/coreutils/pull/2610
### `env`
* Don't panic when name is empty by @thomasqueirozb in https://github.com/uutils/coreutils/pull/2731
### `join`
* Add `-z` option by @jtracey in https://github.com/uutils/coreutils/pull/2880
* Operate on bytes instead of Strings by @jtracey in https://github.com/uutils/coreutils/pull/2851
### `ls`
* Add possible value for `--color=` by @equal-l2 in https://github.com/uutils/coreutils/pull/2738
* Reduce binary size by removing regex crate by @kimono-koans in https://github.com/uutils/coreutils/pull/2781
* Fix newline when only dirs in base directory by @kimono-koans in https://github.com/uutils/coreutils/pull/2853
* Fix padding for dangling links in non-Long formats by @kimono-koans in https://github.com/uutils/coreutils/pull/2856
* Fix device display by @kimono-koans in https://github.com/uutils/coreutils/pull/2855
### `more`
* Add next-line and prev-line command by @E3uka in https://github.com/uutils/coreutils/pull/2771
### `mv`
* Fix bug: Should be able to stat files, but not able to mv if source and target are the same by @kimono-koans in https://github.com/uutils/coreutils/pull/2763
### `numfmt`
* Implement `--suffix` option by @sbentmar in https://github.com/uutils/coreutils/pull/2841
### `rm`
* Allow `-r` flag to be specified multiple times by @kevinburke in https://github.com/uutils/coreutils/pull/2732
* Silently accepts ---presume-input-tty by @hbina in https://github.com/uutils/coreutils/pull/2532
### `seq`
* Use `BigDecimal` to represent floats by @jfinkels in https://github.com/uutils/coreutils/pull/2698
* Correct fixed-width spacing for inf sequences by @jfinkels in https://github.com/uutils/coreutils/pull/2740
### `split`
* Add `--verbose` option by @jfinkels in https://github.com/uutils/coreutils/pull/2872
* Correct filename creation algorithm by @jfinkels in https://github.com/uutils/coreutils/pull/2859
### `tail`
* Improve error handling when file not found by @jfinkels in https://github.com/uutils/coreutils/pull/2886
* Implement `-<number>` flag by @Smicry in https://github.com/uutils/coreutils/pull/2747
## New Contributors
* @kevinburke made their first contribution in https://github.com/uutils/coreutils/pull/2732
* @palfrey made their first contribution in https://github.com/uutils/coreutils/pull/2734
* @ybc37 made their first contribution in https://github.com/uutils/coreutils/pull/2766
* @E3uka made their first contribution in https://github.com/uutils/coreutils/pull/2771
* @refi64 made their first contribution in https://github.com/uutils/coreutils/pull/2778
* @sbentmar made their first contribution in https://github.com/uutils/coreutils/pull/2841
* @moko256 made their first contribution in https://github.com/uutils/coreutils/pull/2858
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.8...0.0.12
File diff suppressed because one or more lines are too long
+126
View File
@@ -0,0 +1,126 @@
# 0.0.14
**Version:** 0.0.14
**Published:** 2022-05-22T18:40:07Z
## Release Notes
## Highlights
* Minimum supported Rust version is now 1.56 and we use the 2021 edition.
* Android support has been fixed and is now checked in the CI thanks to @jtracey.
* `df` has seen major improvements due to incredible work by @cakebaker.
* Path completions on modern shells (like `zsh` and `fish`) now work properly.
* The `dir` and `vdir` utilities where added as aliases for `ls` and `ls -l`, respectively.
* Many utils have seen minor changes to improve GNU compatibility. See https://github.com/uutils/coreutils-tracking/ for more details
## Changes
The PR's listed below change the user-facing behaviour of the utils. It is a selection of all the contributions in this release.
### General
* MSRV 1.56 by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3350
* Rust Edition 2021 by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3368
* Fix Android support by @jtracey in https://github.com/uutils/coreutils/pull/3396
* docs: Show supported platforms for each util by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3374, https://github.com/uutils/coreutils/pull/3385
* docs: Don't download the tldr archive automatically by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3415
* docs: Require a feature to build by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3444
* Clap value hints by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3524
### `chown`
* Allow setting arbitrary numeric user ID by @jfinkels in https://github.com/uutils/coreutils/pull/3438
### `cp`
* Do not dereference symlink even when dangling - fix issue #3364 by @anastygnome in https://github.com/uutils/coreutils/pull/3459
### `date`
* Set names for arg values by @cakebaker in https://github.com/uutils/coreutils/pull/3545
### `df`
* Show error if same type is included & excluded by @cakebaker in https://github.com/uutils/coreutils/pull/3369
* Show error when file argument does not exist by @jfinkels in https://github.com/uutils/coreutils/pull/3376
* Fix too low values in `I*` columns by @cakebaker in https://github.com/uutils/coreutils/pull/3365
* Fix calculation of `IUse%` by @cakebaker in https://github.com/uutils/coreutils/pull/3387
* Fix incorrect whitespace between columns by @cakebaker in https://github.com/uutils/coreutils/pull/3386
* `-h -H` shouldn't cause an error #3366 by @gmnsii in https://github.com/uutils/coreutils/pull/3414
* Fix broken "test_df_output_overridden" test by @cakebaker in https://github.com/uutils/coreutils/pull/3428
* Fix `File` column width for unicode filenames by @cakebaker in https://github.com/uutils/coreutils/pull/3429
* Show error if all types are excluded by @cakebaker in https://github.com/uutils/coreutils/pull/3418
* Respect `-t` arg when specific file is provided by @cakebaker in https://github.com/uutils/coreutils/pull/3408
* Allow sizes with a suffix for `--block-size` by @cakebaker in https://github.com/uutils/coreutils/pull/3441
* Show "block-size argument too large" error by @cakebaker in https://github.com/uutils/coreutils/pull/3458
* Fix `Size` column header by @cakebaker in https://github.com/uutils/coreutils/pull/3456
* Set min width of `Used` column to 5 by @cakebaker in https://github.com/uutils/coreutils/pull/3480
* Set names for arg values & add missing space by @cakebaker in https://github.com/uutils/coreutils/pull/3490
* Fix `Size` header for multiples of 1000 & 1024 by @cakebaker in https://github.com/uutils/coreutils/pull/3499
* Use blocksize of 512 if `POSIXLY_CORRECT` is set by @cakebaker in https://github.com/uutils/coreutils/pull/3482
* Show error if provided block size is zero by @cakebaker in https://github.com/uutils/coreutils/pull/3514
* Test default blocksize in POSIX mode by @cakebaker in https://github.com/uutils/coreutils/pull/3522
* Round up values if block size is specified by @cakebaker in https://github.com/uutils/coreutils/pull/3526
* Fix incorrect rounding of size header by @cakebaker in https://github.com/uutils/coreutils/pull/3530
### `du`
* Return non zero error code when dealing with permissions errors by @sylvestre in https://github.com/uutils/coreutils/pull/3382
* Add support for `--exclude` and `--exclude-from` by @sylvestre in https://github.com/uutils/coreutils/pull/3381
### `env`
* Add program signal messages by @ndd7xv in https://github.com/uutils/coreutils/pull/3290
### `hashsum`
* Add `--no-names` option from official b3sum tool by @pothos in https://github.com/uutils/coreutils/pull/3361
### `install`
* Support of `-d dir/.` to match GNU's by @sylvestre in https://github.com/uutils/coreutils/pull/3353
* When install `--strip-program=foor` fails, remove the target file by @sylvestre in https://github.com/uutils/coreutils/pull/3419
* Verbose - list all created directories by @sylvestre in https://github.com/uutils/coreutils/pull/3420
### `kill`
* Accept process group with negative id by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3501
### `ls`, `dir` & `vdir`
* Implement `--group-directories-first` by @thomasqueirozb in https://github.com/uutils/coreutils/pull/3550
* Add `dir` and `vdir` utils by @gmnsii in https://github.com/uutils/coreutils/pull/3405
### `mkdir`
* Fix a clippy warning on clippy::ptr-arg by @sylvestre in https://github.com/uutils/coreutils/pull/3393
* Fixed not respecting set umask by @pyoky in https://github.com/uutils/coreutils/pull/3150
### `mktemp`
* Respect path given in template argument by @jfinkels in https://github.com/uutils/coreutils/pull/3465
* Error on path separator in template prefix by @jfinkels in https://github.com/uutils/coreutils/pull/3512
* Fix error msg when suffix has path sep. by @jfinkels in https://github.com/uutils/coreutils/pull/3543
* Correct error message on absolute path by @jfinkels in https://github.com/uutils/coreutils/pull/3521
### `mv`
* Add OverwriteMode match in specific case by @sudosmile in https://github.com/uutils/coreutils/pull/3383
* Move the tests in a separate function by @sylvestre in https://github.com/uutils/coreutils/pull/3390
* Trigger an error when doing `mv dir1 dir2 dir2` by @sylvestre in https://github.com/uutils/coreutils/pull/3392
* Allow a single source with `--target-directory` by @ilkecan in https://github.com/uutils/coreutils/pull/3529
### `printf`
* Default left-justify integer conversion to 1 width by @hbina in https://github.com/uutils/coreutils/pull/3061
### `ptx`
* Implement `breakfile` option by @mike-kfed in https://github.com/uutils/coreutils/pull/3455
### `rm`
* Rename `none` by `--interactive=never` to fix ../gnu/tests/rm/i-never.sh by @sylvestre in https://github.com/uutils/coreutils/pull/3356
### `seq`
* Use usage error where appropriate by @jfinkels in https://github.com/uutils/coreutils/pull/3539
### `stat`
* Add support to read a filename redirected to stdin by @crazystylus in https://github.com/uutils/coreutils/pull/3280
* Improve handling of stdin/fifo (fix #3485) by @jhscheer in https://github.com/uutils/coreutils/pull/3498
### `tty`
* Should not return 2 when `--help` is used by @sylvestre in https://github.com/uutils/coreutils/pull/3367
### `uname`
* Hide processor and hwplatform options by @LevitatingBusinessMan in https://github.com/uutils/coreutils/pull/3537
### `uniq`
* Fix almost all GNU tests by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3417
## New Contributors
@pothos (https://github.com/uutils/coreutils/pull/3361), @marv (https://github.com/uutils/coreutils/pull/3384), @sudosmile (https://github.com/uutils/coreutils/pull/3383), @pyoky (https://github.com/uutils/coreutils/pull/3150), @gmnsii (https://github.com/uutils/coreutils/pull/3405), @rtzoeller (https://github.com/uutils/coreutils/pull/3443), @anastygnome (https://github.com/uutils/coreutils/pull/3459), @naveensrinivasan (https://github.com/uutils/coreutils/pull/3453), @ilkecan (https://github.com/uutils/coreutils/pull/3529)
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.13...0.0.14
+220
View File
@@ -0,0 +1,220 @@
# 0.0.15
**Version:** 0.0.15
**Published:** 2022-08-20T14:19:32Z
## Release Notes
## Highlights
* `stty` is now partially implemented (https://github.com/uutils/coreutils/pull/3672). We now finally have implementations for all the coreutils!
* `tail` now implements `--follow` and has seen many more improvements thanks to the giant refactor by @jhscheer.
* `wc` and `sum` have gotten performance improvements by @resistor.
* There have been refactors, fixes and performance improvements in many utils.
## GNU test suite compatibility
Many utils have seen minor changes to improve GNU compatibility. This marks the first release where we pass more tests than we fail. See https://github.com/uutils/coreutils-tracking/ for more details
| result | 0.0.14 | 0.0.15 | change |
|--------|-------:|------:|-------:|
| pass | 242 | 293 | +51 |
| skip | 73 | 73 | 0 |
| fail | 270 | 222 | -48 |
| error | 8 | 5 | -3 |
## Changes
The PR's listed below are a selection of all the contributions in this release.
### `basename`
* Simple format arguments by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3736
### `basenc`
* Fix error code on wrong usage by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3743
### `comm`
* Use `NUL` if delimiter is empty by @cakebaker in https://github.com/uutils/coreutils/pull/3701
### `cp`
* Correctly copy attributes of a dangling symbolic link by @jfinkels in https://github.com/uutils/coreutils/pull/3692
* Implement `--sparse` flag by @pimzero in https://github.com/uutils/coreutils/pull/3766
* Make `--b=simple` protective of source by @philgebhardt in https://github.com/uutils/coreutils/pull/3647
* Truncate destination when `--reflink` is set by @pimzero in https://github.com/uutils/coreutils/pull/3759
* Fix `test_copy_through_dangling_symlink_no_dereference_permissions` by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3789
### `cut`
* Fix argument parsing for the delimiter by @jhscheer in https://github.com/uutils/coreutils/pull/3607
### `dd`
* Error message of invalid args is matched with GNU by @Fuchczyk in https://github.com/uutils/coreutils/pull/3831
* Fix output issues by @patricksjackson in https://github.com/uutils/coreutils/pull/3610
* Only print concise byte counts if count is sufficiently large by @jfinkels in https://github.com/uutils/coreutils/pull/3617
* Reuse buffer for the most common cases by @patricksjackson in https://github.com/uutils/coreutils/pull/3600
* Fix broken pipe in `test_bytes_oseek_bytes_trunc_oflag` by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3797
### `df`
* Better error message when executed in a chroot without `/proc` by @lendandgit in https://github.com/uutils/coreutils/pull/3602
* Fix output if input path is device name by @cakebaker in https://github.com/uutils/coreutils/pull/3682
* Fix rounding behavior in humanreadable mode by @cakebaker in https://github.com/uutils/coreutils/pull/3554
* Read block size from env vars by @cakebaker in https://github.com/uutils/coreutils/pull/3504
* Show "total" label in correct column by @jfinkels in https://github.com/uutils/coreutils/pull/3579
* Trim size header in tests by @cakebaker in https://github.com/uutils/coreutils/pull/3582
* Implement the `--sync` flag for df by @anastygnome in https://github.com/uutils/coreutils/pull/3592
### `dircolors`
* Add support for stdin by @jhscheer in https://github.com/uutils/coreutils/pull/3591
* Escape `'` and `:` by @cakebaker in https://github.com/uutils/coreutils/pull/3639
* Implement `--print-ls-colors` by @cakebaker in https://github.com/uutils/coreutils/pull/3566
* Make `-b` & `-c` args overridable by @cakebaker in https://github.com/uutils/coreutils/pull/3569
* Update error message by @cakebaker in https://github.com/uutils/coreutils/pull/3596
### `dirname`
* Add missing `"\n\"` to usage message by @cakebaker in https://github.com/uutils/coreutils/pull/3570
### `du`
* Remove unnecessary spaces from help by @cakebaker in https://github.com/uutils/coreutils/pull/3622
* Add `parse_glob` module and update `du` to use `parse_glob` by @ackerleytng in https://github.com/uutils/coreutils/pull/3754
### `expand`
* Add support for `--tabs` shortcuts by @cakebaker in https://github.com/uutils/coreutils/pull/3612
* Allow multiple `tabs` args by @cakebaker in https://github.com/uutils/coreutils/pull/3585
* Show error if `--tabs` arg has invalid chars by @cakebaker in https://github.com/uutils/coreutils/pull/3583
* Allow specifier only with last value by @cakebaker in https://github.com/uutils/coreutils/pull/3595
* Handle too large tab size by @cakebaker in https://github.com/uutils/coreutils/pull/3594
* Remove empty line from error message by @cakebaker in https://github.com/uutils/coreutils/pull/3577
* Simplify signature of `expand_shortcuts()` by @cakebaker in https://github.com/uutils/coreutils/pull/3644
### `hashsum`
* Isolate non-"GNU Coreutils" options by @str4d in https://github.com/uutils/coreutils/pull/3593
* Fix the `-c` usage by @sylvestre in https://github.com/uutils/coreutils/pull/3816
### `install`
* Verbose messages shows ginstall as command by @sylvestre in https://github.com/uutils/coreutils/pull/3651
* Fix install `-C` test by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3663
* Make `install -V` show the filename by @ElijahSink in https://github.com/uutils/coreutils/pull/3657
### `ln`
* Improve error messages compatibility by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3730
* Implement `-L` `-P` to make tests/ln/hard-to-sym.sh work by @sylvestre in https://github.com/uutils/coreutils/pull/3563
* Symlink --force, src and dst are same file by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3724
### `ls`, `dir` & `vdir`
* Add already listed message by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3707
* Fix double quoting when color is enabled by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3590
* Implement `--zero` by @pimzero in https://github.com/uutils/coreutils/pull/3746
* Remove trailing space when using the comma format (`-m`) by @anastygnome in https://github.com/uutils/coreutils/pull/3615
* Silently ignore `-T` option by @Stonks3141 in https://github.com/uutils/coreutils/pull/3718
* Forbid octal numbers for width parameter by @Ganneff in https://github.com/uutils/coreutils/pull/3613
### `mktemp`
* Change directory permission after creation by @353fc443 in https://github.com/uutils/coreutils/pull/3471
* Combine `--tmpdir` and subdirectory info by @jfinkels in https://github.com/uutils/coreutils/pull/3568
* Error on empty `--suffix` in some situations by @jfinkels in https://github.com/uutils/coreutils/pull/3599
* Exit with status `1` on usage errors by @jfinkels in https://github.com/uutils/coreutils/pull/3578
* Include suffix in error message by @jfinkels in https://github.com/uutils/coreutils/pull/3551
* Only replace last contiguous block of Xs by @jfinkels in https://github.com/uutils/coreutils/pull/3586
* Respect `POSIXLY_CORRECT` env var when parsing args by @weijunji in https://github.com/uutils/coreutils/pull/3604
* Simplify file path parameter logic by @jfinkels in https://github.com/uutils/coreutils/pull/3573
### `mv`
* Fix error when moving directory to itself by @Fuchczyk in https://github.com/uutils/coreutils/pull/3809
### `numfmt`
* Implement `--format` by @cakebaker in https://github.com/uutils/coreutils/pull/3751
* Implement `--to-unit` & `--from-unit` by @cakebaker in https://github.com/uutils/coreutils/pull/3705
* Preserve trailing zeros by @cakebaker in https://github.com/uutils/coreutils/pull/3764
* Don't round floats if `--from` is `none` by @cakebaker in https://github.com/uutils/coreutils/pull/3742
* Reject suffix if unit is `none` by @cakebaker in https://github.com/uutils/coreutils/pull/3716
* Remove duplicate default hints from help by @cakebaker in https://github.com/uutils/coreutils/pull/3696
* Show `invalid suffix` error for `i` suffix by @cakebaker in https://github.com/uutils/coreutils/pull/3732
* Show error if `--padding` is zero by @cakebaker in https://github.com/uutils/coreutils/pull/3686
* Show error if `i` suffix is missing by @cakebaker in https://github.com/uutils/coreutils/pull/3713
### `paste`
* Implement `-z` flag by @cakebaker in https://github.com/uutils/coreutils/pull/3659
### `readlink`
* Improve GNU compatibility by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3826
* Symlink loop handling by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3717
### `realpath`
* Relative options by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3710
* Improve symlink handling by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3703
* Add `--no-symlinks` alias by @cakebaker in https://github.com/uutils/coreutils/pull/3681
### `rm`
* Fix help text mistakenly being used as the long option by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3670
### `shuf`
* Add missing spaces to about text by @cakebaker in https://github.com/uutils/coreutils/pull/3677
* Improve performance by @Garfield96 in https://github.com/uutils/coreutils/pull/3642
### `sort`
* Wait when SIGINT was raised for the program to finish properly by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3801
### `sum`
* Speed up sum by using reasonable read buffer sizes. by @resistor in https://github.com/uutils/coreutils/pull/3741
### `split`
* Don't overwrite files by @andrewbaptist in https://github.com/uutils/coreutils/pull/3719
* Set names for arg values by @cakebaker in https://github.com/uutils/coreutils/pull/3541
* Don't skip chucking when the chunk size is a divisor of the buffer size by @resistor in https://github.com/uutils/coreutils/pull/3800
### `stty`
* Initial implementation by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3672
### `tail`
* Implement `--follow` and much more by @jhscheer in https://github.com/uutils/coreutils/pull/2695
* Rework platform module by @anastygnome in https://github.com/uutils/coreutils/pull/3706
* Fix race condition by @jhscheer in https://github.com/uutils/coreutils/pull/3798
* Reduce CPU load for polling by @jhscheer in https://github.com/uutils/coreutils/pull/3618
* Reuse opened file `--follow=descriptor` by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3830
### `tee`
* Implement `-p` by @eds-collabora in https://github.com/uutils/coreutils/pull/3656
### `touch`
* Fix trailing slashes handling by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3788
### `true` & `false`
* Use `clap::ArgAction` for `--help` and `--version` by @jarkonik in https://github.com/uutils/coreutils/pull/3784
### `tty`
* Move from `libc` to `nix` by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3838
### `unexpand`
* Handle too large `tabs` arguments by @cakebaker in https://github.com/uutils/coreutils/pull/3655
* Implement `tabs` shortcuts by @cakebaker in https://github.com/uutils/coreutils/pull/3646
* Set value name of arg by @cakebaker in https://github.com/uutils/coreutils/pull/3605
### `uniq`
* Set default missing value for `group` and `all-repeated` args by @cakebaker in https://github.com/uutils/coreutils/pull/3667
### `wc`
* Specialize scanning loop on settings. by @resistor in https://github.com/uutils/coreutils/pull/3708
* Implement a fast path for character counting in wc. by @resistor in https://github.com/uutils/coreutils/pull/3735
* Implement wc fast paths that skip Unicode decoding. by @resistor in https://github.com/uutils/coreutils/pull/3740
* Fix wc gnu test suite compatibility by @anastygnome in https://github.com/uutils/coreutils/pull/3688
### `uucore`
* Create `help_section` macro by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3180
* Refactor, document and test `ranges` module by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3844
* Remove `show_error_custom_description` macros `show_usage_error` by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3837
* Add backport for `Path::is_symlink()` by @jfinkels in https://github.com/uutils/coreutils/pull/3697
* Fix invalid enum variant in docstring by @cakebaker in https://github.com/uutils/coreutils/pull/3643
* Simplify invalid encoding handling by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3832
* canonicalize: Loop looking in windows by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3714
### General
* Netbsd / OpenBSD build fix by @devnexen in https://github.com/uutils/coreutils/pull/3807
* Add more consistency in the `--help` output and declarations by @sylvestre in https://github.com/uutils/coreutils/pull/3774
* dependencies: make `winapi` dependency only for Windows by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3846
* tests: fix Freebsd test failures by @jhscheer in https://github.com/uutils/coreutils/pull/3777
* tests: ignore failing tests for FreeBSD by @jhscheer in https://github.com/uutils/coreutils/pull/3806
* Replace lazy_static with once_cell by @Sciencentistguy in https://github.com/uutils/coreutils/pull/3704
* README: add badge for MSRV by @jhscheer in https://github.com/uutils/coreutils/pull/3799
* Remove use of `mem::uninitialized` by @5225225 in https://github.com/uutils/coreutils/pull/3808
* Remove deprecated `clap` functions by @cakebaker in https://github.com/uutils/coreutils/pull/3768, https://github.com/uutils/coreutils/pull/3850, https://github.com/uutils/coreutils/pull/3848, https://github.com/uutils/coreutils/pull/3804 & https://github.com/uutils/coreutils/pull/3771
## New Contributors
@weijunji (https://github.com/uutils/coreutils/pull/3604), @str4d (https://github.com/uutils/coreutils/pull/3593), @patricksjackson (https://github.com/uutils/coreutils/pull/3600), @Ganneff (https://github.com/uutils/coreutils/pull/3613), @Garfield96 (https://github.com/uutils/coreutils/pull/3642), @philgebhardt (https://github.com/uutils/coreutils/pull/3647), @ElijahSink (https://github.com/uutils/coreutils/pull/3657), @niyaznigmatullin (https://github.com/uutils/coreutils/pull/3663), @eds-collabora (https://github.com/uutils/coreutils/pull/3656), @lendandgit (https://github.com/uutils/coreutils/pull/3602), @resistor (https://github.com/uutils/coreutils/pull/3708), @andrewbaptist (https://github.com/uutils/coreutils/pull/3720), @Stonks3141 (https://github.com/uutils/coreutils/pull/3718), @pimzero (https://github.com/uutils/coreutils/pull/3746), @Fuchczyk (https://github.com/uutils/coreutils/pull/3809), @5225225 (https://github.com/uutils/coreutils/pull/3808), @jarkonik (https://github.com/uutils/coreutils/pull/3784)
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.14...0.0.15
+102
View File
@@ -0,0 +1,102 @@
# 0.0.16
**Version:** 0.0.16
**Published:** 2022-10-12T09:47:51Z
## Release Notes
## Highlights
* The minimum supported Rust version is now 1.59.
* Many utils now return exit code `1` on usage errors instead of `2` to match GNU.
* `tail` has had another significant refactor with slight improvements.
* `chroot` returns better exit codes and supports commands with flags.
* `cp` supports the `-H` flag and handles more cases correctly.
* `test` supports `-N`, `-ef`, `-nt` & `-ot` and supports 128 bit integers.
* `dd`'s argument parsing has been overhauled and is more compatible with GNU.
* There have been refactors, fixes and performance improvements in many utils, see below for details.
## GNU test suite compatibility
Many utils have seen minor changes to improve GNU compatibility. Below is a summary of the progress. See https://github.com/uutils/coreutils-tracking/ for more details
| result | 0.0.15 | 0.0.16 | change |
|--------|-------:|-------:|-------:|
| pass | 293 | 322 | +29 |
| skip | 73 | 49 | -24 |
| fail | 222 | 217 | -5 |
| error | 5 | 5 | 0 |
## Changes
The PR's listed below are a selection of all the contributions in this release.
### General
* Change remaining usage codes of `2` to `1` for GNU compat by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3922
* Create new adaptive svg logo by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3892
### `cat`
* Remove deprecated `unix_socket` dependency by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3854
### `chcon`
* Fix GNU `tests/misc/chcon-fail.sh` test by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3857
### `chroot`
* Improve support of `--skip-chdir` by @sylvestre in https://github.com/uutils/coreutils/pull/4004
* Set exit codes to `125`, `126` or `127` for errors from `chroot` itself by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3908
* Set trailing var arg by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3907
* Various improvements to chroot by @sylvestre in https://github.com/uutils/coreutils/pull/3960
### `cp`
* Fix `cp-i` GNU test by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3949
* Add `-H` option by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3971
* Assume `--reflink=always` on no value by @sssemil in https://github.com/uutils/coreutils/pull/3992
* Correct error message on copying dir to itself by @jfinkels in https://github.com/uutils/coreutils/pull/3981
* Allow removing symbolic link loop destination by @jfinkels in https://github.com/uutils/coreutils/pull/3972
* Preserve permissions when copying directory and don't terminate early on inaccessible file by @jfinkels in https://github.com/uutils/coreutils/pull/3973
### `dd`
* Handle stdout redirected to seekable file by @jfinkels in https://github.com/uutils/coreutils/pull/3880
* Parse operands manually via positional args by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3938
### `df`
* Remove trailing spaces in rightmost column by @jfinkels in https://github.com/uutils/coreutils/pull/3882
### `factor`
* Enable `union` feature for `smallvec` by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3928
### `ls`
* Exit code 2 when `IOError` happened for argument by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3921
* Add support for `+FORMAT` in timestyle by @dmatos2012 in https://github.com/uutils/coreutils/pull/3988
* Align `--ignore` behavior with that of GNU ls by @ackerleytng in https://github.com/uutils/coreutils/pull/3803
### `mktemp`
* Respect `TMPDIR` environment variable by @jfinkels in https://github.com/uutils/coreutils/pull/3552
* Match GNU error message on too many args by @jfinkels in https://github.com/uutils/coreutils/pull/3951
* Add message for directory not found by @jfinkels in https://github.com/uutils/coreutils/pull/3940
### `pr`
* Migrate from `chrono` to `time` by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3918
* Use clap to handle help & version by @cakebaker in https://github.com/uutils/coreutils/pull/3904
### `rm`
* Added write-protected check for files by @stefins in https://github.com/uutils/coreutils/pull/3853
* Added descend messages for interactive mode Fixes #3817 by @palaster in https://github.com/uutils/coreutils/pull/3931
### `split`
* Add support for starting suffix numbers by @andrewbaptist in https://github.com/uutils/coreutils/pull/3976
### `sync`
* Various compatibility improvement by @sylvestre in https://github.com/uutils/coreutils/pull/4003
### `tail`
* Fix stdin redirect (#3842) by @jhscheer in https://github.com/uutils/coreutils/pull/3845
* Fix tail panicking when seeking backwards by @kilpkonn in https://github.com/uutils/coreutils/pull/3873
* Refactor tail by @Joining7943 in https://github.com/uutils/coreutils/pull/3905
* Fix random errors for piped input on macos by @Joining7943 in https://github.com/uutils/coreutils/pull/3953
### `test`
* Add a bunch of operations by @sylvestre in https://github.com/uutils/coreutils/pull/4002
## New Contributors
@sssemil (https://github.com/uutils/coreutils/pull/3852), @kilpkonn (https://github.com/uutils/coreutils/pull/3873), @stefins (https://github.com/uutils/coreutils/pull/3853), @snapdgn (https://github.com/uutils/coreutils/pull/3923), @sashashura (https://github.com/uutils/coreutils/pull/3980), @dmatos2012 (https://github.com/uutils/coreutils/pull/3988)
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.15...0.0.16
+175
View File
@@ -0,0 +1,175 @@
# 0.0.17
**Version:** 0.0.17
**Published:** 2023-01-21T11:41:45Z
## Release Notes
## Highlights
* The minimum supported Rust version is now 1.60.
* Clap has been updated to version 4, bringing some changes in the formatting of help strings.
* `cp` has been gotten many small improvements that improve compatibility.
* `dd` has been simplified and has better compatibility.
* `env` now reraises signals from the child process.
* `ls -l` now shows more information on Windows.
* `uname` is now available for all supported platforms, instead of Unix-like platforms only.
* `cp` and `mv` can display a progress bar. This is an extension over GNU coreutils and inspired by [`advcpmv`](https://github.com/jarun/advcpmv).
* There have been refactors, fixes and performance improvements in many utils, see below for details.
## GNU test suite compatibility
Many utils have gotten minor changes to improve GNU compatibility. Below is a summary of the progress. See https://github.com/uutils/coreutils-tracking/ for more details
| result | 0.0.16 | 0.0.17 | change |
|--------|-------:|-------:|-------:|
| pass | 322 | 338 | +16 |
| skip | 49 | 48 | -1 |
| fail | 217 | 204 | -13 |
| error | 5 | 3 | -2 |
## Changes
The PR's listed below are a selection of all the contributions in this release.
### General
* Bump MSRV to 1.60 by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3994
* Clap 4 by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3991
* Migrate from `winapi` to `windows-sys` by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/4065
* Run the toybox testsuite by @sylvestre in https://github.com/uutils/coreutils/pull/4222
* Use normal use declarations to import macros by @miles170 in https://github.com/uutils/coreutils/pull/4151
* Add installation page to docs with package managers by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4048
* Test utilities
* Add `UChild`, an abstraction for `std::process::Child` by @Joining7943 in https://github.com/uutils/coreutils/pull/4136
* Add possibility to set timeout for UCommand and UChild. Add `rstest` with timeout macro to dev dependencies by @Joining7943 in https://github.com/uutils/coreutils/pull/4231
* Put `#[track_caller]` on assertion functions in test utils by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4252
* `uucore`
* Add automatic conversion for `nix::Errno` by @orhun in https://github.com/uutils/coreutils/pull/4060
* Add `prompt_yes` macro by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4148
* Add `sprintf()` function by @jfinkels in https://github.com/uutils/coreutils/pull/4185
* Add options to parse_size::Parser by @trasua in https://github.com/uutils/coreutils/pull/4224
### `chown`
* Fails when `XXXX.` or `XXXX:` is provided (when XXXX is numeric value) by @sylvestre in https://github.com/uutils/coreutils/pull/4081
### `cp`
* Move `copy_directory()` to its own module by @jfinkels in https://github.com/uutils/coreutils/pull/3901
* Correctly copy ancestor dirs in `--parents` mode by @jfinkels in https://github.com/uutils/coreutils/pull/4071
* `cp -i --update source existing` should not do anything and exit 0 by @sylvestre in https://github.com/uutils/coreutils/pull/4078
* Implement `--copy-contents` option for fifos by @jfinkels in https://github.com/uutils/coreutils/pull/3978
* Remove interactive mode message on 'no' by @sssemil in https://github.com/uutils/coreutils/pull/4069
* Use sparse copy on `--sparse=always` by @jfinkels in https://github.com/uutils/coreutils/pull/4030
* Add progress bar by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3903 and improved by @djedi23 in https://github.com/uutils/coreutils/pull/4179 and @ctsk in https://github.com/uutils/coreutils/pull/4221
* Restrict copy through dangling symlink with `-f` by @jfinkels in https://github.com/uutils/coreutils/pull/4074
* Force copying file to itself with `--backup` by @jfinkels in https://github.com/uutils/coreutils/pull/3966
* Make `--preserve` use the defaults when empty by @sssemil in https://github.com/uutils/coreutils/pull/4123
* Fix `cp --force --backup f f` fails on macOS by @miles170 in https://github.com/uutils/coreutils/pull/4166
* Preserve hard links when target already exists by @jfinkels in https://github.com/uutils/coreutils/pull/4208
* Fix `--verbose --parents` output for both files and directories by @jfinkels in https://github.com/uutils/coreutils/pull/4184
* Force link between two files that exist by @jfinkels in https://github.com/uutils/coreutils/pull/4213
* Remove empty line from version output by @cakebaker in https://github.com/uutils/coreutils/pull/4283
* Require preserve only certain attributes by @sssemil in https://github.com/uutils/coreutils/pull/4099
* Restrict permissions when copying FIFO by @jfinkels in https://github.com/uutils/coreutils/pull/4211
### `csplit`
* Rename var to simplify format strings by @cakebaker in https://github.com/uutils/coreutils/pull/4266
### `cut`
* Add whitespace option for separating fields by @TechHara in https://github.com/uutils/coreutils/pull/4232
### `date`
* Catch panic from invalid format string by @jaggededgedjustice in https://github.com/uutils/coreutils/pull/4240
### `dd`
* Allow B as a suffix for count, seek, and skip by @jfinkels in https://github.com/uutils/coreutils/pull/4137
* Create Dest enum and simpler Output struct by @jfinkels in https://github.com/uutils/coreutils/pull/4134
* Don't allocate buffer if count=0 by @jfinkels in https://github.com/uutils/coreutils/pull/4130
* Correctly set file size when conv=sparse by @jfinkels in https://github.com/uutils/coreutils/pull/4191
* Fix rendering of SI and IEC byte counts by @jfinkels in https://github.com/uutils/coreutils/pull/3653
* Fix progress line if 1 byte written by @jfinkels in https://github.com/uutils/coreutils/pull/4194
### `env`
* Reraise signal from child process by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4011
### `expr`
* Multiple fixes and tests added by @rivy in https://github.com/uutils/coreutils/pull/4248
### `factor`
* Trim the input to fix some busybox results by @sylvestre in https://github.com/uutils/coreutils/pull/4215
### `hashsum`
* Warn on file not found rather than fail by @dmatos2012 in https://github.com/uutils/coreutils/pull/4064
* Enable testing `--no-names` by @tertsdiepraam and @huijeong-kim in https://github.com/uutils/coreutils/pull/4088
### `install`
* No longer fails when target directory does not exist by @bruecke in https://github.com/uutils/coreutils/pull/3950
### `ls`
* Show more info in long format on Windows by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4014
* Use `libc::{major, minor}` to calculate device number by @SteveLauC in https://github.com/uutils/coreutils/pull/4120
### `mktemp`
* Allow default missing value by @dmatos2012 in https://github.com/uutils/coreutils/pull/4091
### `mv`
* `mv -i --update source existing` should not do anything and exit 0 by @sylvestre in https://github.com/uutils/coreutils/pull/4078
* Add progress bar by @ctsk in https://github.com/uutils/coreutils/pull/4220
### `numfmt`
* Handle negative zero values by @cakebaker in https://github.com/uutils/coreutils/pull/4076
* Allow hyphen values for `--field` option by @cakebaker in https://github.com/uutils/coreutils/pull/4090
* Round values if precision is 0 by @cakebaker in https://github.com/uutils/coreutils/pull/4089
* Allow `-` in field list by @cakebaker in https://github.com/uutils/coreutils/pull/4094
* Allow ` ` as field separator by @cakebaker in https://github.com/uutils/coreutils/pull/4096
* Add test for `--field -` (all fields) by @cakebaker in https://github.com/uutils/coreutils/pull/4093
### `pr`
* Simplify format strings by @cakebaker in https://github.com/uutils/coreutils/pull/4264
* Add missing `\` before line breaks by @cakebaker in https://github.com/uutils/coreutils/pull/4273
### `printenv`
* Weird env variable names should trigger an error. by @sylvestre in https://github.com/uutils/coreutils/pull/4113
### `pwd`
* Support the env variable `POSIXLY_CORRECT` by @sylvestre in https://github.com/uutils/coreutils/pull/4085
### `rm`
* GNU test `rm3` now passes by @palaster in https://github.com/uutils/coreutils/pull/4013
### `seq`
* Simplify format strings by @cakebaker in https://github.com/uutils/coreutils/pull/4264
### `sleep`
* Fix argument parsing and errors by @rivy in https://github.com/uutils/coreutils/pull/4268
### `sort`
* Allow a sort mode to appear multiple times by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4132
### `split`
* Implement round-robin arg to `--number` by @jfinkels in https://github.com/uutils/coreutils/pull/3281
* Match GNU semantics for missing EOF by @andrewbaptist in https://github.com/uutils/coreutils/pull/4009
* Fix "backticks are unbalanced" warnings by @cakebaker in https://github.com/uutils/coreutils/pull/4181
### `stat`
* Show more info in long format on Windows by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4014
* Refactor by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4150
### `sum`
* Fix output of about string by @cakebaker in https://github.com/uutils/coreutils/pull/4274
* Fix output when using BSD sum algo (-r) by @cakebaker in https://github.com/uutils/coreutils/pull/4278
### `tail`
* Refactor handling of warnings and early exits by @Joining7943 in https://github.com/uutils/coreutils/pull/4135
### `touch`
* Add support for some relative times by @jfinkels in https://github.com/uutils/coreutils/pull/4193
### `uname`
* build: `uname` is WinOS-compatible; move to 'Tier1' feature by @rivy in https://github.com/uutils/coreutils/pull/4245
* change/uname ~ update and revise by @rivy in https://github.com/uutils/coreutils/pull/4279
## New Contributors
@huijeong-kim (https://github.com/uutils/coreutils/pull/4027), @orhun (https://github.com/uutils/coreutils/pull/4070), @SteveLauC (https://github.com/uutils/coreutils/pull/4120), @miles170 (https://github.com/uutils/coreutils/pull/4151), @djedi23 (https://github.com/uutils/coreutils/pull/4179), @bruecke (https://github.com/uutils/coreutils/pull/3950), @ctsk (https://github.com/uutils/coreutils/pull/4221), @trasua (https://github.com/uutils/coreutils/pull/4224), @TechHara (https://github.com/uutils/coreutils/pull/4232)
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.16...0.0.17
+354
View File
@@ -0,0 +1,354 @@
# 0.0.18
**Version:** 0.0.18
**Published:** 2023-04-02T19:43:54Z
## Release Notes
🎉 We're excited to announce the new release of Rust coreutils! This release brings several improvements and new features, including updates to the GNU test suite compatibility, and refinements in various utilities such as cksum, chmod, chroot, comm, cp, cut, and many more.
## General changes
* GNU/coreutils: update reference to 9.2 by @cakebaker in https://github.com/uutils/coreutils/pull/4601
* MSRV 1.64 & Workspace inheritance for dependencies by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4344
* Fuzzing deployed for some programs and functions
* For most of the programs, the help and description are using dedicated markdown files.
* Adjust -i behavior for ln, cp & mv by @sylvestre in https://github.com/uutils/coreutils/pull/4630
* Refactor signal handling in yes, tee, and timeout by @anastygnome in https://github.com/uutils/coreutils/pull/4588
* Migrate from `atty` to `is-terminal` by @souzaguilhermea in https://github.com/uutils/coreutils/pull/4382
## GNU test suite compatibility
Many utils have gotten minor changes to improve GNU compatibility. Below is a summary of the progress. See https://github.com/uutils/coreutils-tracking/ for more details
The numbers changes in every category because of the GNU/Coreutils upgraded to 9.2
| result | 0.0.17 | 0.0.18 | change |
|--------|-------:|-------:|-------:|
| pass | 338 | 340 | +2 |
| skip | 48 | 50 | +2 |
| fail | 204 | 210 | +6 |
| error | 3 | 2 | +-1 |
### Detailed changes
### cksum 
* Implement -a by @howjmay in https://github.com/uutils/coreutils/pull/4356
### chmod
* change permissions for files present even when there is a missing file by @dmatos2012 in https://github.com/uutils/coreutils/pull/4359
* suppress verbose output when not verbose by @dmatos2012 in https://github.com/uutils/coreutils/pull/4402
* allow verbose and quiet flags to be used more than once by @dmatos2012 in https://github.com/uutils/coreutils/pull/4410
* Fix GNU test 'chmod/usage' by @bbara in https://github.com/uutils/coreutils/pull/4442
### chroot
* Fix unused import on Android by @miles170 in https://github.com/uutils/coreutils/pull/4571
### comm
* Implement --total by @cakebaker in https://github.com/uutils/coreutils/pull/4300
* Enable "no_arguments" & "one_argument" tests by @cakebaker in https://github.com/uutils/coreutils/pull/4330
* Use delimiter on "total" line by @cakebaker in https://github.com/uutils/coreutils/pull/4314
* Implement --zero-terminated by @cakebaker in https://github.com/uutils/coreutils/pull/4449
* Allow multiple occurrence of --zero-terminated by @cakebaker in https://github.com/uutils/coreutils/pull/4452
### cp
* Modify archive flag to copy dir contents rather than dir by @dmatos2012 in https://github.com/uutils/coreutils/pull/3954
* Use PathBuf instead of String for paths by @tmccombs in https://github.com/uutils/coreutils/pull/4348
* Stop saying --sparse is not implemented for cp by @tmccombs in https://github.com/uutils/coreutils/pull/4349
### cut
* Refactor by @TechHara in https://github.com/uutils/coreutils/pull/4255
### date
* Show error when reading dirs for -f arg by @shanmukhateja in https://github.com/uutils/coreutils/pull/4572
* Added default value for `date --i`. by @kidrigger in https://github.com/uutils/coreutils/pull/4522
* fix: match date -I error messages with GNU date by @shanmukhateja in https://github.com/uutils/coreutils/pull/4499
* Added tests for date ISO8601 formats. by @kidrigger in https://github.com/uutils/coreutils/pull/4520
* Make sure 'invalid date' message also returns exit code 1 by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4526
* Fix invalid argument error for RFC 3339 by @shanmukhateja in https://github.com/uutils/coreutils/pull/4535
* A better handler for `./coreutils date -f aze` by @AbhinavMir in https://github.com/uutils/coreutils/pull/4482
### dd
* Move dd_out() function up to module level by @jfinkels in https://github.com/uutils/coreutils/pull/4428
* Allow skipping and seeking in FIFOs by @jfinkels in https://github.com/uutils/coreutils/pull/4164
* Fix precision for display of total time spent by @jfinkels in https://github.com/uutils/coreutils/pull/4498
* Fix unused imports on FreeBSD by @miles170 in https://github.com/uutils/coreutils/pull/4512
* Open stdin from file descriptor when possible by @jfinkels in https://github.com/uutils/coreutils/pull/4189
### du
* threshold error message fix by @haciek in https://github.com/uutils/coreutils/pull/4637
* Update the GNU error message to our for tests/du/threshold.sh by @sylvestre in https://github.com/uutils/coreutils/pull/4656
* Run test_du_time with TZ=UTC. by @eggpi in https://github.com/uutils/coreutils/pull/4446
* Fix unnecessary boolean operation by @papparapa in https://github.com/uutils/coreutils/pull/4548
### env
* start about text with uppercase char by @cakebaker in https://github.com/uutils/coreutils/pull/4324
* docs: document env -f/--file in GNU extensions by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4331
### expand
* Improve plus specifier handling by @sbentmar in https://github.com/uutils/coreutils/pull/4260
### factor
* Remove `paste` dev dependency by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4631
### hashsum
* Add `--zero` option (#4612) by @0xMRTT in https://github.com/uutils/coreutils/pull/4632
### install
* Fix bad target directory permissions by @kylemanna in https://github.com/uutils/coreutils/pull/4364
* Add missing directory chown by @kylemanna in https://github.com/uutils/coreutils/pull/4365
### ln
* Fix format of help text by @cakebaker in https://github.com/uutils/coreutils/pull/4327
### ls
* Cannot find function `expected_result` in this scope by @piotrkwiecinski in https://github.com/uutils/coreutils/pull/4580
* Handling case sensitive ls output by @jparag in https://github.com/uutils/coreutils/pull/4524
### mktemp
* uncomment fixed test case by @jfinkels in https://github.com/uutils/coreutils/pull/4297
### mv
* Update of fs_extra - address the new warnings by @sylvestre in https://github.com/uutils/coreutils/pull/4320
### nice
* Support legacy argument syntax for nice by @eds-collabora in https://github.com/uutils/coreutils/pull/4271
### nproc
* Replace num_cpus crate with thread::available_parallelism by @souzaguilhermea in https://github.com/uutils/coreutils/pull/4352
### od
* Remove "width = width" from format strings by @cakebaker in https://github.com/uutils/coreutils/pull/4263
* Fix some minor details suggested by clippy::pedantic by @cakebaker in https://github.com/uutils/coreutils/pull/4492
### ptx
* Fix warning from unnecessary_join lint by @cakebaker in https://github.com/uutils/coreutils/pull/4313
### pwd
* Small refactor of some match expressions by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4508
### rm
* Remove remove_dir_all dependency by @howjmay in https://github.com/uutils/coreutils/pull/4340
### shred
* Refactor to clean up code and reduce syscalls by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4493
* Enable `test_shred_force` on FreeBSD by @miles170 in https://github.com/uutils/coreutils/pull/4523
* Fix `permissions_set_readonly_false` clippy error by @miles170 in https://github.com/uutils/coreutils/pull/4488
### sleep
* Fix parsing of multiple inputs panics on overflow, some whitespace issues ... by @Joining7943 in https://github.com/uutils/coreutils/pull/4439
* Replace uucore::parse_time::from_str with fundu by @Joining7943 in https://github.com/uutils/coreutils/pull/4448
### stdbuf
* Get profile from the end of the path by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4638
### stty
* Basic support for --file/-F by @VorpalBlade in https://github.com/uutils/coreutils/pull/4401
### tail
* Fix GNU test 'misc/tail' by @bbara in https://github.com/uutils/coreutils/pull/4347
* Fix argument parsing of sleep interval by @Joining7943 in https://github.com/uutils/coreutils/pull/4239
* `tests/tail`: Disable `test_follow_with_pid` on freebsd by @Joining7943 in https://github.com/uutils/coreutils/pull/4307
* `tail`: Cargo.toml: Remove unneeded features of uucore and the nix dependency by @Joining7943 in https://github.com/uutils/coreutils/pull/4376
### touch
* Add underscores to long number in test by @cakebaker in https://github.com/uutils/coreutils/pull/4577
### timeout
* Add a test to verify that it fails as expected by @sylvestre in https://github.com/uutils/coreutils/pull/4419
* Fix subprocess is never terminated by @miles170 in https://github.com/uutils/coreutils/pull/4315
### tr
* Remove the extra newline in stderr by @howjmay in https://github.com/uutils/coreutils/pull/4339
### uname
* Use the same version of platform-info as arch by @sylvestre in https://github.com/uutils/coreutils/pull/4290
### uniq
* Remove suppression of use_self lint by @cakebaker in https://github.com/uutils/coreutils/pull/4354
* Remove `strum` dependency by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4629
### uptime
* correctly calculate boot-time by @zanbaldwin in https://github.com/uutils/coreutils/pull/4440
### utmpx
* arch/os-independent timeval handling by @bbara in https://github.com/uutils/coreutils/pull/4405
### wc
* Implement --total by @cakebaker in https://github.com/uutils/coreutils/pull/4695
### uucore
* util: fix publish order of uucore_procs and uucore by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4287
* `uucore`: Fix #4298: Fails to build on s390x (and riscv64) by @Joining7943 in https://github.com/uutils/coreutils/pull/4299
* parser: fix index out of bounds error by @papparapa in https://github.com/uutils/coreutils/pull/4484
* uucore: fix help section doesn't render 3+ level headers by @piotrkwiecinski in https://github.com/uutils/coreutils/pull/4569
* Fix panic in multi-byte characters by @howjmay in https://github.com/uutils/coreutils/pull/4388
* uucore_procs: extract "about" and "usage" info from new help structure by @cakebaker in https://github.com/uutils/coreutils/pull/4385
* uucore: indent multiline usage info by @cakebaker in https://github.com/uutils/coreutils/pull/4393
* replace VERSION string with clap::crate_version by @akhilerm in https://github.com/uutils/coreutils/pull/4462
### CI
* CICD maintainence by @rivy in https://github.com/uutils/coreutils/pull/4292
* Use sccache to cache build results by @sylvestre in https://github.com/uutils/coreutils/pull/4486
* use sccache action 0.0.3 - automatically uses the most recent version of sccache by @sylvestre in https://github.com/uutils/coreutils/pull/4582
* Extend the stale bot to 3 years by @sylvestre in https://github.com/uutils/coreutils/pull/4312
* End the current execution if there is a new changeset in the PR by @sylvestre in https://github.com/uutils/coreutils/pull/4386
* GNU: Ignore some intermittent by @sylvestre in https://github.com/uutils/coreutils/pull/4296
* `cicd`: Fix #4322 toolchain overrides must begin with + by @Joining7943 in https://github.com/uutils/coreutils/pull/4323
* Linting and formatting checks for FreeBSD by @miles170 in https://github.com/uutils/coreutils/pull/4668
* utils: create a script to explore binary sizes by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4441
* Install some missing dependencies for the GNU tests by @sylvestre in https://github.com/uutils/coreutils/pull/4451
* Remove duplicated x86_64-unknown-linux-gnu target from build job by @kamilogorek in https://github.com/uutils/coreutils/pull/4648
* Move freebsd & android jobs in separate workflows by @sylvestre in https://github.com/uutils/coreutils/pull/4628
* Remove outdated comments by @cakebaker in https://github.com/uutils/coreutils/pull/4649
* Also ignore intermittent when starting to pass by @sylvestre in https://github.com/uutils/coreutils/pull/4541
* util/show-utils: fix script not working as intended by @miles170 in https://github.com/uutils/coreutils/pull/4560
* Remove android from the job name (as it is now a workspace) by @sylvestre in https://github.com/uutils/coreutils/pull/4671
* manage an potential error in util/remaining-gnu-error.py when GNU isn't up to date by @sylvestre in https://github.com/uutils/coreutils/pull/4626
* `release-fast` and `release-small` profiles and a page on packaging in the docs. by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4470
### Test
* test: add a test matching what busybox is doing by @sylvestre in https://github.com/uutils/coreutils/pull/4265
* Remove `keep_env` from the test framework by @miles170 in https://github.com/uutils/coreutils/pull/4594
* Implement enhancements of `CmdResult` #4259 by @Joining7943 in https://github.com/uutils/coreutils/pull/4261
* Small Refactor/Fixes of `UCommand` and add method to run a `UCommand` in a shell platform independently by @Joining7943 in https://github.com/uutils/coreutils/pull/4293
* Fix tr.pl and stat-printf.pl don't show up in gnu-full-result by @miles170 in https://github.com/uutils/coreutils/pull/4503
* Fix path resolution of test executable by @Joining7943 in https://github.com/uutils/coreutils/pull/4256
* Don't trim output in `CmdResult::stdout_matches` and `stdout_does_not_match` by @Joining7943 in https://github.com/uutils/coreutils/pull/4304
* Replace panic in favor of ParseError by @leon3s in https://github.com/uutils/coreutils/pull/4558
* Fix unused import "rstest::rstest" warning by @cakebaker in https://github.com/uutils/coreutils/pull/4644
* Default environment variables for tests by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4593
* tests: expand wildcard imports by @cakebaker in https://github.com/uutils/coreutils/pull/4561
### Code quality
* clippy: fix warnings introduced with Rust 1.67.0 by @cakebaker in https://github.com/uutils/coreutils/pull/4303
* clippy: fix unnecessary return warnings by @ctsk in https://github.com/uutils/coreutils/pull/4308
* Fixes from nightly version of clippy by @jfinkels in https://github.com/uutils/coreutils/pull/4363
* fix unnecessary boolean not operations by @daviddwk in https://github.com/uutils/coreutils/pull/4578
* remove dependabot configuration. we are using renovatebot by @sylvestre in https://github.com/uutils/coreutils/pull/4599
* Fix some simple clippy warnings by @sylvestre in https://github.com/uutils/coreutils/pull/4532
* build.rs: ignore a clippy warning: match_same_arms by @sylvestre in https://github.com/uutils/coreutils/pull/4536
* fix: clippy long literal lacking separators by @leon3s in https://github.com/uutils/coreutils/pull/4546
* lint: Enable clippy::if_not_else and fix all lint issues by @kamilogorek in https://github.com/uutils/coreutils/pull/4647
### Documentation
* docs: fix invalid test status in gnu-full-result by @miles170 in https://github.com/uutils/coreutils/pull/4317
* Start about texts with uppercase char by @cakebaker in https://github.com/uutils/coreutils/pull/4326
* fix typo by @howjmay in https://github.com/uutils/coreutils/pull/4328
* Document how to build in release mode by @sylvestre in https://github.com/uutils/coreutils/pull/4467
* Freebsd pkg has been remamed to rust-coreutils by @sylvestre in https://github.com/uutils/coreutils/pull/4420
* refresh the installation doc with new distros by @sylvestre in https://github.com/uutils/coreutils/pull/4374
* Add OpenMandriva Lx to the documentation by @tpgxyz in https://github.com/uutils/coreutils/pull/4431
* gentoo has renamed the package by @sylvestre in https://github.com/uutils/coreutils/pull/4418
* Generate manpages and check them in the CI by @sylvestre in https://github.com/uutils/coreutils/pull/4459
* Various improvements in the docs by @sylvestre in https://github.com/uutils/coreutils/pull/4457
* Add FreeBSD to documentation by @pkubaj in https://github.com/uutils/coreutils/pull/4397
* readme: advise using --locked with cargo install by @samueltardieu in https://github.com/uutils/coreutils/pull/4502
* Updating README.md & CONTRIBUTING.md (and removing DEVELOPER_INSTRUCTIONS.md) by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4511
* readme: remove LOC badge by @cakebaker in https://github.com/uutils/coreutils/pull/4559
* References the other implementations by @sylvestre in https://github.com/uutils/coreutils/pull/4463
* fix: to show the name of utility instead of 'manpages' by @SSJDeathSpawn in https://github.com/uutils/coreutils/pull/4566
* Replace get_long_usage fns with const by @cakebaker in https://github.com/uutils/coreutils/pull/4367
### Dependency update
* build(deps): bump gcd from 2.1.0 to 2.2.0 by @dependabot in https://github.com/uutils/coreutils/pull/4180
* build(deps): bump blake3 from 1.3.1 to 1.3.2 by @dependabot in https://github.com/uutils/coreutils/pull/4171
* chore(deps): update rust crate hex-literal to 0.4.0 by @renovate in https://github.com/uutils/coreutils/pull/4699
* fix(deps): update rust crate data-encoding to 2.3 by @renovate in https://github.com/uutils/coreutils/pull/4689
* chore(deps): update rust crate rstest to 0.17.0 by @renovate in https://github.com/uutils/coreutils/pull/4677
* fix(deps): update rust crate windows-sys to 0.45.0 by @renovate in https://github.com/uutils/coreutils/pull/4691
* build(deps): bump regex from 1.7.0 to 1.7.1 by @dependabot in https://github.com/uutils/coreutils/pull/4311
* chore(deps): update rust crate crossterm to >=0.26.1 by @renovate in https://github.com/uutils/coreutils/pull/4660
* chore(deps): update rust crate half to 2.2 by @renovate in https://github.com/uutils/coreutils/pull/4665
* chore(deps): update rust crate fs_extra to 1.3.0 by @renovate in https://github.com/uutils/coreutils/pull/4663
* fix(deps): update rust crate libc to 0.2.140 by @renovate in https://github.com/uutils/coreutils/pull/4653
* chore(deps): update rust crate notify to v5.1.0 by @renovate in https://github.com/uutils/coreutils/pull/4666
* chore(deps): update rust crate is-terminal to 0.4.6 by @renovate in https://github.com/uutils/coreutils/pull/4673
* chore(deps): update rust crate clap to 4.2 by @renovate in https://github.com/uutils/coreutils/pull/4674
* chore(deps): update rust crate gcd to 2.3 by @renovate in https://github.com/uutils/coreutils/pull/4664
* chore(deps): update rust crate exacl to 0.10.0 by @renovate in https://github.com/uutils/coreutils/pull/4662
* chore(deps): update rust crate unicode-segmentation to 1.10.1 by @renovate in https://github.com/uutils/coreutils/pull/4684
* chore(deps): update rust crate fundu to 0.5.0 by @renovate in https://github.com/uutils/coreutils/pull/4683
* chore(deps): update rust crate clap_complete to 4.2 by @renovate in https://github.com/uutils/coreutils/pull/4676
* chore(deps): update rust crate unindent to 0.2 by @renovate in https://github.com/uutils/coreutils/pull/4687
* chore(deps): update rust crate once_cell to 1.17.1 by @renovate in https://github.com/uutils/coreutils/pull/4669
* chore(deps): update rust crate walkdir to 2.3 by @renovate in https://github.com/uutils/coreutils/pull/4688
* chore(deps): update rust crate num_cpus to 1.15 by @renovate in https://github.com/uutils/coreutils/pull/4667
* fix(deps): update rust crate wild to 2.1 by @renovate in https://github.com/uutils/coreutils/pull/4690
* chore(deps): update rust crate xattr to v1 by @renovate in https://github.com/uutils/coreutils/pull/4692
* chore(deps): update rust crate zip to 0.6.4 by @renovate in https://github.com/uutils/coreutils/pull/4635
* chore(deps): update rust crate nom to 7.1.3 by @renovate in https://github.com/uutils/coreutils/pull/4605
* fix(deps): update rust crate itertools to 0.10.5 by @renovate in https://github.com/uutils/coreutils/pull/4652
* chore(deps): update rust crate bstr to 1.4 by @renovate in https://github.com/uutils/coreutils/pull/4655
* chore(deps): update rust crate byteorder to 1.4.3 by @renovate in https://github.com/uutils/coreutils/pull/4658
* chore(deps): update rust crate clap_complete to 4.1 by @renovate in https://github.com/uutils/coreutils/pull/4659
* chore(deps): update rust crate ctrlc to 3.2 by @renovate in https://github.com/uutils/coreutils/pull/4661
* chore(deps): update rust crate is-terminal to 0.4.5 by @renovate in https://github.com/uutils/coreutils/pull/4604
* chore(deps): update rust crate sha2 to 0.10.6 by @renovate in https://github.com/uutils/coreutils/pull/4622
* chore(deps): update rust crate unicode-width to 0.1.10 by @renovate in https://github.com/uutils/coreutils/pull/4633
* fix(deps): update rust crate dns-lookup to 1.0.8 by @renovate in https://github.com/uutils/coreutils/pull/4636
* fix(deps): update rust crate glob to 0.3.1 by @renovate in https://github.com/uutils/coreutils/pull/4640
* chore(deps): update rust crate ouroboros to 0.15.6 by @renovate in https://github.com/uutils/coreutils/pull/4617
* chore(deps): update rust crate regex to 1.7.3 by @renovate in https://github.com/uutils/coreutils/pull/4620
* chore(deps): update rust crate signal-hook to 0.3.15 by @renovate in https://github.com/uutils/coreutils/pull/4623
* chore(deps): update rust crate num-bigint to 0.4.3 by @renovate in https://github.com/uutils/coreutils/pull/4616
* chore(deps): update rust crate fundu to 0.4.3 by @renovate in https://github.com/uutils/coreutils/pull/4602
* chore(deps): update rust crate sha1 to 0.10.5 by @renovate in https://github.com/uutils/coreutils/pull/4621
* chore(deps): update rust crate hex-literal to 0.3.4 by @renovate in https://github.com/uutils/coreutils/pull/4603
* chore(deps): update rust crate chrono to ^0.4.24 by @renovate in https://github.com/uutils/coreutils/pull/4597
* deps: bump `time` from 0.3.17 to 0.3.20 by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4643
* chore(deps): update rust crate blake3 to 1.3.3 by @renovate in https://github.com/uutils/coreutils/pull/4596
* Fix some double deps by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4333
* Bump tempfile from 3.3.0 to 3.4.0 by @cakebaker in https://github.com/uutils/coreutils/pull/4483
* Bump rayon from 1.6.0 to 1.7.0 by @cakebaker in https://github.com/uutils/coreutils/pull/4497
* Bump clap from 4.0.26 to 4.1.8 & fix broken tests by @cakebaker in https://github.com/uutils/coreutils/pull/4478
* Bump procfs from 0.14.1 to 0.15.1 by @cakebaker in https://github.com/uutils/coreutils/pull/4500
* Bump terminal_size from 0.2.2 to 0.2.5 by @cakebaker in https://github.com/uutils/coreutils/pull/4501
* Bump fts-sys to 0.2.4 & selinux-sys to 0.6.2 by @cakebaker in https://github.com/uutils/coreutils/pull/4504
* Bump clap from 4.1.8 to 4.1.13 by @cakebaker in https://github.com/uutils/coreutils/pull/4595
* Updated selinux dependency to version 0.4 by @koutheir in https://github.com/uutils/coreutils/pull/4427
## New Contributors
* @howjmay made their first contribution in https://github.com/uutils/coreutils/pull/4328
* @tmccombs made their first contribution in https://github.com/uutils/coreutils/pull/4349
* @souzaguilhermea made their first contribution in https://github.com/uutils/coreutils/pull/4352
* @papparapa made their first contribution in https://github.com/uutils/coreutils/pull/4372
* @kylemanna made their first contribution in https://github.com/uutils/coreutils/pull/4364
* @pkubaj made their first contribution in https://github.com/uutils/coreutils/pull/4397
* @jhowww made their first contribution in https://github.com/uutils/coreutils/pull/4403
* @chenchiii made their first contribution in https://github.com/uutils/coreutils/pull/4411
* @zleyyij made their first contribution in https://github.com/uutils/coreutils/pull/4373
* @bbara made their first contribution in https://github.com/uutils/coreutils/pull/4405
* @tpgxyz made their first contribution in https://github.com/uutils/coreutils/pull/4431
* @VorpalBlade made their first contribution in https://github.com/uutils/coreutils/pull/4401
* @zanbaldwin made their first contribution in https://github.com/uutils/coreutils/pull/4440
* @eggpi made their first contribution in https://github.com/uutils/coreutils/pull/4446
* @schoki040 made their first contribution in https://github.com/uutils/coreutils/pull/4456
* @curtainp made their first contribution in https://github.com/uutils/coreutils/pull/4391
* @akhilerm made their first contribution in https://github.com/uutils/coreutils/pull/4461
* @chusteven made their first contribution in https://github.com/uutils/coreutils/pull/4458
* @IZUMI-Zu made their first contribution in https://github.com/uutils/coreutils/pull/4471
* @wuseyu made their first contribution in https://github.com/uutils/coreutils/pull/4472
* @aiye123 made their first contribution in https://github.com/uutils/coreutils/pull/4491
* @samueltardieu made their first contribution in https://github.com/uutils/coreutils/pull/4502
* @ValentinyFilip made their first contribution in https://github.com/uutils/coreutils/pull/4516
* @shanmukhateja made their first contribution in https://github.com/uutils/coreutils/pull/4499
* @kidrigger made their first contribution in https://github.com/uutils/coreutils/pull/4520
* @jparag made their first contribution in https://github.com/uutils/coreutils/pull/4524
* @AbhinavMir made their first contribution in https://github.com/uutils/coreutils/pull/4482
* @piotrkwiecinski made their first contribution in https://github.com/uutils/coreutils/pull/4549
* @leon3s made their first contribution in https://github.com/uutils/coreutils/pull/4546
* @daviddwk made their first contribution in https://github.com/uutils/coreutils/pull/4578
* @SSJDeathSpawn made their first contribution in https://github.com/uutils/coreutils/pull/4566
* @kamilogorek made their first contribution in https://github.com/uutils/coreutils/pull/4648
* @haciek made their first contribution in https://github.com/uutils/coreutils/pull/4637
* @0xMRTT made their first contribution in https://github.com/uutils/coreutils/pull/4632
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.17...0.0.18
+319
View File
@@ -0,0 +1,319 @@
# 0.0.19
**Version:** 0.0.19
**Published:** 2023-06-04T16:21:59Z
## Release Notes
🎊 Delighted to unveil the fresh release of Rust coreutils! This iteration offers an array of enhancements and novel functionalities. Key updates include enhancements to the GNU test suite compatibility, and finessed operations in a variety of utilities such as cksum, chmod, chroot, comm, cp, cut, and a multitude of others.
We're making strides towards a production-ready toolset.
## GNU test suite compatibility
Many utils have gotten minor changes to improve GNU compatibility. Below is a summary of the progress. See https://github.com/uutils/coreutils-tracking/ for more details
| result | 0.0.18 | 0.0.19 | change |
|--------|-------:|-------:|-------:|
| pass | 340 | 365 | +25 |
| skip | 50 | 49 | -1 |
| fail | 210 | 186 | -24 |
| error | 2 | 2 | 0 |
![GNU testsuite evolution](https://github.com/uutils/coreutils-tracking/blob/main/gnu-results.png?raw=true)
## Detailed changes
### global
* GNU/coreutils: update reference to 9.3 by @cakebaker in https://github.com/uutils/coreutils/pull/4754
* New release by @sylvestre in https://github.com/uutils/coreutils/pull/4926
* be more consistent in the help. use follow for deference options by @sylvestre in https://github.com/uutils/coreutils/pull/4739
* Remove some unnecessary "extern crate" statements by @cakebaker in https://github.com/uutils/coreutils/pull/4721
* tests: remove all "extern crate" statements by @cakebaker in https://github.com/uutils/coreutils/pull/4722
* coreutils: fixed panic when multi-call binary has funny name by @BartMassey in https://github.com/uutils/coreutils/pull/4366
### b2sum
* B2sum: add -l/--length option by @spineki in https://github.com/uutils/coreutils/pull/4729
### basenc
* basenc: add help texts for options by @cakebaker in https://github.com/uutils/coreutils/pull/4850
### chgrp
* fix help message in chgrp by @m11o in https://github.com/uutils/coreutils/pull/4824
### chown
* fix #4767: `chown -v 0 nf` isn't showing a message by @djedi23 in https://github.com/uutils/coreutils/pull/4768
* fix #4615: chown isnt showing a message by @djedi23 in https://github.com/uutils/coreutils/pull/4758
### cksum
* cksum: remove "-a="s from markdown file by @cakebaker in https://github.com/uutils/coreutils/pull/4814
* cksum: split test function into two by @cakebaker in https://github.com/uutils/coreutils/pull/4854
* cksum: fix output of --algorithm by @cakebaker in https://github.com/uutils/coreutils/pull/4856
* cksum: implement --untagged by @cakebaker in https://github.com/uutils/coreutils/pull/4860
### cp
* cp: add support POSIXLY_CORRECT=1 when dealing with dangling links by @sylvestre in https://github.com/uutils/coreutils/pull/4812
* cp: fix cp -f f loop when loop is a symlink loop by @sylvestre in https://github.com/uutils/coreutils/pull/4820
* cp: fix "after help" output by @cakebaker in https://github.com/uutils/coreutils/pull/4828
* cp: preserve permission on -p --parents by @shinhs0506 in https://github.com/uutils/coreutils/pull/4853
* cp: preserve permissions on -r -p --parents by @shinhs0506 in https://github.com/uutils/coreutils/pull/4859
* cp: Accept --preserve=link by @sylvestre in https://github.com/uutils/coreutils/pull/4910
* cp: -i prompts in the right place and other improv by @sylvestre in https://github.com/uutils/coreutils/pull/4925
* cp: replace assert!(false) with panic!() by @cakebaker in https://github.com/uutils/coreutils/pull/4930
* cp: makes --preserve requires = by @granquet in https://github.com/uutils/coreutils/pull/4928
* Add support for `cp --debug` by @sylvestre in https://github.com/uutils/coreutils/pull/4909
### date
* date -d supports - 1 year ago, 2 second, etc by @sylvestre in https://github.com/uutils/coreutils/pull/4790
* Improve the date md page by @sylvestre in https://github.com/uutils/coreutils/pull/4789
* date: fix error message when opening file by @leon3s in https://github.com/uutils/coreutils/pull/4544
* date: bring back the test by @sylvestre in https://github.com/uutils/coreutils/pull/4889
* date: Catch format string that is not supported by chrono by @jaggededgedjustice in https://github.com/uutils/coreutils/pull/4244
### dd
* dd: fix some clippy warnings 'variable does not need to be mutable' by @sylvestre in https://github.com/uutils/coreutils/pull/4842
* dd: fix "unused imports" warning in tests by @cakebaker in https://github.com/uutils/coreutils/pull/4843
* dd: support the [io]flag=nocache option by @jfinkels in https://github.com/uutils/coreutils/pull/4432
### dircolors
* dircolors: trigger an error when used on / by @sylvestre in https://github.com/uutils/coreutils/pull/4672
### du
* du: add support of --dereference-args & minor changes by @sylvestre in https://github.com/uutils/coreutils/pull/4723
* du: fix clippy warning in test by @cakebaker in https://github.com/uutils/coreutils/pull/4765
### factor
* factor: fix unused import in test by @cakebaker in https://github.com/uutils/coreutils/pull/4711
* factor: remove unnecessary "extern crate" in test by @cakebaker in https://github.com/uutils/coreutils/pull/4712
* Add flush after calculating factor by @vikiminki in https://github.com/uutils/coreutils/pull/4776
* factor: add -h/--exponents option by @Ideflop in https://github.com/uutils/coreutils/pull/4710
### fmt
* fmt: cleanup tests by @cakebaker in https://github.com/uutils/coreutils/pull/4753
### hashsum
* fix: Correctly detect format when using md5sum with check flag by @kamilogorek in https://github.com/uutils/coreutils/pull/4645
### head
* `head`: use `OsStringExt::from_vec` instead of `std::from_utf8_unchecked` by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4923
### ls
* Improve the readibility of ls code by @sylvestre in https://github.com/uutils/coreutils/pull/4733
* Use `expected_result` in test_ls to avoid spurious failures by @sunfishcode in https://github.com/uutils/coreutils/pull/4784
* ls: device number for BSDs and solarishOS by @SteveLauC in https://github.com/uutils/coreutils/pull/4841
* ls: when facing an invalid utf-8, don't panic by @sylvestre in https://github.com/uutils/coreutils/pull/4861
* [tests/ls] Support user names containing dots by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/4798
### mkdir
* mkdir: set correct permissions on dirs created by -p by @shinhs0506 in https://github.com/uutils/coreutils/pull/4876
* Mkdir: explicit umask and sequential tests by @shinhs0506 in https://github.com/uutils/coreutils/pull/4896
### mktemp
* mktemp: fix PrefixContainsDirSeparator verification by @ZauJulio in https://github.com/uutils/coreutils/pull/4379
* mktemp -t foo.XXXX should create in TMPDIR by @sylvestre in https://github.com/uutils/coreutils/pull/4832
* mktemp: two small test refactorings by @cakebaker in https://github.com/uutils/coreutils/pull/4877
* mktemp: prioritize TMPDIR over -p when using -t by @cakebaker in https://github.com/uutils/coreutils/pull/4878
### more
* more: support PageDown/PageUp keys by @cakebaker in https://github.com/uutils/coreutils/pull/4873
* more: add arguments print over and clean print by @Ideflop in https://github.com/uutils/coreutils/pull/4872
* more: remove empty "else"-branches in tests by @cakebaker in https://github.com/uutils/coreutils/pull/4880
* fix(#4886) more: panics if file is not readable by @Ludmuterol in https://github.com/uutils/coreutils/pull/4888
* more: implement argument -s / --squeeze by @Ideflop in https://github.com/uutils/coreutils/pull/4903
* more: implement arguments -n/--lines and --number by @Ideflop in https://github.com/uutils/coreutils/pull/4914
### mv
* mv: adapt -n behavior to GNU mv 9.3 by @cakebaker in https://github.com/uutils/coreutils/pull/4782
* mv: show no error if overwriting is declined in interactive mode by @cakebaker in https://github.com/uutils/coreutils/pull/4773
* mv: add 'renamed " in the beginning of the message when verbose flag is set by @shinhs0506 in https://github.com/uutils/coreutils/pull/4787
* mv: check if --target is a directory by @shinhs0506 in https://github.com/uutils/coreutils/pull/4794
* mv: validate --target arg by @cakebaker in https://github.com/uutils/coreutils/pull/4802
* mv, cp: add support for --update=none,all,older by @shinhs0506 in https://github.com/uutils/coreutils/pull/4796
* fix tests/mv/i-5.sh by @shinhs0506 in https://github.com/uutils/coreutils/pull/4823
* mv: if more than one of -i, -f, -n is specified, only the final one takes effect by @cakebaker in https://github.com/uutils/coreutils/pull/4826
* mv: 'mv source hardlink' should fail by @sylvestre in https://github.com/uutils/coreutils/pull/4831
* mv: add missing semicolons to tests by @cakebaker in https://github.com/uutils/coreutils/pull/4891
* mv: Show 'skipped' when a file isn't overwriten by @sylvestre in https://github.com/uutils/coreutils/pull/4905
### nice
* Avoid spurious failures in the presence of non-zero default nice by @sunfishcode in https://github.com/uutils/coreutils/pull/4783
### paste
* paste: handle list ending with unescaped backslash by @cakebaker in https://github.com/uutils/coreutils/pull/3661
### pwd
* pwd: Allow -P flag precedence over POSIXLY_CORRECT by @tracym in https://github.com/uutils/coreutils/pull/4937
### rm
* gnu: adjust tests/rm/inaccessible.sh error message by @sylvestre in https://github.com/uutils/coreutils/pull/4809
* rm: support non-UTF-8 paths by @jeddenlea in https://github.com/uutils/coreutils/pull/4871
* fix rm/interactive-always.sh by @shinhs0506 in https://github.com/uutils/coreutils/pull/4890
### shred
* shred: add support for octal and hex size by @shinhs0506 in https://github.com/uutils/coreutils/pull/4918
### tail
* tail/args: Fix parsing when -F is used together with --retry or --follow by @Joining7943 in https://github.com/uutils/coreutils/pull/4734
* 'tail': Change static global variables to const by @Joining7943 in https://github.com/uutils/coreutils/pull/4777
### touch
* To provide dates like "yesterday, tomorrow, etc", Use the humantime_to_duration crate by @sylvestre in https://github.com/uutils/coreutils/pull/4778
* touch: add support for --ref and --date together by @Xalfer in https://github.com/uutils/coreutils/pull/4717
* touch: remove unnecessary "extern crate"s by @cakebaker in https://github.com/uutils/coreutils/pull/4718
* touch: improve support for dangling link by @sylvestre in https://github.com/uutils/coreutils/pull/4769
### uniq
* uniq: non-UTF-8 file names and fewer copies by @jeddenlea in https://github.com/uutils/coreutils/pull/4911
### wc
* wc: use concat! to improve readability of tests by @cakebaker in https://github.com/uutils/coreutils/pull/4707
* test,wc: use vars directly in format! strings by @cakebaker in https://github.com/uutils/coreutils/pull/4760
* wc: streaming --files0-from and other improvements by @jeddenlea in https://github.com/uutils/coreutils/pull/4696
### whoami
* tests/whoami: add windows test for issue #4614 by @garydev10 in https://github.com/uutils/coreutils/pull/4901
### yes
* yes: support non-UTF-8 args by @jeddenlea in https://github.com/uutils/coreutils/pull/4862
### uucore
* uucore: remove commented out imports by @cakebaker in https://github.com/uutils/coreutils/pull/4720
* Fix a warning in upstream code on Rust nightly. by @sunfishcode in https://github.com/uutils/coreutils/pull/4781
## Code quality
* Fix incorrect comment & remove irrelevant comment by @cakebaker in https://github.com/uutils/coreutils/pull/4738
* fix some clippy warnings in tests by @sylvestre in https://github.com/uutils/coreutils/pull/4759
* Reduce cognitive complexity: just move some of the contents in functions by @sylvestre in https://github.com/uutils/coreutils/pull/4743
* Lower the clippy cognitive complexity & fix lines_filter_map_ok by @sylvestre in https://github.com/uutils/coreutils/pull/4834
* Fix some semicolon_if_nothing_returned by @sylvestre in https://github.com/uutils/coreutils/pull/4839
## CI/CD improvements
* `ci`: Run tests with nextest by @Joining7943 in https://github.com/uutils/coreutils/pull/4740
* Use the full path for the ignore list by @sylvestre in https://github.com/uutils/coreutils/pull/4728
* CICD: fix full path for the ignore list by @cakebaker in https://github.com/uutils/coreutils/pull/4730
* CI: compute individual binary sizes by @miles170 in https://github.com/uutils/coreutils/pull/4694
* ci: Fix usages of rust-cache to produce more cache hits by @Joining7943 in https://github.com/uutils/coreutils/pull/4742
* ci/android: speed up build and test by @Joining7943 in https://github.com/uutils/coreutils/pull/4745
* build-gnu.sh: always update PATH in Makefile by @cakebaker in https://github.com/uutils/coreutils/pull/4791
* android: use cargo test instead of nextest by @sylvestre in https://github.com/uutils/coreutils/pull/4801
* CI: warn if the size of the binary increases by more than 5% by @miles170 in https://github.com/uutils/coreutils/pull/4693
* `ci/gnu tests`: fix Swatinem/rust-cache to use correct workspace by @Joining7943 in https://github.com/uutils/coreutils/pull/4766
* `ci`: Improve and speed up setup steps using github actions by @Joining7943 in https://github.com/uutils/coreutils/pull/4771
* android: try to use nextest again by @sylvestre in https://github.com/uutils/coreutils/pull/4835
* remaining-gnu-error.py: split SKIP & ERROR by @sylvestre in https://github.com/uutils/coreutils/pull/4863
* Document why tests are skipped by @sylvestre in https://github.com/uutils/coreutils/pull/4864
## Doc improvements
* docs: add extension (short options with args) by @cakebaker in https://github.com/uutils/coreutils/pull/4851
* doc: show a warning when no tldr example by @sylvestre in https://github.com/uutils/coreutils/pull/4847
* uudoc: fix clippy warnings by @cakebaker in https://github.com/uutils/coreutils/pull/4761
* docs: document fmt in GNU extensions by @cakebaker in https://github.com/uutils/coreutils/pull/4748
* pinky: move help strings to markdown file by @m11o in https://github.com/uutils/coreutils/pull/4701
* true: move help strings to markdown file by @piotrkwiecinski in https://github.com/uutils/coreutils/pull/4703
* unexpand: move help strings to markdown file by @piotrkwiecinski in https://github.com/uutils/coreutils/pull/4704
* printf: move help strings to markdown file by @m11o in https://github.com/uutils/coreutils/pull/4705
* uudoc, uucore_procs: move markdown parsing to HelpParser by @cakebaker in https://github.com/uutils/coreutils/pull/4398
* readlink: move help strings to markdown file by @m11o in https://github.com/uutils/coreutils/pull/4770
* runcon: move help strings to markdown file by @m11o in https://github.com/uutils/coreutils/pull/4774
* seq: move help strings to markdown file by @m11o in https://github.com/uutils/coreutils/pull/4779
* split: move help strings to markdown file by @m11o in https://github.com/uutils/coreutils/pull/4785
* stdbuf: move help strings to markdown file by @m11o in https://github.com/uutils/coreutils/pull/4792
* stty: move help strings to markdown file by @m11o in https://github.com/uutils/coreutils/pull/4797
* sum: move help strings to markdown file by @m11o in https://github.com/uutils/coreutils/pull/4799
* sync: move help strings to markdown file by @m11o in https://github.com/uutils/coreutils/pull/4800
* timeout: move help strings to markdown file by @m11o in https://github.com/uutils/coreutils/pull/4806
* tr: move help string to markdown file by @iambasanta in https://github.com/uutils/coreutils/pull/4805
* sort: Move help strings to markdown file by @iambasanta in https://github.com/uutils/coreutils/pull/4808
* test: move help strings to markdown file by @m11o in https://github.com/uutils/coreutils/pull/4816
* tsort: move help strings to markdown file by @m11o in https://github.com/uutils/coreutils/pull/4829
* tty: move help strings to markdown file by @m11o in https://github.com/uutils/coreutils/pull/4837
## New Contributors
* @m11o made their first contribution in https://github.com/uutils/coreutils/pull/4701
* @Xalfer made their first contribution in https://github.com/uutils/coreutils/pull/4717
* @spineki made their first contribution in https://github.com/uutils/coreutils/pull/4729
* @Ideflop made their first contribution in https://github.com/uutils/coreutils/pull/4710
* @publicmatt made their first contribution in https://github.com/uutils/coreutils/pull/4460
* @vikiminki made their first contribution in https://github.com/uutils/coreutils/pull/4776
* @sunfishcode made their first contribution in https://github.com/uutils/coreutils/pull/4781
* @shinhs0506 made their first contribution in https://github.com/uutils/coreutils/pull/4787
* @ZauJulio made their first contribution in https://github.com/uutils/coreutils/pull/4379
* @BartMassey made their first contribution in https://github.com/uutils/coreutils/pull/4366
* @iambasanta made their first contribution in https://github.com/uutils/coreutils/pull/4805
* @jeddenlea made their first contribution in https://github.com/uutils/coreutils/pull/4862
* @Ludmuterol made their first contribution in https://github.com/uutils/coreutils/pull/4888
* @garydev10 made their first contribution in https://github.com/uutils/coreutils/pull/4901
* @granquet made their first contribution in https://github.com/uutils/coreutils/pull/4928
* @tracym made their first contribution in https://github.com/uutils/coreutils/pull/4937
## Dependencies
* remove utf8 dependency. by @publicmatt in https://github.com/uutils/coreutils/pull/4460
* Bump fundu to 0.5.1 and fix tests by @cakebaker in https://github.com/uutils/coreutils/pull/4813
* Remove unused "num_cpus" dependency by @cakebaker in https://github.com/uutils/coreutils/pull/4898
* Bump crates to phase out windows-sys 0.42.0 by @cakebaker in https://github.com/uutils/coreutils/pull/4908
* Bump windows-targets to 0.42.2 and add it with its dependencies to deny.toml by @cakebaker in https://github.com/uutils/coreutils/pull/4915
* update to platform-info 2.0.1 by @sylvestre in https://github.com/uutils/coreutils/pull/4897
* Bump crossbeam(-channel, -epoch, -utils) crates by @cakebaker in https://github.com/uutils/coreutils/pull/4894
* Bump rustix crates by @cakebaker in https://github.com/uutils/coreutils/pull/4899
* Bump io-lifetimes and remove it from the skip list in deny.toml by @cakebaker in https://github.com/uutils/coreutils/pull/4920
* Bump notify to 5.2.0 and disable tests on android by @cakebaker in https://github.com/uutils/coreutils/pull/4904
* chore(deps): update davidanson/markdownlint-cli2-action action to v10 by @renovate in https://github.com/uutils/coreutils/pull/4788
* fix(deps): update rust crate libc to 0.2.141 by @renovate in https://github.com/uutils/coreutils/pull/4706
* chore(deps): update rust crate hex-literal to 0.4.1 by @renovate in https://github.com/uutils/coreutils/pull/4709
* chore(deps): update rust crate sha3 to 0.10.7 by @renovate in https://github.com/uutils/coreutils/pull/4732
* chore(deps): update rust crate lscolors to 0.14.0 by @renovate in https://github.com/uutils/coreutils/pull/4735
* fix(deps): update rust crate dunce to 1.0.4 by @renovate in https://github.com/uutils/coreutils/pull/4751
* fix(deps): update rust crate libc to 0.2.142 by @renovate in https://github.com/uutils/coreutils/pull/4755
* chore(deps): update rust crate regex to 1.8.1 by @renovate in https://github.com/uutils/coreutils/pull/4757
* chore(deps): update rust crate humantime_to_duration to 0.1.3 by @renovate in https://github.com/uutils/coreutils/pull/4786
* chore(deps): update rust crate notify to v6 by @renovate in https://github.com/uutils/coreutils/pull/4870
* chore(deps): update rust crate regex to 1.8.3 by @renovate in https://github.com/uutils/coreutils/pull/4900
* chore(deps): update rust crate redox_syscall to 0.3 by @renovate in https://github.com/uutils/coreutils/pull/4670
* chore(deps): update rust crate tempfile to 3.5.0 by @renovate in https://github.com/uutils/coreutils/pull/4679
* chore(deps): update rust crate chrono to ^0.4.25 by @renovate in https://github.com/uutils/coreutils/pull/4912
* chore(deps): update rust crate once_cell to 1.17.2 by @renovate in https://github.com/uutils/coreutils/pull/4913
* chore(deps): update rust crate clap to 4.3 by @renovate in https://github.com/uutils/coreutils/pull/4881
* chore(deps): update rust crate is-terminal to 0.4.7 by @renovate in https://github.com/uutils/coreutils/pull/4716
* chore(deps): update rust crate terminal_size to 0.2.6 by @renovate in https://github.com/uutils/coreutils/pull/4702
* fix(deps): update rust crate dns-lookup to v2 by @renovate in https://github.com/uutils/coreutils/pull/4803
* fix(deps): update rust crate windows-sys to 0.48.0 by @renovate in https://github.com/uutils/coreutils/pull/4698
* chore(deps): update rust crate ctrlc to 3.3 by @renovate in https://github.com/uutils/coreutils/pull/4907
* chore(deps): update rust crate chrono to ^0.4.26 by @renovate in https://github.com/uutils/coreutils/pull/4922
* chore(deps): update rust crate ctrlc to 3.4 by @renovate in https://github.com/uutils/coreutils/pull/4921
* fix(deps): update rust crate libc to 0.2.143 by @renovate in https://github.com/uutils/coreutils/pull/4840
* chore(deps): update rust crate zip to 0.6.5 by @renovate in https://github.com/uutils/coreutils/pull/4838
* chore(deps): update rust crate sha3 to 0.10.8 by @renovate in https://github.com/uutils/coreutils/pull/4830
* fix(deps): update rust crate libc to 0.2.144 by @renovate in https://github.com/uutils/coreutils/pull/4848
* fix(deps): update rust crate memmap2 to 0.6 by @renovate in https://github.com/uutils/coreutils/pull/4852
* chore(deps): update rust crate humantime_to_duration to 0.2.1 by @renovate in https://github.com/uutils/coreutils/pull/4858
* chore(deps): update rust crate humantime_to_duration to 0.2.0 by @renovate in https://github.com/uutils/coreutils/pull/4857
* chore(deps): update rust crate zip to 0.6.6 by @renovate in https://github.com/uutils/coreutils/pull/4865
* chore(deps): update rust crate sm3 to 0.4.2 by @renovate in https://github.com/uutils/coreutils/pull/4866
* chore(deps): update rust crate clap_complete to 4.3 by @renovate in https://github.com/uutils/coreutils/pull/4882
* fix(deps): update rust crate data-encoding to 2.4 by @renovate in https://github.com/uutils/coreutils/pull/4883
* fix(deps): update rust crate data-encoding-macro to 0.1.13 by @renovate in https://github.com/uutils/coreutils/pull/4884
* chore(deps): update rust crate digest to 0.10.7 by @renovate in https://github.com/uutils/coreutils/pull/4885
* chore(deps): update rust crate bstr to 1.5 by @renovate in https://github.com/uutils/coreutils/pull/4887
* chore(deps): update rust crate regex to 1.8.2 by @renovate in https://github.com/uutils/coreutils/pull/4893
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.18...0.0.19
+206
View File
@@ -0,0 +1,206 @@
# 0.0.20
**Version:** 0.0.20
**Published:** 2023-07-14T16:35:47Z
## Release Notes
🎉 Get ready for the newest release of Rust Coreutils! Top highlights of this release are substantial improvements in GNU test suite compatibility and refined operations in multiple utilities including cksum, chmod, chroot, comm, cp, cut, among others.
Supporting our development is as easy as sponsoring us on GitHub! Your contributions can help us afford a more robust Continuous Integration process through GitHub Actions. To sponsor, please visit https://github.com/sponsors/uutils.
## GNU test suite compatibility
Many utils have gotten minor changes to improve GNU compatibility. Below is a summary of the progress. See https://github.com/uutils/coreutils-tracking/ for more details
| result | 0.0.19 | 0.0.20 | change |
|--------|-------:|-------:|-------:|
| pass | 365 | 373 | +8 |
| skip | 49 | 49 | 0 |
| fail | 186 | 178 | -8 |
| error | 2 | 2 | 0 |
| xpass | 0 | 0 | 0 |
![GNU testsuite evolution](https://github.com/uutils/coreutils-tracking/blob/main/gnu-results.png?raw=true)
## What's Changed
* Create a FUNDING.yml file by @sylvestre in https://github.com/uutils/coreutils/pull/4969
### cp
* cp: use mkdir_all() instead of mkdir() in test by @cakebaker in https://github.com/uutils/coreutils/pull/5029
* cp: allow multiple usages of -R - Closes: #5027 by @sylvestre in https://github.com/uutils/coreutils/pull/5028
* cp,du: fix warnings in tests on Windows by @cakebaker in https://github.com/uutils/coreutils/pull/5014
* cp: fix "unused variable" warning on Windows by @cakebaker in https://github.com/uutils/coreutils/pull/5016
### date
* date: use custom value parser by @cakebaker in https://github.com/uutils/coreutils/pull/4977
* Remove time dependency from date by @wanderinglethe in https://github.com/uutils/coreutils/pull/4952
* date: switch to parse_datetime by @cakebaker in https://github.com/uutils/coreutils/pull/4968
### dd
* dd: fix typos by @crapStone in https://github.com/uutils/coreutils/pull/5022
* dd: use an alarm thread instead of elapsed() calls by @Freaky in https://github.com/uutils/coreutils/pull/4447
### df
* df: disable failing tests on Windows by @cakebaker in https://github.com/uutils/coreutils/pull/5017
* Find MountInfo properly when symlink is used by @kropacf in https://github.com/uutils/coreutils/pull/4929
### du
* docs: add "du" to extensions by @cakebaker in https://github.com/uutils/coreutils/pull/5050
* du: directories have apparent size of 0 by @shinhs0506 in https://github.com/uutils/coreutils/pull/4991
### hashsum
* hashsum: use file_stem() instead of file_name() by @indygreg in https://github.com/uutils/coreutils/pull/5020
### install
* install: remove time crate by @miles170 in https://github.com/uutils/coreutils/pull/4948
### ls
* ls: Implement new sort option --sort=width by @Skryptonyte in https://github.com/uutils/coreutils/pull/4954
* docs: add "ls --long" to extensions by @cakebaker in https://github.com/uutils/coreutils/pull/5024
* ls: force fetching metadata when called with -L -Z by @granquet in https://github.com/uutils/coreutils/pull/4960
* ls: Limit value of --width to maximum value if overflowing by @Skryptonyte in https://github.com/uutils/coreutils/pull/5074
* ls: --l should output the same as --literal by @yt2b in https://github.com/uutils/coreutils/pull/5055
* ls: fix version cmp by @shinhs0506 in https://github.com/uutils/coreutils/pull/5038
### mkdir
* mkdir: remove TEST_DIR<x> consts in tests by @cakebaker in https://github.com/uutils/coreutils/pull/4957
### more
* More implement arguments plain and from line by @Ideflop in https://github.com/uutils/coreutils/pull/4950
### mv
* mv: fix into-self-2.sh test by @Skryptonyte in https://github.com/uutils/coreutils/pull/4966
* mv: Fix for tests/mv/symlink-onto-hardlink-to-self.sh by @Skryptonyte in https://github.com/uutils/coreutils/pull/4976
* mv: add the check with --b=simple and when the source is a backup by @sylvestre in https://github.com/uutils/coreutils/pull/4999
### nl
* nl: change value name to match help text by @cakebaker in https://github.com/uutils/coreutils/pull/5062
* nl: add "after help" by @cakebaker in https://github.com/uutils/coreutils/pull/5070
* nl: use value parser for "--number-format" by @cakebaker in https://github.com/uutils/coreutils/pull/5063
* nl: show error if --number-width is zero by @cakebaker in https://github.com/uutils/coreutils/pull/5065
* nl: add test for "--number-separator" by @cakebaker in https://github.com/uutils/coreutils/pull/5073
* nl: fix typo in nl.md by @cakebaker in https://github.com/uutils/coreutils/pull/4994
* nl: implement Default for Settings by @cakebaker in https://github.com/uutils/coreutils/pull/4995
* nl: make -p/--no-renumber a flag by @cakebaker in https://github.com/uutils/coreutils/pull/5036
### numfmt
* numfmt: add --invalid option by @sbentmar in https://github.com/uutils/coreutils/pull/4249
* numfmt: remove duplicate info from help output by @cakebaker in https://github.com/uutils/coreutils/pull/5034
### od
* od: fix parsing of hex input ending with `E` by @TheDcoder in https://github.com/uutils/coreutils/pull/4983
### pr
* `pr` use chrono instead of time by @x-dune in https://github.com/uutils/coreutils/pull/4942
### seq
* seq: rename "--widths" to "--equal-width" by @cakebaker in https://github.com/uutils/coreutils/pull/5012
* seq: remove two chars in seq.md by @cakebaker in https://github.com/uutils/coreutils/pull/5000
* fix: seq panic on no arguments #4749 by @NikolaiSch in https://github.com/uutils/coreutils/pull/4750
* docs: add seq to extensions; add some backticks by @cakebaker in https://github.com/uutils/coreutils/pull/5007
### shred
* fixed shred -u for windows by @Statheres in https://github.com/uutils/coreutils/pull/4986
### sort
* leading zeros are ignored in version compare by @shinhs0506 in https://github.com/uutils/coreutils/pull/5013
* sort: migrate from ouroboros to self_cell by @cakebaker in https://github.com/uutils/coreutils/pull/4972
### split
* split: reject some invalid values by @sylvestre in https://github.com/uutils/coreutils/pull/5032
### stty
* stty: Finish '--save' support by @dezgeg in https://github.com/uutils/coreutils/pull/5054
* stty: Support setting baud rate by @dezgeg in https://github.com/uutils/coreutils/pull/5053
### sync
* sync: fix error msg by @shinhs0506 in https://github.com/uutils/coreutils/pull/4984
### tail
* `tail`: Refactor `paths::Input::from` and `Settings::inputs` by @Joining7943 in https://github.com/uutils/coreutils/pull/4756
### tsort
* tsort: Switch to BTreeMap and BTreeSet by @cazou in https://github.com/uutils/coreutils/pull/4931
### touch
* touch: accept "modify" & "mtime" for --time arg by @cakebaker in https://github.com/uutils/coreutils/pull/5058
* touch: rename CURRENT to TIMESTAMP by @cakebaker in https://github.com/uutils/coreutils/pull/4989
* touch: use parse_datetime instead of humantime_to_duration by @cakebaker in https://github.com/uutils/coreutils/pull/5030
### yes
* yes: add --version option by @yt2b in https://github.com/uutils/coreutils/pull/4990
### Code quality
* Reformat toml and add it to the CI by @sylvestre in https://github.com/uutils/coreutils/pull/4958
* clippy: fix warnings introduced by Rust 1.71.0 by @cakebaker in https://github.com/uutils/coreutils/pull/5079
### Documentation
* Initial oranda setup by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5044
* cspell: ignore oranda.json by @cakebaker in https://github.com/uutils/coreutils/pull/5056
### CI
* fix: fixpr.yml unrecognized named-value: 'steps' by @piotrkwiecinski in https://github.com/uutils/coreutils/pull/5057
* deny.toml: add comments by @cakebaker in https://github.com/uutils/coreutils/pull/4959
* deny.toml: add hashbrown to skip list by @cakebaker in https://github.com/uutils/coreutils/pull/4985
* deny.toml: remove MPL license from allow list by @cakebaker in https://github.com/uutils/coreutils/pull/5076
### misc
* Make tests/help/help-version-getopt.sh pass by @sylvestre in https://github.com/uutils/coreutils/pull/4987
* util/build-gnu.sh: Improve error message when missing GNU Coreutils repository by @sargas in https://github.com/uutils/coreutils/pull/5019
* try to fix ignore intermittent by @sylvestre in https://github.com/uutils/coreutils/pull/4992
* Remove the auto capitalization of error message by @sylvestre in https://github.com/uutils/coreutils/pull/5004
* Update the version to 0.0.20 by @sylvestre in https://github.com/uutils/coreutils/pull/5082
### Dependencies
* Remove users crate by @cakebaker in https://github.com/uutils/coreutils/pull/4943
* chore(deps): update rust crate once_cell to 1.18.0 by @renovate in https://github.com/uutils/coreutils/pull/4944
* chore(deps): update rust crate regex to 1.8.4 by @renovate in https://github.com/uutils/coreutils/pull/4951
* fix(deps): update rust crate libc to 0.2.146 by @renovate in https://github.com/uutils/coreutils/pull/4945
* chore(deps): update rust crate tempfile to 3.6.0 by @renovate in https://github.com/uutils/coreutils/pull/4955
* fix(deps): update rust crate memmap2 to 0.7 by @renovate in https://github.com/uutils/coreutils/pull/4961
* chore(deps): update rust crate blake3 to 1.4.0 by @renovate in https://github.com/uutils/coreutils/pull/4962
* Bump getrandom from 0.2.8 to 0.2.9 by @cakebaker in https://github.com/uutils/coreutils/pull/4947
* Bump fundu to 1.0.0 and fix compile errors by @cakebaker in https://github.com/uutils/coreutils/pull/4927
* chore(deps): update rust crate phf_codegen to 0.11.2 by @renovate in https://github.com/uutils/coreutils/pull/5002
* chore(deps): update rust crate phf to 0.11.2 by @renovate in https://github.com/uutils/coreutils/pull/5001
* chore(deps): update vmactions/freebsd-vm action to v0.3.1 by @renovate in https://github.com/uutils/coreutils/pull/5006
* fix(deps): update rust crate libc to 0.2.147 by @renovate in https://github.com/uutils/coreutils/pull/5008
* chore(deps): update rust crate fundu to 1.1.0 by @renovate in https://github.com/uutils/coreutils/pull/5011
* chore(deps): update rust crate self_cell to 1.0.1 by @renovate in https://github.com/uutils/coreutils/pull/5009
* chore(deps): update davidanson/markdownlint-cli2-action action to v11 by @renovate in https://github.com/uutils/coreutils/pull/4975
* chore(deps): update rust crate sha2 to 0.10.7 by @renovate in https://github.com/uutils/coreutils/pull/4979
* chore(deps): update rust crate notify to v6.0.1 by @renovate in https://github.com/uutils/coreutils/pull/4980
* chore(deps): update rust crate bigdecimal to 0.4 by @renovate in https://github.com/uutils/coreutils/pull/5040
* chore(deps): update rust crate bstr to 1.6 by @renovate in https://github.com/uutils/coreutils/pull/5045
* chore(deps): update rust crate smallvec to 1.11 by @renovate in https://github.com/uutils/coreutils/pull/5046
* chore(deps): update rust crate regex to 1.9.0 by @renovate in https://github.com/uutils/coreutils/pull/5043
* chore(deps): update rust crate rstest to 0.18.1 by @renovate in https://github.com/uutils/coreutils/pull/5039
* chore(deps): update rust crate regex to 1.9.1 by @renovate in https://github.com/uutils/coreutils/pull/5052
* chore(deps): update rust crate fundu to 1.2.0 by @renovate in https://github.com/uutils/coreutils/pull/5061
* fix(deps): update rust crate itertools to 0.11.0 by @renovate in https://github.com/uutils/coreutils/pull/4996
* chore(deps): update rust crate rust-ini to 0.19.0 by @renovate in https://github.com/uutils/coreutils/pull/4825
* chore(deps): update rust crate rlimit to 0.10.0 by @renovate in https://github.com/uutils/coreutils/pull/5035
* Move memmap2 in the root workpace by @sylvestre in https://github.com/uutils/coreutils/pull/5018
* Bump proc-macro2 from 1.0.47 to 1.0.63 by @cakebaker in https://github.com/uutils/coreutils/pull/5021
* Bump iana-time-zone-haiku from 0.1.1 to 0.1.2 by @cakebaker in https://github.com/uutils/coreutils/pull/5041
* update platform-info 2.0.2 by @sylvestre in https://github.com/uutils/coreutils/pull/5071
* Bump pretty_assertions from 1.3.0 to 1.4.0 by @cakebaker in https://github.com/uutils/coreutils/pull/5075
* Bump syn and add it to skip list by @cakebaker in https://github.com/uutils/coreutils/pull/5047
* Bump hermit-abi and num_cpus by @cakebaker in https://github.com/uutils/coreutils/pull/5037
## New Contributors
* @x-dune made their first contribution in https://github.com/uutils/coreutils/pull/4942
* @cazou made their first contribution in https://github.com/uutils/coreutils/pull/4931
* @Skryptonyte made their first contribution in https://github.com/uutils/coreutils/pull/4954
* @wanderinglethe made their first contribution in https://github.com/uutils/coreutils/pull/4952
* @kropacf made their first contribution in https://github.com/uutils/coreutils/pull/4929
* @Statheres made their first contribution in https://github.com/uutils/coreutils/pull/4986
* @Freaky made their first contribution in https://github.com/uutils/coreutils/pull/4447
* @yt2b made their first contribution in https://github.com/uutils/coreutils/pull/4990
* @TheDcoder made their first contribution in https://github.com/uutils/coreutils/pull/4983
* @indygreg made their first contribution in https://github.com/uutils/coreutils/pull/5020
* @sargas made their first contribution in https://github.com/uutils/coreutils/pull/5019
* @crapStone made their first contribution in https://github.com/uutils/coreutils/pull/5022
* @NikolaiSch made their first contribution in https://github.com/uutils/coreutils/pull/4750
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.19...0.0.20
+206
View File
@@ -0,0 +1,206 @@
# 0.0.21
**Version:** 0.0.21
**Published:** 2023-09-03T16:12:44Z
## Release Notes
📦 Announcing Rust Coreutils version 0.0.21. This release showcases enhanced compatibility with the GNU test suite, particularly following our upgrade to GNU Coreutils 9.4. We've made technical improvements across various utilities, ensuring more robust and efficient operations. As always, we prioritize precision and performance in our updates. Dive into the detailed changelog for a comprehensive overview. 🛠️
We have a fancy new website powered by [`oranda`](https://opensource.axo.dev/oranda/)! Check it out here: https://uutils.github.io.
Supporting our development is as easy as sponsoring us on GitHub! Your contributions can help us afford a more robust Continuous Integration process through GitHub Actions. To sponsor, please visit https://github.com/sponsors/uutils.
## GNU test suite compatibility
The observed changes in the test results for the Rust Coreutils version 0.0.21 are attributed to our upgrade to use [GNU Coreutils 9.4](https://lists.gnu.org/archive/html/info-gnu/2023-08/msg00007.html) as a reference for comparison. This newer version of GNU Coreutils introduced differences that are reflected in our test outcomes. Additionally, we've actively contributed to the GNU Coreutils by reorganizing tests into a more optimal structure, significantly enhancing the results of the GNU test coverage. More details can be found in our [test coverage documentation](https://uutils.github.io/coreutils/book/test_coverage.html).
Below is a summary of the progress. See https://github.com/uutils/coreutils-tracking/ for more details
| result | 0.0.20 | 0.0.21 | change |
|--------|-------:|-------:|------:|
| pass | 373 | 372 | -1 |
| skip | 49 | 49 | 0 |
| fail | 178 | 181 | +3 |
| error | 2 | 2 | 0 |
| xpass | 0 | 0 | 0 |
![GNU testsuite evolution](https://github.com/uutils/coreutils-tracking/blob/main/gnu-results.png?raw=true)
## What's Changed
### cat
* cat: remove --t by @cakebaker in https://github.com/uutils/coreutils/pull/5089
### chown
* chown: remove some duplication in tests by @cakebaker in https://github.com/uutils/coreutils/pull/5168
### cp
* `cp`: re-export `uucore::{BackupMode, UpdateMode}` by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5211
* `cp`: finish progress bar to make it always show up by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5235
* `cp`: make more types public and add more documentation (for nushell) by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5152
### csplit
* csplit: remove explicit "into_iter()" by @cakebaker in https://github.com/uutils/coreutils/pull/5109
### date
* date: fix panic when input will cause overflow by @tommady in https://github.com/uutils/coreutils/pull/5160
### dd
* parse_size,dd: turn instance fns to associated fns by @cakebaker in https://github.com/uutils/coreutils/pull/5207
### factor
* `factor`: short circuit on write error, but not on parse error by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5225
* factor: simplify loop in test by @cakebaker in https://github.com/uutils/coreutils/pull/5192
### fmt
* fmt: fix panic on width argument by @bluelief in https://github.com/uutils/coreutils/pull/5159
* fmt: implement Default for FmtOptions by @cakebaker in https://github.com/uutils/coreutils/pull/4747
### hashsum
* `hashsum`: change debug to display format with --tag by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5219
### mktemp
* Require = for --tmpdir in mktemp by @tmccombs in https://github.com/uutils/coreutils/pull/4342
### mknod
* mknod: remove unnecessary "not" in test by @cakebaker in https://github.com/uutils/coreutils/pull/5233
### mv
* mv: remove unnecessary OR in condition by @cakebaker in https://github.com/uutils/coreutils/pull/5143
### nl
* nl: allow negative values for --line-increment and --starting-line-number by @cakebaker in https://github.com/uutils/coreutils/pull/5078
* nl: fix calculation of line number lengths by @cakebaker in https://github.com/uutils/coreutils/pull/5091
* nl: fix zero padding of negative line numbers by @cakebaker in https://github.com/uutils/coreutils/pull/5098
* nl: show error if --join-blank-lines is zero by @cakebaker in https://github.com/uutils/coreutils/pull/5103
* nl: shorten variants of NumberingStyle enum by @cakebaker in https://github.com/uutils/coreutils/pull/5100
* nl: fix output of numbering styles by @cakebaker in https://github.com/uutils/coreutils/pull/5131
* nl: re-add handling for -p/--no-renumber by @cakebaker in https://github.com/uutils/coreutils/pull/5155
* nl: implement TryFrom<&str> for NumberingStyle by @cakebaker in https://github.com/uutils/coreutils/pull/5156
* nl: handle line number overflow by @cakebaker in https://github.com/uutils/coreutils/pull/5163
### rm
* rm: refactor prompt_file() by @cakebaker in https://github.com/uutils/coreutils/pull/5147
* Add benchmarking for `rm` by @Benjscho in https://github.com/uutils/coreutils/pull/5187
### seq
* seq: display -0 by @shinhs0506 in https://github.com/uutils/coreutils/pull/5136
* seq: remove unused param from write_value_float() by @cakebaker in https://github.com/uutils/coreutils/pull/5137
### sum
* Use `rotate_right` rather than an explicit expansion in `sum` by @resistor in https://github.com/uutils/coreutils/pull/5115
*
### split
* split: loop over chars and remove char_from_digit function by @shinhs0506 in https://github.com/uutils/coreutils/pull/5153
* split: better handle numeric and hex suffixes, short and long, with and without values by @zhitkoff in https://github.com/uutils/coreutils/pull/5198
### stat
* stat: Output error when - and -f are used together. by @Skryptonyte in https://github.com/uutils/coreutils/pull/5144
### stty
* stty: Implement printing assignment of control chars by @dezgeg in https://github.com/uutils/coreutils/pull/5060
### test
* Fuzz the test command by @sylvestre in https://github.com/uutils/coreutils/pull/4641
### touch
* `touch`: move from `time` to `chrono` by @tertsdiepraam in https://github.com/uutils/coreutils/pull/4600
### tsort
* tsort: use Iterator.all by @simon04 in https://github.com/uutils/coreutils/pull/5116
### website & documentation
* docs: fix broken Arch package link by @theoludwig in https://github.com/uutils/coreutils/pull/5084
* website: fix `path_prefix` in oranda by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5175
* docs: add missing "not" by @cakebaker in https://github.com/uutils/coreutils/pull/5178
* Docs platform support page by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5172
* docs: github repo link related to uutils/coreutils by @theoludwig in https://github.com/uutils/coreutils/pull/5085
* website: fix changelog config by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5215
* docs: add conda installer by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5185
* README: update links to docs by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5190
* docs(bin,has): add docstrings for macros bin and has by @nouritsu in https://github.com/uutils/coreutils/pull/5129
* Add the Perl Power Tools impl by @sylvestre in https://github.com/uutils/coreutils/pull/5105
### Build system & CI
* uucore: make deps of "sum" feature optional by @cakebaker in https://github.com/uutils/coreutils/pull/5227
* uucore: make "dunce" optional by @cakebaker in https://github.com/uutils/coreutils/pull/5229
* uucore: turn backup_control into a feature by @cakebaker in https://github.com/uutils/coreutils/pull/5231
* uucore: turn ranges into a feature by @cakebaker in https://github.com/uutils/coreutils/pull/5238
* uucore: turn update_control into a feature by @cakebaker in https://github.com/uutils/coreutils/pull/5232
* upgrade to GNU/coreutils 9.4 by @sylvestre in https://github.com/uutils/coreutils/pull/5221
* make: split the manpage / completions generation into their target by @sylvestre in https://github.com/uutils/coreutils/pull/5092
* make: uninstall man pages by @miles170 in https://github.com/uutils/coreutils/pull/5101
* Improve the coreutils manpage by @sylvestre in https://github.com/uutils/coreutils/pull/5093
* uucore: use "workspace=true" for some dependencies by @cakebaker in https://github.com/uutils/coreutils/pull/5110
* ci: add default_trait_access lint and fix its warnings by @cakebaker in https://github.com/uutils/coreutils/pull/5081
* ci: Add a new workflow to check and format shell scripts in `util` dir by @starccy in https://github.com/uutils/coreutils/pull/5077
* "style(util): fix/format scripts to meet the `shellcheck`/`shfmt` rules" by @starccy in https://github.com/uutils/coreutils/pull/5090
* `Cargo.toml`: add `feat_require_unix_hostid` to `feat_os_unix` by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5179
* only set SELINUX_ENABLED=1 on Linux by @sylvestre in https://github.com/uutils/coreutils/pull/5112
* build-gnu.sh: indent comment by @cakebaker in https://github.com/uutils/coreutils/pull/5118
* 0.0.20 => 0.0.21 by @sylvestre in https://github.com/uutils/coreutils/pull/5237
### Various improvements
* uucore: remove unnecessary heap allocation by @thechampagne in https://github.com/uutils/coreutils/pull/5228
* Fix clippy warnings with Rust 1.72.0 by @cakebaker in https://github.com/uutils/coreutils/pull/5204
* Fix some of the recent clippy warnings by @sylvestre in https://github.com/uutils/coreutils/pull/5182
* uucore: don't show error for ambiguous value by @cakebaker in https://github.com/uutils/coreutils/pull/5127
* uucore: provide capacity for vectors by @shinhs0506 in https://github.com/uutils/coreutils/pull/5086
* use is_empty() in mv & rmdir by @shinhs0506 in https://github.com/uutils/coreutils/pull/5117
* Extract uucore::line_ending::LineEnding by @simon04 in https://github.com/uutils/coreutils/pull/5120
* uucore,comm: fix warnings from bool_to_int_with_if by @cakebaker in https://github.com/uutils/coreutils/pull/5206
### Dependencies
* chore(deps): update rust crate chrono to ^0.4.28 by @renovate in https://github.com/uutils/coreutils/pull/5226
* chore(deps): update rust crate regex to 1.9.5 by @renovate in https://github.com/uutils/coreutils/pull/5234
* Bump windows-targets from 0.48.0 to 0.48.2 by @cakebaker in https://github.com/uutils/coreutils/pull/5161
* Downgrade windows-targets from 0.48.2 to 0.48.0 by @cakebaker in https://github.com/uutils/coreutils/pull/5167
* Bump js-sys from 0.3.60 to 0.3.64 by @cakebaker in https://github.com/uutils/coreutils/pull/5154
* chore(deps): update rust crate rstest to 0.18.2 by @renovate in https://github.com/uutils/coreutils/pull/5157
* Bump cpp to remove aho-corasick from skip list in deny.toml by @cakebaker in https://github.com/uutils/coreutils/pull/5165
* chore(deps): update rust crate signal-hook to 0.3.17 by @renovate in https://github.com/uutils/coreutils/pull/5097
* chore(deps): update rust crate signal-hook to 0.3.16 by @renovate in https://github.com/uutils/coreutils/pull/5087
* chore(deps): update rust crate rlimit to 0.10.1 by @renovate in https://github.com/uutils/coreutils/pull/5099
* chore(deps): update rust crate num-traits to 0.2.16 by @renovate in https://github.com/uutils/coreutils/pull/5108
* chore(deps): update rust crate xattr to 1.0.1 by @renovate in https://github.com/uutils/coreutils/pull/5121
* chore(deps): update rust crate regex to 1.9.3 by @renovate in https://github.com/uutils/coreutils/pull/5132
* Bump fundu & fix two failing tests by @cakebaker in https://github.com/uutils/coreutils/pull/5139
* Bump rustix crates by @cakebaker in https://github.com/uutils/coreutils/pull/5141
* Bump aho-corasick crates by @cakebaker in https://github.com/uutils/coreutils/pull/5140
* Bump futures from 0.3.25 to 0.3.28 by @cakebaker in https://github.com/uutils/coreutils/pull/5145
* Bump cpp from 0.5.7 to 0.5.8 by @cakebaker in https://github.com/uutils/coreutils/pull/5146
* chore(deps): update rust crate regex to 1.9.4 by @renovate in https://github.com/uutils/coreutils/pull/5208
* chore(deps): update rust crate lscolors to 0.15.0 by @renovate in https://github.com/uutils/coreutils/pull/5111
* Bump unicode-linebreak from 0.1.4 to 0.1.5 by @cakebaker in https://github.com/uutils/coreutils/pull/5113
* chore(deps): update rust crate chrono to ^0.4.27 by @renovate in https://github.com/uutils/coreutils/pull/5220
* chore(deps): update davidanson/markdownlint-cli2-action action to v12 by @renovate in https://github.com/uutils/coreutils/pull/5223
* chore(deps): update rust crate tempfile to 3.8.0 by @renovate in https://github.com/uutils/coreutils/pull/5169
* deny.toml: add bitflags to skip list by @cakebaker in https://github.com/uutils/coreutils/pull/5134
* deny.toml: remove redox_syscall from skip list by @cakebaker in https://github.com/uutils/coreutils/pull/5135
* chore(deps): update rust crate crossterm to >=0.27.0 by @renovate in https://github.com/uutils/coreutils/pull/5133
* chore(deps): update rust crate num-bigint to 0.4.4 by @renovate in https://github.com/uutils/coreutils/pull/5196
* Some updates of deps by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5148
* chore(deps): update is-terminal and tempfile in Cargo.toml by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5151
### code header
* Add license headers on all files by @sylvestre in https://github.com/uutils/coreutils/pull/5183
* Remove the author copyright notices by @sylvestre in https://github.com/uutils/coreutils/pull/5184
* Remove the author copyright notices by @cakebaker in https://github.com/uutils/coreutils/pull/5197
* All: normalize license notice in all `*.rs` files by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5199
* Remove the author copyright notices by @cakebaker in https://github.com/uutils/coreutils/pull/5205
## New Contributors
* @theoludwig made their first contribution in https://github.com/uutils/coreutils/pull/5085
* @starccy made their first contribution in https://github.com/uutils/coreutils/pull/5077
* @simon04 made their first contribution in https://github.com/uutils/coreutils/pull/5116
* @nouritsu made their first contribution in https://github.com/uutils/coreutils/pull/5129
* @bluelief made their first contribution in https://github.com/uutils/coreutils/pull/5159
* @tommady made their first contribution in https://github.com/uutils/coreutils/pull/5160
* @Benjscho made their first contribution in https://github.com/uutils/coreutils/pull/5187
* @zhitkoff made their first contribution in https://github.com/uutils/coreutils/pull/5198
* @thechampagne made their first contribution in https://github.com/uutils/coreutils/pull/5228
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.20...0.0.21
+247
View File
@@ -0,0 +1,247 @@
# 0.0.22
**Version:** 0.0.22
**Published:** 2023-10-15T16:38:31Z
## Release Notes
📦 **Rust Coreutils 0.0.22 Release:**
We've got +11 more GNU tests passing than in our last release.
This release also adds support for NetBSD and requires a minimum Rust version of 1.70. 🛠️
We are also collaborating more and more with the [nushell](https://github.com/nushell/nushell/) team. Future versions of nushell will rely on the Rust Coreutils.
24 developers contributed to this release (11 new contributors started with this release).
Visit our website at [https://uutils.github.io](https://uutils.github.io).
If you want to help us, please consider sponsoring on GitHub. This helps us use better tools like GitHub Actions. Sponsor us at [https://github.com/sponsors/uutils](https://github.com/sponsors/uutils).
## GNU test suite compatibility
Here's how version 0.0.22 compares to the previous release - running GNU/Coreutils 9.4:
| result | 0.0.21 | 0.0.22 | change |
|--------|-------:|-------:|------:|
| pass | 372 | 383 | +11 |
| skip | 49 | 48 | -1 |
| fail | 181 | 171 | -10 |
| error | 2 | 2 | 0 |
![GNU testsuite evolution](https://github.com/uutils/coreutils-tracking/blob/main/gnu-results.png?raw=true)
For more details, visit [https://github.com/uutils/coreutils-tracking/](https://github.com/uutils/coreutils-tracking/).
## What's Changed
* Bump MSRV to 1.70 by @cakebaker in https://github.com/uutils/coreutils/pull/5239
### chown
* chown: move uid & gid detections into their own functions by @sylvestre in https://github.com/uutils/coreutils/pull/5359
### cp
* cp: Error out if cp only contains source by @dmatos2012 in https://github.com/uutils/coreutils/pull/5253
* cp: fix the result of inodes are not the same when preserve links is flagged by @tommady in https://github.com/uutils/coreutils/pull/5064
* cp: fix cp -dR --no-preserve=links d c should have different inodes by @tommady in https://github.com/uutils/coreutils/pull/5320
* cp: fail when trying to copy to read only file on mac by @PGIII in https://github.com/uutils/coreutils/pull/5261
* cp: show no "skipped" msg with -vi/-vin by @cakebaker in https://github.com/uutils/coreutils/pull/5348
### cut
* cut-huge-range.sh: make cut fails on usize::MAX by @sylvestre in https://github.com/uutils/coreutils/pull/4988
### dd
* dd: fix GNU test 'dd/skip-seek-past-dev' by @bbara in https://github.com/uutils/coreutils/pull/4527
### df
* df: Fix overflow error on WSL. Default to 0 when the values are non-sense. by @howard0su in https://github.com/uutils/coreutils/pull/5381
### echo
* echo's doc doesn't show correctly by @sylvestre in https://github.com/uutils/coreutils/pull/5260
* echo: fix wrapping behavior of octal sequences by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5218
* echo: don't output "\n" if "\c" is encountered by @cakebaker in https://github.com/uutils/coreutils/pull/5350
### expr
* expr: short-circuit evaluation for `|` by @Luv-Ray in https://github.com/uutils/coreutils/pull/5365
* expr: add some empty lines by @cakebaker in https://github.com/uutils/coreutils/pull/5376
* expr: short-circuit evaluation for `&` by @Luv-Ray in https://github.com/uutils/coreutils/pull/5402
* expr: test some invalid syntaxes by @cakebaker in https://github.com/uutils/coreutils/pull/5405
* expr: interpret numbers != 0 as true for | and & by @cakebaker in https://github.com/uutils/coreutils/pull/5324
### fmt
* fmt: use clap's value parser for goal & width by @cakebaker in https://github.com/uutils/coreutils/pull/5333
### head
* head: remove a clippy::cognitive_complexity by moving some content in a function by @sylvestre in https://github.com/uutils/coreutils/pull/5366
* head: add some empty lines by @cakebaker in https://github.com/uutils/coreutils/pull/5373
### ls
* ls.rs: changed variable name dfn to display_file_content responding to #5282 by @rojin254 in https://github.com/uutils/coreutils/pull/5283
* Support ls --dired by @sylvestre in https://github.com/uutils/coreutils/pull/5280
* ls -R1: add a test to replicate GNU's recursive.sh by @sylvestre in https://github.com/uutils/coreutils/pull/5342
* ls --dired - some minor cleanup by @sylvestre in https://github.com/uutils/coreutils/pull/5299
* ls: fix test which fails if /tmp uses tmpfs by @cakebaker in https://github.com/uutils/coreutils/pull/5301
* ls --dired: replace the previous "total: xx" padding method by @sylvestre in https://github.com/uutils/coreutils/pull/5305
* ls: move to `uutils-term-grid` by @miles170 in https://github.com/uutils/coreutils/pull/5391
* ls: use OnceCell from std instead of once_cell by @cakebaker in https://github.com/uutils/coreutils/pull/5268
* ls: Document a bit tests/ls/stat-dtype.sh by @sylvestre in https://github.com/uutils/coreutils/pull/5397
* ls -l: show an error when symlink not readable by @sylvestre in https://github.com/uutils/coreutils/pull/5278
* ls: fix panic when file removed too quickly by @sanpii in https://github.com/uutils/coreutils/pull/5372
### mkdir
* mkdir: make `mkdir` public and document it by @KAAtheWiseGit in https://github.com/uutils/coreutils/pull/5329
### mv
* mv: expose main functionality for nushell by @PThorpe92 in https://github.com/uutils/coreutils/pull/5335
* ls: fix panic when file removed too quickly by @sanpii in https://github.com/uutils/coreutils/pull/5372
* mv: show no "skipped" msg with -vi/-vin by @cakebaker in https://github.com/uutils/coreutils/pull/5347
* mv: fix typo in test function name by @cakebaker in https://github.com/uutils/coreutils/pull/5351
### nl
* nl: make line number and --join-blank-lines work over multiple files by @cakebaker in https://github.com/uutils/coreutils/pull/5285
* nl: fix output order if stdin and files are mixed by @cakebaker in https://github.com/uutils/coreutils/pull/5306
* nl: implement -d/--section-delimiter by @cakebaker in https://github.com/uutils/coreutils/pull/5158
* nl: defer showing "line number overflow" error by @cakebaker in https://github.com/uutils/coreutils/pull/5340
### relpath
* relpath: remove by @boxdot in https://github.com/uutils/coreutils/pull/5355
* relpath: show error if no argument provided by @cakebaker in https://github.com/uutils/coreutils/pull/5302
### rm
* rm: make the utility public by @KAAtheWiseGit in https://github.com/uutils/coreutils/pull/5304
### seq
* seq: parse "infinity" and "-infinity" by @shinhs0506 in https://github.com/uutils/coreutils/pull/5124
### split
* split: implement remaining -n variants and pass GNU tests/split/fail.sh by @zhitkoff in https://github.com/uutils/coreutils/pull/5252
* split: catch broken pipe error for round robin strategy by @granquet in https://github.com/uutils/coreutils/pull/5338
### touch
* touch: make main public by @KAAtheWiseGit in https://github.com/uutils/coreutils/pull/5318
### tr
* tr: work with Windows newline (CRLF) by @muhajirdev in https://github.com/uutils/coreutils/pull/5344
* tr: rename to_u*_str to map_buffer in set1 and set2 by @cakebaker in https://github.com/uutils/coreutils/pull/5325
* tr: make the utility public by @KAAtheWiseGit in https://github.com/uutils/coreutils/pull/5322
* tr: support character class [:blank:] by @takanki in https://github.com/uutils/coreutils/pull/5317
* tr: Add test for character class [:blank:] by @cakebaker in https://github.com/uutils/coreutils/pull/5328
### wc
* wc: add --count-mbs option by @mbuf in https://github.com/uutils/coreutils/pull/5336
### whoami
* whoami: add support for -g/-m options by @muhajirdev in https://github.com/uutils/coreutils/pull/5352
* whoami: make main public by @KAAtheWiseGit in https://github.com/uutils/coreutils/pull/5321
### yes
* yes: make main public by @KAAtheWiseGit in https://github.com/uutils/coreutils/pull/5349
### Build system & CI
* ci: code-quality workflow doesn't fail on clippy errors by @miles170 in https://github.com/uutils/coreutils/pull/5399
* build-gnu.sh: fix for /usr/bin/timeout on MacOS by @zhitkoff in https://github.com/uutils/coreutils/pull/5194
* build-gnu.sh: fix formatting issues by @cakebaker in https://github.com/uutils/coreutils/pull/5248
* run-gnu-test.sh: show if we can't find the file by @sylvestre in https://github.com/uutils/coreutils/pull/5318
* run-gnu-test.sh: accept "run-root" as first param by @cakebaker in https://github.com/uutils/coreutils/pull/5323
* ci: remove committing from CheckScripts.yml by @cakebaker in https://github.com/uutils/coreutils/pull/5291
* ci: replace deprecated "command" with "fix" by @cakebaker in https://github.com/uutils/coreutils/pull/5271
* Binary sizes: handle when 0 (relpath removal) by @sylvestre in https://github.com/uutils/coreutils/pull/5369
* build-gnu.sh: fix formatting by @cakebaker in https://github.com/uutils/coreutils/pull/5290
* 0.0.21 => 0.0.22 by @sylvestre in https://github.com/uutils/coreutils/pull/5409
* Add NetBSD support to uucore. by @0323pin in https://github.com/uutils/coreutils/pull/5289
### Documentation
* DEVELOPMENT.md: improve doc on how to run some tests by @sylvestre in https://github.com/uutils/coreutils/pull/5393
* update of the release doc by @sylvestre in https://github.com/uutils/coreutils/pull/5410
* Introducing DEVELOPMENT.md by @zhitkoff in https://github.com/uutils/coreutils/pull/5209
* doc: recommend the rust-gdb helper by @sylvestre in https://github.com/uutils/coreutils/pull/5404
* Document how to run the pure Rust tests by @sylvestre in https://github.com/uutils/coreutils/pull/5279
### Security
* fuzz: move the common duplicated code into a function by @sylvestre in https://github.com/uutils/coreutils/pull/5332
* fuzzing: remove some duplicated code + clippy fixes by @sylvestre in https://github.com/uutils/coreutils/pull/5337
* Fuzz the expr command by @sylvestre in https://github.com/uutils/coreutils/pull/4642
* fuzz: store the corpus by @tommady in https://github.com/uutils/coreutils/pull/5363
* github action: move the fuzzing action into it own file/task by @sylvestre in https://github.com/uutils/coreutils/pull/5380
### Various improvements
* uucore: turn version_cmp into a feature by @cakebaker in https://github.com/uutils/coreutils/pull/5254
* clippy: suppress cognitive_complexity lint in some tests by @cakebaker in https://github.com/uutils/coreutils/pull/5401
* uucore: remove commented out import by @cakebaker in https://github.com/uutils/coreutils/pull/5384
* uucore: remove commented out enum FChar by @cakebaker in https://github.com/uutils/coreutils/pull/5385
* Make clippy::cognitive_complexity as an error by @sylvestre in https://github.com/uutils/coreutils/pull/5379
* clippy: suppress cognitive_complexity lint for two functions by @cakebaker in https://github.com/uutils/coreutils/pull/5374
* truncate clippy fix. by @devnexen in https://github.com/uutils/coreutils/pull/5259
* uu clippy fix proposal. by @devnexen in https://github.com/uutils/coreutils/pull/5264
* clippy: fix warnings in tests by @cakebaker in https://github.com/uutils/coreutils/pull/5362
* uucore: turn quoting_style into a feature by @cakebaker in https://github.com/uutils/coreutils/pull/5265
* fs: split get_file_display into its function & add test by @sylvestre in https://github.com/uutils/coreutils/pull/5394
* Replace list of digit by is_digit by @sylvestre in https://github.com/uutils/coreutils/pull/5336
### Dependencies
* Bump blake3 & add constant_time_eq to skip list in deny.toml by @cakebaker in https://github.com/uutils/coreutils/pull/5249
* chore(deps): update rust crate clap_complete to 4.4 by @renovate in https://github.com/uutils/coreutils/pull/5201
* chore(deps): update actions/checkout action to v4 by @renovate in https://github.com/uutils/coreutils/pull/5241
* chore(deps): update rust crate clap to 4.4 by @renovate in https://github.com/uutils/coreutils/pull/5200
* chore(deps): update rust crate half to 2.3 by @renovate in https://github.com/uutils/coreutils/pull/5005
* chore(deps): update rust crate regex to 1.10.1 by @renovate in https://github.com/uutils/coreutils/pull/5387
* chore(deps): update rust crate memmap2 to 0.9 by @renovate in https://github.com/uutils/coreutils/pull/5352
* chore(deps): update rust crate byteorder to 1.5.0 by @renovate in https://github.com/uutils/coreutils/pull/5361
* chore(deps): update rust crate md-5 to 0.10.6 by @renovate in https://github.com/uutils/coreutils/pull/5303
* chore(deps): update rust crate memmap2 to 0.8 by @renovate in https://github.com/uutils/coreutils/pull/5319
* fix(deps): update rust crate wild to 2.2 by @renovate in https://github.com/uutils/coreutils/pull/5317
* chore(deps): update rust crate exacl to 0.11.0 by @renovate in https://github.com/uutils/coreutils/pull/5322
* chore(deps): update rust crate sha2 to 0.10.8 by @renovate in https://github.com/uutils/coreutils/pull/5325
* chore(deps): update rust crate regex to 1.9.6 by @renovate in https://github.com/uutils/coreutils/pull/5339
* chore(deps): update rust crate num-traits to 0.2.17 by @renovate in https://github.com/uutils/coreutils/pull/5375
* Bump errno from 0.3.1 to 0.3.5 by @cakebaker in https://github.com/uutils/coreutils/pull/5382
* chore(deps): update rust crate bytecount to 0.6.4 by @renovate in https://github.com/uutils/coreutils/pull/5346
* chore(deps): update rust crate libc to 0.2.149 by @renovate in https://github.com/uutils/coreutils/pull/5370
* chore(deps): update mfinelli/setup-shfmt action to v3 by @renovate in https://github.com/uutils/coreutils/pull/5284
* chore(deps): update rust crate unicode-width to 0.1.11 by @renovate in https://github.com/uutils/coreutils/pull/5286
* chore(deps): update davidanson/markdownlint-cli2-action action to v13 by @renovate in https://github.com/uutils/coreutils/pull/5287
* chore(deps): update rust crate rayon to 1.8 by @renovate in https://github.com/uutils/coreutils/pull/5295
* chore(deps): update rust crate blake3 to 1.5.0 by @renovate in https://github.com/uutils/coreutils/pull/5296
* chore(deps): update rust crate winapi-util to 0.1.6 by @renovate in https://github.com/uutils/coreutils/pull/5292
* chore(deps): update rust crate redox_syscall to 0.4 by @renovate in https://github.com/uutils/coreutils/pull/5262
* chore(deps): update rust crate blake2b_simd to 1.0.2 by @renovate in https://github.com/uutils/coreutils/pull/5266
* chore(deps): update rust crate libc to 0.2.148 by @renovate in https://github.com/uutils/coreutils/pull/5272
* chore(deps): update codecov/codecov-action action to v4 by @renovate in https://github.com/uutils/coreutils/pull/5273
* Revert "chore(deps): update codecov/codecov-action action to v4" by @cakebaker in https://github.com/uutils/coreutils/pull/5277
* chore(deps): update rust crate chrono to ^0.4.31 by @renovate in https://github.com/uutils/coreutils/pull/5251
* chore(deps): update rust crate terminal_size to 0.3.0 by @renovate in https://github.com/uutils/coreutils/pull/5275
* fix(deps): update rust crate dns-lookup to 2.0.3 by @renovate in https://github.com/uutils/coreutils/pull/5281
* chore(deps): update rust crate sha1 to 0.10.6 by @renovate in https://github.com/uutils/coreutils/pull/5298
* chore(deps): update rust crate walkdir to 2.4 by @renovate in https://github.com/uutils/coreutils/pull/5250
* Bump bstr and regex by @cakebaker in https://github.com/uutils/coreutils/pull/5388
* deny.toml: add redox_syscall to skip list by @cakebaker in https://github.com/uutils/coreutils/pull/5263
* Bump nix & ctrlc, adapt stty to nix API changes by @cakebaker in https://github.com/uutils/coreutils/pull/5258
* deny.toml: remove constant_time_eq from skip list by @cakebaker in https://github.com/uutils/coreutils/pull/5267
* Bump chrono and fix deprecation warnings in touch by @cakebaker in https://github.com/uutils/coreutils/pull/5270
* deny.toml: add terminal_size to skip list by @cakebaker in https://github.com/uutils/coreutils/pull/5276
* Update parse_datetime to 0.5.0 by @u8sand in https://github.com/uutils/coreutils/pull/5313
* Use std::io::IsTerminal instead of is-terminal by @cakebaker in https://github.com/uutils/coreutils/pull/5240
* Remove is-terminal from Cargo.lock by @cakebaker in https://github.com/uutils/coreutils/pull/5247
## New Contributors
* @rojin254 made their first contribution in https://github.com/uutils/coreutils/pull/5283
* @0323pin made their first contribution in https://github.com/uutils/coreutils/pull/5289
* @KAAtheWiseGit made their first contribution in https://github.com/uutils/coreutils/pull/5304
* @Leviticoh made their first contribution in https://github.com/uutils/coreutils/pull/4228
* @u8sand made their first contribution in https://github.com/uutils/coreutils/pull/5313
* @PGIII made their first contribution in https://github.com/uutils/coreutils/pull/5261
* @boxdot made their first contribution in https://github.com/uutils/coreutils/pull/5355
* @PThorpe92 made their first contribution in https://github.com/uutils/coreutils/pull/5335
* @sanpii made their first contribution in https://github.com/uutils/coreutils/pull/5372
* @Luv-Ray made their first contribution in https://github.com/uutils/coreutils/pull/5365
* @howard0su made their first contribution in https://github.com/uutils/coreutils/pull/5381
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.21...0.0.22
+172
View File
@@ -0,0 +1,172 @@
# 0.0.23
**Version:** 0.0.23
**Published:** 2023-11-14T12:36:32Z
## Release Notes
📦 **Rust Coreutils 0.0.23 Release:**
We've got +10 more GNU tests passing than in our last release.
24 developers contributed to this release (9 new contributors started with this release).
Visit our website at [https://uutils.github.io](https://uutils.github.io).
If you want to help us, please consider sponsoring on GitHub. This helps us use better tools like GitHub Actions. Sponsor us at [https://github.com/sponsors/uutils](https://github.com/sponsors/uutils).
## GNU test suite compatibility
Here's how version 0.0.23 compares to the previous release - running GNU/Coreutils 9.4:
| result | 0.0.22 | 0.0.23 | Change 0.0.22 to 0.0.23 | % Total 0.0.23 (Change) |
|--------|-------:|-------:|------------------------:|--------------------------:|
| pass | 383 | 393 | +10 | 65.07% (+1.66%) |
| skip | 48 | 49 | +1 | 8.11% (+0.17%) |
| fail | 171 | 160 | -11 | 26.49% (-1.82%) |
| error | 2 | 2 | 0 | 0.33% (0.00%) |
![GNU testsuite evolution](https://github.com/uutils/coreutils-tracking/blob/main/gnu-results.png?raw=true)
For more details, visit [https://github.com/uutils/coreutils-tracking/](https://github.com/uutils/coreutils-tracking/).
## What's Changed
### global
* Implement SI prefixes R and Q by @zhitkoff in https://github.com/uutils/coreutils/pull/5357
This applies to the commands: dd, df, du, head, ls, od, shref, split, tail and truncate
### cat
* cat: use error code 62 for ELOOP on FreeBSD by @cakebaker in https://github.com/uutils/coreutils/pull/5477
* cat: return the same error message as GNU with loop symlink by @sylvestre in https://github.com/uutils/coreutils/pull/5466
### cp
* cp: make test_closes_file_descriptors Linux-only by @cakebaker in https://github.com/uutils/coreutils/pull/5508
* cp: fix cp -rT dir dir2 leads to different result than with GNU cp by @tommady in https://github.com/uutils/coreutils/pull/5467
* cp: restrict two test functions to linux/mac/win by @cakebaker in https://github.com/uutils/coreutils/pull/5471
* cp: remove `crash!` call by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5486
* cp --remove-destination: don't fail if destination is symlink to source by @cakebaker in https://github.com/uutils/coreutils/pull/5430
* cp: add test for --attributes-only by @cakebaker in https://github.com/uutils/coreutils/pull/5458
* cp: fix cp -a --no-preserve=mode doesn't keep fully the mode by @tommady in https://github.com/uutils/coreutils/pull/5353
* cp,tail: fix warnings in tests on Android by @cakebaker in https://github.com/uutils/coreutils/pull/5496
### dd
* dd: Do not use the OS provided dd utility on FIFOs by @n1000 in https://github.com/uutils/coreutils/pull/5453
### df
* freebsd: fix the 'df' command by @kostikbel in https://github.com/uutils/coreutils/pull/5462
* df: Replace the error message by the one generated by clap by @sylvestre in https://github.com/uutils/coreutils/pull/5452
### du
* du: make -l/--count-links work by @cakebaker in https://github.com/uutils/coreutils/pull/5493
* du: remove crash! macro by @alexhausen in https://github.com/uutils/coreutils/pull/5501
* du: add --no-dereference by @cakebaker in https://github.com/uutils/coreutils/pull/5491
* du: ignore test under Android & FreeBSD by @cakebaker in https://github.com/uutils/coreutils/pull/5497
* du: use blocks to remove some cfgs by @cakebaker in https://github.com/uutils/coreutils/pull/5504
* du: add -H (alias for --dereference-args) by @cakebaker in https://github.com/uutils/coreutils/pull/5506
### expand
* expand: remove crash! macro by @ceteece in https://github.com/uutils/coreutils/pull/5510
### expr
* expr: return 0 for `"" \| ""` by @Luv-Ray in https://github.com/uutils/coreutils/pull/5416
### join
* join: remove a clippy::cognitive_complexity by moving some content in functions by @sylvestre in https://github.com/uutils/coreutils/pull/5367
### ls
* ls --dired -R: fix the positions by @sylvestre in https://github.com/uutils/coreutils/pull/5341
* ls --dired: document the whole thing by @sylvestre in https://github.com/uutils/coreutils/pull/5432
* ls: update of the GNU test error output by @sylvestre in https://github.com/uutils/coreutils/pull/5438
* ls: return exit code 2 for invalid time-style by @cakebaker in https://github.com/uutils/coreutils/pull/5447
* ls: use try_get_matches_from instead of get_matches_from by @cakebaker in https://github.com/uutils/coreutils/pull/5446
### mktemp
* mktemp: add func to expose functionality (for use in nushell) by @tskinn in https://github.com/uutils/coreutils/pull/5479
### mv
* mv: make UpdateMode public by @dmatos2012 in https://github.com/uutils/coreutils/pull/5428
* mv: Fix stderr output mv file into dir and dir into file where both are files by @mickvangelderen in https://github.com/uutils/coreutils/pull/5464
* mv: rename canonized_* -> canonicalized_* by @cakebaker in https://github.com/uutils/coreutils/pull/5454
* mv: moving directory itself should fail by @dmatos2012 in https://github.com/uutils/coreutils/pull/5429
### pathchk
* pathchk: check empty path by default by @Luv-Ray in https://github.com/uutils/coreutils/pull/5423
### pr
* pr: skip a test for now for way too long log by @sylvestre in https://github.com/uutils/coreutils/pull/5440
### printf
* printf: support %q by @Luv-Ray in https://github.com/uutils/coreutils/pull/5514
### rm
* rm: In some cases, remove_dir is doing a better job than remove_dir_all by @sylvestre in https://github.com/uutils/coreutils/pull/5403
* rm: refactor `prompt_file`, issue #5345 by @terade in https://github.com/uutils/coreutils/pull/5356
* rm: adjust fail-2eperm.sh - gnu test by @sylvestre in https://github.com/uutils/coreutils/pull/5435
### runcon
* runcon: generate the same error as GNUs by @sylvestre in https://github.com/uutils/coreutils/pull/5439
### split
* split: suffix auto length by @zhitkoff in https://github.com/uutils/coreutils/pull/5433
* split : `--filter` and stdin updates by @zhitkoff in https://github.com/uutils/coreutils/pull/5418
* split: suffix length refactor by @zhitkoff in https://github.com/uutils/coreutils/pull/5449
### test
* test: use mtime for -ot and fix direction of comparison by @n1000 in https://github.com/uutils/coreutils/pull/5441
### Other OS & arch changes
* Add darwin arm64 builds by @dzbarsky in https://github.com/uutils/coreutils/pull/5523
* Add support in uucore for illumos and solaris by @bbarker in https://github.com/uutils/coreutils/pull/5489
### CI
* ci: remove outdated comment by @cakebaker in https://github.com/uutils/coreutils/pull/5525
* deny.toml: remove two entries from skip list by @cakebaker in https://github.com/uutils/coreutils/pull/5478
### Documentation
* doc: add a missing "a" by @cakebaker in https://github.com/uutils/coreutils/pull/5413
* Expand CONTRIBUTING.md (WIP) by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5488
* CONTRIBUTING.md: spell-checker:ignore "rustdoc's" by @cakebaker in https://github.com/uutils/coreutils/pull/5512
* doc: mention "-v/--verbose" as extension of du by @cakebaker in https://github.com/uutils/coreutils/pull/5436
* uucore: remove incorrect comment by @cakebaker in https://github.com/uutils/coreutils/pull/5422
* Remove "last synced with" comments by @cakebaker in https://github.com/uutils/coreutils/pull/5469
## Security
* fuzzing: Refactor the error management by @sylvestre in https://github.com/uutils/coreutils/pull/5517
* fuzz: Move a duplicate function into fuzz_common by @sylvestre in https://github.com/uutils/coreutils/pull/5524
* github action: split the run of the fuzzers by @tommady in https://github.com/uutils/coreutils/pull/5444
* fuzz: use parse_size_u64 by @Luv-Ray in https://github.com/uutils/coreutils/pull/5470
* fuzz: set LC_COLLATE=C for expr by @cakebaker in https://github.com/uutils/coreutils/pull/5419
## Various improvements
* Prepare version 0.0.23 by @sylvestre in https://github.com/uutils/coreutils/pull/5529
* Fix clippy::implicit_clone by @Statheres in https://github.com/uutils/coreutils/pull/5494
## Dependencies
* Bump const-random from 0.1.15 to 0.1.16 by @cakebaker in https://github.com/uutils/coreutils/pull/5445
* fix(deps): update rust crate dns-lookup to 2.0.4 by @renovate in https://github.com/uutils/coreutils/pull/5412
* chore(deps): update rust crate regex to 1.10.2 by @renovate in https://github.com/uutils/coreutils/pull/5415
* Bump rustix crates by @cakebaker in https://github.com/uutils/coreutils/pull/5425
* chore(deps): update rust crate bytecount to 0.6.5 by @renovate in https://github.com/uutils/coreutils/pull/5442
* chore(deps): update rust crate bytecount to 0.6.7 by @renovate in https://github.com/uutils/coreutils/pull/5450
* chore(deps): update rust crate tempfile to 3.8.1 by @renovate in https://github.com/uutils/coreutils/pull/5461
* chore(deps): update actions/github-script action to v7 by @renovate in https://github.com/uutils/coreutils/pull/5528
* chore(deps): update rust crate libc to 0.2.150 by @renovate in https://github.com/uutils/coreutils/pull/5498
* chore(deps): update rust crate procfs to 0.16 by @renovate in https://github.com/uutils/coreutils/pull/5474
* chore(deps): update rust crate bstr to 1.8 by @renovate in https://github.com/uutils/coreutils/pull/5518
* chore(deps): update rust crate self_cell to 1.0.2 by @renovate in https://github.com/uutils/coreutils/pull/5520
## New Contributors
* @terade made their first contribution in https://github.com/uutils/coreutils/pull/5356
* @n1000 made their first contribution in https://github.com/uutils/coreutils/pull/5441
* @mickvangelderen made their first contribution in https://github.com/uutils/coreutils/pull/5464
* @kostikbel made their first contribution in https://github.com/uutils/coreutils/pull/5462
* @bbarker made their first contribution in https://github.com/uutils/coreutils/pull/5489
* @tskinn made their first contribution in https://github.com/uutils/coreutils/pull/5479
* @alexhausen made their first contribution in https://github.com/uutils/coreutils/pull/5501
* @ceteece made their first contribution in https://github.com/uutils/coreutils/pull/5510
* @dzbarsky made their first contribution in https://github.com/uutils/coreutils/pull/5523
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.22...0.0.23
+388
View File
@@ -0,0 +1,388 @@
#
**Version:** 0.0.24
**Published:** 2024-01-25T22:49:24Z
## Release Notes
📦 **Rust Coreutils 0.0.24 Release:**
We've got +29 more GNU tests passing than in our last release! We are getting closer to version 1.0: each test passed is a step forward in ensuring that our users have a reliable and robust set of utilities that align closely with GNU standards.
49 developers contributed to this release (28 new contributors started with this release).
A key highlight of this release is the expansion of support to new platforms and operating systems. Notably, the software has been ported to sparc64, OpenBSD, and Redox, broadening its usability across different system architectures and environments. This marks a significant step in making Rust Coreutils more versatile and accessible to a wider range of users and developers.
In addition to these expansions, the release has also focused on the integration of more fuzzing techniques, including differential fuzzing and OSS Fuzz integration.
We also contributed to the GNU implementation to improve their test coverage.
We would like to thank to the support the Sovereign Tech Fund for their support (more details later).
Visit our website at [https://uutils.github.io](https://uutils.github.io).
If you want to help us, please consider sponsoring on GitHub. This helps us use better tools like GitHub Actions. Sponsor us at [https://github.com/sponsors/uutils](https://github.com/sponsors/uutils).
## GNU test suite compatibility
Here's how version 0.0.24 compares to the previous release - running GNU/Coreutils 9.4:
| Result | 0.0.23 | 0.0.24 | Change 0.0.23 to 0.0.24 | % Total 0.0.23 | % Total 0.0.24 | % Change |
|--------|--------|--------|-------------------------|----------------|----------------|----------|
| Pass | 393 | 422 | +29 | 65.07% | 69.87% | +4.80% |
| Skip | 49 | 50 | +1 | 8.11% | 8.28% | +0.17% |
| Fail | 160 | 132 | -28 | 26.49% | 21.85% | -4.64% |
| Error | 2 | 0 | -2 | 0.33% | 0.00% | -0.33% |
![GNU testsuite evolution](https://github.com/uutils/coreutils-tracking/blob/main/gnu-results.png?raw=true)
For more details, visit [https://github.com/uutils/coreutils-tracking/](https://github.com/uutils/coreutils-tracking/).
## What's Changed
### cat
* Address cognitive complexity by @jetlime in https://github.com/uutils/coreutils/pull/5726
### cksum
* Stops when one of given files doesn't exist #5809 by @biplab5464 in https://github.com/uutils/coreutils/pull/5820
* Made return an error if the algorithm blake2b is used on a directory. by @Ato2207 in https://github.com/uutils/coreutils/pull/5804
* Add --raw argument by @D9nni in https://github.com/uutils/coreutils/pull/5803
* Made return an error if used on a directory. by @Ato2207 in https://github.com/uutils/coreutils/pull/5822
* Add --length argument for the blake2b algorithm by @DitherWither in https://github.com/uutils/coreutils/pull/5749
### cp
* Improve error msg if -r is not specified by @cakebaker in https://github.com/uutils/coreutils/pull/5555
* Debug with --update=none should show 'skipped' by @sylvestre in https://github.com/uutils/coreutils/pull/5701
* --remove-destination: don't fail if destination is hardlink to source by @cakebaker in https://github.com/uutils/coreutils/pull/5431
* cp/mv/ln: add support for the "will not overwrite just-created" by @sylvestre in https://github.com/uutils/coreutils/pull/5699
* --link: don't fail if destination is hardlink to source by @cakebaker in https://github.com/uutils/coreutils/pull/5484
* Fix backup of destination symlink by @cakebaker in https://github.com/uutils/coreutils/pull/5731
* Update a GNU test error check - tests/fail-perm.sh by @sylvestre in https://github.com/uutils/coreutils/pull/5784
* cp/mv: manage with trailing slash in target by @sylvestre in https://github.com/uutils/coreutils/pull/5780
* Show no "same file" error for `--link a a` by @cakebaker in https://github.com/uutils/coreutils/pull/5762
* Backup dest symlink linking to source by @cakebaker in https://github.com/uutils/coreutils/pull/5739
* --preserve should keep xattr by @sylvestre in https://github.com/uutils/coreutils/pull/5834
* Remove the tests/link-heap.sh workaround by @sylvestre in https://github.com/uutils/coreutils/pull/5800
* Show error if source and destination are same file by @cakebaker in https://github.com/uutils/coreutils/pull/5757
* Disable a test failing on freebsd by @sylvestre in https://github.com/uutils/coreutils/pull/5750
* Adapt warning if source is used more than once by @cakebaker in https://github.com/uutils/coreutils/pull/5745
* tests, tests/test: Don't attempt to set sticky file bit on FreeBSD by @n1000 in https://github.com/uutils/coreutils/pull/5602
### dd
* Buffer partial blocks in the output writer by @jfinkels in https://github.com/uutils/coreutils/pull/4545
* Skip two tests without "printf" feature by @cakebaker in https://github.com/uutils/coreutils/pull/5607
* /chroot: improve the skip message (not root) by @sylvestre in https://github.com/uutils/coreutils/pull/5734
### df
* Fix rounding issue in test by @cakebaker in https://github.com/uutils/coreutils/pull/5532
### dircolors
* Move the static long string into structures. by @sylvestre in https://github.com/uutils/coreutils/pull/5611
### du
* Start printing output immediately by @ceteece in https://github.com/uutils/coreutils/pull/5552
* Disable test on Android by @cakebaker in https://github.com/uutils/coreutils/pull/5615
* Cleanup by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5623
* Fix issue with dereference in test by @cakebaker in https://github.com/uutils/coreutils/pull/5625
* Test behavior with POSIXLY_CORRECT set by @cakebaker in https://github.com/uutils/coreutils/pull/5530
* Call unused _du_basics() in test_du_basics() by @cakebaker in https://github.com/uutils/coreutils/pull/5503
* Implement files0-from by @sylvestre in https://github.com/uutils/coreutils/pull/5721
* Simplify file creation in tests by @cakebaker in https://github.com/uutils/coreutils/pull/5727
* Show error for nul names with `--files0-from` by @cakebaker in https://github.com/uutils/coreutils/pull/5772
* Ignore duplicate names with `--files0-from` by @cakebaker in https://github.com/uutils/coreutils/pull/5775
### echo
* Make `-e` and `-E` override each other by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5635
### expand
* Fix duplicate flags by @allaboutevemirolive in https://github.com/uutils/coreutils/pull/5684
### expr
* Check prefix operation by @Luv-Ray in https://github.com/uutils/coreutils/pull/5566
* Different stderr with `"56" "substr"` by @pawelngei in https://github.com/uutils/coreutils/pull/5559
* Adapt error messages, revert most of #5559 by @cakebaker in https://github.com/uutils/coreutils/pull/5578
* Refactor AST and parsing by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5586
* Fix issue 5576 (regex matching bug) by @cobaweel in https://github.com/uutils/coreutils/pull/5577
* Optimizing for integer values by @Arp-1 in https://github.com/uutils/coreutils/pull/5614
* Coerce to string before comparing values by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5673
### fmt
* A collection of small refactors by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5592
* Rename `pfxind_end` -> `prefix_indent_end` by @cakebaker in https://github.com/uutils/coreutils/pull/5593
* Remove crash! macro by @Arp-1 in https://github.com/uutils/coreutils/pull/5589
### hashsum
* Remove usage of crash! macro by @GDYendell in https://github.com/uutils/coreutils/pull/5581
* When the filename contains some special chars, escape them by @sylvestre in https://github.com/uutils/coreutils/pull/5865
### head
* -c allocate memory as needed by @sylvestre in https://github.com/uutils/coreutils/pull/5704
* head_backwards for non-seekable files like /proc/* or fifos (named pipes) by @cre4ture in https://github.com/uutils/coreutils/pull/5732
* Disable some tests on Android by @cakebaker in https://github.com/uutils/coreutils/pull/5813
* Fix clippy warnings in tests by @cakebaker in https://github.com/uutils/coreutils/pull/5838
### hostname
* tests/hostname: disable failing test_hostname::test_hostname_ip on OpenBSD by @lcheylus in https://github.com/uutils/coreutils/pull/5639
### install
* Fix strip program stdout and destination hyphen handling #5718 by @cre4ture in https://github.com/uutils/coreutils/pull/5848
* Support when a hyphen is passed by @sylvestre in https://github.com/uutils/coreutils/pull/5697
* With -t, check if we aren't passed a file by @sylvestre in https://github.com/uutils/coreutils/pull/5686
* Manages permissions when run as root by @sylvestre in https://github.com/uutils/coreutils/pull/5735
* Remove / from end of path if it exists so as not to mess with .exists() by @mtimaN in https://github.com/uutils/coreutils/pull/5730
* Remove a debug artifact by @sylvestre in https://github.com/uutils/coreutils/pull/5719
### join
* Remove crash! macro by @cswn in https://github.com/uutils/coreutils/pull/5540
### ls
* Remove "#[allow(unused_variables)]" by @cakebaker in https://github.com/uutils/coreutils/pull/5617
* Ignore value of `POSIXLY_CORRECT` by @cakebaker in https://github.com/uutils/coreutils/pull/5609
* Implement --hyperlink by @cakebaker in https://github.com/uutils/coreutils/pull/5622
* Improve the access to metadata of the files by @sylvestre in https://github.com/uutils/coreutils/pull/5660
* Set correct block size when -k is provided by @cakebaker in https://github.com/uutils/coreutils/pull/5700
* Fix padding of size column when using `-l` by @cakebaker in https://github.com/uutils/coreutils/pull/5604
* Match the gnu behavior for colors by @sylvestre in https://github.com/uutils/coreutils/pull/5603
* Set default quoting style to literal when not TTY by @RenjiSann in https://github.com/uutils/coreutils/pull/5553
* Handle invalid block size as GNU does by @cakebaker in https://github.com/uutils/coreutils/pull/5626
* Use show_dir_name to output dir name by @cakebaker in https://github.com/uutils/coreutils/pull/5634
* Make --block-size and --human-readable/--si override each other by @cakebaker in https://github.com/uutils/coreutils/pull/5641
* Manages the COLOR and COLORTERM variables by @sylvestre in https://github.com/uutils/coreutils/pull/5656
* Encode path when using --hyperlink by @cakebaker in https://github.com/uutils/coreutils/pull/5629
* Support hyperlinks for dir names by @cakebaker in https://github.com/uutils/coreutils/pull/5672
* Rename `display_file_name` to `display_item_name` by @cakebaker in https://github.com/uutils/coreutils/pull/5675
* Ignore invalid block size from env vars by @cakebaker in https://github.com/uutils/coreutils/pull/5674
* Recognize BLOCKSIZE env var by @cakebaker in https://github.com/uutils/coreutils/pull/5677
* Remove condition with unreachable "else" block by @cakebaker in https://github.com/uutils/coreutils/pull/5687
* Introduce 2nd blocksize & fix todos in tests by @cakebaker in https://github.com/uutils/coreutils/pull/5693
* Unquoted names should be indented with a space if there is a quoted name by @mtimaN in https://github.com/uutils/coreutils/pull/5740
* Support QUOTING_STYLE environment variable by @RenjiSann in https://github.com/uutils/coreutils/pull/5778
* If acl are used, show the + in the perms by @sylvestre in https://github.com/uutils/coreutils/pull/5816
* /gnu: ignore the libcap check by @sylvestre in https://github.com/uutils/coreutils/pull/5743
### mknod
* Remove `parsemode.rs` by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5651
* `mknod`: remove `parsemode.rs` by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5651
### mv
* Preserve the xattr by @sylvestre in https://github.com/uutils/coreutils/pull/5835
* Allow destination with slash when using --update by @cakebaker in https://github.com/uutils/coreutils/pull/5695
* Fix issue with -T and destination ending with "/" by @cakebaker in https://github.com/uutils/coreutils/pull/5554
* Rename two tests by @cakebaker in https://github.com/uutils/coreutils/pull/5645
* Simplify condition by @cakebaker in https://github.com/uutils/coreutils/pull/5764
* Fix subdir detection by @cakebaker in https://github.com/uutils/coreutils/pull/5483
* Dir2dir: adjust GNU tests - our error message is better by @sylvestre in https://github.com/uutils/coreutils/pull/5685
### nl
* Don't exit if input is directory by @cakebaker in https://github.com/uutils/coreutils/pull/5806
### pathchk
* Simplify and rename test by @cakebaker in https://github.com/uutils/coreutils/pull/5818
### printf
* Rewrite (with a lot of `seq` changes) by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5128
* Fix hex alternate zero by @spineki in https://github.com/uutils/coreutils/pull/5811
* Use 0 instead of 0o as octal prefix by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5808
* Compatibility by @samueltardieu in https://github.com/uutils/coreutils/pull/5783
* Output of double-quote should not be escaped by @samueltardieu in https://github.com/uutils/coreutils/pull/5828
* %c prints the first byte of its argument by @samueltardieu in https://github.com/uutils/coreutils/pull/5827
* No infinite loop by @sudhackar in https://github.com/uutils/coreutils/pull/5830
* Fixing incorrect exit code when passing invalid value to %x by @pawelngei in https://github.com/uutils/coreutils/pull/5543
### rm
* Improve the code a tiny bit by @sylvestre in https://github.com/uutils/coreutils/pull/5755
### runcon
* Remove trailing '.' by @sylvestre in https://github.com/uutils/coreutils/pull/5702
### seq
* Adjust some error messages. GNU's are better by @sylvestre in https://github.com/uutils/coreutils/pull/5798
* Fix output by @samueltardieu in https://github.com/uutils/coreutils/pull/5789
* Workaround https://github.com/uutils/coreutils/issues/5766 by @sylvestre in https://github.com/uutils/coreutils/pull/5770
* Handle the error when stdout is full by @sylvestre in https://github.com/uutils/coreutils/pull/5765
### shred
* Improve some output to match GNU's by @sylvestre in https://github.com/uutils/coreutils/pull/5712
* Implemented "--remove" arg by @Statheres in https://github.com/uutils/coreutils/pull/5790
### sort
* Allow `-f` to be pass multiple time by @just1602 in https://github.com/uutils/coreutils/pull/5681
* `test/sort`: run cargo fmt by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5689
### split
* Pass GNU test l-chunk by @zhitkoff in https://github.com/uutils/coreutils/pull/5567
* Pass GNU tests/b-chunk.sh by @zhitkoff in https://github.com/uutils/coreutils/pull/5475
* Passing GNU test r-chunk.sh by @zhitkoff in https://github.com/uutils/coreutils/pull/5580
* Remove crash macro by @cswn in https://github.com/uutils/coreutils/pull/5533
### stdbuf
* Remove crash macro by @cswn in https://github.com/uutils/coreutils/pull/5549
* libstdbuf: remove crash macro by @cswn in https://github.com/uutils/coreutils/pull/5565
### tail
* Transform FAIL into ERROR for tests/tail/inotify-rotate-resources.sh by @sylvestre in https://github.com/uutils/coreutils/pull/5771
### tee
* Test: fix a warning on not(linux) by @sylvestre in https://github.com/uutils/coreutils/pull/5723
### test
* tests/test: Ensure the test fixture files have the expected gid by @n1000 in https://github.com/uutils/coreutils/pull/5455
* Use clearer expression for CI testing by @samueltardieu in https://github.com/uutils/coreutils/pull/5769
### tr
* Operate on bytes instead of chars by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5640
* uucore: remove useless conversion for features/fs on OpenBSD by @lcheylus in https://github.com/uutils/coreutils/pull/5676
### tsort
* Returns error when input is dir - same as GNU tsort by @SaHHiiLL in https://github.com/uutils/coreutils/pull/5860
### unexpand
* Remove crash! macro by @allaboutevemirolive in https://github.com/uutils/coreutils/pull/5588
* Should allow multiple files #5852 and show error message if a directory is specified #5845 by @biplab5464 in https://github.com/uutils/coreutils/pull/5864
### wc
* Pass GNU test wc-files0-from.pl by @zhitkoff in https://github.com/uutils/coreutils/pull/5582
* Fix arguments not overriding by @Yykz in https://github.com/uutils/coreutils/pull/5671
* Disable part of test on Android by @cakebaker in https://github.com/uutils/coreutils/pull/5717
* Pass GNU test wc-proc and Windows optimization by @zhitkoff in https://github.com/uutils/coreutils/pull/5612
### Other OS & arch changes
* tests: disable tests for tools unsupported on OpenBSD by @lcheylus in https://github.com/uutils/coreutils/pull/5863
* uucore: add support for sparc64 by @ffontaine in https://github.com/uutils/coreutils/pull/5799
* Fix build on Redox, and add `stat` to Redox feature by @ids1024 in https://github.com/uutils/coreutils/pull/5502
* Add support in uucore for OpenBSD by @lcheylus in https://github.com/uutils/coreutils/pull/5599
* Fix util shell scripts to be compatible with BSD by @lcheylus in https://github.com/uutils/coreutils/pull/5774
* Support unix feature on OpenBSD (utmpx not supported) by @lcheylus in https://github.com/uutils/coreutils/pull/5620
### CI
* ci: set -no-window in Android workflow by @cakebaker in https://github.com/uutils/coreutils/pull/5814
* CI: test `uucore` with `coreutils` in codecov to run it with the proper features by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5825
* ignore-intermittent.txt: adjust the renamed test name by @sylvestre in https://github.com/uutils/coreutils/pull/5654
* publishing: check if the current version is already there or not by @sylvestre in https://github.com/uutils/coreutils/pull/5535
* Improve the GNU ci analysis: display the root test changes too by @sylvestre in https://github.com/uutils/coreutils/pull/5728
* ci: add aarch64-unknown-linux-musl release artifact by @malt3 in https://github.com/uutils/coreutils/pull/5694
* ci: fix warnings from "cargo tree" by @cakebaker in https://github.com/uutils/coreutils/pull/5670
* ci: rename test summary names for busybox & toybox by @cakebaker in https://github.com/uutils/coreutils/pull/5652
* Add nushell dependency analysis script by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5051
* gnu compare: try to use a local copy if the download failed by @sylvestre in https://github.com/uutils/coreutils/pull/5779
* prevent CI creating 2 events on each pull request push by @piotrkwiecinski in https://github.com/uutils/coreutils/pull/5608
* GNU: Improve the built by @sylvestre in https://github.com/uutils/coreutils/pull/5756
* remaining-gnu-error.py: shows when a test requires root by @sylvestre in https://github.com/uutils/coreutils/pull/5773
* gnu: Improve the diff when comparing diff by @sylvestre in https://github.com/uutils/coreutils/pull/5722
* Add Redox OS CI by @jackpot51 in https://github.com/uutils/coreutils/pull/5642
* build-gnu.sh: build in debug by default. Easier for local dev by @sylvestre in https://github.com/uutils/coreutils/pull/5659
* Fsext refactor by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5680
### Documentation
* docs: fix URL for FreeBSD port by @lcheylus in https://github.com/uutils/coreutils/pull/5763
* doc: Fix a broken link by @YDX-2147483647 in https://github.com/uutils/coreutils/pull/5547
* docs: add winget installer by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5648
* docs: remove scoop badge, adapt links to repos by @cakebaker in https://github.com/uutils/coreutils/pull/5650
* uuhelp_parser: add links to homepage and repo by @michel-slm in https://github.com/uutils/coreutils/pull/5796
* src: Fixing typos in signatures for the argument parser by @dvalere in https://github.com/uutils/coreutils/pull/5696
* Fix typo in signals.rs by @eltociear in https://github.com/uutils/coreutils/pull/5781
* Fix docs issues. by @Ato2207 in https://github.com/uutils/coreutils/pull/5747
* doc: Fix the markdown highlighting syntax by @YDX-2147483647 in https://github.com/uutils/coreutils/pull/5539
* docs: remove two notes by @cakebaker in https://github.com/uutils/coreutils/pull/5657
### Security
* fuzzing: print the diff in case of issue by @sylvestre in https://github.com/uutils/coreutils/pull/5866
* fuzz printf by @sylvestre in https://github.com/uutils/coreutils/pull/5556
* fuzzing: add a variable to state if we know it fails or not by @sylvestre in https://github.com/uutils/coreutils/pull/5563
* fuzz: Simplify the compare_result function by @sylvestre in https://github.com/uutils/coreutils/pull/5662
* fuzzing: quick timeout because seq is freezing by @sylvestre in https://github.com/uutils/coreutils/pull/5636
* Fuzz the echo command by @sylvestre in https://github.com/uutils/coreutils/pull/5600
* fuzz seq by @sylvestre in https://github.com/uutils/coreutils/pull/5621
* expr fuzz: add missing ops. found thanks to oss fuzz coverage by @sylvestre in https://github.com/uutils/coreutils/pull/5557
* fuzz: add the capability to pipe info into fuzz by @sylvestre in https://github.com/uutils/coreutils/pull/5668
* Disable fuzzing seq until issue #5724 is fixed by @sylvestre in https://github.com/uutils/coreutils/pull/5725
* fuzz: use thread to bypass the limitation of output by @sylvestre in https://github.com/uutils/coreutils/pull/5758
* Add new fuzzers: cut, sort, split and wc by @sylvestre in https://github.com/uutils/coreutils/pull/5760
* fuzz: reset the exit code global variable after every test by @samueltardieu in https://github.com/uutils/coreutils/pull/5782
* fuzz: fix file descriptor leak by @samueltardieu in https://github.com/uutils/coreutils/pull/5787
* fuzz: with pipe, also capture stderr by @sylvestre in https://github.com/uutils/coreutils/pull/5832
### Various improvements
* 0.0.23 => 0.0.24 by @sylvestre in https://github.com/uutils/coreutils/pull/5752
* uuhelp_parser: include missing LICENSE by @daissi in https://github.com/uutils/coreutils/pull/5594
* clippy: fix warnings introduced by Rust 1.75 by @cakebaker in https://github.com/uutils/coreutils/pull/5742
* uucore: fix style in tests by @samueltardieu in https://github.com/uutils/coreutils/pull/5786
* uucore: fix clippy warning from if_not_else lint by @cakebaker in https://github.com/uutils/coreutils/pull/5842
* Handle better some errors by @sylvestre in https://github.com/uutils/coreutils/pull/5791
* Cargo.toml: fix typo by @cakebaker in https://github.com/uutils/coreutils/pull/5564
* META bug: moved to project mgmt by @tdelmas in https://github.com/uutils/coreutils/pull/5776
* use our getegid & geteuid wrappers function instead of libc calls by @sylvestre in https://github.com/uutils/coreutils/pull/5733
* update of the license file to make it generic by @sylvestre in https://github.com/uutils/coreutils/pull/5545
* clippy: fix warnings introduced by Rust 1.74 by @cakebaker in https://github.com/uutils/coreutils/pull/5548
* add missing features to uucore by @sylvestre in https://github.com/uutils/coreutils/pull/5537
* all: remove `collect_{lossy,ignore}` calls where possible by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5649
* fix two minor clippy warnings by @sylvestre in https://github.com/uutils/coreutils/pull/5655
### dependency updates
* chore(deps): update rust crate itertools to 0.12.0 by @renovate in https://github.com/uutils/coreutils/pull/5534
* fix(deps): update rust crate data-encoding to 2.5 by @renovate in https://github.com/uutils/coreutils/pull/5569
* fix(deps): update rust crate data-encoding-macro to 0.1.14 by @renovate in https://github.com/uutils/coreutils/pull/5568
* chore(deps): update rust crate chrono to ^0.4.32 by @renovate in https://github.com/uutils/coreutils/pull/5870
* chore(deps): update actions/cache action to v4 by @renovate in https://github.com/uutils/coreutils/pull/5856
* chore(deps): update rust crate smallvec to 1.13 by @renovate in https://github.com/uutils/coreutils/pull/5862
* chore(deps): update davidanson/markdownlint-cli2-action action to v15 by @renovate in https://github.com/uutils/coreutils/pull/5859
* chore(deps): update rust crate xattr to 1.3.1 by @renovate in https://github.com/uutils/coreutils/pull/5841
* Bump console and mio by @cakebaker in https://github.com/uutils/coreutils/pull/5824
* chore(deps): update rust crate smallvec to 1.12 by @renovate in https://github.com/uutils/coreutils/pull/5836
* chore(deps): update rust crate tempfile to 3.9.0 by @renovate in https://github.com/uutils/coreutils/pull/5736
* chore(deps): update vmactions/freebsd-vm action to v1.0.3 by @renovate in https://github.com/uutils/coreutils/pull/5509
* chore(deps): update rust crate libc to 0.2.152 by @renovate in https://github.com/uutils/coreutils/pull/5802
* chore(deps): update rust crate bstr to 1.9 by @renovate in https://github.com/uutils/coreutils/pull/5744
* chore(deps): update rust crate self_cell to 1.0.3 by @renovate in https://github.com/uutils/coreutils/pull/5683
* Bump xattr from 1.1.1 to 1.1.3 & adapt deny.toml by @cakebaker in https://github.com/uutils/coreutils/pull/5637
* chore(deps): update rust crate once_cell to 1.19.0 by @renovate in https://github.com/uutils/coreutils/pull/5624
* chore(deps): update vmactions/freebsd-vm action to v1.0.4 by @renovate in https://github.com/uutils/coreutils/pull/5618
* chore(deps): update davidanson/markdownlint-cli2-action action to v14 by @renovate in https://github.com/uutils/coreutils/pull/5583
* chore(deps): update rust crate xattr to 1.1.1 by @renovate in https://github.com/uutils/coreutils/pull/5628
* chore(deps): update vmactions/freebsd-vm action to v1.0.5 by @renovate in https://github.com/uutils/coreutils/pull/5630
* chore(deps): update dependency ubuntu to v22 by @renovate in https://github.com/uutils/coreutils/pull/5142
* chore(deps): update rust crate xattr to 1.2.0 by @renovate in https://github.com/uutils/coreutils/pull/5741
* chore(deps): update rust crate libc to 0.2.151 by @renovate in https://github.com/uutils/coreutils/pull/5633
* chore(deps): update rust crate regex to 1.10.3 by @renovate in https://github.com/uutils/coreutils/pull/5867
* Bump redox_syscall to 0.4.1 by @cakebaker in https://github.com/uutils/coreutils/pull/5658
* chore(deps): update actions/upload-artifact action to v4 by @renovate in https://github.com/uutils/coreutils/pull/5646
* chore(deps): update dawidd6/action-download-artifact action to v3 by @renovate in https://github.com/uutils/coreutils/pull/5644
* chore(deps): update rust crate lscolors to 0.16.0 by @renovate in https://github.com/uutils/coreutils/pull/5601
* Bump freebsd-vm action to v1.0.2 & use ubuntu by @piotrkwiecinski in https://github.com/uutils/coreutils/pull/5606
* Bump crossbeam crates by @cakebaker in https://github.com/uutils/coreutils/pull/5716
## New Contributors
* @cswn made their first contribution in https://github.com/uutils/coreutils/pull/5533
* @YDX-2147483647 made their first contribution in https://github.com/uutils/coreutils/pull/5539
* @pawelngei made their first contribution in https://github.com/uutils/coreutils/pull/5543
* @zoze0 made their first contribution in https://github.com/uutils/coreutils/pull/5574
* @cobaweel made their first contribution in https://github.com/uutils/coreutils/pull/5577
* @GDYendell made their first contribution in https://github.com/uutils/coreutils/pull/5581
* @lcheylus made their first contribution in https://github.com/uutils/coreutils/pull/5599
* @RenjiSann made their first contribution in https://github.com/uutils/coreutils/pull/5553
* @Arp-1 made their first contribution in https://github.com/uutils/coreutils/pull/5614
* @allaboutevemirolive made their first contribution in https://github.com/uutils/coreutils/pull/5588
* @Yykz made their first contribution in https://github.com/uutils/coreutils/pull/5671
* @just1602 made their first contribution in https://github.com/uutils/coreutils/pull/5681
* @malt3 made their first contribution in https://github.com/uutils/coreutils/pull/5694
* @jetlime made their first contribution in https://github.com/uutils/coreutils/pull/5726
* @mtimaN made their first contribution in https://github.com/uutils/coreutils/pull/5730
* @dvalere made their first contribution in https://github.com/uutils/coreutils/pull/5696
* @DitherWither made their first contribution in https://github.com/uutils/coreutils/pull/5749
* @Ato2207 made their first contribution in https://github.com/uutils/coreutils/pull/5747
* @tdelmas made their first contribution in https://github.com/uutils/coreutils/pull/5776
* @cre4ture made their first contribution in https://github.com/uutils/coreutils/pull/5732
* @eltociear made their first contribution in https://github.com/uutils/coreutils/pull/5781
* @michel-slm made their first contribution in https://github.com/uutils/coreutils/pull/5796
* @ffontaine made their first contribution in https://github.com/uutils/coreutils/pull/5799
* @D9nni made their first contribution in https://github.com/uutils/coreutils/pull/5803
* @sudhackar made their first contribution in https://github.com/uutils/coreutils/pull/5830
* @biplab5464 made their first contribution in https://github.com/uutils/coreutils/pull/5820
* @SaHHiiLL made their first contribution in https://github.com/uutils/coreutils/pull/5860
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.23...0.0.24
+281
View File
@@ -0,0 +1,281 @@
# 0.0.25
**Version:** 0.0.25
**Published:** 2024-03-23T20:56:02Z
## Release Notes
📦 **Rust Coreutils 0.0.25 Release:**
We're thrilled to announce version 0.0.25. We added +15 GNU passing tests since our last update!
More and more programs have a full compatibility with the GNU testsuite.
The current list is: base64, basename, cat, chgrp, chmod, chown, dirname, expand, fold, groups, join, ln, mktemp, nice, nl, nproc, paste, pathchk, printenv, realpath, shuf, sleep, split, sync, unexpand, uniq, wc and yes.
This release saw contributions from 31 developers, including 14 newcomers.
Some of this work has been supported by the [Sovereign Tech Fund](https://www.sovereigntechfund.de/tech/coreutils).
If you want to help us, please consider sponsoring on GitHub. This helps us use better tools like GitHub Actions. Sponsor us at [https://github.com/sponsors/uutils](https://github.com/sponsors/uutils).
Visit our website at [https://uutils.github.io](https://uutils.github.io).
## GNU test suite compatibility
Here's how version 0.0.25 compares to the previous release - running GNU/Coreutils 9.4:
| Result | 0.0.24 | 0.0.25 | Change 0.0.24 to 0.0.25 | % Total 0.0.24 | % Total 0.0.25 | % Change 0.0.24 to 0.0.25 |
|--------|--------|--------|-------------------------|----------------|----------------|--------------------------|
| Pass | 422 | 437 | +15 | 69.87% | 72.35% | +2.48% |
| Skip | 50 | 50 | 0 | 8.28% | 8.28% | 0.00% |
| Fail | 132 | 117 | -15 | 21.85% | 19.37% | -2.48% |
| Error | 0 | 0 | 0 | 0.00% | 0.00% | 0.00% |
![GNU testsuite evolution](https://github.com/uutils/coreutils-tracking/blob/main/gnu-results.png?raw=true)
For more details, visit [https://github.com/uutils/coreutils-tracking/](https://github.com/uutils/coreutils-tracking/).
## What's Changed
### base32/base64/basenc
* implement and test proper flag parsing by @BenWiederhake in https://github.com/uutils/coreutils/pull/6007
### basename
* Fix handling of repeated flags/arguments by @BenWiederhake in https://github.com/uutils/coreutils/pull/6018
### cat
* Handle all flags correctly by @BenWiederhake in https://github.com/uutils/coreutils/pull/6034
### chcon
* Handle repeated flags and overrides between --no-XXX and --XXX by @BenWiederhake in https://github.com/uutils/coreutils/pull/6039
### chmod
* Fix chmod -c --reference reporting when no change is made by @mtimaN in https://github.com/uutils/coreutils/pull/6016
* Fix handling of preserve root flag and error messages by @BenWiederhake in https://github.com/uutils/coreutils/pull/6042
### cksum
* permit repeated flags, handle overrides correctly, implement base64 output by @BenWiederhake in https://github.com/uutils/coreutils/pull/6041
* enable encoding feature by @cakebaker in https://github.com/uutils/coreutils/pull/6095
### cp
* remove lint exceptions by @kralo in https://github.com/uutils/coreutils/pull/5891
* improve the support of --attributes-only by @sylvestre in https://github.com/uutils/coreutils/pull/6051
* Split the copy_file function a bit by @sylvestre in https://github.com/uutils/coreutils/pull/6056
* fix flaky test test_cp_arg_interactive_update, document adjacent bug by @BenWiederhake in https://github.com/uutils/coreutils/pull/6020
### csplit
* use `printf` functionality from `uucore` by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5958
* adjust the error message to match GNU's by @sylvestre in https://github.com/uutils/coreutils/pull/6090
* remove `crate_name` attribute by @cakebaker in https://github.com/uutils/coreutils/pull/6091
### cut
* set exit code to 1 if directory is specified by @cakebaker in https://github.com/uutils/coreutils/pull/5886
* refactor delimiters OsString handling by @zhitkoff in https://github.com/uutils/coreutils/pull/6072
* allow non utf8 characters for delimiters by @zhitkoff in https://github.com/uutils/coreutils/pull/6037
* show error for multiple mode args (`-b`, `-c`, `-f`) by @wolimst in https://github.com/uutils/coreutils/pull/5962
### dd
* parse big numbers and return u64::MAX by @jfinkels in https://github.com/uutils/coreutils/pull/5901
* fail on missing number in count, fix #5904 by @sudhackar in https://github.com/uutils/coreutils/pull/5920
* misc gnu test by @matrixhead in https://github.com/uutils/coreutils/pull/6084
* fix flaky test_final_stats_unspec by @BenWiederhake in https://github.com/uutils/coreutils/pull/6001
* treat arg as bytes if it contains a 'B' by @matrixhead in https://github.com/uutils/coreutils/pull/6050
* fix gnu test `not-rewound.sh` by @cre4ture in https://github.com/uutils/coreutils/pull/6088
### df
* switch from u64 to u128 to handle fs with large inodes nr by @cre4ture in https://github.com/uutils/coreutils/pull/6071
### du
* adapt error message to match GNU's by @cakebaker in https://github.com/uutils/coreutils/pull/5916
* adjust one of the GNU error message as ours is better by @sylvestre in https://github.com/uutils/coreutils/pull/6085
### echo
* do not infer long args by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5911
### env
* support string args by "-S", "-vS" or "--split-strings" by @cre4ture in https://github.com/uutils/coreutils/pull/5801
* Fix/findings for env string args by @cre4ture in https://github.com/uutils/coreutils/pull/6105
### expand
* Continue work when one of given files doesn't exist by @D9nni in https://github.com/uutils/coreutils/pull/5873
* make tab explicit in test by @cakebaker in https://github.com/uutils/coreutils/pull/5875
* do not ignore invalid UTF-8 by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5987
### factor
* remove clippy exceptions by reformatting "unreadable literals" by @kralo in https://github.com/uutils/coreutils/pull/5890
* rename input parameter by @kralo in https://github.com/uutils/coreutils/pull/5892
* enable a debug_assert! statement by @cakebaker in https://github.com/uutils/coreutils/pull/5995
### fmt
* Make sure the goal is always positive when given a positive width by @sargas in https://github.com/uutils/coreutils/pull/6094
* fail if goal is bigger than default width by @cakebaker in https://github.com/uutils/coreutils/pull/6096
### hashsum
* also escape/unescape files with checks by @sylvestre in https://github.com/uutils/coreutils/pull/5868
### install
* invalid link at destination by @cre4ture in https://github.com/uutils/coreutils/pull/5851
### ln
* fix help text by @cakebaker in https://github.com/uutils/coreutils/pull/5977
### ls
* fix "unused variable" warning on Redox by @cakebaker in https://github.com/uutils/coreutils/pull/5931
* test_ls_allocation_size fails on filesystem `f2fs` (android) by @cre4ture in https://github.com/uutils/coreutils/pull/6076
* rename `chrono::Duration` to `chrono::TimeDelta` by @cakebaker in https://github.com/uutils/coreutils/pull/5970
### more
* Disable raw mode before exiting if a panic occurs by @Ideflop in https://github.com/uutils/coreutils/pull/5914
* Implement argument pattern by @Ideflop in https://github.com/uutils/coreutils/pull/5966
* handle errors with multiple files by @Ludmuterol in https://github.com/uutils/coreutils/pull/4997
* fix two incorrect tests by @cakebaker in https://github.com/uutils/coreutils/pull/6104
### numfmt
* remove clap workaround by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5986
### od
* disable failing test_od::test_f16() for android CI by @cre4ture in https://github.com/uutils/coreutils/pull/5984
* re-enable f16 test with newer AVD system image by @cre4ture in https://github.com/uutils/coreutils/pull/6099
### printf
* pad unsigned numbers properly by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5955
* Make operate on bytes instead of strings by @RenjiSann in https://github.com/uutils/coreutils/pull/6028
* '%0c' and '%0s' should fail by @RenjiSann in https://github.com/uutils/coreutils/pull/6032
### pr
* use chrono instead of time in tests #5972 by @biplab5464 in https://github.com/uutils/coreutils/pull/5973
* Check the correct timestamp in test_with_pr_core_utils_tests by @BenWiederhake in https://github.com/uutils/coreutils/pull/6010
* relax some error messages by @sylvestre in https://github.com/uutils/coreutils/pull/6087
### seq
* fix about text not found by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5949
### shuf
* Treat empty file as zero elements instead of one empty string by @BenWiederhake in https://github.com/uutils/coreutils/pull/5979
* Refuse repeating zero lines by @BenWiederhake in https://github.com/uutils/coreutils/pull/6011
* include all echo args, not just the last by @BenWiederhake in https://github.com/uutils/coreutils/pull/5978
* Fix OOM crash for huge number ranges by @BenWiederhake in https://github.com/uutils/coreutils/pull/5980
* add missing word to BENCHMARKING.md by @cakebaker in https://github.com/uutils/coreutils/pull/5996
* Fix off-by-one errors in range handling by @BenWiederhake in https://github.com/uutils/coreutils/pull/6014
* treat -e as a flag, not as a multi-value arg by @BenWiederhake in https://github.com/uutils/coreutils/pull/5989
* Do not read input when -n0 is given by @BenWiederhake in https://github.com/uutils/coreutils/pull/5990
### sort
* fix incorrectly placed "}" in test by @cakebaker in https://github.com/uutils/coreutils/pull/6064
### split
* fix android memory kill in split by @cre4ture in https://github.com/uutils/coreutils/pull/5940
* fix error message shown if file doesn't exist by @cakebaker in https://github.com/uutils/coreutils/pull/5909
### stat
* Refactor to remove #[allow(clippy::cognitive_complexity)] #5881 by @biplab5464 in https://github.com/uutils/coreutils/pull/5924
* should fail without arguments #5928 by @biplab5464 in https://github.com/uutils/coreutils/pull/5935
* use chrono instead of time in fsext by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5934
* add 0xDE flag to support zfs file system by @hanbings in https://github.com/uutils/coreutils/pull/6101
### tsort
* drastically reduce memory copies by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5969
### tty
* fix for Ctrl-D when stdin is a terminal by @zhitkoff in https://github.com/uutils/coreutils/pull/6059
### truncate
* correctly handle file (non-)creation by @BenWiederhake in https://github.com/uutils/coreutils/pull/6108
### uname
* Refactor into public fns for Nushell by @dmatos2012 in https://github.com/uutils/coreutils/pull/5921
### uniq
* pass remaining GNU tests by @zhitkoff in https://github.com/uutils/coreutils/pull/5994
* Fix flaky test gnu_tests by @BenWiederhake in https://github.com/uutils/coreutils/pull/6017
* use `concat!` in tests for better readability by @cakebaker in https://github.com/uutils/coreutils/pull/6022
### CI
* Android disable mirror selection by @kralo in https://github.com/uutils/coreutils/pull/5894
* Android delete AVD lockfile when running from cached image by @kralo in https://github.com/uutils/coreutils/pull/5917
* Add Android x86_64 by @cakebaker in https://github.com/uutils/coreutils/pull/5843
* github action: run on native m1 - and execute the tests by @sylvestre in https://github.com/uutils/coreutils/pull/5923
* CI Android: set environmental variable for BACKTRACE to right value by @cre4ture in https://github.com/uutils/coreutils/pull/5965
* run CICD workflow on tag creation by @malt3 in https://github.com/uutils/coreutils/pull/5971
* `ci:android` stabilize and improve android github actions by @cre4ture in https://github.com/uutils/coreutils/pull/5939
* use latest version of `cspell` by @cakebaker in https://github.com/uutils/coreutils/pull/5947
* android disk space issue by @cre4ture in https://github.com/uutils/coreutils/pull/5943
* tests/common/util.rs: add `cfg(feature = "env")` by @cakebaker in https://github.com/uutils/coreutils/pull/6044
* deny.toml: add redox_syscall to skip list by @cakebaker in https://github.com/uutils/coreutils/pull/6066
* Android CI: workaround: run builds with retry by @cre4ture in https://github.com/uutils/coreutils/pull/5993
* deny.toml: remove deprecated keys, opt-in to v2 by @cakebaker in https://github.com/uutils/coreutils/pull/6065
* test utilities: easy way to simulate terminal context by @cre4ture in https://github.com/uutils/coreutils/pull/5869
* ci: use codecov token in CICD/GnuTests workflows by @cakebaker in https://github.com/uutils/coreutils/pull/5938
### Documentation
* Adjust the link to the doc by @sylvestre in https://github.com/uutils/coreutils/pull/6093
* docs: add paragraph about yocto recipe by @Ecordonnier in https://github.com/uutils/coreutils/pull/5918/pull/5919
* doc: fixed benchmark table by @SamuelLarkin in https://github.com/uutils/coreutils/pull/5936
### Security
* fuzzing: use LC_ALL instead of LC_COLLATE by @cakebaker in https://github.com/uutils/coreutils/pull/5889
* fuzzing: set LC_ALL=C when running GNU printf by @cakebaker in https://github.com/uutils/coreutils/pull/5983
* parser: if closing square bracket not found, stop looking for it again by @cj-zoltan-kiss in https://github.com/uutils/coreutils/pull/6036
### Various improvements
* Clippy suggestions by @kralo in https://github.com/uutils/coreutils/pull/5895
* uucore: fix "X is never used" warnings on Redox by @cakebaker in https://github.com/uutils/coreutils/pull/5932
* lint: fix lints of new Rust version by @Krysztal112233 in https://github.com/uutils/coreutils/pull/6102
* cargo: rename `config` to `config.toml` by @cakebaker in https://github.com/uutils/coreutils/pull/5954
* added shebang to run python scripts by @thesayfulla in https://github.com/uutils/coreutils/pull/6098
* clippy: fix warnings introduced by Rust 1.76 by @cakebaker in https://github.com/uutils/coreutils/pull/5959
* Fix clippy warnings by @sylvestre in https://github.com/uutils/coreutils/pull/6052
* tests: Harden two tests, prevent 4 flaky tests (cat, numfmt, sort, split, tee) by @BenWiederhake in https://github.com/uutils/coreutils/pull/6000
* Fix/flaky `split` round robin limited fds by @cre4ture in https://github.com/uutils/coreutils/pull/6043
* Fix "item x imported redundantly" warnings by @cakebaker in https://github.com/uutils/coreutils/pull/5988
* cargo: fix feature = "cargo-clippy" deprecation by @rex4539 in https://github.com/uutils/coreutils/pull/6027
* Fix/flaky timeout kill subprocess by @cre4ture in https://github.com/uutils/coreutils/pull/6061
* Fix two "item x is imported redundantly" warnings by @cakebaker in https://github.com/uutils/coreutils/pull/6077
* pr/chgrp: fix warnings by @cakebaker in https://github.com/uutils/coreutils/pull/6054
* Un-Ignore two tests that fail for nonsense reasons by @BenWiederhake in https://github.com/uutils/coreutils/pull/5997
### dependency updates
* Bump wild from 2.2.0 to 2.2.1 by @cakebaker in https://github.com/uutils/coreutils/pull/5899
* chore(deps): update rust crate chrono to ^0.4.33 by @renovate in https://github.com/uutils/coreutils/pull/5880
* chore(deps): update vmactions/freebsd-vm action to v1.0.6 by @renovate in https://github.com/uutils/coreutils/pull/5887
* chore(deps): update rust crate itertools to 0.12.1 by @renovate in https://github.com/uutils/coreutils/pull/5913
* chore(deps): update mozilla-actions/sccache-action action to v0.0.4 by @renovate in https://github.com/uutils/coreutils
* chore(deps): update codecov/codecov-action action to v4 by @renovate in https://github.com/uutils/coreutils/pull/5926
* chore(deps): update rust crate libc to 0.2.153 by @renovate in https://github.com/uutils/coreutils/pull/5927
* chore(deps): update rust crate exacl to 0.12.0 by @renovate in https://github.com/uutils/coreutils/pull/5937
* chore(deps): update rust crate tempfile to 3.10.0 by @renovate in https://github.com/uutils/coreutils/pull/5948
* chore(deps): update rust crate unicode-segmentation to 1.11.0 by @renovate in https://github.com/uutils/coreutils/pull/5953
* chore(deps): update rust crate num-traits to 0.2.18 by @renovate in https://github.com/uutils/coreutils/pull/5956
* chore(deps): update rust crate chrono to ^0.4.34 by @renovate in https://github.com/uutils/coreutils/pull/5967
* chore(deps): update rust crate textwrap to 0.16.1 by @renovate in https://github.com/uutils/coreutils/pull/5985
* chore(deps): update rust crate tempfile to 3.10.1 by @renovate in https://github.com/uutils/coreutils/pull/6023
* chore(deps): update rust crate half to 2.4 by @renovate in https://github.com/uutils/coreutils/pull/6021
* chore(deps): update rust crate rayon to 1.9 by @renovate in https://github.com/uutils/coreutils/pull/6026
* chore(deps): update rust crate walkdir to 2.5 by @renovate in https://github.com/uutils/coreutils/pull/6038
* chore(deps): update softprops/action-gh-release action to v2 by @renovate in https://github.com/uutils/coreutils/pull/6049
* chore(deps): update rust crate blake3 to 1.5.1 by @renovate in https://github.com/uutils/coreutils/pull/6057
* chore(deps): update rust crate regex to 1.10.4 by @renovate in https://github.com/uutils/coreutils/pull/6107
* Bump smallvec from 1.13.0 to 1.13.1 by @cakebaker in https://github.com/uutils/coreutils/pull/5874
* Bump shlex from 1.1.0 to 1.3.0 by @cakebaker in https://github.com/uutils/coreutils/pull/5871
* Bump mio from 0.8.10 to 0.8.11 by @cakebaker in https://github.com/uutils/coreutils/pull/6045
* Bump chrono to 0.4.35 & replace usage of deprecated functions by @cakebaker in https://github.com/uutils/coreutils/pull/6047
* Bump nix from 0.27 to 0.28 & fix issues due to API changes by @cakebaker in https://github.com/uutils/coreutils/pull/6055
* Bump redox_syscall from 0.4 to 0.5 by @cakebaker in https://github.com/uutils/coreutils/pull/6068
## New Contributors
* @kralo made their first contribution in https://github.com/uutils/coreutils/pull/5890
* @harshRn made their first contribution in https://github.com/uutils/coreutils/pull/5897
* @Ecordonnier made their first contribution in https://github.com/uutils/coreutils/pull/5918
* @SamuelLarkin made their first contribution in https://github.com/uutils/coreutils/pull/5936
* @BaherSalama made their first contribution in https://github.com/uutils/coreutils/pull/5945
* @wolimst made their first contribution in https://github.com/uutils/coreutils/pull/5962
* @BenWiederhake made their first contribution in https://github.com/uutils/coreutils/pull/5979
* @rex4539 made their first contribution in https://github.com/uutils/coreutils/pull/6027
* @ysthakur made their first contribution in https://github.com/uutils/coreutils/pull/5951
* @matrixhead made their first contribution in https://github.com/uutils/coreutils/pull/6050
* @cj-zoltan-kiss made their first contribution in https://github.com/uutils/coreutils/pull/6036
* @Krysztal112233 made their first contribution in https://github.com/uutils/coreutils/pull/6092
* @thesayfulla made their first contribution in https://github.com/uutils/coreutils/pull/6098
* @hanbings made their first contribution in https://github.com/uutils/coreutils/pull/6101
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.24...0.0.25
+202
View File
@@ -0,0 +1,202 @@
# 0.0.26
**Version:** 0.0.26
**Published:** 2024-04-26T21:47:48Z
## Release Notes
📦 **Rust Coreutils 0.0.26 Release:**
We are happy to announce the release of Rust Coreutils 0.0.26! This version comes with several significant advancements, including the initial support for AIX, ensuring broader compatibility and reach. Despite the short period since our last release, we've managed to fix numerous compatibility issues, further aligning our tools with the latest GNU testsuite, now version 9.5.
This update adds +10 GNU passing tests compared to version 0.0.25.
### New in this Release:
- **Beginning of the AIX Support**
- **Updated GNU Reference:** We've updated our testsuite to GNU Coreutils 9.5.
- **Improved Compatibility:** Thanks to the community's efforts, we've addressed several compatibility issues, pushing our pass rate even higher.
- **Automated Builds:** Binaries for the latest release are once again automatically generated.
This release saw contributions from 20 developers, including 12 newcomers.
We encourage you to support our project by sponsoring us on GitHub. Your sponsorship helps us maintain and enhance our infrastructure, such as GitHub Actions. Sponsor us at [https://github.com/sponsors/uutils](https://github.com/sponsors/uutils).
For more details and to download the latest release, visit our website at [https://uutils.github.io](https://uutils.github.io).
## GNU Test Suite Compatibility
Heres how version 0.0.26 fares in comparison to the previous release:
| Result | 0.0.25 | 0.0.26 | Change 0.0.25 to 0.0.26 | % Total 0.0.25 | % Total 0.0.26 | % Change 0.0.25 to 0.0.26 |
|---------------|--------|--------|-------------------------|----------------|----------------|--------------------------|
| Pass | 437 | 447 | +10 | 72.35% | 73.04% | +0.69% |
| Skip | 50 | 44 | -6 | 8.28% | 7.19% | -1.09% |
| Fail | 117 | 121 | +4 | 19.37% | 19.77% | +0.40% |
| Error | 0 | 0 | 0 | 0.00% | 0.00% | 0.00% |
![GNU testsuite evolution](https://github.com/uutils/coreutils-tracking/blob/main/gnu-results.png?raw=true)
For more details, visit [https://github.com/uutils/coreutils-tracking/](https://github.com/uutils/coreutils-tracking/).
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.25...0.0.26
## What's Changed
### cksum
* Adding -b as the short form of --base64 by @jadijadi in https://github.com/uutils/coreutils/pull/6187
* Fix code formatting by @cakebaker in https://github.com/uutils/coreutils/pull/6192
### comm
* Handle duplicated flags and output-delimiter correctly by @BenWiederhake in https://github.com/uutils/coreutils/pull/6112
### cp
* remove unnecessary calls of `touch()` in tests by @cakebaker in https://github.com/uutils/coreutils/pull/6263
* gnu "same-file" test case compatibility by @matrixhead in https://github.com/uutils/coreutils/pull/6190
* handle update prompt with and without interactive mode enabled by @BenWiederhake in https://github.com/uutils/coreutils/pull/6207
* Swap `cp`s short `-r` and alias `-R` recursive options by @LucasLarson in https://github.com/uutils/coreutils/pull/6231
* Fix the debug results in `cp --debug` by @AnirbanHalder654322 in https://github.com/uutils/coreutils/pull/6220
### csplit
* Handle repeated args, fix remainder after error by @BenWiederhake in https://github.com/uutils/coreutils/pull/6114
### cut
* Two new tests; -d conflict & no arg by @jadijadi in https://github.com/uutils/coreutils/pull/6191
### date
* Fix `date -f dates.txt is failing` by @mvo5 in https://github.com/uutils/coreutils/pull/6148
* Support `-f -` to read from stdin by @mvo5 in https://github.com/uutils/coreutils/pull/6160
* Remove unimplemented example by @LucasLarson in https://github.com/uutils/coreutils/pull/6135
### dd
* Handle SIGUSR1 directly. not just every 1sec by @cre4ture in https://github.com/uutils/coreutils/pull/6025
* Fix flaky test_null_stats by @BenWiederhake in https://github.com/uutils/coreutils/pull/6204
### dirname
* Accept repeated flag by @BenWiederhake in https://github.com/uutils/coreutils/pull/6151
### dircolors
* Accept repeated flags by @BenWiederhake in https://github.com/uutils/coreutils/pull/6150
### du
* Give `-h` output the same precision as GNU coreutils by @mvo5 in https://github.com/uutils/coreutils/pull/6226
### env
* argv0 overwrite possibility (unix only) - fixes new gnu test version by @cre4ture in https://github.com/uutils/coreutils/pull/6154
* Remove dependency on GNU env in tests by @cakebaker in https://github.com/uutils/coreutils/pull/6259
* Add missing space to help output by @cakebaker in https://github.com/uutils/coreutils/pull/6260
### hashsum
* Implement the ignore-missing option by @sylvestre in https://github.com/uutils/coreutils/pull/6230
* Improve the error management to match GNU by @sylvestre in https://github.com/uutils/coreutils/pull/6252
### head
* Two new tests. Improves function coverage from 38 to 75 by @jadijadi in https://github.com/uutils/coreutils/pull/6195
### kill
* Support multiple signals for --list by @m-haisham in https://github.com/uutils/coreutils/pull/6210
* Don't show `EXIT` with `--list` by @cakebaker in https://github.com/uutils/coreutils/pull/6222
* Return 1 and gnu style stderr in case of no pid by @jadijadi in https://github.com/uutils/coreutils/pull/6225
* Print --table as vertical by @m-haisham in https://github.com/uutils/coreutils/pull/6216
* Accept all cases for signal names by @m-haisham in https://github.com/uutils/coreutils/pull/6229
* Print signals vertically when using --list flag by @m-haisham in https://github.com/uutils/coreutils/pull/6201
### ls
* Compute the correct exit code by @BenWiederhake in https://github.com/uutils/coreutils/pull/6173
### mktemp
* Adjust the error message to match 9.5 by @sylvestre in https://github.com/uutils/coreutils/pull/6146
### more
* Use dev tty instead of mio to avoid panics by @apatrushev in https://github.com/uutils/coreutils/pull/6262
### mv
* Fix bug on Redox OS introduced by xattr handling by @dahc in https://github.com/uutils/coreutils/pull/6215
### od
* Remove `print_width_block` field of `OutputInfo` by @cakebaker in https://github.com/uutils/coreutils/pull/6239
### seq
* Removed zero-padding of string when parsing with parse_exponent_no_decimal by @maxer137 in https://github.com/uutils/coreutils/pull/6185
* Add the unit test even if they are failing for now by @sylvestre in https://github.com/uutils/coreutils/pull/6236
### tail
* Allow multiple usage of --pid to match upstream (regression of … by @sylvestre in https://github.com/uutils/coreutils/pull/6147
### tee
* Correctly handle read-only files, avoid unnecessary wrapping by @BenWiederhake in https://github.com/uutils/coreutils/pull/6157
### tr
* Fix "space" class, test "blank" class for order by @BenWiederhake in https://github.com/uutils/coreutils/pull/6141
### uniq
* Print version and help on stdout again by @tertsdiepraam in https://github.com/uutils/coreutils/pull/6123
### wc
* Count ASCII control characters as word characters by @BenWiederhake in https://github.com/uutils/coreutils/pull/6199
### Misc
* Initial AIX support by @ecnelises in https://github.com/uutils/coreutils/pull/6209
* Fix warning when executing Clippy by @bin-ly in https://github.com/uutils/coreutils/pull/6246
* tests: fix deprecation warning `timestamp_subsec_nanos()` by @mvo5 in https://github.com/uutils/coreutils/pull/6149
* tests: test multi-call logic by @BenWiederhake in https://github.com/uutils/coreutils/pull/6198
* all: Undo custom exit codes by @BenWiederhake in https://github.com/uutils/coreutils/pull/6162
* Cargo.toml: remove unnecessary caret by @cakebaker in https://github.com/uutils/coreutils/pull/6128
* Fixing the build issue on NetBSD by @jadijadi in https://github.com/uutils/coreutils/pull/6268
* Try to release 0.0.26 to see if the artifacts are generated by @sylvestre in https://github.com/uutils/coreutils/pull/6131
* Fix clippy warning match_bool by @sylvestre in https://github.com/uutils/coreutils/pull/6184
* Minor nits in the tests by @sylvestre in https://github.com/uutils/coreutils/pull/6258
### Security
* fuzz: also generate the empty string sometimes by @BenWiederhake in https://github.com/uutils/coreutils/pull/6176
* add env & tr fuzzers + small improvs by @sylvestre in https://github.com/uutils/coreutils/pull/6167
* seq: fuzz PreciseNumber::from_str by @sylvestre in https://github.com/uutils/coreutils/pull/6183
### Documentation
* Doc: Explain that it is allowed to look at OpenBSD or Apple sources by @sylvestre in https://github.com/uutils/coreutils/pull/6140
* Readme: fix links to docs by @cakebaker in https://github.com/uutils/coreutils/pull/6189
### CI
* upgrade to GNU coreutils 9.5 as ref by @sylvestre in https://github.com/uutils/coreutils/pull/6139
* don't upgrade packages - msys2-runtime upgrade fails in CI by @cre4ture in https://github.com/uutils/coreutils/pull/6153
* fix macos ci instability on clippy with retry by @cre4ture in https://github.com/uutils/coreutils/pull/6156
* CI: change publish step condition by @tertsdiepraam in https://github.com/uutils/coreutils/pull/6181
* CI fix: use features arg for stable and nightly build by @cre4ture in https://github.com/uutils/coreutils/pull/6224
* feat(github): add CICD job build_programs_individually by @gierens in https://github.com/uutils/coreutils/pull/6212
* show-utils.sh: fix jq query by @tertsdiepraam in https://github.com/uutils/coreutils/pull/6120
* ci: use `-pcoreutils` when running clippy by @cakebaker in https://github.com/uutils/coreutils/pull/6247
* fix/CI ~ re-enable artifact deployment for version tagged commits by @rivy in https://github.com/uutils/coreutils/pull/6270
* android CI: incremental install when retry by @cre4ture in https://github.com/uutils/coreutils/pull/6274
### Dependencies
* chore(deps): update rust crate rayon to 1.10 by @renovate in https://github.com/uutils/coreutils/pull/6118
* chore(deps): drop conv dev-dependency by @paolobarbolini in https://github.com/uutils/coreutils/pull/6161
* chore(deps): update rust crate chrono to 0.4.37 by @renovate in https://github.com/uutils/coreutils/pull/6136
* chore(deps): update rust crate winapi-util to 0.1.7 by @renovate in https://github.com/uutils/coreutils/pull/6264
* chore(deps): update rust crate zip to 1.1.1 by @renovate in https://github.com/uutils/coreutils/pull/6257
* chore(deps): update rust crate zip to v1 by @renovate in https://github.com/uutils/coreutils/pull/6255
* chore(deps): update rust crate chrono to 0.4.38 by @renovate in https://github.com/uutils/coreutils/pull/6238
* chore(deps): update vmactions/freebsd-vm action to v1.0.7 by @renovate in https://github.com/uutils/coreutils/pull/6196
* chore(deps): update davidanson/markdownlint-cli2-action action to v16 by @renovate in https://github.com/uutils/coreutils/pull/6205
* chore(deps): update rust crate rstest to 0.19.0 by @renovate in https://github.com/uutils/coreutils/pull/6206
* chore(deps): update rust crate rust-ini to 0.21.0 by @renovate in https://github.com/uutils/coreutils/pull/5460
* chore(deps): update rust crate platform-info to 2.0.3 by @renovate in https://github.com/uutils/coreutils/pull/6214
* chore(deps): update rust crate bytecount to 0.6.8 by @renovate in https://github.com/uutils/coreutils/pull/6253
* chore(deps): update rust crate winapi-util to 0.1.8 by @renovate in https://github.com/uutils/coreutils/pull/6271
## New Contributors
* @LucasLarson made their first contribution in https://github.com/uutils/coreutils/pull/6135
* @mvo5 made their first contribution in https://github.com/uutils/coreutils/pull/6149
* @paolobarbolini made their first contribution in https://github.com/uutils/coreutils/pull/6161
* @jadijadi made their first contribution in https://github.com/uutils/coreutils/pull/6187
* @m-haisham made their first contribution in https://github.com/uutils/coreutils/pull/6201
* @maxer137 made their first contribution in https://github.com/uutils/coreutils/pull/6185
* @ecnelises made their first contribution in https://github.com/uutils/coreutils/pull/6209
* @dahc made their first contribution in https://github.com/uutils/coreutils/pull/6215
* @bin-ly made their first contribution in https://github.com/uutils/coreutils/pull/6246
* @gierens made their first contribution in https://github.com/uutils/coreutils/pull/6212
* @AnirbanHalder654322 made their first contribution in https://github.com/uutils/coreutils/pull/6220
* @apatrushev made their first contribution in https://github.com/uutils/coreutils/pull/6262
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.25...0.0.26
+223
View File
@@ -0,0 +1,223 @@
# 0.0.27
**Version:** 0.0.27
**Published:** 2024-06-23T17:12:21Z
## Release Notes
📦 **Rust Coreutils 0.0.27 Release:**
We are excited to announce the release of Rust Coreutils 0.0.27! This version continues to improve the compatibility.
This update adds +8 GNU passing tests compared to version 0.0.26 and therefore reduces the failing tests by -8.
This release saw contributions from 21 developers, including 9 newcomers.
We encourage you to support our project by sponsoring us on GitHub. Your sponsorship helps us maintain and enhance our infrastructure, such as GitHub Actions. Sponsor us at [https://github.com/sponsors/uutils](https://github.com/sponsors/uutils).
For more details and to download the latest release, visit our website at [https://uutils.github.io](https://uutils.github.io).
## What's Changed
## GNU Test Suite Compatibility
Heres how version 0.0.27 fares in comparison to the previous release:
| Result | 0.0.26 | 0.0.27 | Change 0.0.26 to 0.0.27 | % Total 0.0.26 | % Total 0.0.27 | % Change 0.0.26 to 0.0.27 |
|---------------|--------|--------|-------------------------|----------------|----------------|--------------------------|
| Pass | 447 | 455 | +8 | 73.04% | 74.35% | +1.31% |
| Skip | 44 | 44 | 0 | 7.19% | 7.19% | 0.00% |
| Fail | 121 | 113 | -8 | 19.77% | 18.46% | -1.31% |
| Error | 0 | 0 | 0 | 0.00% | 0.00% | 0.00% |
![GNU testsuite evolution](https://github.com/uutils/coreutils-tracking/blob/main/gnu-results.png?raw=true)
For more details, visit [https://github.com/uutils/coreutils-tracking/](https://github.com/uutils/coreutils-tracking/).
### cksum
* Improve the GNU compat by @sylvestre in https://github.com/uutils/coreutils/pull/6256
### cksum/hashsum
* refactor the common code. by @sylvestre in https://github.com/uutils/coreutils/pull/6431
* enable `sum` feature for `checksum` feature by @cakebaker in https://github.com/uutils/coreutils/pull/6450
* Implement check (Closes: #5705) by @sylvestre in https://github.com/uutils/coreutils/pull/6390
* Improve the blake2 --tag export by @sylvestre in https://github.com/uutils/coreutils/pull/6412
### cp
* Added overwrite detection for existing symlinks by @AnirbanHalder654322 in https://github.com/uutils/coreutils/pull/6380
* Changed ``/sys/kernel/address_bits`` to ``/sys/kernel/profiling`` in test_cp by @AnirbanHalder654322 in https://github.com/uutils/coreutils/pull/6294
* use `#[ignore]` to disable tests by @cakebaker in https://github.com/uutils/coreutils/pull/6395
* remove `target_os = "macos-12"` by @cakebaker in https://github.com/uutils/coreutils/pull/6405
* link-deref gnu test fix by @matrixhead in https://github.com/uutils/coreutils/pull/6378
* parent-perm-race gnu fix by @matrixhead in https://github.com/uutils/coreutils/pull/6403
* gnu test case preserve-mode fix by @matrixhead in https://github.com/uutils/coreutils/pull/6432
* `cp-parents` test case by @matrixhead in https://github.com/uutils/coreutils/pull/6446
* remove panics in tests by @cakebaker in https://github.com/uutils/coreutils/pull/6293
### df
* fix size column padding by @Qelxiros in https://github.com/uutils/coreutils/pull/6433
* fix incorrect test & add another test by @cakebaker in https://github.com/uutils/coreutils/pull/6437
### env
* adds --ignore-signal by @Walid-Kh in https://github.com/uutils/coreutils/pull/6377
### fmt
* accept repeated arguments by @BenWiederhake in https://github.com/uutils/coreutils/pull/6355
* value of minlength should not be negative by @ahmadabd in https://github.com/uutils/coreutils/pull/6359
* fix error priority, make goal-errors more helpful by @BenWiederhake in https://github.com/uutils/coreutils/pull/6362
* use `get_matches_from()` instead of `try_get_matches_from()` in tests by @cakebaker in https://github.com/uutils/coreutils/pull/6374
### id
* Handle repeated flags, recognize conflict between pretty-print and passwd file-entry by @BenWiederhake in https://github.com/uutils/coreutils/pull/6288
### kill
* adding support for handling SIGEXIT by @dcarrier in https://github.com/uutils/coreutils/pull/6269
### ls
* fix quoting alignment, add tests for default quoting style in TTY and quoting alignment by @RenjiSann in https://github.com/uutils/coreutils/pull/6402
* Fix ls: panicking on dangling symlink with ``--color=auto -l`` by @AnirbanHalder654322 in https://github.com/uutils/coreutils/pull/6346
### od
* use `u64::MAX` instead of `max_value()` by @cakebaker in https://github.com/uutils/coreutils/pull/6477
* use TestScenario, avoid spamming /tmp on failure by @BenWiederhake in https://github.com/uutils/coreutils/pull/6287
### pinky
* use UTC if offset can't be determined by @cakebaker in https://github.com/uutils/coreutils/pull/6414
### seq
* fix typo in benchmarking documentation file by @TO19 in https://github.com/uutils/coreutils/pull/6454
### shuf
* use usize::MAX instead of std::usize::MAX by @lcheylus in https://github.com/uutils/coreutils/pull/6482
### sort
* disable clippy::suspicious_open_options on OpenBSD by @lcheylus in https://github.com/uutils/coreutils/pull/6292
### tail
* use `#[ignore]` to disable tests by @cakebaker in https://github.com/uutils/coreutils/pull/6388
### tr
* calculate complement set early by @jalil-salame in https://github.com/uutils/coreutils/pull/6340
* Refuse to translate if set2 contains more than one unique characters and set1 contains a character class by @cvonelm in https://github.com/uutils/coreutils/pull/6472
* A [:lower:]/[:upper:] in set2 must be matched in set1 by @cvonelm in https://github.com/uutils/coreutils/pull/6445
* disallow classes besides [:upper:]/[:lower:] in set2 when translating by @cvonelm in https://github.com/uutils/coreutils/pull/6424
* Refuse to translate if set1 is longer than set2 and set2 ends in a character class by @cvonelm in https://github.com/uutils/coreutils/pull/6470
### uptime
* add `-s`/`--since` of `uptime` to extensions by @cakebaker in https://github.com/uutils/coreutils/pull/6391
* Support files in uptime by @AnirbanHalder654322 in https://github.com/uutils/coreutils/pull/6400
### utmpx
* use UTC if offset can't be resolved by @cakebaker in https://github.com/uutils/coreutils/pull/6413
### Misc
* clippy: fix warnings introduced with Rust 1.78 by @cakebaker in https://github.com/uutils/coreutils/pull/6330
* Disable clippy::assigning_clones on OpenBSD by @lcheylus in https://github.com/uutils/coreutils/pull/6356
* clippy: fix warnings introduced by Rust 1.79 by @cakebaker in https://github.com/uutils/coreutils/pull/6468
* tests: fix some clippy warnings by @sylvestre in https://github.com/uutils/coreutils/pull/6430
* Disabling compare_xattrs cp and mv related tests on OpenBSD by @jadijadi in https://github.com/uutils/coreutils/pull/6368
* src/uucore/src/lib/features/fsext.rs: Add magic for bcachefs by @phedders in https://github.com/uutils/coreutils/pull/6438
* tests: remove all `#[cfg(not(target_pointer_width = "128"))]` by @cakebaker in https://github.com/uutils/coreutils/pull/6418
* Cargo.toml: enable uucore's `mode` feature by @cakebaker in https://github.com/uutils/coreutils/pull/6421
* uucore: remove support for Bitrig by @cakebaker in https://github.com/uutils/coreutils/pull/6383
* everywhere: cleanup unused/unnecessary spellcheck-disabling by @BenWiederhake in https://github.com/uutils/coreutils/pull/6295
* multicall: add --list to list all utils by @tertsdiepraam in https://github.com/uutils/coreutils/pull/6251
* config terminal simulation for specific stdios only by @cre4ture in https://github.com/uutils/coreutils/pull/6125
* fix code coverage windows by @piotrkwiecinski in https://github.com/uutils/coreutils/pull/6332
### CI
* macos-latest is now arm64 by @thesayyn in https://github.com/uutils/coreutils/pull/6425
* stdbuf: rename `dragonflybsd` to `dragonfly` by @cakebaker in https://github.com/uutils/coreutils/pull/6384
* deny.toml: remove hashbrown, update comment by @cakebaker in https://github.com/uutils/coreutils/pull/6373
* show-utils.sh: fix jq query to get coreutils deps by @lcheylus in https://github.com/uutils/coreutils/pull/6485
* deny.toml: allow BSL-1.0 as license by @cakebaker in https://github.com/uutils/coreutils/pull/6427
### Documentation
* docs: describe extensions of id by @cakebaker in https://github.com/uutils/coreutils/pull/6289
### Testing
* tests: fix multi-call test precondition by @BenWiederhake in https://github.com/uutils/coreutils/pull/6279
* Disabling xattrs tests on OpenBSD by @jadijadi in https://github.com/uutils/coreutils/pull/6349
* util: added umask manipulation by @matrixhead in https://github.com/uutils/coreutils/pull/6404
* show-utils.sh: fix jq query to get coreutils deps by @lcheylus in https://github.com/uutils/coreutils/pull/6300
### Dependencies
* Bump `itertools` and fix use of deprecated function by @cakebaker in https://github.com/uutils/coreutils/pull/6455
* Bump `fts-sys` and `selinux-sys` by @cakebaker in https://github.com/uutils/coreutils/pull/6339
* Bump bigdecimal from 0.4.0 to 0.4.2 by @cakebaker in https://github.com/uutils/coreutils/pull/6285
* `ls`: upgrade uutils-term-grid to 0.5 by @tertsdiepraam in https://github.com/uutils/coreutils/pull/5485
* Downgrade `libc` to `0.2.153` by @cakebaker in https://github.com/uutils/coreutils/pull/6408
* fix(deps): update rust crate data-encoding to 2.6 by @renovate in https://github.com/uutils/coreutils/pull/6283
* fix(deps): update rust crate data-encoding-macro to 0.1.15 by @renovate in https://github.com/uutils/coreutils/pull/6282
* fix(deps): update rust crate cpp to 0.5.9 by @renovate in https://github.com/uutils/coreutils/pull/6325
* fix(deps): update rust crate libc to 0.2.154 by @renovate in https://github.com/uutils/coreutils/pull/6326
* fix(deps): update rust crate proc-macro2 to v1.0.82 by @renovate in https://github.com/uutils/coreutils/pull/6372
* fix(deps): update rust crate proc-macro2 to v1.0.83 by @renovate in https://github.com/uutils/coreutils/pull/6416
* fix(deps): update rust crate libc to v0.2.155 by @renovate in https://github.com/uutils/coreutils/pull/6411
* fix(deps): update rust crate proc-macro2 to v1.0.84 by @renovate in https://github.com/uutils/coreutils/pull/6434
* fix(deps): update rust crate proc-macro2 to v1.0.85 by @renovate in https://github.com/uutils/coreutils/pull/6443
* fix(deps): update rust crate proc-macro2 to v1.0.86 by @renovate in https://github.com/uutils/coreutils/pull/6486
* chore(deps): update rust crate serde to v1.0.203 by @renovate in https://github.com/uutils/coreutils/pull/6489
* fix(deps): update rust crate libfuzzer-sys to 0.4.7 by @renovate in https://github.com/uutils/coreutils/pull/6327
* fix(deps): update rust crate quote to 1.0.36 by @renovate in https://github.com/uutils/coreutils/pull/6329
* fix(deps): update rust crate rand to 0.8.5 by @renovate in https://github.com/uutils/coreutils/pull/6334
* fix(deps): update rust crate wild to 2.2.1 by @renovate in https://github.com/uutils/coreutils/pull/6335
* fix(deps): update rust crate proc-macro2 to 1.0.81 by @renovate in https://github.com/uutils/coreutils/pull/6328
* fix(deps): update rust crate similar to 2.5.0 by @renovate in https://github.com/uutils/coreutils/pull/6336
* chore(deps): update rust crate unicode-width to 0.1.12 by @renovate in https://github.com/uutils/coreutils/pull/6277
* chore(deps): update rust crate zip to 1.1.2 by @renovate in https://github.com/uutils/coreutils/pull/6286
* chore(deps): update rust crate libc to 0.2.154 by @renovate in https://github.com/uutils/coreutils/pull/6291
* chore(deps): update rust crate zip to 1.1.3 by @renovate in https://github.com/uutils/coreutils/pull/6296
* chore(deps): update rust crate uutils_term_grid to 0.6 by @renovate in https://github.com/uutils/coreutils/pull/5963
* chore(deps): update rust crate cpp_build to 0.5.9 by @renovate in https://github.com/uutils/coreutils/pull/6303
* chore(deps): update rust crate ctrlc to 3.4.4 by @renovate in https://github.com/uutils/coreutils/pull/6304
* chore(deps): update rust crate filetime to 0.2.23 by @renovate in https://github.com/uutils/coreutils/pull/6305
* chore(deps): update rust crate half to 2.4.1 by @renovate in https://github.com/uutils/coreutils/pull/6307
* chore(deps): update rust crate indicatif to 0.17.8 by @renovate in https://github.com/uutils/coreutils/pull/6308
* chore(deps): update rust crate memchr to 2.7.2 by @renovate in https://github.com/uutils/coreutils/pull/6309
* chore(deps): update rust crate memmap2 to 0.9.4 by @renovate in https://github.com/uutils/coreutils/pull/6310
* chore(deps): update rust crate pretty_assertions to 1.4.0 by @renovate in https://github.com/uutils/coreutils/pull/6311
* chore(deps): update rust crate rand_core to 0.6.4 by @renovate in https://github.com/uutils/coreutils/pull/6312
* chore(deps): update rust crate rand_pcg to 0.3.1 by @renovate in https://github.com/uutils/coreutils/pull/6316
* chore(deps): update rust crate redox_syscall to 0.5.1 by @renovate in https://github.com/uutils/coreutils/pull/6317
* chore(deps): update rust crate selinux to 0.4.4 by @renovate in https://github.com/uutils/coreutils/pull/6318
* chore(deps): update rust crate sha1 to 0.10.6 by @renovate in https://github.com/uutils/coreutils/pull/6319
* chore(deps): update rust crate smallvec to 1.13.2 by @renovate in https://github.com/uutils/coreutils/pull/6320
* chore(deps): update rust crate tempfile to 3.10.1 by @renovate in https://github.com/uutils/coreutils/pull/6321
* chore(deps): update rust crate thiserror to 1.0.59 by @renovate in https://github.com/uutils/coreutils/pull/6322
* chore(deps): update rust crate time to 0.3.36 by @renovate in https://github.com/uutils/coreutils/pull/6323
* chore(deps): update rust crate unindent to 0.2.3 by @renovate in https://github.com/uutils/coreutils/pull/6324
* chore(deps): update rust crate self_cell to 1.0.4 by @renovate in https://github.com/uutils/coreutils/pull/6337
* chore(deps): update rust crate num-traits to 0.2.19 by @renovate in https://github.com/uutils/coreutils/pull/6338
* chore(deps): update rust crate zip to 1.1.4 by @renovate in https://github.com/uutils/coreutils/pull/6347
* chore(deps): update rust crate zip to v1.2.0 by @renovate in https://github.com/uutils/coreutils/pull/6366
* chore(deps): update rust crate num-prime to v0.4.4 by @renovate in https://github.com/uutils/coreutils/pull/6367
* chore(deps): update rust crate num-bigint to v0.4.5 by @renovate in https://github.com/uutils/coreutils/pull/6369
* chore(deps): update rust crate thiserror to v1.0.60 by @renovate in https://github.com/uutils/coreutils/pull/6370
* chore(deps): update rust crate zip to v1.2.1 by @renovate in https://github.com/uutils/coreutils/pull/6371
* chore(deps): update rust crate zip to v1.2.2 by @renovate in https://github.com/uutils/coreutils/pull/6389
* chore(deps): update rust crate zip to v1.2.3 by @renovate in https://github.com/uutils/coreutils/pull/6394
* chore(deps): update rust crate thiserror to v1.0.61 by @renovate in https://github.com/uutils/coreutils/pull/6410
* chore(deps): update rust crate zip to v1.3.0 by @renovate in https://github.com/uutils/coreutils/pull/6409
* chore(deps): update rust crate rstest to 0.21.0 by @renovate in https://github.com/uutils/coreutils/pull/6441
* chore(deps): update dawidd6/action-download-artifact action to v4 by @renovate in https://github.com/uutils/coreutils/pull/6447
* chore(deps): update dawidd6/action-download-artifact action to v5 by @renovate in https://github.com/uutils/coreutils/pull/6449
* chore(deps): update rust crate regex to v1.10.5 by @renovate in https://github.com/uutils/coreutils/pull/6458
* chore(deps): update dawidd6/action-download-artifact action to v6 by @renovate in https://github.com/uutils/coreutils/pull/6462
* chore(deps): update rust crate memchr to v2.7.4 by @renovate in https://github.com/uutils/coreutils/pull/6463
* chore(deps): update rust crate redox_syscall to v0.5.2 by @renovate in https://github.com/uutils/coreutils/pull/6469
* chore(deps): update mozilla-actions/sccache-action action to v0.0.5 by @renovate in https://github.com/uutils/coreutils/pull/6476
* chore(deps): update rust crate bigdecimal to v0.4.5 by @renovate in https://github.com/uutils/coreutils/pull/6473
## New Contributors
* @dcarrier made their first contribution in https://github.com/uutils/coreutils/pull/6269
* @jalil-salame made their first contribution in https://github.com/uutils/coreutils/pull/6340
* @ahmadabd made their first contribution in https://github.com/uutils/coreutils/pull/6359
* @Walid-Kh made their first contribution in https://github.com/uutils/coreutils/pull/6377
* @cvonelm made their first contribution in https://github.com/uutils/coreutils/pull/6424
* @thesayyn made their first contribution in https://github.com/uutils/coreutils/pull/6425
* @Qelxiros made their first contribution in https://github.com/uutils/coreutils/pull/6433
* @phedders made their first contribution in https://github.com/uutils/coreutils/pull/6438
* @TO19 made their first contribution in https://github.com/uutils/coreutils/pull/6454
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.26...0.0.27
+354
View File
@@ -0,0 +1,354 @@
# 0.0.28
**Version:** 0.0.28
**Published:** 2024-11-16T19:37:15Z
## Release Notes
### 📦 **Rust Coreutils 0.0.28 Release:**
We are thrilled to announce the release of **Rust Coreutils 0.0.28**! This release brings significant improvements in compatibility and stability, continuing our journey to provide a robust alternative to GNU Coreutils.
### Highlights:
- **Improved Compatibility**:
- Passing GNU tests increased to **476** (+21 compared to 0.0.27).
- Failing tests reduced to **94** (-19 compared to 0.0.27).
- **Contributions**: This release was made possible by the hard work of **37 contributors**, including 16 newcomers.
- **Enhanced Performance**: Updates and optimizations in utilities like `cksum`, `mkdir`, and `tr`.
### GNU Test Suite Compatibility:
Heres how version 0.0.28 compares to the previous release:
| Result | 0.0.27 | 0.0.28 | Change 0.0.27 to 0.0.28 | % Total 0.0.27 | % Total 0.0.28 | % Change 0.0.27 to 0.0.28 |
|---------------|--------|--------|-------------------------|----------------|----------------|--------------------------|
| Pass | 455 | 476 | +21 | 74.35% | 77.65% | +3.30% |
| Skip | 44 | 43 | -1 | 7.19% | 7.01% | -0.18% |
| Fail | 113 | 94 | -19 | 18.46% | 15.34% | -3.12% |
| Error | 0 | 0 | 0 | 0.00% | 0.00% | 0.00% |
![GNU testsuite evolution](https://github.com/uutils/coreutils-tracking/blob/main/gnu-results.png?raw=true)
### Call to Action:
Support our work by sponsoring us on GitHub! Your contributions help maintain our infrastructure and enable faster iterations. [Sponsor us here](https://github.com/sponsors/uutils).
For more details and to download the latest release, visit our website: [https://uutils.github.io](https://uutils.github.io).
## What's Changed
## GNU Test Suite Compatibility
### `basenc`
* Perform faster, streaming encoding by @andrewliebenow in [#6719](https://github.com/uutils/coreutils/pull/6719)
### `cat`
* Fix issue #6248 by @OshinoShinobu-Chan in [#6763](https://github.com/uutils/coreutils/pull/6763)
* Use `write_end_of_line()` to avoid duplicate code by @cakebaker in [#6764](https://github.com/uutils/coreutils/pull/6764)
* Fix issue #5186 by adding explicit flush by @gim913 in [#5256](https://github.com/uutils/coreutils/pull/5256)
### `cksum` / `hashsum`
* Add support for `--check` with base64 and other improvements by @sylvestre in [#6452](https://github.com/uutils/coreutils/pull/6452)
* Accept non-UTF-8 filenames by @BenWiederhake in [#6575](https://github.com/uutils/coreutils/pull/6575)
* Support commented lines in checksum files by @RenjiSann in [#6782](https://github.com/uutils/coreutils/pull/6782)
* Fix error handling by @Luv-Ray in [#6801](https://github.com/uutils/coreutils/pull/6801)
* Implement `-z` / `--zero` by @RenjiSann in [#6815](https://github.com/uutils/coreutils/pull/6815)
* Read the next file when the first is missing or invalid by @sylvestre in [#6524](https://github.com/uutils/coreutils/pull/6524)
* Support non-UTF-8 input in checksum files by @RenjiSann in [#6793](https://github.com/uutils/coreutils/pull/6793)
### `cp`
* Fix preserved hardlinks not being reported in `--verbose` mode by @djedi23 in [#6496](https://github.com/uutils/coreutils/pull/6496)
* Improve GNU test case compatibility for `part-symlink` by @matrixhead in [#6588](https://github.com/uutils/coreutils/pull/6588)
* Treat an empty file name as a non-existing file by @samueltardieu in [#6683](https://github.com/uutils/coreutils/pull/6683)
* Show mode if the target does not have `S_IWUSR` by @andrewliebenow in [#6700](https://github.com/uutils/coreutils/pull/6700)
* Fix possible OOM and partial writes with large files by @neyo8826 in [#6694](https://github.com/uutils/coreutils/pull/6694)
* Fix symlink-overwrite error priority by @Luv-Ray in [#6586](https://github.com/uutils/coreutils/pull/6586)
* Normalize path when checking for duplicate source by @matrixhead in [#6825](https://github.com/uutils/coreutils/pull/6825)
* Add argument count validation for `cp` by @LoricAndre in [#6690](https://github.com/uutils/coreutils/pull/6690)
### `date`
* Fix timezone error when setting UTC time by @CausingBrick in [#6503](https://github.com/uutils/coreutils/pull/6503)
* Add test for `date` by @Its-Just-Nans in [#6526](https://github.com/uutils/coreutils/pull/6526)
* Add tests for issue #6392 by @RenjiSann in [#6471](https://github.com/uutils/coreutils/pull/6471)
### `dd`
* Fix issue #5905 (different error message from GNU) by @just-an-engineer in [#6622](https://github.com/uutils/coreutils/pull/6622)
### `dircolors`
* Optimize integer and string operations required by clippy nightly by @BenWiederhake in [#6636](https://github.com/uutils/coreutils/pull/6636)
### `echo`
* Handle multibyte escape sequences by @andrewliebenow in [#6803](https://github.com/uutils/coreutils/pull/6803)
* Remove double negation by @cakebaker in [#6810](https://github.com/uutils/coreutils/pull/6810)
### `hashsum`
* When checksum file is untagged, detect the size by @sylvestre in [#6499](https://github.com/uutils/coreutils/pull/6499)
* On Windows, check in binary mode by default and allow `--binary` / `--text` by @Pistonight in [#6808](https://github.com/uutils/coreutils/pull/6808)
* Return error when only `--strict` or `--quiet` is given by @howjmay in [#6584](https://github.com/uutils/coreutils/pull/6584)
### `hostname`
* Use `dns-lookup` crate to get network address(es) of the host by @lcheylus in [#6550](https://github.com/uutils/coreutils/pull/6550)
### `join`
* Add support for multibyte separators by @jtracey in [#6736](https://github.com/uutils/coreutils/pull/6736)
* Avoid extra allocations when using `-i` by @jtracey in [#6774](https://github.com/uutils/coreutils/pull/6774)
### `ls`
* Adjust code for `--dired` after GNU v9.5 changes by @sylvestre in [#6144](https://github.com/uutils/coreutils/pull/6144)
* Fix GNU test case `color-norm` by @matrixhead in [#6481](https://github.com/uutils/coreutils/pull/6481)
* Fix error in subdirectory output by @CausingBrick in [#6521](https://github.com/uutils/coreutils/pull/6521)
* Fix `dired` option (`-D`) not outputting datetime and parent directory byte offsets by @pyoky in [#6538](https://github.com/uutils/coreutils/pull/6538)
* Use tab when `-CF` is passed (closes #5396) by @sylvestre in [#6528](https://github.com/uutils/coreutils/pull/6528)
* Fix GNU test case `color-clear-to-eol` by @matrixhead in [#6507](https://github.com/uutils/coreutils/pull/6507)
* Refactor `parse_width` function by @matrixhead in [#6510](https://github.com/uutils/coreutils/pull/6510)
* Add test for `ls` by @Its-Just-Nans in [#6527](https://github.com/uutils/coreutils/pull/6527)
* Fix GNU test case `color-ext` by @matrixhead in [#6537](https://github.com/uutils/coreutils/pull/6537)
* Fix quoting for directory names with a colon (`:`) in recursive mode and patch the `quote-align` GNU test by @RenjiSann in [#6559](https://github.com/uutils/coreutils/pull/6559)
* Change `unwrap_or` and `or` to lazy-evaluated `unwrap_or_else` and `or_else` by @AnirbanHalder654322 in [#6609](https://github.com/uutils/coreutils/pull/6609)
### `ln`
* Allow final destination directory when using `-nf` by @jansheikkinen in [#5975](https://github.com/uutils/coreutils/pull/5975)
### `mkdir`
* Add `acl` permissions inheritance for subdirectories by @AnirbanHalder654322 in [#6676](https://github.com/uutils/coreutils/pull/6676)
* Prevent mode change of existing directories by @samueltardieu in [#6682](https://github.com/uutils/coreutils/pull/6682)
* Require arguments for `mkdir` and `rmdir` by @sgvictorino in [#6790](https://github.com/uutils/coreutils/pull/6790)
* Emit error when path is empty by @andrewliebenow in [#6802](https://github.com/uutils/coreutils/pull/6802)
* Allow `--parent` to be provided more than once by @DaringCuteSeal in [#6831](https://github.com/uutils/coreutils/pull/6831)
### `mv`
* Fix GNU test case `to-symlink` by @matrixhead in [#6578](https://github.com/uutils/coreutils/pull/6578)
* Clean up inter-partition copying test code by @matrixhead in [#6583](https://github.com/uutils/coreutils/pull/6583)
* Adjust error message to pass `tests/mv/mv-exchange.sh` by @sylvestre in [#6641](https://github.com/uutils/coreutils/pull/6641)
* Fix GNU test case `mv-n` compatibility by @matrixhead in [#6599](https://github.com/uutils/coreutils/pull/6599)
* Fix GNU test case `dup-src` compatibility by @matrixhead in [#6837](https://github.com/uutils/coreutils/pull/6837)
### `od`
* Allow trailing characters in address radix by @andrewliebenow in [#6674](https://github.com/uutils/coreutils/pull/6674)
* Prevent panic on empty address radix by @andrewliebenow in [#6675](https://github.com/uutils/coreutils/pull/6675)
### `paste`
* Permit the delimiter list to be empty by @andrewliebenow in [#6714](https://github.com/uutils/coreutils/pull/6714)
### `printf`
* Check precision before writing to stdout (fix #1879) by @Kev1n8 in [#6511](https://github.com/uutils/coreutils/pull/6511)
* Remove unused argument name from help by @andrewliebenow in [#6807](https://github.com/uutils/coreutils/pull/6807)
* Fix extra padding by @Kev1n8 in [#6548](https://github.com/uutils/coreutils/pull/6548)
* Delete unused file by @BenWiederhake in [#6758](https://github.com/uutils/coreutils/pull/6758)
### `runcon`
* Adjust error message for `runcon` and `stdbuf` to pass `tests/misc/invalid-opt.pl` by @sylvestre in [#6657](https://github.com/uutils/coreutils/pull/6657)
* Improve help message for `runcon` by @cakebaker in [#6680](https://github.com/uutils/coreutils/pull/6680)
### `sort`
* Improve error management with `--batch-size` by @sylvestre in [#6535](https://github.com/uutils/coreutils/pull/6535)
### `sync`
* Replace `crash!` with `USimpleError` by @Kev1n8 in [#6547](https://github.com/uutils/coreutils/pull/6547)
### `test`
* Ensure `-o` argument triggers an error by @sylvestre in [#6642](https://github.com/uutils/coreutils/pull/6642)
* Avoid eliding named lifetimes in tests by @samueltardieu in [#6678](https://github.com/uutils/coreutils/pull/6678)
* Fix "unused imports" warning on Redox by @cakebaker in [#5930](https://github.com/uutils/coreutils/pull/5930)
### `touch`
* Change message when touching a directory by @Its-Just-Nans in [#6506](https://github.com/uutils/coreutils/pull/6506)
* Expose `touch` for Nushell by @ysthakur in [#5946](https://github.com/uutils/coreutils/pull/5946)
### `uptime`
* Add support for OpenBSD using `utmp` by @lcheylus in [#6514](https://github.com/uutils/coreutils/pull/6514)
* Relax error message due to differing `errno` values on macOS by @BenWiederhake in [#6571](https://github.com/uutils/coreutils/pull/6571)
### `users`
* Support OpenBSD using `utmp` by @jadijadi in [#6406](https://github.com/uutils/coreutils/pull/6406)
* Fix lint error `needless_borrows_for_generic_args` on OpenBSD by @lcheylus in [#6509](https://github.com/uutils/coreutils/pull/6509)
* Use `Option` instead of `Vec` for file argument by @cakebaker in [#6761](https://github.com/uutils/coreutils/pull/6761)
* Fix lint error `manual_unwrap_or_default` on OpenBSD by @lcheylus in [#6772](https://github.com/uutils/coreutils/pull/6772)
### `tr`
* Properly determine trailing backslash by @BenWiederhake in [#6731](https://github.com/uutils/coreutils/pull/6731)
* Enable ignored test on Unix by @cakebaker in [#6737](https://github.com/uutils/coreutils/pull/6737)
* Raise error if `set2` is too big on complemented class by @RenjiSann in [#6564](https://github.com/uutils/coreutils/pull/6564)
* Accept non-UTF-8 arguments for sets by @RenjiSann in [#6563](https://github.com/uutils/coreutils/pull/6563)
* Fix unescaped trailing backslash warning by @andrewliebenow in [#6713](https://github.com/uutils/coreutils/pull/6713)
* Correctly handle multibyte octal sequences by @andrewliebenow in [#6779](https://github.com/uutils/coreutils/pull/6779)
* Correctly detect matched `[:upper:]` by @cvonelm in [#6513](https://github.com/uutils/coreutils/pull/6513)
* Enable ignored tests that have already been fixed by @BenWiederhake in [#6756](https://github.com/uutils/coreutils/pull/6756)
### `tsort`
* Propose refactoring for `tsort` by @anastygnome in [#5968](https://github.com/uutils/coreutils/pull/5968)
* Adjust error message in `tsort.pl` by @sylvestre in [#6785](https://github.com/uutils/coreutils/pull/6785)
### uucore
* uucore: Split `tty` from `proc_info` by @Krysztal112233 in https://github.com/uutils/coreutils/pull/6593
* uucore: Fix return value of `ProcessInfomation::tty` by @Krysztal112233 in https://github.com/uutils/coreutils/pull/6597
* uucore: Add `getsid` for `process.rs` by @Krysztal112233 in https://github.com/uutils/coreutils/pull/6600
* fsext: remove crash! by @Kev1n8 in https://github.com/uutils/coreutils/pull/6549
* uucore+timeout: accept signals of any casing by @BenWiederhake in https://github.com/uutils/coreutils/pull/6382
* uucore: Move `pgrep/process.rs` to `uucore` by @Krysztal112233 in https://github.com/uutils/coreutils/pull/6483
* uucore/proc_info: ignore spelling of some words by @cakebaker in https://github.com/uutils/coreutils/pull/6561
* uucore: fix "unused import" warning on Redox by @cakebaker in https://github.com/uutils/coreutils/pull/6695
* uucore/checksum: simplify `determine_regex()` by @cakebaker in https://github.com/uutils/coreutils/pull/6500
* uucore: allow use of deprecated `PanicInfo` by @cakebaker in https://github.com/uutils/coreutils/pull/6792
* uucore: disable default signal-handlers added by Rust by @Ecordonnier in https://github.com/uutils/coreutils/pull/6806
### Misc
* bin/coreutils: add `--list` to help output by @cakebaker in https://github.com/uutils/coreutils/pull/6692
* prepare version 0.0.28 by @sylvestre in https://github.com/uutils/coreutils/pull/6844
* Use `workspace = true` for some dependencies by @cakebaker in https://github.com/uutils/coreutils/pull/6601
* sort: enable clippy::suspicious_open_options on OpenBSD by @lcheylus in https://github.com/uutils/coreutils/pull/6851
* Fix clippy errors by @Its-Just-Nans in https://github.com/uutils/coreutils/pull/6505
* Fix nightly clippy by @BenWiederhake in https://github.com/uutils/coreutils/pull/6581
* fuzz: run GNU Core Utilities with LC_ALL=C by @andrewliebenow in https://github.com/uutils/coreutils/pull/6795
* Disable failed tests on OpenBSD by @lcheylus in https://github.com/uutils/coreutils/pull/6545
* build.rs: skip "expensive_tests", not a crate by @cakebaker in https://github.com/uutils/coreutils/pull/6518
* build all features on docs.rs by @Its-Just-Nans in https://github.com/uutils/coreutils/pull/6502
* Cargo.toml: add "expensive_tests" feature by @cakebaker in https://github.com/uutils/coreutils/pull/6498
* clippy: fix warnings introduced by Rust 1.80 by @cakebaker in https://github.com/uutils/coreutils/pull/6592
* Cargo.toml: allow "fuzzing" as `cfg` condition name by @cakebaker in https://github.com/uutils/coreutils/pull/6497
* Change the git pre-commit actions to *actually* use stable by @BenWiederhake in https://github.com/uutils/coreutils/pull/6754
* Try to use linux high perf runners by @sylvestre in https://github.com/uutils/coreutils/pull/6556
* Revert "Try to use linux high perf runners" by @sylvestre in https://github.com/uutils/coreutils/pull/6557
* fuzzing: add `Cargo.lock` by @cakebaker in https://github.com/uutils/coreutils/pull/6652
* Fix clippy warnings. by @dcampbell24 in https://github.com/uutils/coreutils/pull/6716
* move lints from rustflags to Cargo.toml by @jtracey in https://github.com/uutils/coreutils/pull/6751
* Clippy Pedantic Acceptable Commits Try Again by @dcampbell24 in https://github.com/uutils/coreutils/pull/6748
* basename,realpath: add words to `spell-checker:ignore` by @cakebaker in https://github.com/uutils/coreutils/pull/6627
* Do not rebuild the build script unless necessary by @samueltardieu in https://github.com/uutils/coreutils/pull/6677
* Change the git pre-commit actions to work on stable. by @dcampbell24 in https://github.com/uutils/coreutils/pull/6715
* add back use_self clippy warning by @jtracey in https://github.com/uutils/coreutils/pull/6775
* Get rid of redox-specific code by @tea in https://github.com/uutils/coreutils/pull/6787
### CI
* ci: remove temporary code coverage jobs by @cakebaker in https://github.com/uutils/coreutils/pull/6856
* ci: remove unused var from "Code Coverage" job by @cakebaker in https://github.com/uutils/coreutils/pull/6605
* Fix Android CI by @jtracey in https://github.com/uutils/coreutils/pull/6580
* Add windows arm64 to the CI by @sylvestre in https://github.com/uutils/coreutils/pull/6624
* ci: disable broken code coverage on windows by @BenWiederhake in https://github.com/uutils/coreutils/pull/6687
* Android CI: enable emulator metrics by @jtracey in https://github.com/uutils/coreutils/pull/6752
* ci: use ubuntu v24 for GNU tests workflow by @cakebaker in https://github.com/uutils/coreutils/pull/6765
* GNU tests: install attr by @sylvestre in https://github.com/uutils/coreutils/pull/6784
* intermittent: timeout changed directory by @sylvestre in https://github.com/uutils/coreutils/pull/6816
* Use github for gnulib by @sylvestre in https://github.com/uutils/coreutils/pull/6762
### Documentation
* coreutils: Add a default readme for the packages by @lu-zero in https://github.com/uutils/coreutils/pull/6512
* CONTRIBUTE.md: Update broken link and formatting of link by @vikiminki in https://github.com/uutils/coreutils/pull/6776
* add docs - fix #5066 by @Its-Just-Nans in https://github.com/uutils/coreutils/pull/6523
* doc: add and change documentation of uucore by @Its-Just-Nans in https://github.com/uutils/coreutils/pull/6551
* document uucore::Args #5068 by @Its-Just-Nans in https://github.com/uutils/coreutils/pull/6515
* documents functions - #5069 by @Its-Just-Nans in https://github.com/uutils/coreutils/pull/6516
* documentation: fix crate name in README by @andrewliebenow in https://github.com/uutils/coreutils/pull/6800
### Dependencies
* chore(deps): update rust crate num-bigint to v0.4.6 by @renovate in https://github.com/uutils/coreutils/pull/6501
* chore(deps): update vmactions/freebsd-vm action to v1.0.8 by @renovate in https://github.com/uutils/coreutils/pull/6525
* chore(deps): update rust crate serde to v1.0.204 by @renovate in https://github.com/uutils/coreutils/pull/6544
* chore(deps): update rust crate thiserror to v1.0.62 by @renovate in https://github.com/uutils/coreutils/pull/6562
* chore(deps): update reactivecircus/android-emulator-runner action to v2.32.0 by @renovate in https://github.com/uutils/coreutils/pull/6553
* chore(deps): update rust crate blake3 to v1.5.2 by @renovate in https://github.com/uutils/coreutils/pull/6565
* chore(deps): update rust crate blake3 to v1.5.3 by @renovate in https://github.com/uutils/coreutils/pull/6567
* chore(deps): update rust crate redox_syscall to v0.5.3 by @renovate in https://github.com/uutils/coreutils/pull/6568
* chore(deps): update rust crate thiserror to v1.0.63 by @renovate in https://github.com/uutils/coreutils/pull/6579
* chore(deps): update rust crate bstr to v1.10.0 by @renovate in https://github.com/uutils/coreutils/pull/6594
* chore(deps): update rust crate selinux to v0.4.5 by @renovate in https://github.com/uutils/coreutils/pull/6596
* chore(deps): update vmactions/freebsd-vm action to v1.0.9 by @renovate in https://github.com/uutils/coreutils/pull/6679
* chore(deps): update vmactions/freebsd-vm action to v1.1.0 by @renovate in https://github.com/uutils/coreutils/pull/6685
* chore(deps): update davidanson/markdownlint-cli2-action action to v17 by @renovate in https://github.com/uutils/coreutils/pull/6691
* chore(deps): update vmactions/freebsd-vm action to v1.1.1 by @renovate in https://github.com/uutils/coreutils/pull/6698
* chore(deps): update rust crate memmap2 to v0.9.5 by @renovate in https://github.com/uutils/coreutils/pull/6702
* chore(deps): update rust crate fundu to v2.0.1 by @renovate in https://github.com/uutils/coreutils/pull/6701
* chore(deps): update rust crate pretty_assertions to v1.4.1 by @renovate in https://github.com/uutils/coreutils/pull/6703
* chore(deps): update rust crate redox_syscall to v0.5.4 by @renovate in https://github.com/uutils/coreutils/pull/6704
* chore(deps): update rust crate selinux to v0.4.6 by @renovate in https://github.com/uutils/coreutils/pull/6706
* chore(deps): update rust crate rlimit to v0.10.2 by @renovate in https://github.com/uutils/coreutils/pull/6705
* chore(deps): update rust crate serde to v1.0.210 by @renovate in https://github.com/uutils/coreutils/pull/6707
* chore(deps): update rust crate unicode-segmentation to v1.12.0 by @renovate in https://github.com/uutils/coreutils/pull/6709
* chore(deps): update rust crate once_cell to v1.20.0 by @renovate in https://github.com/uutils/coreutils/pull/6708
* chore(deps): update embarkstudios/cargo-deny-action action to v2 by @renovate in https://github.com/uutils/coreutils/pull/6608
* chore(deps): update rust crate regex to v1.10.6 by @renovate in https://github.com/uutils/coreutils/pull/6610
* chore(deps): update rust crate winapi-util to v0.1.9 by @renovate in https://github.com/uutils/coreutils/pull/6611
* chore(deps): update rust crate rust-ini to v0.21.1 by @renovate in https://github.com/uutils/coreutils/pull/6616
* chore(deps): update rust crate rstest to 0.22.0 by @renovate in https://github.com/uutils/coreutils/pull/6619
* chore(deps): update rust crate serde to v1.0.205 by @renovate in https://github.com/uutils/coreutils/pull/6625
* chore(deps): update rust crate serde to v1.0.206 by @renovate in https://github.com/uutils/coreutils/pull/6634
* chore(deps): update rust crate serde to v1.0.207 by @renovate in https://github.com/uutils/coreutils/pull/6643
* chore(deps): update rust crate unicode-width to v0.1.13 by @renovate in https://github.com/uutils/coreutils/pull/6451
* chore(deps): update rust crate serde to v1.0.208 by @renovate in https://github.com/uutils/coreutils/pull/6650
* chore(deps): update rust crate blake3 to v1.5.4 by @renovate in https://github.com/uutils/coreutils/pull/6656
* chore(deps): update rust crate filetime to v0.2.24 by @renovate in https://github.com/uutils/coreutils/pull/6626
* chore(deps): update rust crate serde to v1.0.209 by @renovate in https://github.com/uutils/coreutils/pull/6666
* chore(deps): update rust crate filetime to v0.2.25 by @renovate in https://github.com/uutils/coreutils/pull/6670
* chore(deps): update vmactions/freebsd-vm action to v1.1.2 by @renovate in https://github.com/uutils/coreutils/pull/6723
* chore(deps): update vmactions/freebsd-vm action to v1.1.3 by @renovate in https://github.com/uutils/coreutils/pull/6724
* chore(deps): update rust crate thiserror to v1.0.64 by @renovate in https://github.com/uutils/coreutils/pull/6726
* fix(deps): update rust crate libc to v0.2.159 by @renovate in https://github.com/uutils/coreutils/pull/6733
* chore(deps): update rust crate redox_syscall to v0.5.5 by @renovate in https://github.com/uutils/coreutils/pull/6734
* chore(deps): update rust crate terminal_size to 0.4.0 by @renovate in https://github.com/uutils/coreutils/pull/6735
* chore(deps): update rust crate redox_syscall to v0.5.6 by @renovate in https://github.com/uutils/coreutils/pull/6739
* chore(deps): update mozilla-actions/sccache-action action to v0.0.6 by @renovate in https://github.com/uutils/coreutils/pull/6743
* chore(deps): update rust crate platform-info to v2.0.4 by @renovate in https://github.com/uutils/coreutils/pull/6747
* fix(deps): update rust crate tempfile to v3.13.0 by @renovate in https://github.com/uutils/coreutils/pull/6745
* chore(deps): update rust crate rstest to 0.23.0 by @renovate in https://github.com/uutils/coreutils/pull/6749
* chore(deps): update rust crate regex to v1.11.0 by @renovate in https://github.com/uutils/coreutils/pull/6750
* chore(deps): update rust crate redox_syscall to v0.5.7 by @renovate in https://github.com/uutils/coreutils/pull/6753
* chore(deps): update rust crate lscolors to 0.20.0 by @renovate in https://github.com/uutils/coreutils/pull/6757
* chore(deps): update rust crate once_cell to v1.20.2 by @renovate in https://github.com/uutils/coreutils/pull/6768
* chore(deps): update vmactions/freebsd-vm action to v1.1.4 by @renovate in https://github.com/uutils/coreutils/pull/6769
* chore(deps): update rust crate procfs to 0.17 by @renovate in https://github.com/uutils/coreutils/pull/6770
* chore(deps): update reactivecircus/android-emulator-runner action to v2.33.0 by @renovate in https://github.com/uutils/coreutils/pull/6780
* chore(deps): update rust crate serde to v1.0.211 by @renovate in https://github.com/uutils/coreutils/pull/6809
* chore(deps): update rust crate serde to v1.0.213 by @renovate in https://github.com/uutils/coreutils/pull/6811
* fix(deps): update rust crate proc-macro2 to v1.0.89 by @renovate in https://github.com/uutils/coreutils/pull/6814
* chore(deps): update rust crate thiserror to v1.0.65 by @renovate in https://github.com/uutils/coreutils/pull/6813
* chore(deps): update rust crate regex to v1.11.1 by @renovate in https://github.com/uutils/coreutils/pull/6818
* chore(deps): update rust crate bigdecimal to v0.4.6 by @renovate in https://github.com/uutils/coreutils/pull/6829
* chore(deps): update rust crate serde to v1.0.214 by @renovate in https://github.com/uutils/coreutils/pull/6830
* chore(config): migrate renovate config by @renovate in https://github.com/uutils/coreutils/pull/6834
* chore(deps): update rust crate thiserror to v1.0.66 by @renovate in https://github.com/uutils/coreutils/pull/6835
* chore(deps): update vmactions/freebsd-vm action to v1.1.5 by @renovate in https://github.com/uutils/coreutils/pull/6838
* chore(deps): update rust crate indicatif to v0.17.9 by @renovate in https://github.com/uutils/coreutils/pull/6849
* fix(deps): update rust crate dunce to v1.0.5 by @renovate in https://github.com/uutils/coreutils/pull/6617
* Bump `nix` & `ctrlc` and adapt code to API changes in `nix` by @cakebaker in https://github.com/uutils/coreutils/pull/6648
* fix(deps): update rust crate similar to v2.6.0 by @renovate in https://github.com/uutils/coreutils/pull/6661
* fix(deps): update rust crate tempfile to v3.12.0 by @renovate in https://github.com/uutils/coreutils/pull/6647
* fix(deps): update rust crate libc to v0.2.158 by @renovate in https://github.com/uutils/coreutils/pull/6651
* fix(deps): update rust crate quote to v1.0.37 by @renovate in https://github.com/uutils/coreutils/pull/6664
* fix(deps): update rust crate proc-macro2 to v1.0.87 by @renovate in https://github.com/uutils/coreutils/pull/6773
* fix(deps): update rust crate proc-macro2 to v1.0.88 by @renovate in https://github.com/uutils/coreutils/pull/6783
* fix(deps): update rust crate libc to v0.2.160 by @renovate in https://github.com/uutils/coreutils/pull/6786
* fix(deps): update rust crate libc to v0.2.161 by @renovate in https://github.com/uutils/coreutils/pull/6789
* num-prime => '0.4.4' by @sylvestre in https://github.com/uutils/coreutils/pull/6781
* Bump `selinux-sys` and `fts-sys` by @cakebaker in https://github.com/uutils/coreutils/pull/6693
* Bump `tempfile` from `3.10.1` to `3.11.0` by @cakebaker in https://github.com/uutils/coreutils/pull/6613
* Bump windows-targets crates by @cakebaker in https://github.com/uutils/coreutils/pull/6633
* Bump `parking_lot_core` by @cakebaker in https://github.com/uutils/coreutils/pull/6663
* Bump `windows-sys` & adapt `tail` to API change by @cakebaker in https://github.com/uutils/coreutils/pull/6681
## New Contributors
* @Its-Just-Nans made their first contribution in https://github.com/uutils/coreutils/pull/6502
* @CausingBrick made their first contribution in https://github.com/uutils/coreutils/pull/6503
* @lu-zero made their first contribution in https://github.com/uutils/coreutils/pull/6512
* @Kev1n8 made their first contribution in https://github.com/uutils/coreutils/pull/6511
* @andrewliebenow made their first contribution in https://github.com/uutils/coreutils/pull/6674
* @just-an-engineer made their first contribution in https://github.com/uutils/coreutils/pull/6622
* @LoricAndre made their first contribution in https://github.com/uutils/coreutils/pull/6690
* @jansheikkinen made their first contribution in https://github.com/uutils/coreutils/pull/5975
* @dcampbell24 made their first contribution in https://github.com/uutils/coreutils/pull/6715
* @OshinoShinobu-Chan made their first contribution in https://github.com/uutils/coreutils/pull/6763
* @gim913 made their first contribution in https://github.com/uutils/coreutils/pull/5256
* @neyo8826 made their first contribution in https://github.com/uutils/coreutils/pull/6694
* @tea made their first contribution in https://github.com/uutils/coreutils/pull/6787
* @sgvictorino made their first contribution in https://github.com/uutils/coreutils/pull/6790
* @Pistonight made their first contribution in https://github.com/uutils/coreutils/pull/6808
* @DaringCuteSeal made their first contribution in https://github.com/uutils/coreutils/pull/6831
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.27...0.0.28
+371
View File
@@ -0,0 +1,371 @@
# 0.0.29
**Version:** 0.0.29
**Published:** 2025-01-18T21:35:34Z
## Release Notes
### 📦 **Rust Coreutils 0.0.29 Release:**
We are excited to announce the release of **Rust Coreutils 0.0.29**!
---
### Highlights:
- **Improved Compatibility**:
- Passing GNU tests increased to **506** (+30 compared to 0.0.28).
- Failing tests reduced to **67** (-27 compared to 0.0.28).
- **Contributions**: This release was made possible by the dedication of **32 contributors**, including **18 newcomers**.
- Compared with 0.0.28, several commands now achieve 100% compatibility with GNU tests, including `df`, `dircolors`, `chmod`, `chroot`, `comm`, `seq`, `split`, `uniq`, and more.
- **Performance Boost**: Optimizations in tools like `du`, `echo`, and `seq`.
---
### GNU Test Suite Compatibility:
Heres how version 0.0.29 compares to the previous release:
| Result | 0.0.28 | 0.0.29 | Change 0.0.28 to 0.0.29 | % Total 0.0.28 | % Total 0.0.29 | % Change 0.0.28 to 0.0.29 |
|---------------|--------|--------|-------------------------|----------------|----------------|--------------------------|
| Pass | 476 | 506 | +30 | 77.65% | 82.38% | +4.73% |
| Skip | 43 | 41 | -2 | 7.01% | 6.68% | -0.33% |
| Fail | 94 | 67 | -27 | 15.34% | 10.92% | -4.42% |
| Error | 0 | 0 | 0 | 0.00% | 0.00% | 0.00% |
---
![GNU testsuite evolution](https://github.com/uutils/coreutils-tracking/blob/main/gnu-results.png?raw=true)
---
### Call to Action:
Support our work by sponsoring us on GitHub! Your contributions directly help maintain our infrastructure and enable faster development. [Sponsor us here](https://github.com/sponsors/uutils).
For more details and to download the latest release, visit our website: [https://uutils.github.io](https://uutils.github.io).
## What's Changed
### basenc
* basenc: ignore Interrupted errors by @andrewliebenow in https://github.com/uutils/coreutils/pull/6778
* basenc: ignore case with "--base16 --decode" by @cakebaker in https://github.com/uutils/coreutils/pull/6963
* build-gnu.sh: adapt `basenc` message to clap changes by @cakebaker in https://github.com/uutils/coreutils/pull/6966
### base32/base64
* handle two corner cases by @sylvestre in https://github.com/uutils/coreutils/pull/6906
### checksum
* prepare further behavior fix with a rework by @RenjiSann in https://github.com/uutils/coreutils/pull/6822
* Further rework by @RenjiSann in https://github.com/uutils/coreutils/pull/6868
* cksum: even more fixes by @RenjiSann in https://github.com/uutils/coreutils/pull/6929
* fuzzing: add a new fuzzer for cksum by @sylvestre in https://github.com/uutils/coreutils/pull/6585
* fix error message when the flags length and an algorithm different from blake2b are present by @Felle33 in https://github.com/uutils/coreutils/pull/7071
* the --tag is meaningless with --check by @Felle33 in https://github.com/uutils/coreutils/pull/7079
* remove some unnecessary type info by @cakebaker in https://github.com/uutils/coreutils/pull/7080
### chmod
* Remove duplicate declarations + start to plug it to chmod too by @sylvestre in https://github.com/uutils/coreutils/pull/7017
* add uucore's `perms` feature to `Cargo.toml` by @cakebaker in https://github.com/uutils/coreutils/pull/7037
* add support for the deref and links options by @sylvestre in https://github.com/uutils/coreutils/pull/7025
* remove test tests/chmod/symlinks from the list by @sylvestre in https://github.com/uutils/coreutils/pull/7125
### chroot
* fix parsing of --userspec argument by @jfinkels in https://github.com/uutils/coreutils/pull/7043
* remove `-G` short option by @cakebaker in https://github.com/uutils/coreutils/pull/7051
* fix many issues with chroot by @jfinkels in https://github.com/uutils/coreutils/pull/7057
* handle the error when invalid user by @sylvestre in https://github.com/uutils/coreutils/pull/7015
* make group option self overwriting by @AnirbanHalder654322 in https://github.com/uutils/coreutils/pull/7123
* tests/chroot/chroot-credentials has been fixed by @sylvestre in https://github.com/uutils/coreutils/pull/7124
### comm
* generate an error if the input is a directory by @sylvestre in https://github.com/uutils/coreutils/pull/6853
* adapt GNU error messages by @cakebaker in https://github.com/uutils/coreutils/pull/6998
* don't use files for test by @sylvestre in https://github.com/uutils/coreutils/pull/7140
* implement the ordering check by @sylvestre in https://github.com/uutils/coreutils/pull/7144
### cp
* remove some `sleep()` calls in tests by @cakebaker in https://github.com/uutils/coreutils/pull/6890
* use the function from uucore by @sylvestre in https://github.com/uutils/coreutils/pull/7003
* when copying a read only file, make sure that the xattrs can be set properly by @sylvestre in https://github.com/uutils/coreutils/pull/7009
* copy attributes after making subdir by @rm-dr in https://github.com/uutils/coreutils/pull/6884
* make --backup and --no-clobber are mutually exclusive by @sylvestre in https://github.com/uutils/coreutils/pull/7082
* implement copying from streams by @DaringCuteSeal in https://github.com/uutils/coreutils/pull/7061
### csplit
* fix bug when --suppress-matched flag is active and positive/negative offset is present by @Felle33 in https://github.com/uutils/coreutils/pull/7088
* support reading from pipe by @fuad1502 in https://github.com/uutils/coreutils/pull/6951
* simplify test by @cakebaker in https://github.com/uutils/coreutils/pull/7106
* add support for `-q` by @cakebaker in https://github.com/uutils/coreutils/pull/7000
* allow offset without sign in pattern by @cakebaker in https://github.com/uutils/coreutils/pull/7006
### cut
* Fix cut when lines don't end with specified delim by @andreistan26 in https://github.com/uutils/coreutils/pull/5844
* adjust to our messages as they are better by @sylvestre in https://github.com/uutils/coreutils/pull/6921
* some test refactorings by @cakebaker in https://github.com/uutils/coreutils/pull/6970
* fix overriding of `-d=` by @cakebaker in https://github.com/uutils/coreutils/pull/6984
* don't merge adjacent ranges by @cakebaker in https://github.com/uutils/coreutils/pull/6990
* fix handling of newline as delimiter by @cakebaker in https://github.com/uutils/coreutils/pull/6996
### date
* display %Z alphabetic time zone abbreviation by @jfinkels in https://github.com/uutils/coreutils/pull/7134
### dd
* error if iflag=directory and input is stdin by @jfinkels in https://github.com/uutils/coreutils/pull/7122
### df
* fix display of special characters by @jfinkels in https://github.com/uutils/coreutils/pull/7151
* error on over-mounted device by @jfinkels in https://github.com/uutils/coreutils/pull/7116
* df test now passes by @sylvestre in https://github.com/uutils/coreutils/pull/7130
### dircolors
* fix empty COLORTERM matching with ?* pattern by @sylvestre in https://github.com/uutils/coreutils/pull/7089
* move `use` declaration to top by @cakebaker in https://github.com/uutils/coreutils/pull/7143
* dircolors is fixed by @sylvestre in https://github.com/uutils/coreutils/pull/7141
### du
* Reuse metadata from DirEntry where possible by @jesseschalken in https://github.com/uutils/coreutils/pull/6839
* fix the display with --inodes by @sylvestre in https://github.com/uutils/coreutils/pull/6878
* deduplicate the input by @sylvestre in https://github.com/uutils/coreutils/pull/6885
* Reuse existing metadata instead of calling path.is_dir() again by @jesseschalken in https://github.com/uutils/coreutils/pull/6840
### echo
* remove code made obsolete by MSRV 1.79 by @cakebaker in https://github.com/uutils/coreutils/pull/6989
* handle double hyphens by @cakebaker in https://github.com/uutils/coreutils/pull/6997
* add support for `POSIXLY_CORRECT` by @cakebaker in https://github.com/uutils/coreutils/pull/7059
### env
* add missing `cfg` attributes to tests by @cakebaker in https://github.com/uutils/coreutils/pull/6896
* better handling of the errors by @sylvestre in https://github.com/uutils/coreutils/pull/7090
* fix only long options are allowed to contain '=' by @jovielarue in https://github.com/uutils/coreutils/pull/7008
### fmt
* generate an error if the input is a directory by @sylvestre in https://github.com/uutils/coreutils/pull/6854
### head
* fix subtraction underflow with --bytes=-N by @jfinkels in https://github.com/uutils/coreutils/pull/7036
* make head fail when writing to /dev/full by @DaringCuteSeal in https://github.com/uutils/coreutils/pull/7068
### install
* create destination file with safer modes before copy by @nerdroychan in https://github.com/uutils/coreutils/pull/6595
* Revert "create destination file with safer modes before copy" by @sylvestre in https://github.com/uutils/coreutils/pull/6922
* implement copying from streams by @DaringCuteSeal in https://github.com/uutils/coreutils/pull/6965
### kill
* add `-n` hidden option for compatibility with bash by @samueltardieu in https://github.com/uutils/coreutils/pull/7069
* make `-s` conflict with `-l` and `-t` by @samueltardieu in https://github.com/uutils/coreutils/pull/7070
### ls
* when a file has capabilities (setcap), change the color by @sylvestre in https://github.com/uutils/coreutils/pull/6987
* finish the plug of mtime by @sylvestre in https://github.com/uutils/coreutils/pull/7016
* add better support for non-UTF-8 bytes by @jtracey in https://github.com/uutils/coreutils/pull/7020
### mkfifo
* better handle the mode + umask by @sylvestre in https://github.com/uutils/coreutils/pull/6971
* add missing "mode" feature for uucore dep by @jfinkels in https://github.com/uutils/coreutils/pull/7075
### more
* reduce memory usage a bit by @tertsdiepraam in https://github.com/uutils/coreutils/pull/6399
### mv
* fix the output of an error message by @sylvestre in https://github.com/uutils/coreutils/pull/6861
* remove `sleep` in tests by @cakebaker in https://github.com/uutils/coreutils/pull/6880
* show "same file" error for `mv d/f d` by @cakebaker in https://github.com/uutils/coreutils/pull/5788
* Revert "show 'same file' error for `mv d/f d`" by @sylvestre in https://github.com/uutils/coreutils/pull/6905
* fix invalid numbered backup path by @hamflx in https://github.com/uutils/coreutils/pull/6119
* don't panic if apply_xattrs fails by @alexs-sh in https://github.com/uutils/coreutils/pull/6936
* improve move-to-self error handling by @sgvictorino in https://github.com/uutils/coreutils/pull/6995
### numfmt
* use `succeeds()`/`fails()` instead of `run()` in tests by @cakebaker in https://github.com/uutils/coreutils/pull/7135
* adapt GNU `numfmt` error message by @cakebaker in https://github.com/uutils/coreutils/pull/7086
### printf
* remove allow(dead_code) directive by @jfinkels in https://github.com/uutils/coreutils/pull/7110
### rm
* fix r4_gnu_test by @AnirbanHalder654322 in https://github.com/uutils/coreutils/pull/6621
* remove outdated comment by @cakebaker in https://github.com/uutils/coreutils/pull/7022
* remove open call from uu-rm by @elde-n in https://github.com/uutils/coreutils/pull/7010
### seq
* add overflow checks when parsing exponents by @steinwand6 in https://github.com/uutils/coreutils/pull/6858
* handle scientific notation with uppercase 'E' by @artP2 in https://github.com/uutils/coreutils/pull/6928
* reduce memory allocation during prefix search by @alexs-sh in https://github.com/uutils/coreutils/pull/6949
* handle 0e... scientific notation without padding by @aimerlief in https://github.com/uutils/coreutils/pull/6934
* use `stdout_only()` to remove `no_stderr()` by @cakebaker in https://github.com/uutils/coreutils/pull/6937
* improve error handling for invalid -f values by @jfinkels in https://github.com/uutils/coreutils/pull/7032
* re-enable GNU test file precision.sh by @jfinkels in https://github.com/uutils/coreutils/pull/7095
* add floating point support by @alexs-sh in https://github.com/uutils/coreutils/pull/6959
* add a lower bound for exponents by @alexs-sh in https://github.com/uutils/coreutils/pull/7145
* fixed tests/seq/seq-precision by @sylvestre in https://github.com/uutils/coreutils/pull/7147
### sort
* Rework merge batching logic by @karlmcdowall in https://github.com/uutils/coreutils/pull/6957
### split
* fix bug with large arguments to -C by @jfinkels in https://github.com/uutils/coreutils/pull/7128
### stat
* Improve "stat" compatibility by @sylvestre in https://github.com/uutils/coreutils/pull/6933
* fix precision when rendering mtime (%Y) by @jfinkels in https://github.com/uutils/coreutils/pull/7115
### tail
* fix issue #6543 (--pid when reading from stdin) by @just-an-engineer in https://github.com/uutils/coreutils/pull/6582
### tr
* Add ambiguous octal escape warning by @OshinoShinobu-Chan in https://github.com/uutils/coreutils/pull/6886
* generate an error if the input is a directory by @sylvestre in https://github.com/uutils/coreutils/pull/6855
* generate an error for real if the input is a directory by @sylvestre in https://github.com/uutils/coreutils/pull/6907
### tsort
* split edge data on any whitespace chars by @jfinkels in https://github.com/uutils/coreutils/pull/7078
* print nodes and cycles as they are visited by @jfinkels in https://github.com/uutils/coreutils/pull/7093
### uniq
* fix multibyte input by @sylvestre in https://github.com/uutils/coreutils/pull/7046
### wc
* fix escaping by @jtracey in https://github.com/uutils/coreutils/pull/6993
### uucore
* Make EscapedChar and friends pub by @LegNeato in https://github.com/uutils/coreutils/pull/6903
* Make `Spec` public by @LegNeato in https://github.com/uutils/coreutils/pull/6946
* uucore/buf_copy: bug fixes for compatibility with uutils core utilities by @DaringCuteSeal in https://github.com/uutils/coreutils/pull/6983
* uucore: add common splice-write functionality by @DaringCuteSeal in https://github.com/uutils/coreutils/pull/6964
* uucore: correctly truncate response if getgroups shrinks by @santtu in https://github.com/uutils/coreutils/pull/6978
* uucore: add alacritty to the list of terminals that support colors by @sylvestre in https://github.com/uutils/coreutils/pull/6923
* uucore/buf-copy: delete redundant functions by @DaringCuteSeal in https://github.com/uutils/coreutils/pull/7060
* quoting_style: Add support for non-UTF-8 bytes by @jtracey in https://github.com/uutils/coreutils/pull/6882
* uucore:format:fix floating-point representation by @alexs-sh in https://github.com/uutils/coreutils/pull/7034
* Remove crash! macro by @saulvaldelvira in https://github.com/uutils/coreutils/pull/7084
* uucore: remove mention of crash in docs by @jfinkels in https://github.com/uutils/coreutils/pull/7109
### Build & CI
* GNUmakefile: remove `sleep` from `UNIX_PROGS` to avoid warning by @cakebaker in https://github.com/uutils/coreutils/pull/6960
* publish: by default, put it as draft by @sylvestre in https://github.com/uutils/coreutils/pull/6860
* Bump MSRV to `1.77` by @cakebaker in https://github.com/uutils/coreutils/pull/6870
* Improve gnu build script by @sylvestre in https://github.com/uutils/coreutils/pull/7136
* GnuComment: zizmor: ignore[dangerous-triggers] by @dcampbell24 in https://github.com/uutils/coreutils/pull/6974
* Android CICD: use posix style test by @jtracey in https://github.com/uutils/coreutils/pull/6982
* GNU: try to remove the fail-2eperm.sh workaround by @sylvestre in https://github.com/uutils/coreutils/pull/7013
* ci: install `libselinux1-dev` by @cakebaker in https://github.com/uutils/coreutils/pull/7132
* Put DEFAULT_BRANCH into an env variable. by @dcampbell24 in https://github.com/uutils/coreutils/pull/6973
* Set persist-credentials: false by @dcampbell24 in https://github.com/uutils/coreutils/pull/6975
* Use the env variable STYLE_FAIL_ON_FAULT. by @dcampbell24 in https://github.com/uutils/coreutils/pull/6976
* GNU: Improve the SKIP reporting by @sylvestre in https://github.com/uutils/coreutils/pull/6988
* GnuTests: also display CURRENT_RUN_SKIP for debug purposes by @sylvestre in https://github.com/uutils/coreutils/pull/6992
* CI: test all features individually by @sylvestre in https://github.com/uutils/coreutils/pull/7038
* CI: disable the windows job for indiv tests by @sylvestre in https://github.com/uutils/coreutils/pull/7047
* deny.toml: remove entries from skip list by @cakebaker in https://github.com/uutils/coreutils/pull/7118
* Refresh cargo.lock and update deny configuration by @sylvestre in https://github.com/uutils/coreutils/pull/7120
* Prepare release 0.0.29 by @sylvestre in https://github.com/uutils/coreutils/pull/7121
### Code quality
* Fix new clippy warnings by @sylvestre in https://github.com/uutils/coreutils/pull/6898
* Use `div_ceil()` from `std` by @cakebaker in https://github.com/uutils/coreutils/pull/6877
* uudoc,chcon: fix `needless_lifetimes` warnings by @cakebaker in https://github.com/uutils/coreutils/pull/6899
* uucore/perms: use ORs instead of `match` (fix todo) by @cakebaker in https://github.com/uutils/coreutils/pull/6891
* clippy: fix clippy warnings by @sylvestre in https://github.com/uutils/coreutils/pull/6910
* Fix clippy warnings by @RenjiSann in https://github.com/uutils/coreutils/pull/6932
* Improve the GNU compat doc by @sylvestre in https://github.com/uutils/coreutils/pull/7012
* clippy: fix errors introduced with Rust `1.84` by @cakebaker in https://github.com/uutils/coreutils/pull/7111
### Documentation
* doc: remove fixed tests from `why-error.md` by @cakebaker in https://github.com/uutils/coreutils/pull/7101
* doc: improve why-error doc by @sylvestre in https://github.com/uutils/coreutils/pull/7091
* document two more failures by @sylvestre in https://github.com/uutils/coreutils/pull/7041
* Fix: broken doc links by @jovielarue in https://github.com/uutils/coreutils/pull/7024
## Dependencies
* Bump `crossterm` from `0.27.0` to `0.28.1` by @cakebaker in https://github.com/uutils/coreutils/pull/6874
* Bump `thiserror` from `1.0.69` to `2.0.3` by @cakebaker in https://github.com/uutils/coreutils/pull/6888
* Bump `cpp` and `cpp_build` from `0.5.9` to `0.5.10` by @cakebaker in https://github.com/uutils/coreutils/pull/6887
* fuzz: bump `bigdecimal` from `0.4.3` to `0.4.7` by @cakebaker in https://github.com/uutils/coreutils/pull/7148
* Bump `chrono-tz` to `0.10.0` by @cakebaker in https://github.com/uutils/coreutils/pull/7146
* Bump `itertools` from `0.13.0` to `0.14.0` by @cakebaker in https://github.com/uutils/coreutils/pull/7045
* Bump `tempfile` from `3.14.0` to `3.15.0` by @cakebaker in https://github.com/uutils/coreutils/pull/7062
* Bump `unicode-width`, adapt test and fixtures by @cakebaker in https://github.com/uutils/coreutils/pull/6904
* Bump `clap` to `4.5.23` & fix failing `seq` tests by @cakebaker in https://github.com/uutils/coreutils/pull/6955
* Bump `zip` from `1.1.4` to `2.2.2` by @cakebaker in https://github.com/uutils/coreutils/pull/6873
* Cargo.lock: downgrade `log` from `0.4.24` to `0.4.22` by @cakebaker in https://github.com/uutils/coreutils/pull/7131
* fix(deps): update rust crate libc to v0.2.164 by @renovate in https://github.com/uutils/coreutils/pull/6847
* chore(deps): update rust crate serde to v1.0.215 by @renovate in https://github.com/uutils/coreutils/pull/6862
* chore(deps): update davidanson/markdownlint-cli2-action action to v18 by @renovate in https://github.com/uutils/coreutils/pull/6864
* fix(deps): update rust crate libfuzzer-sys to v0.4.8 by @renovate in https://github.com/uutils/coreutils/pull/6863
* fix(deps): update rust crate tempfile to v3.14.0 by @renovate in https://github.com/uutils/coreutils/pull/6866
* chore(deps): update rust crate thiserror to v1.0.69 by @renovate in https://github.com/uutils/coreutils/pull/6843
* chore(deps): update rust crate bstr to v1.11.0 by @renovate in https://github.com/uutils/coreutils/pull/6865
* chore(deps): update rust crate clap_mangen to v0.2.24 by @renovate in https://github.com/uutils/coreutils/pull/6358
* fix(deps): update rust crate proc-macro2 to v1.0.91 by @renovate in https://github.com/uutils/coreutils/pull/6879
* fix(deps): update rust crate proc-macro2 to v1.0.92 by @renovate in https://github.com/uutils/coreutils/pull/6881
* chore(deps): update rust crate fts-sys to v0.2.13 by @renovate in https://github.com/uutils/coreutils/pull/6883
* fix(deps): update rust crate libc to v0.2.165 by @renovate in https://github.com/uutils/coreutils/pull/6889
* fix(deps): update rust crate libc to v0.2.166 by @renovate in https://github.com/uutils/coreutils/pull/6894
* chore(deps): update rust crate blake3 to v1.5.5 by @renovate in https://github.com/uutils/coreutils/pull/6895
* chore(deps): update dawidd6/action-download-artifact action to v7 by @renovate in https://github.com/uutils/coreutils/pull/6900
* fix(deps): update rust crate libc to v0.2.167 by @renovate in https://github.com/uutils/coreutils/pull/6901
* chore(deps): update rust crate terminal_size to v0.4.1 by @renovate in https://github.com/uutils/coreutils/pull/6902
* chore(deps): update rust crate time to v0.3.37 by @renovate in https://github.com/uutils/coreutils/pull/6908
* chore(deps): update rust crate thiserror to v2.0.4 by @renovate in https://github.com/uutils/coreutils/pull/6909
* chore(deps): update rust crate self_cell to v1.1.0 by @renovate in https://github.com/uutils/coreutils/pull/6927
* chore(deps): update rust crate thiserror to v2.0.5 by @renovate in https://github.com/uutils/coreutils/pull/6939
* chore(deps): update rust crate thiserror to v2.0.6 by @renovate in https://github.com/uutils/coreutils/pull/6940
* chore(deps): update rust crate bigdecimal to v0.4.7 by @renovate in https://github.com/uutils/coreutils/pull/6941
* fix(deps): update rust crate libc to v0.2.168 by @renovate in https://github.com/uutils/coreutils/pull/6943
* chore(deps): update rust crate chrono to v0.4.39 by @renovate in https://github.com/uutils/coreutils/pull/6942
* chore(deps): update rust crate serde to v1.0.216 by @renovate in https://github.com/uutils/coreutils/pull/6948
* chore(deps): update rust crate bstr to v1.11.1 by @renovate in https://github.com/uutils/coreutils/pull/6950
* fix(deps): update rust crate lazy_static to v1.5.0 by @renovate in https://github.com/uutils/coreutils/pull/6952
* chore(deps): update mozilla-actions/sccache-action action to v0.0.7 by @renovate in https://github.com/uutils/coreutils/pull/6953
* chore(deps): update rust crate thiserror to v2.0.7 by @renovate in https://github.com/uutils/coreutils/pull/6958
* chore(deps): update rust crate clap_complete to v4.5.38 by @renovate in https://github.com/uutils/coreutils/pull/6361
* fix(deps): update rust crate clap_complete to v4.5.39 by @renovate in https://github.com/uutils/coreutils/pull/6961
* chore(deps): update rust crate clap_complete to v4.5.40 by @renovate in https://github.com/uutils/coreutils/pull/6967
* chore(deps): update rust crate thiserror to v2.0.8 by @renovate in https://github.com/uutils/coreutils/pull/6969
* fix(deps): update rust crate libc to v0.2.169 by @renovate in https://github.com/uutils/coreutils/pull/6977
* chore(deps): update rust crate thiserror to v2.0.9 by @renovate in https://github.com/uutils/coreutils/pull/6986
* chore(deps): update rust crate platform-info to v2.0.5 by @renovate in https://github.com/uutils/coreutils/pull/6991
* chore(deps): update vmactions/freebsd-vm action to v1.1.6 by @renovate in https://github.com/uutils/coreutils/pull/6994
* fix(deps): update rust crate quote to v1.0.38 by @renovate in https://github.com/uutils/coreutils/pull/6999
* chore(deps): update rust crate serde to v1.0.217 by @renovate in https://github.com/uutils/coreutils/pull/7007
* chore(deps): update rust crate glob to v0.3.2 by @renovate in https://github.com/uutils/coreutils/pull/7018
* chore(deps): update vmactions/freebsd-vm action to v1.1.7 by @renovate in https://github.com/uutils/coreutils/pull/7014
* chore(deps): update davidanson/markdownlint-cli2-action action to v19 by @renovate in https://github.com/uutils/coreutils/pull/7019
* chore(deps): update rust crate rstest to 0.24.0 by @renovate in https://github.com/uutils/coreutils/pull/7049
* chore(deps): update rust crate bstr to v1.11.3 by @renovate in https://github.com/uutils/coreutils/pull/7054
* chore(deps): update rust crate xattr to v1.4.0 by @renovate in https://github.com/uutils/coreutils/pull/7081
* chore(deps): update rust crate phf to v0.11.3 by @renovate in https://github.com/uutils/coreutils/pull/7085
* chore(deps): update rust crate phf_codegen to v0.11.3 by @renovate in https://github.com/uutils/coreutils/pull/7083
* chore(deps): update rust crate clap to v4.5.24 by @renovate in https://github.com/uutils/coreutils/pull/7099
* chore(deps): update rust crate clap_complete to v4.5.41 by @renovate in https://github.com/uutils/coreutils/pull/7100
* chore(deps): update rust crate clap_mangen to v0.2.25 by @renovate in https://github.com/uutils/coreutils/pull/7102
* chore(deps): update rust crate thiserror to v2.0.10 by @renovate in https://github.com/uutils/coreutils/pull/7104
* chore(deps): update vmactions/freebsd-vm action to v1.1.8 by @renovate in https://github.com/uutils/coreutils/pull/7105
* chore(deps): update rust crate clap to v4.5.26 by @renovate in https://github.com/uutils/coreutils/pull/7107
* chore(deps): update rust crate clap_complete to v4.5.42 by @renovate in https://github.com/uutils/coreutils/pull/7108
* chore(deps): update rust crate clap_mangen to v0.2.26 by @renovate in https://github.com/uutils/coreutils/pull/7112
* fix(deps): update rust crate proc-macro2 to v1.0.93 by @renovate in https://github.com/uutils/coreutils/pull/7117
* chore(deps): update rust crate thiserror to v2.0.11 by @renovate in https://github.com/uutils/coreutils/pull/7114
* chore(deps): update rust crate notify to v8 by @renovate in https://github.com/uutils/coreutils/pull/7113
* fix(deps): update rust crate data-encoding-macro to v0.1.16 by @renovate in https://github.com/uutils/coreutils/pull/7137
* chore(deps): update rust crate chrono-tz to v0.10.1 by @renovate in https://github.com/uutils/coreutils/pull/7150
* fix(deps): crates import compatible uucore by @Banyc in https://github.com/uutils/coreutils/pull/6869
## New Contributors
* @Banyc made their first contribution in https://github.com/uutils/coreutils/pull/6869
* @jesseschalken made their first contribution in https://github.com/uutils/coreutils/pull/6839
* @steinwand6 made their first contribution in https://github.com/uutils/coreutils/pull/6858
* @LegNeato made their first contribution in https://github.com/uutils/coreutils/pull/6903
* @hamflx made their first contribution in https://github.com/uutils/coreutils/pull/6119
* @andreistan26 made their first contribution in https://github.com/uutils/coreutils/pull/5844
* @nerdroychan made their first contribution in https://github.com/uutils/coreutils/pull/6595
* @artP2 made their first contribution in https://github.com/uutils/coreutils/pull/6928
* @aimerlief made their first contribution in https://github.com/uutils/coreutils/pull/6934
* @alexs-sh made their first contribution in https://github.com/uutils/coreutils/pull/6936
* @santtu made their first contribution in https://github.com/uutils/coreutils/pull/6978
* @karlmcdowall made their first contribution in https://github.com/uutils/coreutils/pull/6957
* @elde-n made their first contribution in https://github.com/uutils/coreutils/pull/7010
* @jovielarue made their first contribution in https://github.com/uutils/coreutils/pull/7008
* @Felle33 made their first contribution in https://github.com/uutils/coreutils/pull/7071
* @rm-dr made their first contribution in https://github.com/uutils/coreutils/pull/6884
* @saulvaldelvira made their first contribution in https://github.com/uutils/coreutils/pull/7084
* @fuad1502 made their first contribution in https://github.com/uutils/coreutils/pull/6951
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.28...0.0.29
+272
View File
@@ -0,0 +1,272 @@
# 0.0.30
**Version:** 0.0.30
**Published:** 2025-03-08T13:54:44Z
## Release Notes
### 📦 **Rust Coreutils 0.0.30 Release:**
We are excited to announce the release of **Rust Coreutils 0.0.30**!
---
### Highlights:
- **Improved Compatibility**:
- This release focused on compatibility with the upstream GNU Coreutils 9.6 release. This is why the number of passing tests didn't change much - our effort was directed at adapting to the new upstream version rather than fixing existing test failures.
- Passing GNU tests increased to **507** (+1 compared to 0.0.29).
- **Contributions**: This release was made possible by the dedication of **22 contributors**, including **8 newcomers**.
- We also announced at FOSDEM the extension of this project to cover other key Linux tools through our uutils initiative. This will extend the Rust rewrite effort to additional common Unix tools. See the presentation on [YouTube](https://www.youtube.com/watch?v=cXf31nFPo0U) ([slides](https://sylvestre.ledru.info/coreutils-fosdem-2025/)) or read the [LWN article](https://lwn.net/Articles/1007907/) for more details about our vision.
---
### GNU Test Suite Compatibility:
Here's how version 0.0.30 compares to the previous release:
| Result | 0.0.29 | 0.0.30 | Change 0.0.29 to 0.0.30 | % Total 0.0.29 | % Total 0.0.30 | % Change 0.0.29 to 0.0.30 |
|---------------|--------|--------|-------------------------|----------------|----------------|--------------------------|
| Pass | 506 | 507 | +1 | 82.38% | 82.17% | -0.21% |
| Skip | 41 | 41 | 0 | 6.68% | 6.65% | -0.03% |
| Fail | 67 | 69 | +2 | 10.92% | 11.18% | +0.26% |
| Total | 614 | 617 | +3 (new tests) | | | |
---
![GNU testsuite evolution](https://github.com/uutils/coreutils-tracking/blob/main/gnu-results.svg?raw=true)
---
### Call to Action:
Support our work by sponsoring us on GitHub! Your contributions directly help maintain our infrastructure and enable faster development. [Sponsor us here](https://github.com/sponsors/uutils).
For more details and to download the latest release, visit our website: [https://uutils.github.io](https://uutils.github.io).
## What's Changed
### cat
* error when output is input and appending by @jfinkels in https://github.com/uutils/coreutils/pull/7260
### chgrp
* add option --from by @sylvestre in https://github.com/uutils/coreutils/pull/7129
* gnu/tests/chgrp/from.sh is now fixed by @sylvestre in https://github.com/uutils/coreutils/pull/7205
### cksum
* Fix #6375 and un-ignore now passing tests by @RenjiSann in https://github.com/uutils/coreutils/pull/7261
* Update error and flags handling to improver GNU's match by @RenjiSann in https://github.com/uutils/coreutils/pull/7192
* add CRC32B algorithm added in GNU 9.6 by @RenjiSann in https://github.com/uutils/coreutils/pull/7169
* replace `is_some_and` with `is_none_or` by @cakebaker in https://github.com/uutils/coreutils/pull/7403
### cp
* disabled verbose output if file has been skipped by @BigPapa314 in https://github.com/uutils/coreutils/pull/7347
* fix verbose output order after prompt by @aimerlief in https://github.com/uutils/coreutils/pull/7287
### csplit
* don't panic on missing suppressed file by @jfinkels in https://github.com/uutils/coreutils/pull/7292
### echo
* use uucore::format::parse_escape_only() by @jfinkels in https://github.com/uutils/coreutils/pull/7316
### expr
* Add tests by @RenjiSann in https://github.com/uutils/coreutils/pull/7356
* Evaluate parenthesis content before checking for closing parenthesis by @RenjiSann in https://github.com/uutils/coreutils/pull/7332
* Fix assorted test errors in tests/expr/expr.pl by @sargas in https://github.com/uutils/coreutils/pull/6134
* Get rid of clap for performance reasons by @RenjiSann in https://github.com/uutils/coreutils/pull/7352
### install
* Document install-C test failure by @sylvestre in https://github.com/uutils/coreutils/pull/7223
### head
* ensure stdin input stream is correct on exit by @karlmcdowall in https://github.com/uutils/coreutils/pull/7253
* Fix bug printing large non-seekable files by @karlmcdowall in https://github.com/uutils/coreutils/pull/7294
* fix bug reading back through files by @karlmcdowall in https://github.com/uutils/coreutils/pull/7248
* improve error mgmt. by @sylvestre in https://github.com/uutils/coreutils/pull/7408
* Remove a head test from the list of failure by @sylvestre in https://github.com/uutils/coreutils/pull/7414
### kill
* don't allow lowercase signal names with '-' by @cakebaker in https://github.com/uutils/coreutils/pull/7206
* fix the fail to use only least significant bits to identify signal with -l by @Felle33 in https://github.com/uutils/coreutils/pull/7225
* list signal `0` with `-l` and `-t` by @cakebaker in https://github.com/uutils/coreutils/pull/7193
* test "-l <number>" & adapt error messages by @cakebaker in https://github.com/uutils/coreutils/pull/7213
### ls
* display %Z alphabetic time zone abbreviation by @jfinkels in https://github.com/uutils/coreutils/pull/7154
* Refactoring ls and date by @Felle33 in https://github.com/uutils/coreutils/pull/7194
* gnu patches: adapt `tests_ls_no_cap.patch` to GNU `coreutils 9.6` by @cakebaker in https://github.com/uutils/coreutils/pull/7163
### mv
* show prompt for `-u --interactive` by @cakebaker in https://github.com/uutils/coreutils/pull/7178
* Make mv command fallback to copy only if the src and dst are on different device by @hamflx in https://github.com/uutils/coreutils/pull/6040
### numfmt
* extract test from other test & expand it by @cakebaker in https://github.com/uutils/coreutils/pull/7155
* fix Unit::SI uses lowercase `k` suffix for kilos by @alexsnaps in https://github.com/uutils/coreutils/pull/7322
* fix from iec-i without suffix are bytes by @alexsnaps in https://github.com/uutils/coreutils/pull/7323
### od
* remove custom implementations of PartialEq and Eq by @alexs-sh in https://github.com/uutils/coreutils/pull/7211
### printf
* (partially) fix hex format: exponent is decimal, correctly print negative numbers by @drinkcat in https://github.com/uutils/coreutils/pull/7365
* Show warning message in case of excess arguments by @RenjiSann in https://github.com/uutils/coreutils/pull/7239
* error on missing hexadecial escape value by @jfinkels in https://github.com/uutils/coreutils/pull/7259
* negative asterisk param changes alignment by @RenjiSann in https://github.com/uutils/coreutils/pull/7246
* Re-enable integer overflow test case for printf by @jfinkels in https://github.com/uutils/coreutils/pull/7168
### rm
* add two passing tests for -i option by @jfinkels in https://github.com/uutils/coreutils/pull/7306
* correct prompt for removing inaccessible dir by @jfinkels in https://github.com/uutils/coreutils/pull/7325
* simplify remove_dir() helper function by @jfinkels in https://github.com/uutils/coreutils/pull/7308
* use recursive directory traversal with --recursive by @jfinkels in https://github.com/uutils/coreutils/pull/7304
### seq
* remove timeout from seq test cases by @jfinkels in https://github.com/uutils/coreutils/pull/7171
### sort
* errors on overflowing -k argument but shouldn't by @ic3man5 in https://github.com/uutils/coreutils/pull/7188
* needs support for human-readable block size suffixes R and Q by @ic3man5 in https://github.com/uutils/coreutils/pull/7198
* options -C and -c should be mutually exclusive but aren't by @ic3man5 in https://github.com/uutils/coreutils/pull/7191
* support percent arguments to -S option by @jfinkels in https://github.com/uutils/coreutils/pull/7181
### split
* avoid extremely long format width in test by @jfinkels in https://github.com/uutils/coreutils/pull/7301
### tee
* fix -p behavior upon broken pipe stdout by @RenjiSann in https://github.com/uutils/coreutils/pull/7273
* fix usage of deprecated function in tests by @cakebaker in https://github.com/uutils/coreutils/pull/7341
### test
* add < and > operators for string comparison by @jfinkels in https://github.com/uutils/coreutils/pull/7315
* remove `sleep` from tests by @cakebaker in https://github.com/uutils/coreutils/pull/7327
### timeout
* add support for `-f` and `-p` short options by @cakebaker in https://github.com/uutils/coreutils/pull/7200
### touch
* support obsolete POSIX timestamp argument by @jfinkels in https://github.com/uutils/coreutils/pull/7274
### tr
* Fix GNU behavior deviation by @RenjiSann in https://github.com/uutils/coreutils/pull/7320
### uptime
* refactor, move some codes to uucore by @Bluemangoo in https://github.com/uutils/coreutils/pull/7289
* remove duplicate test by @cakebaker in https://github.com/uutils/coreutils/pull/7265
### yes
* fix use of deprecated function in test by @cakebaker in https://github.com/uutils/coreutils/pull/7348
### uucore
* Add missing dependencies by @sylvestre in https://github.com/uutils/coreutils/pull/7157
* Fix proc_info compilation by @dezgeg in https://github.com/uutils/coreutils/pull/7385
* Sync proc_info methods from procps by @dezgeg in https://github.com/uutils/coreutils/pull/7351
* remove `lazy_static` and use `LazyLock` instead by @cakebaker in https://github.com/uutils/coreutils/pull/7404
* replace `PanicInfo` with `PanicHookInfo` by @cakebaker in https://github.com/uutils/coreutils/pull/7395
* uucore/docs.rs: generate the doc for all features by @sylvestre in https://github.com/uutils/coreutils/pull/7220
### Documentation
* Fix usage strings for #5692 by @rwdj in https://github.com/uutils/coreutils/pull/7303
* why-error.md: document more errors by @sylvestre in https://github.com/uutils/coreutils/pull/7224
### Build & CI
* add words to `spell-checker:ignore` in two files by @cakebaker in https://github.com/uutils/coreutils/pull/7300
* build: restore uutils in GNU test files by @jfinkels in https://github.com/uutils/coreutils/pull/7170
* try upstream 9.6 by @sylvestre in https://github.com/uutils/coreutils/pull/7149
* .github: CICD: add workspace test to build matrix by @drinkcat in https://github.com/uutils/coreutils/pull/7386
* GNUmakefile: fix install error "argument list too long" by @blmaier in https://github.com/uutils/coreutils/pull/7321
* GNUmakefile: support skipping manpages and completions by @blmaier in https://github.com/uutils/coreutils/pull/7331
* gnu patches: move to use quilt by @sylvestre in https://github.com/uutils/coreutils/pull/7127
* Decrease more sleep by @sylvestre in https://github.com/uutils/coreutils/pull/7244
* Fixed Bugs When Not Using Default Target Directory by @zcg00 in https://github.com/uutils/coreutils/pull/7266
* Use ubuntu-24.04-arm to build/test linux arm64 by @sylvestre in https://github.com/uutils/coreutils/pull/7153
* prepare version 0.0.30 by @sylvestre in https://github.com/uutils/coreutils/pull/7418
* Add fails_with_code() function by @RenjiSann in https://github.com/uutils/coreutils/pull/7369
* Decrease the various sleeps by @sylvestre in https://github.com/uutils/coreutils/pull/7232
* make `wait_with_output` private by @cakebaker in https://github.com/uutils/coreutils/pull/7350
* use the new function fails_with_code by @sylvestre in https://github.com/uutils/coreutils/pull/7371
* Use the new function 'fails_with_code' - followup by @sylvestre in https://github.com/uutils/coreutils/pull/7391
* GNU test: don't generate an error if a new test passes by @sylvestre in https://github.com/uutils/coreutils/pull/7349
* deny.toml: remove `syn` from skip list by @cakebaker in https://github.com/uutils/coreutils/pull/7139
* deny.toml: remove three crates from skip list by @cakebaker in https://github.com/uutils/coreutils/pull/7390
* deny.toml: add `rustix` & `linux-raw-sys` to skip list by @cakebaker in https://github.com/uutils/coreutils/pull/7416
* Nix/Nixos development by @RenjiSann in https://github.com/uutils/coreutils/pull/6947
* mount temp fs by @matrixhead in https://github.com/uutils/coreutils/pull/7249
* github action: do not fail the GNU test if only intermittent by @sylvestre in https://github.com/uutils/coreutils/pull/7283
* Remove some replacements of touch in build script by @jfinkels in https://github.com/uutils/coreutils/pull/7243
* add two tests to the list of intermittent tests by @sylvestre in https://github.com/uutils/coreutils/pull/7195
* fix util/remaining-gnu-error.py by @sylvestre in https://github.com/uutils/coreutils/pull/7204
### fuzzing
* fuzz: update dependencies by @cakebaker in https://github.com/uutils/coreutils/pull/7245
* fuzz: use new `<`/`>` operators in `fuzz_test.rs` by @cakebaker in https://github.com/uutils/coreutils/pull/7330
* Improve fuzzer logging by @RenjiSann in https://github.com/uutils/coreutils/pull/7281
### Code quality
* clippy: fix warnings from `unnecessary_map_or` lint by @cakebaker in https://github.com/uutils/coreutils/pull/7398
* clippy: fix/disable warnings introduced with Rust `1.85` by @cakebaker in https://github.com/uutils/coreutils/pull/7329
* Cargo.toml: fix incorrect lint name by @cakebaker in https://github.com/uutils/coreutils/pull/7267
* Remove `once_cell` dependency and use `LazyLock` by @cakebaker in https://github.com/uutils/coreutils/pull/7405
* Remove `rand_pcg` by @cakebaker in https://github.com/uutils/coreutils/pull/7233
* Style fixes from cargo +nightly clippy by @jfinkels in https://github.com/uutils/coreutils/pull/7339
* Move other programs to thiserror by @sylvestre in https://github.com/uutils/coreutils/pull/7207
* Move some programs to thiserror by @sylvestre in https://github.com/uutils/coreutils/pull/7175
* minor code quality improvements by @danieleades in https://github.com/uutils/coreutils/pull/7177
* remove redundant clippy MSRV config by @danieleades in https://github.com/uutils/coreutils/pull/7176
* mktemp,tr: replace `repeat().take()` with `repeat_n()` by @cakebaker in https://github.com/uutils/coreutils/pull/7400
## Dependency Updates
* Bump MSRV to 1.82.0 by @drinkcat in https://github.com/uutils/coreutils/pull/7394
* Bump `fts-sys` from `0.2.13` to `0.2.14` by @cakebaker in https://github.com/uutils/coreutils/pull/7279
* Bump `nom` and adapt `tr` to API changes by @cakebaker in https://github.com/uutils/coreutils/pull/7227
* Bump `rand` & `rand_core` to `0.9.0`, adapt code to API changes by @cakebaker in https://github.com/uutils/coreutils/pull/7242
* Bump `tempfile` & add two crates to the skip list in `deny.toml` by @cakebaker in https://github.com/uutils/coreutils/pull/7238
* fix(deps): update rust crate similar to v2.7.0 by @renovate in https://github.com/uutils/coreutils/pull/7164
* chore(deps): update rust crate parse_datetime to 0.7.0 by @renovate in https://github.com/uutils/coreutils/pull/7172
* chore(deps): update rust crate clap to v4.5.27 by @renovate in https://github.com/uutils/coreutils/pull/7189
* chore(deps): update dawidd6/action-download-artifact action to v8 by @renovate in https://github.com/uutils/coreutils/pull/7196
* chore(deps): update rust crate clap_complete to v4.5.43 by @renovate in https://github.com/uutils/coreutils/pull/7228
* chore(deps): update rust crate indicatif to v0.17.10 by @renovate in https://github.com/uutils/coreutils/pull/7234
* fix(deps): update rust crate libfuzzer-sys to v0.4.9 by @renovate in https://github.com/uutils/coreutils/pull/7236
* chore(deps): update rust crate indicatif to v0.17.11 by @renovate in https://github.com/uutils/coreutils/pull/7235
* chore(deps): update rust crate clap_complete to v4.5.44 by @renovate in https://github.com/uutils/coreutils/pull/7240
* fix(deps): update rust crate z85 to v3.0.6 by @renovate in https://github.com/uutils/coreutils/pull/7264
* chore(deps): update rust crate clap to v4.5.28 by @renovate in https://github.com/uutils/coreutils/pull/7263
* chore(deps): update rust crate blake2b_simd to v1.0.3 by @renovate in https://github.com/uutils/coreutils/pull/7268
* chore(deps): update rust crate selinux to 0.5.0 by @renovate in https://github.com/uutils/coreutils/pull/7278
* chore(deps): update rust crate once_cell to v1.20.3 by @renovate in https://github.com/uutils/coreutils/pull/7277
* fix(deps): update rust crate data-encoding-macro to v0.1.17 by @renovate in https://github.com/uutils/coreutils/pull/7290
* chore(deps): update rust crate clap to v4.5.29 by @renovate in https://github.com/uutils/coreutils/pull/7297
* chore(deps): update rust crate smallvec to v1.14.0 by @renovate in https://github.com/uutils/coreutils/pull/7302
* fix(deps): update rust crate tempfile to v3.17.0 by @renovate in https://github.com/uutils/coreutils/pull/7311
* chore(deps): update rust crate rand_core to v0.9.1 by @renovate in https://github.com/uutils/coreutils/pull/7310
* chore(deps): update rust crate parse_datetime to 0.8.0 by @renovate in https://github.com/uutils/coreutils/pull/7314
* fix(deps): update rust crate tempfile to v3.17.1 by @renovate in https://github.com/uutils/coreutils/pull/7313
* chore(deps): update rust crate clap to v4.5.30 by @renovate in https://github.com/uutils/coreutils/pull/7317
* chore(deps): update rust crate clap_complete to v4.5.45 by @renovate in https://github.com/uutils/coreutils/pull/7318
* chore(deps): update rust crate blake3 to v1.6.0 by @renovate in https://github.com/uutils/coreutils/pull/7319
* chore(deps): update rust crate serde to v1.0.218 by @renovate in https://github.com/uutils/coreutils/pull/7328
* fix(deps): update rust crate libc to v0.2.170 by @renovate in https://github.com/uutils/coreutils/pull/7346
* chore(deps): update rust crate rand_core to v0.9.2 by @renovate in https://github.com/uutils/coreutils/pull/7345
* chore(deps): update rust crate clap_complete to v4.5.46 by @renovate in https://github.com/uutils/coreutils/pull/7354
* chore(deps): update rust crate clap to v4.5.31 by @renovate in https://github.com/uutils/coreutils/pull/7353
* chore(deps): update rust crate zip to v2.2.3 by @renovate in https://github.com/uutils/coreutils/pull/7358
* chore(deps): update rust crate chrono to v0.4.40 by @renovate in https://github.com/uutils/coreutils/pull/7360
* chore(deps): update dawidd6/action-download-artifact action to v9 by @renovate in https://github.com/uutils/coreutils/pull/7367
* chore(deps): update rust crate blake3 to v1.6.1 by @renovate in https://github.com/uutils/coreutils/pull/7370
* fix(deps): update rust crate console to v0.15.11 by @renovate in https://github.com/uutils/coreutils/pull/7374
* chore(deps): update rust crate rand_core to v0.9.3 by @renovate in https://github.com/uutils/coreutils/pull/7373
* chore(deps): update rust crate rstest to 0.25.0 by @renovate in https://github.com/uutils/coreutils/pull/7377
* chore(deps): update rust crate thiserror to v2.0.12 by @renovate in https://github.com/uutils/coreutils/pull/7379
* fix(deps): update rust crate proc-macro2 to v1.0.94 by @renovate in https://github.com/uutils/coreutils/pull/7380
* fix(deps): update rust crate quote to v1.0.39 by @renovate in https://github.com/uutils/coreutils/pull/7381
* chore(deps): update rust crate textwrap to v0.16.2 by @renovate in https://github.com/uutils/coreutils/pull/7387
* chore(deps): update rust crate unindent to v0.2.4 by @renovate in https://github.com/uutils/coreutils/pull/7389
* chore(deps): update rust crate time to v0.3.38 by @renovate in https://github.com/uutils/coreutils/pull/7402
* chore(deps): update rust crate time to v0.3.39 by @renovate in https://github.com/uutils/coreutils/pull/7406
* chore(deps): update mozilla-actions/sccache-action action to v0.0.8 by @renovate in https://github.com/uutils/coreutils/pull/7415
* chore(deps): update rust crate xattr to v1.5.0 by @renovate in https://github.com/uutils/coreutils/pull/7409
* fix(deps): update rust crate tempfile to v3.18.0 by @renovate in https://github.com/uutils/coreutils/pull/7410
## New Contributors
* @ic3man5 made their first contribution in https://github.com/uutils/coreutils/pull/7188
* @rwdj made their first contribution in https://github.com/uutils/coreutils/pull/7303
* @alexsnaps made their first contribution in https://github.com/uutils/coreutils/pull/7323
* @blmaier made their first contribution in https://github.com/uutils/coreutils/pull/7321
* @Bluemangoo made their first contribution in https://github.com/uutils/coreutils/pull/7289
* @BigPapa314 made their first contribution in https://github.com/uutils/coreutils/pull/7347
* @drinkcat made their first contribution in https://github.com/uutils/coreutils/pull/7365
* @zcg00 made their first contribution in https://github.com/uutils/coreutils/pull/7266
**Full Changelog**: https://github.com/uutils/coreutils/compare/0.0.29...0.0.30
File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More