Commit graph

16529 commits

Author SHA1 Message Date
Daniel Hofstetter
280ef280b8
Merge pull request #8597 from uutils/renovate/zip-5.x-lockfile
Some checks are pending
Code Quality / Style/format (push) Waiting to run
CICD / Style/deps (push) Waiting to run
CICD / Style/cargo-deny (push) Waiting to run
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Build/SELinux (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
chore(deps): update rust crate zip to v5.0.1
2025-09-10 17:01:00 +02:00
renovate[bot]
8a981f28c2
chore(deps): update rust crate zip to v5.0.1 2025-09-10 14:40:23 +00:00
Daniel Hofstetter
9ff8273054
Merge pull request #8589 from yuankunzhang/mv-to-symlink-directory
mv: support moving source to a symlink directory
2025-09-10 16:09:07 +02:00
Daniel Hofstetter
2e083a8596
Merge pull request #8598 from zdiff/main
Remove additional touch when feat_common_core is required
2025-09-10 15:07:03 +02:00
zdiff
8c78abe505 Remove additional touch when feat_common_core is required 2025-09-10 11:17:32 +02:00
Ahmad
4cf521be49
docs: fix minor grammar errors in extensions.md (#8596)
Some checks are pending
CICD / Build (push) Blocked by required conditions
CICD / Style/cargo-deny (push) Waiting to run
CICD / Style/deps (push) Waiting to run
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
Android / Test builds (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
* Fix minor grammar errors in extensions.md

* Fix minor grammar errors in extensions.md
2025-09-10 11:12:26 +02:00
Sylvestre Ledru
96400de5f4
Merge pull request #8599 from cakebaker/touch_adapt_test_on_windows
touch: adapt expected error message in test
2025-09-10 10:50:38 +02:00
Daniel Hofstetter
74ee8fb1c1 touch: adapt expected error message in test 2025-09-10 10:20:04 +02:00
Daniel Hofstetter
bb5d73e1b8
Merge pull request #8590 from uutils/renovate/tempfile-3.x-lockfile
fix(deps): update rust crate tempfile to v3.22.0
2025-09-10 07:15:02 +02:00
Sylvestre Ledru
3a07ffc5a9
Merge pull request #8588 from sylvestre/0.2.2
Some checks failed
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
CheckScripts / ShellScript/Format (push) Has been cancelled
CheckScripts / ShellScript/Check (push) Has been cancelled
Prepare version 0.2.2
2025-09-09 21:38:42 +02:00
renovate[bot]
602c408102
fix(deps): update rust crate tempfile to v3.22.0 2025-09-09 18:02:59 +00:00
Sylvestre Ledru
fa06ce7eca Prepare release 0.2.2 2025-09-09 18:33:50 +02:00
Sylvestre Ledru
bfba19f222 also publish uufuzz 2025-09-09 18:33:50 +02:00
yuankunzhang
62ae994b55 mv: support moving source to a symlink directory 2025-09-09 20:06:44 +08:00
Sylvestre Ledru
5c33a30eec
Merge pull request #8585 from Ecordonnier/eco/musl-libc-fix
Some checks are pending
CICD / Style/deps (push) Waiting to run
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CheckScripts / ShellScript/Check (push) Waiting to run
CheckScripts / ShellScript/Format (push) Waiting to run
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Build/SELinux (push) Blocked by required conditions
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
link musl libc statically
2025-09-09 13:27:18 +02:00
Etienne Cordonnier
e722250e7d link musl libc statically
In the context of musl, users are typically expecting statically-linked tools,
as this is one of musl's strong suits and one of the biggest reasons to use it
instead of glibc (that is not static-link-friendly for reasons).

- remove the build-flag which was causing musl libc to be linked dynamically
- re-add feat_os_unix_musl which was removed in 21d5cef153
- exclude stdbuf from feat_os_unix_musl, since libstdbuf.so can't be built with a statically linked musl libc
- add test_musl_no_dynamic_deps so that this does not regress in the future

Fixes https://github.com/uutils/coreutils/issues/8572

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
2025-09-09 12:53:32 +02:00
Sylvestre Ledru
1bed017978
Merge pull request #8584 from cakebaker/uucore_build_rename_fn
uucore/build.rs: rename function
2025-09-09 11:34:56 +02:00
Daniel Hofstetter
ac646e40fa uucore/build.rs: rename function
from embed_all_utilities_locales to embed_all_utility_locales
2025-09-09 11:05:13 +02:00
Daniel Hofstetter
9aaf603fe8
Merge pull request #8571 from sylvestre/issue-8569
manage the locales when the program is coming from crates.io
2025-09-09 10:56:54 +02:00
Sylvestre Ledru
ec37f1beca manage the locales when the program is coming from crates.io
Closes: #8569
2025-09-09 10:10:51 +02:00
Sylvestre Ledru
56bbc14279
base64: improve perfs by using the base64-simd crate (#8578)
* base64: improve perfs by using the base64-simd crate Closes: #8574

* Update src/uu/basenc/BENCHMARKING.md

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* Update src/uu/basenc/BENCHMARKING.md

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-09-09 09:51:23 +02:00
Daniel Hofstetter
f51fe66f6c
Merge pull request #8580 from uutils/renovate/linux-raw-sys-0.x
chore(deps): update rust crate linux-raw-sys to 0.11
2025-09-09 09:05:05 +02:00
renovate[bot]
f5175e6d95
chore(deps): update rust crate linux-raw-sys to 0.11 2025-09-09 06:14:29 +00:00
Daniel Hofstetter
2b78922dfa
Merge pull request #8565 from Vesal-J/fix-cp-dot-directory-copy
cp: fix copying current directory (.) to existing directory
2025-09-09 07:46:22 +02:00
Vesal J
671345fb5b cp: enhance tests for current directory attribute preservation
This commit adds tests to verify that file permissions and timestamps are preserved when copying the current directory (.) to a destination. Specific permissions and timestamps are set on the source files, and assertions are made to ensure that these attributes are correctly maintained in the copied files. The tests are conditionally compiled for non-Windows and non-FreeBSD systems.
2025-09-08 20:53:46 +03:30
Daniel Hofstetter
bdf4935166
Merge pull request #8576 from uutils/renovate/chrono-0.x-lockfile
Some checks are pending
CICD / Style/deps (push) Waiting to run
Android / Test builds (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Style/cargo-deny (push) Waiting to run
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
chore(deps): update rust crate chrono to v0.4.42
2025-09-08 13:51:38 +02:00
Daniel Hofstetter
ed024d3003
Merge pull request #8577 from uutils/renovate/console-0.x-lockfile
fix(deps): update rust crate console to v0.16.1
2025-09-08 13:48:52 +02:00
Sylvestre Ledru
dad71bdc07
Merge pull request #8575 from cakebaker/nl_section_delimiter_non_utf8
Some checks are pending
CICD / Build (push) Blocked by required conditions
CICD / Style/cargo-deny (push) Waiting to run
CICD / Style/deps (push) Waiting to run
CICD / Build/stable (push) Blocked by required conditions
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
nl: allow non-UTF8 section delimiter
2025-09-08 13:22:35 +02:00
renovate[bot]
4c1c3f8fbf
fix(deps): update rust crate console to v0.16.1 2025-09-08 11:14:08 +00:00
renovate[bot]
850bbd785e
chore(deps): update rust crate chrono to v0.4.42 2025-09-08 11:14:02 +00:00
Daniel Hofstetter
93feaccbcf nl: allow non-UTF8 section delimiter 2025-09-08 11:32:07 +02:00
Vesal J
f8923d8b15 cp: fix cargo formatting 2025-09-07 19:16:22 +03:30
Daniel Hofstetter
ee1b802612
Merge pull request #8570 from uutils/renovate/winapi-util-0.x-lockfile
Some checks are pending
CICD / Style/cargo-deny (push) Waiting to run
CICD / Style/deps (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Dependencies (push) Waiting to run
CICD / Build/nightly (push) Blocked by required conditions
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Build/SELinux (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
chore(deps): update rust crate winapi-util to v0.1.11
2025-09-07 15:08:36 +02:00
renovate[bot]
662212c63c
chore(deps): update rust crate winapi-util to v0.1.11 2025-09-07 12:37:58 +00:00
Daniel Hofstetter
4473398c22
Merge pull request #8564 from sylvestre/dc-rn
release notes: store a copy in-tree too
2025-09-07 14:36:15 +02:00
Sylvestre Ledru
e98c59f1a9 release notes: do not run the spell on it 2025-09-07 09:39:14 +02:00
Sylvestre Ledru
f19611660c release notes: store a copy in-tree too 2025-09-07 09:39:14 +02:00
Vesal J
56dc2be9e1 cp: fix clippy warning for unnecessary closure 2025-09-07 03:45:56 +03:30
Vesal J
e41f2118c6 cp: add tests for copying current directory (.) to various destinations
This commit introduces several tests to validate the behavior of copying the current directory (.) to both existing and new directories, including checks for verbose output, attribute preservation, and handling of symlinks. Additionally, a test is added to ensure that copying the current directory to itself is disallowed with an appropriate error message. These tests enhance coverage and ensure compliance with expected functionality.
2025-09-07 03:08:40 +03:30
Vesal J
aae196a042 cp: add comments for current directory copying fix 2025-09-07 03:08:03 +03:30
Vesal J
b38f54022e cp: fix copying current directory (.) to existing directory
When copying the current directory (.) to an existing directory, ensure
that the directory name is properly stripped from the descendant path
and the context is set up correctly. This matches GNU cp behavior.

- Set root_parent to None when copying . to existing directory
- Strip current directory name from descendant path in Entry::new
- Return target path directly in construct_dest_path for . -> dir case
- Fix panic when root.file_name() is None for . path
2025-09-06 23:22:52 +03:30
Daniel Hofstetter
ec9fcb53e4
Merge pull request #8559 from julian-klode/stty-no-panic
Some checks failed
CICD / Style/deps (push) Waiting to run
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Build/SELinux (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
CheckScripts / ShellScript/Check (push) Has been cancelled
CheckScripts / ShellScript/Format (push) Has been cancelled
Avoid panic in stty
2025-09-06 15:07:52 +02:00
Sylvestre Ledru
38a248cba6
Merge pull request #8561 from sylvestre/0.2.0
prepare release 0.2.0
2025-09-06 13:40:53 +02:00
Sylvestre Ledru
59b94e181d prepare release 0.2.0
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-09-06 13:14:20 +02:00
Sylvestre Ledru
57c6747dc5
Merge pull request #8563 from sylvestre/uufuzz
prepare the publication of uufuzz + add emojis
2025-09-06 13:12:08 +02:00
Sylvestre Ledru
76755009da uufuzz: add examples and them in the CI 2025-09-06 12:19:40 +02:00
Sylvestre Ledru
fb6afecf4c uufuzz: add a README 2025-09-06 12:19:40 +02:00
Sylvestre Ledru
536abfb87f fuzz: remove a warning 2025-09-06 12:19:40 +02:00
Sylvestre Ledru
816533b59d add some emoji to the fuzz mix 2025-09-06 12:19:40 +02:00
Sylvestre Ledru
a381476a6b fuzz: add a few unit tests 2025-09-06 12:19:40 +02:00