1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-09-16 03:36:18 +00:00
Commit graph

15910 commits

Author SHA1 Message Date
Sylvestre Ledru
805754b4f8
Merge pull request #7045 from cakebaker/bump_itertools
Bump `itertools` from `0.13.0` to `0.14.0`
2025-01-01 10:54:41 +01:00
Daniel Hofstetter
ac542966e7 deny.toml: add itertools to skip list 2025-01-01 09:27:22 +01:00
Daniel Hofstetter
1d2740c12a Bump itertools from 0.13.0 to 0.14.0 2025-01-01 09:25:14 +01:00
Daniel Hofstetter
7c7a6f89ab
Merge pull request #7016 from sylvestre/ls-mtime
ls: finish the plug of mtime
2025-01-01 08:25:05 +01:00
Sylvestre Ledru
958ac72113 ls: finish the plug of mtime
Will help with tests/ls/ls-time
2024-12-31 18:14:41 +01:00
Sylvestre Ledru
41ffffa2da
Merge pull request #7024 from jovielarue/fix-broken-docs-links
Fix: broken doc links
2024-12-31 16:58:18 +01:00
Daniel Hofstetter
2227330fe7
Merge pull request #7038 from sylvestre/ci
CI: test all features individually
2024-12-31 14:56:58 +01:00
Daniel Hofstetter
817f40a23f
Merge pull request #7041 from sylvestre/doc-failure-2
document two more failures
2024-12-31 14:43:41 +01:00
Sylvestre Ledru
24f4b9ca4f document two more failures 2024-12-31 14:41:20 +01:00
Daniel Hofstetter
b89c90656e
Merge pull request #7012 from sylvestre/doc-failure
Improve the GNU compat doc
2024-12-31 14:36:53 +01:00
Alexander Shirokov
4c330d43ba
uucore:format:fix floating-point rounding
This change resolves issues with exponent calculation and usage,
ensuring more accurate formatting:

- Exponent for negative values can differ from 0
- Switching to decimal mode now follows the P > X ≥ −4 rule
2024-12-31 13:19:43 +01:00
Sylvestre Ledru
e3de43a942 doc: extend the spell list 2024-12-31 12:26:05 +01:00
Sylvestre Ledru
049a1fbce8 doc: https://github.com/uutils/coreutils/pull/7009 is being worked on 2024-12-31 11:53:30 +01:00
Sylvestre Ledru
f14dff0dc9 doc: rm/fail-2eperm.sh has been fixed 2024-12-31 11:51:21 +01:00
Sylvestre Ledru
4677dd5b3a doc: seq/seq has been fixed
https://github.com/uutils/coreutils/pull/7032
2024-12-31 11:50:38 +01:00
Sylvestre Ledru
44073e7b23 doc: chmod/symlinks.sh is being worked on 2024-12-31 11:49:30 +01:00
Daniel Hofstetter
a3b7a08238
Merge pull request #7015 from sylvestre/chroot-user
chroot: handle the error when invalid user
2024-12-31 11:46:04 +01:00
Sylvestre Ledru
3760163b3f document the remaining failures/errors 2024-12-31 11:45:36 +01:00
Sylvestre Ledru
4e2246f4b8 why-skip.txt: remove a test that now passes 2024-12-31 11:44:14 +01:00
Sylvestre Ledru
d88dc3435b CI: test all features individually 2024-12-31 10:59:03 +01:00
Sylvestre Ledru
079f8d47d2
Merge pull request #7037 from cakebaker/chmod_add_perms_features
chmod: add uucore's `perms` feature to `Cargo.toml`
2024-12-31 10:48:19 +01:00
Daniel Hofstetter
4b68bce9a7 chmod: add uucore's "perms" feature to Cargo.toml 2024-12-31 10:11:44 +01:00
Sylvestre Ledru
ed9e80e488
Merge pull request #7032 from jfinkels/seq-fmt-errors
seq: improve error handling for invalid -f values
2024-12-31 09:33:16 +01:00
jovie :)
646fc394f6
env: don't allow '=' with -u (#7008)
* Added error handling to ensure '=' after -u returns 125 as '=' is not allowed

* Added tests for disallow = on short options

* Added error handling to ensure '=' after -u returns 125 as '=' is not allowed

* Added tests for disallow = on short options

* Disallow only short unset option from having '=' as its starting character

* Remove needless tests and update function name for clarity
2024-12-31 09:16:14 +01:00
Sylvestre Ledru
d81d893964
Merge pull request #7036 from jfinkels/head-too-many-negative-bytes
head: fix subtraction underflow with --bytes=-N
2024-12-31 08:58:48 +01:00
Jeffrey Finkelstein
c9acf5ddd4 head: fix subtraction underflow with --bytes=-N
Fix a subtraction underflow that occurred on `head --bytes=-N` when the
input had fewer than `N` bytes. Before this commit,

    printf "a" | head -c -2

