n4n5
635ad16c63
touch: change message when trailing slash
2024-06-30 19:00:54 +02:00
Sylvestre Ledru
9c0f2f84ab
Merge pull request #6505 from Its-Just-Nans/fix-clippy-errors
...
Fix clippy errors
2024-06-30 18:55:51 +02:00
n4n5
ab67947321
fix clippy tests
2024-06-30 16:27:08 +02:00
n4n5
81de2be5ab
fix clippy src/
2024-06-30 16:27:00 +02:00
n4n5
0a2394faa0
add clippy config
2024-06-30 16:26:36 +02:00
Laurent Cheylus
c0a3662b63
tests: enable tests for uptime on OpenBSD
...
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-06-30 16:17:04 +02:00
Laurent Cheylus
920d29f703
uptime: add support for OpenBSD using utmp
...
OpenBSD uses the original utmp file format when the other OS use utmpx
format to get infos for boot time and logged users.
By using the `utmp-classic` crate, we can process the logged users
on system from the /var/run/utmp file.
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-06-30 16:17:04 +02:00
Christian von Elm
866366a874
tr: correctly detected matched [:upper:]
...
tr detects if a class in set2 is matched by a class at the correct position in set1 after it has expanded everything before the class in both sets:
So
tr 'abcd[:upper:]' 'a-d[:lower:]'
should not fail
2024-06-30 14:24:00 +02:00
Sylvestre Ledru
3a0261c785
Merge pull request #6512 from lu-zero/default-readme
...
coreutils: Add a default readme for the packages
2024-06-30 13:19:35 +02:00
Luca Barbato
11bd0c7fc4
coreutils: Add a default readme for the packages
2024-06-30 10:52:10 +02:00
Daniel Hofstetter
cb5111c1b8
Merge pull request #6510 from matrixhead/color-clear-to-eol
...
ls: Refactor `parse_width` function
2024-06-29 15:32:06 +02:00
mhead
91d1b81224
ls: Refactor parse_width
function
2024-06-29 14:24:34 +05:30
Sylvestre Ledru
e08c43ade2
Merge pull request #6496 from djedi23/6267-cp-preserved-hardlinks-are-not-reported-in--verbose
...
cp: fix preserved hardlinks are not reported in --verbose
2024-06-29 10:46:31 +02:00
Sylvestre Ledru
2244adb0f2
Merge pull request #6509 from lcheylus/openbsd-users
...
users: fix lint error needless_borrows_for_generic_args on OpenBSD
2024-06-29 10:45:57 +02:00
sreehari prasad
dbeae9f444
ls: gnu color-clear-to-eol
fix ( #6507 )
...
---------
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2024-06-29 10:06:00 +02:00
Laurent Cheylus
4be9ed6b4d
users: fix lint error needless_borrows_for_generic_args on OpenBSD
...
Fix uutils/coreutils#6508
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-06-29 09:38:55 +02:00
Daniel Hofstetter
f451714d26
Merge pull request #6406 from jadijadi/users-openbsd
...
users: support OpenBSD using utmp
2024-06-29 07:52:10 +02:00
Jadi
576341bb93
users: support OpenBS using utmp
...
OpenBSD uses the original utmp file format so the general `users` does not
work there. By using the `utmp-classic` lib, we cna process the current users
on the system from the /var/run/utmp and show the list.
fixes #5665
2024-06-29 08:19:24 +03:30
Daniel Hofstetter
69b603bfe7
Merge pull request #6503 from CausingBrick/issue-6495
...
date: fix date get timezone error while set utc time (#6495 )
2024-06-28 16:15:56 +02:00
MengshengWu
e4ec608781
date: fix date get timezone error while set utc time ( #6495 )
2024-06-28 22:01:00 +08:00
n4n5
2a0adcd736
add clippy check
2024-06-28 11:28:25 +02:00
Sylvestre Ledru
371ba28db7
Merge pull request #6498 from cakebaker/cargo_expensive_tests_feature
...
Cargo.toml: add "expensive_tests" feature
2024-06-28 11:27:27 +02:00
Sylvestre Ledru
7d77a3730c
Merge pull request #6502 from Its-Just-Nans/main
...
build all features on docs.rs
2024-06-28 11:16:41 +02:00
Daniel Hofstetter
4b0090b323
Merge pull request #6499 from sylvestre/b2sum2
...
hashsum/b2sum: when the checksum file is untagged, detect the size
2024-06-28 10:44:14 +02:00
n4n5
cc8a9f4c1b
build all features on docs.rs
2024-06-28 10:26:23 +02:00
Sylvestre Ledru
0ecc18fb5b
hashsum/b2sum: when the checksum file is untagged, detect the size
...
Should fix tests/cksum/b2sum.sh
2024-06-28 10:15:27 +02:00
Daniel Hofstetter
11e8476456
Merge pull request #6501 from uutils/renovate/num-bigint-0.x-lockfile
...
chore(deps): update rust crate num-bigint to v0.4.6
2024-06-28 08:22:52 +02:00
renovate[bot]
2f0b37c7f4
chore(deps): update rust crate num-bigint to v0.4.6
2024-06-27 22:36:46 +00:00
Sylvestre Ledru
3b607f1c7c
cksum: move the code where needed
2024-06-27 22:51:37 +02:00
Sylvestre Ledru
6a489f5ee7
Merge pull request #6500 from cakebaker/uucore_checksum_simplify_determine_regex
...
uucore/checksum: simplify `determine_regex()`
2024-06-27 14:11:36 +02:00
Daniel Hofstetter
710e999fc7
uucore/checksum: simplify determine_regex()
2024-06-27 12:46:32 +02:00
Daniel Hofstetter
9b3b9e8407
Merge pull request #6452 from sylvestre/base64
...
cksum/hashsum: add support of --check with base64 + other improvs
2024-06-27 09:47:52 +02:00
Sylvestre Ledru
212ddf7d8c
Adjust identify_algo_name_and_length to return Option<(String, Option<usize>)> instead of (String, Option<usize>)
2024-06-27 00:01:09 +02:00
Daniel Hofstetter
b0716baeae
Cargo.toml: add "expensive_tests" feature
2024-06-26 15:36:41 +02:00
Moïse Valvassori
2e223dfdfc
cp: fix preserved hardlinks are not reported in --verbose
2024-06-26 06:44:55 +02:00
Sylvestre Ledru
adcc548f7c
cksum: Allow the indiv build
2024-06-25 19:05:28 +02:00
Sylvestre Ledru
2e704b8572
Address review comments
2024-06-25 19:01:04 +02:00
Sylvestre Ledru
ab2cc2f17a
cksum base64: update the GNU test to manage our output
2024-06-25 19:00:23 +02:00
Sylvestre Ledru
6922e7f057
cksum/hashsum: Simplify the determine_regex function
2024-06-25 19:00:23 +02:00
Sylvestre Ledru
c2292a8da6
cksum/hashsum: Move the algo mgmt into a dedicated function
2024-06-25 19:00:23 +02:00
Sylvestre Ledru
e7898ab32a
cksum/hashsum: Move the algo mgmt into a dedicated function
2024-06-25 19:00:23 +02:00
Sylvestre Ledru
520907e22b
cksum/hashsum: Move the opening into a dedicated function
2024-06-25 19:00:23 +02:00
Sylvestre Ledru
a6bae64dde
cksum/hashsum: use a struct to keep the results
2024-06-25 19:00:23 +02:00
Sylvestre Ledru
e6aad95055
cksum/hashsum: move the file mgmt into a function
2024-06-25 19:00:23 +02:00
Sylvestre Ledru
cc8bda5def
cksum/hashsum: move to thiserror
2024-06-25 19:00:23 +02:00
Sylvestre Ledru
edae51d1a6
cksum/hashsum: move to quick-error
2024-06-25 19:00:23 +02:00
Sylvestre Ledru
66ccb1a479
cksum/hashsum: add support of --check with base64
2024-06-25 19:00:23 +02:00
sreehari prasad
92665144c9
ls: gnu color-norm
test fix ( #6481 )
2024-06-24 21:38:10 +02:00
Daniel Hofstetter
92c3de5387
Merge pull request #6144 from sylvestre/dired
...
ls --dired: adjust our code after GNU v9.5
2024-06-24 13:41:11 +02:00
Sylvestre Ledru
ececddd672
ls: If we have --dired --hyperlink, we don't show dired but we still want to see the
...
long format
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-06-24 10:27:37 +02:00