Commit graph

13507 commits

Author SHA1 Message Date
Andrew Liebenow
4d71c10279 Replace truncate with clear 2024-09-20 17:09:47 -05:00
Andrew Liebenow
eaf74cd1f6 Fix spelling warning 2024-09-20 16:23:13 -05:00
Andrew Liebenow
167586f6fb Fix compilation error and spelling warning 2024-09-20 15:40:22 -05:00
Andrew Liebenow
846cf06272 basenc: perform faster, streaming encoding
Improve the performance, both in memory and time, of the encoding
performed by the basenc (except in --z85 mode), base32, and base64
programs.

These programs now perform encoding in a buffered/streaming manner,
so encoding is not constrained by the amount of available memory.
2024-09-20 14:34:18 -05:00
David Campbell
cff8cc0e22
Fix clippy::unreadable_literal. 2024-09-19 18:08:51 -04:00
David Campbell
feae52797b
Fix clippy::unnecessary_join. 2024-09-19 18:05:14 -04:00
David Campbell
353eb53367
Fix clippy::uninlined_format_args . 2024-09-19 17:56:27 -04:00
David Campbell
5d986bfb4c
Fix clippy::manual_assert. 2024-09-19 16:31:27 -04:00
Sylvestre Ledru
98460132fd
Merge pull request #6716 from dcampbell24/fix-clippy
Fix clippy warnings.
2024-09-19 21:36:51 +02:00
David Campbell
55a3064fa7
Fix obvious clippy warnings. 2024-09-19 14:19:59 -04:00
Sylvestre Ledru
f75d688b6c
Merge pull request #6715 from dcampbell24/main
Change the git pre-commit actions to work on stable.
2024-09-19 18:40:55 +02:00
David Campbell
e8bb8dffa1
Change the git pre-commit actions to work on stable.
These are not being fixed, so it does not make sense to constantly
take on new lints. The fmts may never be stabilized. Currently,
you can not even commit, because it errors out. At least switch to
lints that make it to stable when they are released.
2024-09-19 12:15:04 -04:00
Daniel Hofstetter
b4383f993f
Merge pull request #6713 from andrewliebenow/tr-trailing-backslash-warning-false-positive
tr: fix unescaped trailing backslash warning
2024-09-19 10:13:58 +02:00
Andrew Liebenow
08992ec6b3 tr: fix unescaped trailing backslash warning
This warning is being emitted whenever the input string ends with a
backslash, even if the backslash is escaped.
2024-09-18 17:29:11 -05:00
Andrew Liebenow
b8150f5ba5
cp: show mode if target does not have S_IWUSR (PR #6696) (#6700)
* cp: show mode if target does not have S_IWUSR

If the target exists, and does not have the user write bit (S_IWUSR)
set, additional information should be added to the overwrite
confirmation prompt.

This should get the "i-2" test to pass. See
https://github.com/uutils/coreutils/issues/6658.

* cp: with -i, delete destination if needed

---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2024-09-18 10:23:54 +02:00
Jans Heikkinen
564dd47297
ln: allow final destination directory when using -nf (#5975)
Closes: #5974
2024-09-17 11:28:34 +02:00
Sylvestre Ledru
39bfa40acf
Merge pull request #5930 from cakebaker/test_fix_unused_import_on_redox
test: fix "unused imports" warning on Redox
2024-09-17 11:27:39 +02:00
Daniel Hofstetter
e2fbd3362f
Merge pull request #6708 from uutils/renovate/once_cell-1.x-lockfile
chore(deps): update rust crate once_cell to v1.20.0
2024-09-16 16:34:51 +02:00
Daniel Hofstetter
e8a5addbef
Merge pull request #6709 from uutils/renovate/unicode-segmentation-1.x-lockfile
chore(deps): update rust crate unicode-segmentation to v1.12.0
2024-09-16 16:33:49 +02:00
renovate[bot]
9ef64911e4
chore(deps): update rust crate unicode-segmentation to v1.12.0 2024-09-16 14:03:18 +00:00
renovate[bot]
daa8b8d8e3
chore(deps): update rust crate once_cell to v1.20.0 2024-09-16 14:03:10 +00:00
Daniel Hofstetter
c15a00a090
Merge pull request #6707 from uutils/renovate/serde-monorepo
chore(deps): update rust crate serde to v1.0.210
2024-09-16 16:01:08 +02:00
renovate[bot]
b62e7a8f05
chore(deps): update rust crate serde to v1.0.210 2024-09-16 12:59:39 +00:00
Daniel Hofstetter
983c6dc1a5
Merge pull request #6705 from uutils/renovate/rlimit-0.x-lockfile
chore(deps): update rust crate rlimit to v0.10.2
2024-09-16 14:41:01 +02:00
Daniel Hofstetter
c4d93bcf21
Merge pull request #6706 from uutils/renovate/selinux-0.x-lockfile
chore(deps): update rust crate selinux to v0.4.6
2024-09-16 14:40:28 +02:00
Daniel Hofstetter
a63fd67e63
Merge pull request #6704 from uutils/renovate/redox_syscall-0.x-lockfile
chore(deps): update rust crate redox_syscall to v0.5.4
2024-09-16 14:14:41 +02:00
renovate[bot]
89126a19f7
chore(deps): update rust crate selinux to v0.4.6 2024-09-16 12:08:04 +00:00
renovate[bot]
8800bd1659
chore(deps): update rust crate rlimit to v0.10.2 2024-09-16 12:07:57 +00:00
Daniel Hofstetter
21d251f9ef
Merge pull request #6703 from uutils/renovate/pretty_assertions-1.x-lockfile
chore(deps): update rust crate pretty_assertions to v1.4.1
2024-09-16 14:06:57 +02:00
Daniel Hofstetter
c99e6d0f42
Merge pull request #6701 from uutils/renovate/fundu-2.x-lockfile
chore(deps): update rust crate fundu to v2.0.1
2024-09-16 13:42:23 +02:00
renovate[bot]
812c1a4e7c
chore(deps): update rust crate redox_syscall to v0.5.4 2024-09-16 11:39:25 +00:00
renovate[bot]
9e21f09cca
chore(deps): update rust crate pretty_assertions to v1.4.1 2024-09-16 11:39:19 +00:00
Daniel Hofstetter
0942e22b76
Merge pull request #6702 from uutils/renovate/memmap2-0.x-lockfile
chore(deps): update rust crate memmap2 to v0.9.5
2024-09-16 13:38:04 +02:00
renovate[bot]
a6a98727d8
chore(deps): update rust crate memmap2 to v0.9.5 2024-09-16 09:45:33 +00:00
renovate[bot]
0201e6aedb
chore(deps): update rust crate fundu to v2.0.1 2024-09-16 09:45:25 +00:00
Daniel Hofstetter
811b32b49a
Merge pull request #6698 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.1.1
2024-09-16 07:19:19 +02:00
renovate[bot]
d969ebcd71
chore(deps): update vmactions/freebsd-vm action to v1.1.1 2024-09-15 18:22:13 +00:00
Sylvestre Ledru
a275080608
Merge pull request #6695 from cakebaker/uucore_fix_unused_import_warning_on_redox
uucore: fix "unused import" warning on Redox
2024-09-15 10:06:30 +02:00
Daniel Hofstetter
6aadfeaec5 uucore: fix "unused import" warning on redox 2024-09-14 16:14:31 +02:00
Daniel Hofstetter
4fb68119a8 test: fix "unused imports" warning on Redox 2024-09-14 09:36:18 +02:00
sreehari prasad
8a9fb84a8e
mv: gnu test case mv-n compatibility (#6599)
* uucore: add update control `none-fail`

* uucore: show suggestion when parse errors occurs because of an ambiguous value

* added tests for fail-none and ambiguous parse error

* uucore: ambiguous value code refractor

* cp: no-clobber fail silently and outputs skipped message in debug

* mv: add --debug support

* minor changes

---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2024-09-14 09:11:17 +02:00
Sylvestre Ledru
db402875f6
Merge pull request #6692 from cakebaker/coreutils_add_list_option_to_help
bin/coreutils: add `--list` to help output
2024-09-13 08:43:49 +02:00
Sylvestre Ledru
82d403ba55
Merge pull request #6693 from cakebaker/bump_selinux_sys_and_fts_sys
Bump `selinux-sys` and `fts-sys`
2024-09-13 08:43:39 +02:00
Daniel Hofstetter
ee47006229 deny.toml: remove itertools from skip list 2024-09-13 07:41:11 +02:00
Daniel Hofstetter
10d3e98eda Bump selinux-sys and fts-sys
selinux-sys from 0.6.9 to 0.6.12
fts-sys from 0.2.9 to 0.2.11
2024-09-13 07:38:18 +02:00
Daniel Hofstetter
f0b983ba8f bin/coreutils: add --list to help output 2024-09-12 14:55:05 +02:00
Anirban Halder
7430856575
`mkdir: added acl` permissions inheritance for subdirectories (#6676)
Mostly for linux for now
2024-09-11 21:35:25 +02:00
Daniel Hofstetter
ab13a80732
Merge pull request #6691 from uutils/renovate/davidanson-markdownlint-cli2-action-17.x
chore(deps): update davidanson/markdownlint-cli2-action action to v17
2024-09-11 07:07:00 +02:00
renovate[bot]
166e79c00d
chore(deps): update davidanson/markdownlint-cli2-action action to v17 2024-09-11 04:39:33 +00:00
Sylvestre Ledru
ac6b115bad
Merge pull request #6690 from LoricAndre/main
fix: add arg count for cp
2024-09-10 21:57:35 +02:00