would panic. After this commit, it terminates successfully with no
output as expected.
2024-12-30 21:07:45 -05:00
Jeffrey Finkelstein
cccab35337 seq: improve error handling for invalid -f values
Improve the error message produced by `seq` when given invalid format
specifiers for the `-f` option. Before this commit:

    $ seq -f "%" 1
    seq: %: invalid conversion specification
    $ seq -f "%g%" 1
    seq: %: invalid conversion specification

After this commit:

    $ seq -f "%" 1
    seq: format '%' ends in %
    $ seq -f "%g%" 1
    seq: format '%g%' has too many % directives

This matches the behavior of GNU `seq`.
2024-12-30 12:30:26 -05:00
jovielarue
cd8bebe703 Disable top-level heading warning MD041 for new files 2024-12-30 08:45:22 -07:00
Daniel Hofstetter
00d1866060
Merge pull request #7013 from sylvestre/2eperm
GNU: try to remove the fail-2eperm.sh workaround
2024-12-30 09:41:14 +01:00
jovielarue
89d79753b1 Update uudoc to include development and code of conduct in SUMMARY and fix links in book 2024-12-29 13:02:35 -07:00
Daniel Hofstetter
dddbc17c59
Merge pull request #7017 from sylvestre/chmod-L
ch*: Remove duplicate declarations + start to plug it to chmod too
2024-12-29 17:03:13 +01:00
Sylvestre Ledru
438c3c93b2
Merge pull request #6965 from DaringCuteSeal/install-stream
install: implement copying from streams
2024-12-29 16:42:24 +01:00
Sylvestre Ledru
29694212dd refactor: simplify the code by using the clap function instead 2024-12-29 16:36:14 +01:00
Sylvestre Ledru
e45c56b926 ch*: also remove duplications for deref & no deref 2024-12-29 16:32:59 +01:00
Sylvestre Ledru
6de5aa7ac7 ch*: improve the presentation 2024-12-29 16:32:59 +01:00
Sylvestre Ledru
836351dd7a ch*: refactor duplicate declarations 2024-12-29 16:32:59 +01:00
Sylvestre Ledru
954117fc95
Merge pull request #7022 from cakebaker/rm_remove_outdated_comment
rm: remove outdated comment
2024-12-29 15:54:43 +01:00
Daniel Hofstetter
5577165c77 rm: remove outdated comment 2024-12-29 14:51:01 +01:00
Daringcuteseal
a45731eed8
uucore/buf_copy: delete empty doc-string 2024-12-29 20:10:53 +07:00
Elden
80ed8d514a
rm: Remove an unecessary open call (#7010)
it was causing some sandbox issues
and it seems that isn't necessary after all
2024-12-29 13:14:35 +01:00
Sylvestre Ledru
746a17352d
Merge pull request #6932 from RenjiSann/clippy-fix
Fix clippy warnings
2024-12-29 10:46:42 +01:00
Daniel Hofstetter
2ed3de387b
Merge pull request #7019 from uutils/renovate/davidanson-markdownlint-cli2-action-19.x
chore(deps): update davidanson/markdownlint-cli2-action action to v19
2024-12-29 10:40:07 +01:00
Sylvestre Ledru
48eb8d8703
Add procps to the spell ignore list 2024-12-29 10:20:34 +01:00
Daniel Hofstetter
d7460af23a
Merge pull request #7014 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.1.7
2024-12-29 10:19:37 +01:00
Daniel Hofstetter
5e6f791721
Merge pull request #7018 from uutils/renovate/glob-0.x-lockfile
chore(deps): update rust crate glob to v0.3.2
2024-12-29 10:16:58 +01:00
Dorian Peron
e8141d3360 Add --tests to CICD clippy call 2024-12-29 04:40:07 +01:00
Dorian Péron
50271381c4 fix cargo-deny-action job 2024-12-29 04:40:07 +01:00
Dorian Péron
0a0db41a2c chore(clippy): fix clippy warnings 2024-12-29 04:40:07 +01:00
Justin Tracey
3a41272174
CICD: test risky names on *-unknown-linux-gnu
Linux + GNU is the OS + userspace least likely to run into issues with such
names, both now and in the future.
2024-12-28 22:27:34 -05:00
Justin Tracey
b0837a0ca5
ls: add better support for non-UTF-8 bytes 2024-12-28 22:27:22 -05:00