Commit graph

1405 commits

Author SHA1 Message Date
Anirban Halder
2774274cc2
`uptime`: Support files in uptime (#6400) 2024-06-22 13:06:03 +02:00
renovate[bot]
753d110f9b
fix(deps): update rust crate proc-macro2 to v1.0.86 2024-06-21 02:23:06 +00:00
renovate[bot]
8dffc79a8d
chore(deps): update rust crate bigdecimal to v0.4.5 2024-06-17 08:21:55 +00:00
renovate[bot]
20111b279a
chore(deps): update rust crate redox_syscall to v0.5.2 2024-06-14 15:01:10 +00:00
renovate[bot]
44e8440fe3 chore(deps): update rust crate memchr to v2.7.4 2024-06-14 12:43:54 +02:00
Sylvestre Ledru
82468d1eb4
Merge pull request #6455 from cakebaker/bump_itertools
Bump `itertools` and fix use of deprecated function
2024-06-14 12:43:44 +02:00
renovate[bot]
26625aed56
chore(deps): update rust crate regex to v1.10.5 2024-06-09 13:19:52 +00:00
Daniel Hofstetter
0048e9f6be Bump itertools from 0.12.1 to 0.13.0 2024-06-06 10:52:02 +02:00
renovate[bot]
503138be8c
chore(deps): update rust crate unicode-width to v0.1.13 2024-06-04 19:15:02 +00:00
Daniel Hofstetter
f56e121eb0
Merge pull request #6431 from sylvestre/refactor-hashsum-cksum
cksum/hashsum: refactor the common code.
2024-06-04 09:06:35 +02:00
Daniel Hofstetter
d03c48845d
Merge pull request #6443 from uutils/renovate/proc-macro2-1.x-lockfile
fix(deps): update rust crate proc-macro2 to v1.0.85
2024-06-02 11:01:20 +02:00
renovate[bot]
77ac330d7b
fix(deps): update rust crate proc-macro2 to v1.0.85 2024-06-02 04:04:50 +00:00
renovate[bot]
4c9a0e1e64
chore(deps): update rust crate rstest to 0.21.0 2024-06-01 18:41:24 +00:00
Sylvestre Ledru
dbe7a20e08 cksum/hashsum: refactor the common code.
Summary of the change:
* Move the common code into checksum
* Create a structure HashAlgorithm to handle the algorithm (instead of the 3 variables)
* Use the same function for cksum & hashsum for --check (perform_checksum_validation)
* Use the same for function for the hash generation (digest_reader)
* Add unit tests
* Add integration tests
* Fix some incorrect tests
2024-05-29 09:08:00 +02:00
renovate[bot]
5a357c61b7
fix(deps): update rust crate proc-macro2 to v1.0.84 2024-05-26 01:22:57 +00:00
renovate[bot]
84494f753e
chore(deps): update rust crate parse_datetime to 0.6.0 2024-05-21 11:01:00 +00:00
renovate[bot]
9dc41f9667
fix(deps): update rust crate libc to v0.2.155 2024-05-20 07:26:10 +00:00
renovate[bot]
ae85331188
fix(deps): update rust crate proc-macro2 to v1.0.83 2024-05-20 00:11:59 +00:00
Ben Wiederhake
b718f954e8
Merge pull request #6390 from sylvestre/cksum-check
cksum: implement check (Closes: #5705)
2024-05-18 23:46:58 +02:00
renovate[bot]
2658454cde
chore(deps): update rust crate zip to v1.3.0 2024-05-18 05:20:10 +00:00
Daniel Hofstetter
202f699c83
Merge pull request #6410 from uutils/renovate/thiserror-1.x-lockfile
chore(deps): update rust crate thiserror to v1.0.61
2024-05-18 07:08:55 +02:00
renovate[bot]
bee19e1b57
chore(deps): update rust crate thiserror to v1.0.61 2024-05-17 18:11:27 +00:00
Daniel Hofstetter
3ce6794cb0 Downgrade libc to 0.2.153 2024-05-17 07:31:15 +02:00
Sylvestre Ledru
81500ae3b8 cksum: implement check & strict 2024-05-12 21:20:58 +02:00
renovate[bot]
4f3c067ac7
chore(deps): update rust crate zip to v1.2.3 2024-05-11 07:24:29 +00:00
renovate[bot]
5ed2fb3e38
chore(deps): update rust crate zip to v1.2.2 2024-05-09 18:42:38 +00:00
Daniel Hofstetter
fde887c6b3
Merge pull request #6372 from uutils/renovate/proc-macro2-1.x-lockfile
fix(deps): update rust crate proc-macro2 to v1.0.82
2024-05-07 08:27:48 +02:00
Daniel Hofstetter
25ba369577
Merge pull request #6371 from uutils/renovate/zip-1.x-lockfile
chore(deps): update rust crate zip to v1.2.1
2024-05-07 07:49:59 +02:00
Daniel Hofstetter
de995e39a7
Merge pull request #6370 from uutils/renovate/thiserror-1.x-lockfile
chore(deps): update rust crate thiserror to v1.0.60
2024-05-07 07:48:15 +02:00
Daniel Hofstetter
3249a954fe
Merge pull request #6369 from uutils/renovate/num-bigint-0.x-lockfile
chore(deps): update rust crate num-bigint to v0.4.5
2024-05-07 07:46:37 +02:00
renovate[bot]
1ea628a69e
fix(deps): update rust crate proc-macro2 to v1.0.82 2024-05-07 05:45:55 +00:00
renovate[bot]
71b2bb7f1d
chore(deps): update rust crate zip to v1.2.1 2024-05-07 04:34:10 +00:00
renovate[bot]
a9c6a71198
chore(deps): update rust crate thiserror to v1.0.60 2024-05-07 04:34:04 +00:00
renovate[bot]
3ce1df7b21
chore(deps): update rust crate num-bigint to v0.4.5 2024-05-07 00:22:17 +00:00
renovate[bot]
c8c848dda6
chore(deps): update rust crate num-prime to v0.4.4 2024-05-06 17:33:58 +00:00
renovate[bot]
417e92009b chore(deps): update rust crate zip to v1.2.0 2024-05-06 19:32:26 +02:00
renovate[bot]
a5ac917c89
chore(deps): update rust crate zip to 1.1.4 2024-05-04 17:56:51 +00:00
Daniel Hofstetter
99d234af87 Bump fts-sys and selinux-sys
fts-sys: 0.2.4 -> 0.2.9
selinux-sys: 0.6.2 -> 0.6.9
2024-05-04 12:58:39 +02:00
Daniel Hofstetter
8ad4d783ea
Merge pull request #6338 from uutils/renovate/num-traits-0.x
chore(deps): update rust crate num-traits to 0.2.19
2024-05-04 07:11:03 +02:00
renovate[bot]
bd7d213204
chore(deps): update rust crate num-traits to 0.2.19 2024-05-03 23:02:03 +00:00
renovate[bot]
c00369ba5e
chore(deps): update rust crate self_cell to 1.0.4 2024-05-03 16:54:38 +00:00
renovate[bot]
48c9fb5602
chore(deps): update rust crate unindent to 0.2.3 2024-05-02 09:48:44 +00:00
renovate[bot]
a51ac3d069
chore(deps): update rust crate time to 0.3.36 2024-05-02 08:51:50 +00:00
renovate[bot]
3e1c9eb005
chore(deps): update rust crate thiserror to 1.0.59 2024-05-02 08:06:41 +00:00
renovate[bot]
2c4c95d09b
chore(deps): update rust crate smallvec to 1.13.2 2024-05-02 07:01:07 +00:00
renovate[bot]
42beae3443
chore(deps): update rust crate selinux to 0.4.4 2024-05-02 06:13:58 +00:00
renovate[bot]
ff68493632
chore(deps): update rust crate redox_syscall to 0.5.1 2024-05-02 05:09:58 +00:00
renovate[bot]
ea8ed7adf5
chore(deps): update rust crate memmap2 to 0.9.4 2024-05-01 15:57:19 +00:00
Daniel Hofstetter
2b17d17959
Merge pull request #6309 from uutils/renovate/memchr-2.x
chore(deps): update rust crate memchr to 2.7.2
2024-05-01 17:56:03 +02:00
Daniel Hofstetter
970a1e01f6
Merge pull request #6308 from uutils/renovate/indicatif-0.x
chore(deps): update rust crate indicatif to 0.17.8
2024-05-01 17:10:57 +02:00
renovate[bot]
ba28703665
chore(deps): update rust crate memchr to 2.7.2 2024-05-01 15:02:31 +00:00
renovate[bot]
5597cfff41
chore(deps): update rust crate indicatif to 0.17.8 2024-05-01 14:08:49 +00:00
renovate[bot]
0fb034214b
chore(deps): update rust crate half to 2.4.1 2024-05-01 14:08:42 +00:00
renovate[bot]
94b6037838
chore(deps): update rust crate uutils_term_grid to 0.6 2024-05-01 08:17:43 +00:00
Terts Diepraam
3346b4147a
ls: upgrade uutils-term-grid to 0.5 (#5485) 2024-05-01 10:16:15 +02:00
renovate[bot]
12d9e47ff5
chore(deps): update rust crate zip to 1.1.3 2024-04-30 18:49:57 +00:00
renovate[bot]
19262aabe5
chore(deps): update rust crate libc to 0.2.154 2024-04-29 22:05:14 +00:00
renovate[bot]
73db512ab5 chore(deps): update rust crate zip to 1.1.2 2024-04-28 21:48:15 +02:00
Daniel Hofstetter
3637e0897c Bump bigdecimal from 0.4.0 to 0.4.2 2024-04-28 20:17:40 +02:00
renovate[bot]
9e52aa0cb1
fix(deps): update rust crate data-encoding-macro to 0.1.15 2024-04-28 10:39:08 +00:00
renovate[bot]
dcf7a50392
fix(deps): update rust crate data-encoding to 2.6 2024-04-28 09:21:27 +00:00
renovate[bot]
ce377760ba
chore(deps): update rust crate unicode-width to 0.1.12 2024-04-27 00:55:22 +00:00
renovate[bot]
798435c825
chore(deps): update rust crate winapi-util to 0.1.8 2024-04-25 03:25:44 +00:00
Michael Vogt
d07fb73630 ls,uucore: extract display human_readable() helper from ls
This commit extract the `display_size()` helper from `ls` into
`uucore` as `human_readable` to be similar to the gnulib helper
so that the human readable display of sizes can be shared between
ls, du, df.
2024-04-24 16:53:08 +02:00
renovate[bot]
b42f7e0940
chore(deps): update rust crate winapi-util to 0.1.7 2024-04-23 14:49:52 +00:00
Anton Patrushev
423494421b
more: use dev tty instead of mio to avoid panics (#6262)
* more: use dev tty instead of mio to avoid panics

* move more specific dependecy to more package
2024-04-23 16:48:21 +02:00
renovate[bot]
6e1394d0db
chore(deps): update rust crate zip to 1.1.1 2024-04-21 10:51:07 +00:00
Ulrich Hornung
d202baba97 use num_prime for factorisation to fix gnu test 2024-04-21 11:24:25 +02:00
renovate[bot]
6a08e2df87
chore(deps): update rust crate zip to v1 2024-04-20 22:10:25 +00:00
renovate[bot]
1c582ee7eb
chore(deps): update rust crate bytecount to 0.6.8 2024-04-19 10:13:05 +00:00
renovate[bot]
d07192f107
chore(deps): update rust crate chrono to 0.4.38 2024-04-15 11:39:30 +00:00
renovate[bot]
edb16c386c
chore(deps): update rust crate platform-info to 2.0.3 2024-04-11 08:10:57 +00:00
Qiu Chaofan
11c9351a9c
Initial AIX support (#6209)
* Initial AIX support

Add support to build on AIX operating system. Most of the changes are
in fs part. Since AIX is still tier-3 target, current support is minimal
and does not require passing all tests.

* Fix spell checking failure
2024-04-10 13:40:44 +02:00
renovate[bot]
226d6a263d
chore(deps): update rust crate rust-ini to 0.21.0 2024-04-09 14:02:29 +00:00
renovate[bot]
68de6f57f0
chore(deps): update rust crate rstest to 0.19.0 2024-04-09 13:22:14 +00:00
renovate[bot]
cac7155fba chore(deps): update rust crate hostname to 0.4 2024-04-01 17:10:02 +02:00
Paolo Barbolini
9e040a3df1 chore(deps): drop conv dev-dependency 2024-03-31 22:51:24 +02:00
Sylvestre Ledru
01ea23ba21 Try to release 0.0.26 to see if the artifacts are generated 2024-03-30 22:51:24 +01:00
renovate[bot]
2b790e4808
chore(deps): update rust crate chrono to 0.4.37 2024-03-27 13:41:05 +00:00
renovate[bot]
3bdb1605a7
chore(deps): update rust crate rayon to 1.10 2024-03-24 07:39:46 +00:00
Sylvestre Ledru
68c77b4bd1 push the cargo lock too 2024-03-23 22:18:05 +01:00
Sylvestre Ledru
ef3a584214 update of the version to 0.0.25 2024-03-23 19:55:17 +01:00
renovate[bot]
df3f9bbeec
chore(deps): update rust crate regex to 1.10.4 2024-03-23 12:35:14 +00:00
Ulrich Hornung
c62ba559d0 env: support string args by "-S", "-vS" or "--split-strings" 2024-03-19 00:45:05 +01:00
Daniel Hofstetter
ada4f48e04 Bump redox_syscall from 0.4 to 0.5 2024-03-13 17:41:18 +01:00
zhitkoff
8f3c557af1 tty: when stdin is a terminal 2024-03-12 10:39:25 -04:00
renovate[bot]
3515cd44e7
chore(deps): update rust crate blake3 to 1.5.1 2024-03-12 09:35:22 +00:00
Daniel Hofstetter
ae7bc7d2e3 Bump nix from 0.27 to 0.28 2024-03-12 08:31:15 +01:00
Daniel Hofstetter
a1c14fb550 Bump chrono from 0.4.34 to 0.4.35 2024-03-06 17:48:46 +01:00
Daniel Hofstetter
837bc9493a Bump mio from 0.8.10 to 0.8.11 2024-03-05 07:10:59 +01:00
renovate[bot]
0a84ec2054
chore(deps): update rust crate walkdir to 2.5 2024-03-01 18:54:09 +00:00
renovate[bot]
716581ef77
chore(deps): update rust crate rayon to 1.9 2024-02-28 00:29:29 +00:00
renovate[bot]
06ad75ea30
chore(deps): update rust crate tempfile to 3.10.1 2024-02-27 01:22:08 +00:00
renovate[bot]
c2e7eed27f
chore(deps): update rust crate half to 2.4 2024-02-26 04:34:43 +00:00
Terts Diepraam
177ac7ea28
stat: use chrono instead of time in fsext (#5934)
* stat: use chrono instead of time in fsext

This removes the dependency of `fsext` on `time` and it cleans up the code.

* stat: use chrono instead of time in fsext

This removes the dependency of `fsext` on `time` and it cleans up the code.

* stat: fix two errors from clippy & spell-checker

* stat: move fn to fix clippy error

* stat: print - if birth time unknown

* uucore/fsext: fix "unused import" error on Windows

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-02-19 10:21:26 +01:00
renovate[bot]
d76b3103f0
chore(deps): update rust crate textwrap to 0.16.1 2024-02-17 20:06:01 +00:00
renovate[bot]
3c9b5d35e6
chore(deps): update rust crate chrono to ^0.4.34 2024-02-11 06:46:34 +00:00
Daniel Hofstetter
3871c14190
Merge pull request #5871 from cakebaker/bump_shlex
Bump shlex from 1.1.0 to 1.3.0
2024-02-08 07:17:58 +01:00
Daniel Hofstetter
9f8ea47981
Merge pull request #5874 from cakebaker/bump_smallvec
Bump smallvec from 1.13.0 to 1.13.1
2024-02-08 07:17:06 +01:00
renovate[bot]
9c96f489a8
chore(deps): update rust crate num-traits to 0.2.18 2024-02-08 01:32:51 +00:00
renovate[bot]
5616ff970f
chore(deps): update rust crate unicode-segmentation to 1.11.0 2024-02-07 07:27:44 +00:00
renovate[bot]
b6214010a7
chore(deps): update rust crate tempfile to 3.10.0 2024-02-05 22:43:03 +00:00
renovate[bot]
8e1a6c851e
chore(deps): update rust crate exacl to 0.12.0 2024-02-03 05:15:12 +00:00
renovate[bot]
1459212ebc
chore(deps): update rust crate libc to 0.2.153 2024-01-31 21:56:02 +00:00
renovate[bot]
d91eea4b32
chore(deps): update rust crate itertools to 0.12.1 2024-01-29 18:15:32 +00:00
Daniel Hofstetter
929ceb89f4 Bump wild from 2.2.0 to 2.2.1 2024-01-28 13:09:52 +01:00
renovate[bot]
51fd22e41b
chore(deps): update rust crate chrono to ^0.4.33 2024-01-25 14:27:17 +00:00
Daniel Hofstetter
60d9151c3d Bump smallvec from 1.13.0 to 1.13.1 2024-01-24 08:28:40 +01:00
Daniel Hofstetter
5e26898731 Bump shlex from 1.1.0 to 1.3.0 2024-01-23 07:11:56 +01:00
renovate[bot]
e050fa9c8c
chore(deps): update rust crate chrono to ^0.4.32 2024-01-22 23:21:22 +00:00
renovate[bot]
5006db2e92
chore(deps): update rust crate regex to 1.10.3 2024-01-21 16:53:53 +00:00
Sylvestre Ledru
dd5c6c2d00 0.0.23 => 0.0.24 2024-01-20 20:12:19 +01:00
renovate[bot]
667a9469c4
chore(deps): update rust crate smallvec to 1.13 2024-01-19 09:23:10 +00:00
Sylvestre Ledru
66637a6503 move the file_has_acl function into uucore 2024-01-16 13:12:02 +01:00
Sylvestre Ledru
fe3f8293ef uucore: add a new feature called fsxattr 2024-01-16 13:11:58 +01:00
Sylvestre Ledru
fff83995fb
cp: --preserve should keep xattr (#5834)
* cp: --preserve should keep xattr

Should help with tests/cp/acl.sh

* Update tests/by-util/test_cp.rs

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

* Update tests/by-util/test_cp.rs

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

* Update tests/by-util/test_cp.rs

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

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-01-15 10:59:04 +01:00
renovate[bot]
7914f22cfe
chore(deps): update rust crate xattr to 1.3.1 2024-01-15 03:14:26 +00:00
Sylvestre Ledru
67992be245
Merge pull request #5658 from cakebaker/bump_redox_syscall
Bump redox_syscall to 0.4.1
2024-01-14 23:42:34 +01:00
Sylvestre Ledru
e01d5f75f7
ls: if acl are used, show the + in the perms (#5816)
* ls: if acl are used, show the + in the perms

Tested by tests/mkdir/p-acl.sh

* CICD.yml: fix small formatting issue

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-01-14 15:57:22 +01:00
renovate[bot]
e860b32a82
chore(deps): update rust crate smallvec to 1.12 2024-01-14 00:28:34 +00:00
Daniel Hofstetter
e0abb76c0f Bump redox_syscall to 0.4.1
redox_syscall from 0.3.5 & 0.4.0 -> 0.4.1
filetime from 0.2.22 -> 0.2.23
parking_lot_core from 0.9.8 -> 0.9.9
2024-01-13 14:58:36 +01:00
renovate[bot]
c63b5b2a5d
chore(deps): update rust crate tempfile to 3.9.0 2024-01-13 13:57:26 +00:00
Daniel Hofstetter
d29adfcb09 Bump mio from 0.8.6 to 0.8.10 2024-01-10 10:47:20 +01:00
Daniel Hofstetter
0fe5f39b74 Bump console from 0.15.7 to 0.15.8 2024-01-10 10:46:03 +01:00
renovate[bot]
f612546ff7
chore(deps): update rust crate libc to 0.2.152 2024-01-07 15:21:27 +00:00
renovate[bot]
0ce73e1b02
chore(deps): update rust crate bstr to 1.9 2023-12-28 23:03:37 +00:00
renovate[bot]
efa7f8b4f7
chore(deps): update rust crate xattr to 1.2.0 2023-12-28 15:03:19 +00:00
Daniel Hofstetter
143705b193 Bump crossbeam crates
crossbeam-channel from 0.5.8 to 0.5.10
crossbeam-deque from 0.8.2 to 0.8.4
crossbeam-epoch from 0.9.14 to 0.9.17
crossbeam-utils from 0.8.15 to 0.8.18
2023-12-24 12:57:21 +01:00
renovate[bot]
b7bbec6d0f
chore(deps): update rust crate self_cell to 1.0.3 2023-12-20 17:09:27 +00:00
Daniel Hofstetter
c32fb25b1f Bump xattr from 1.1.1 to 1.1.3 2023-12-13 06:56:27 +01:00
renovate[bot]
0491a97a33
chore(deps): update rust crate libc to 0.2.151 2023-12-10 18:51:09 +00:00
renovate[bot]
5d8c49ff07
chore(deps): update rust crate xattr to 1.1.1 2023-12-09 12:52:02 +00:00
renovate[bot]
cc26e55af2
chore(deps): update rust crate once_cell to 1.19.0 2023-12-07 12:27:43 +00:00
Daniel Hofstetter
5a32ab8004 ls: implement --hyperlink 2023-12-07 08:14:25 +01:00
clara swanson
9061b2ba7e
libstdbuf: remove crash macro (#5565)
* libstdbuf: remove crash macro

* libstdbuf: remove uucore macro/struct and use gnu messages

* libstdbuf: remove crash macro

* libstdbuf: remove uucore macro/struct and use gnu messages

* libstdbuf: remove :? from print by printing file descriptor instead of file

* merge main into libstdbuf-remove-crash-macro

* libstdbuf: remove uucore from dependencies
2023-11-30 11:01:31 +01:00
renovate[bot]
173153122b
chore(deps): update rust crate lscolors to 0.16.0 2023-11-29 21:49:08 +00:00
renovate[bot]
3425ee8d59
fix(deps): update rust crate data-encoding-macro to 0.1.14 2023-11-22 06:09:44 +00:00
renovate[bot]
18b5c22567
fix(deps): update rust crate data-encoding to 2.5 2023-11-21 22:24:11 +00:00
renovate[bot]
e2e5ec60cd
chore(deps): update rust crate itertools to 0.12.0 2023-11-14 20:05:36 +00:00
Sylvestre Ledru
ff92bfb25b Prepare version 0.0.23 2023-11-13 22:02:01 +01:00
renovate[bot]
24d7f1fe5c
chore(deps): update rust crate self_cell to 1.0.2 2023-11-10 16:59:08 +00:00
renovate[bot]
7a38284075
chore(deps): update rust crate bstr to 1.8 2023-11-09 18:43:09 +00:00
renovate[bot]
4f14a9d552
chore(deps): update rust crate libc to 0.2.150 2023-11-05 13:50:12 +00:00
renovate[bot]
d899787ba6
chore(deps): update rust crate procfs to 0.16 2023-10-29 17:04:13 +00:00
renovate[bot]
391b422ce1
chore(deps): update rust crate tempfile to 3.8.1 2023-10-26 23:04:43 +00:00
renovate[bot]
e508b6e9df
chore(deps): update rust crate bytecount to 0.6.7 2023-10-24 22:49:28 +00:00
Daniel Hofstetter
c7c8c748d1 Bump const-random from 0.1.15 to 0.1.16 2023-10-24 07:29:06 +02:00
renovate[bot]
e6dd1045f0
chore(deps): update rust crate bytecount to 0.6.5 2023-10-23 07:26:01 +00:00
Daniel Hofstetter
1562ef52e8 Bump rustix crates
0.36.15 -> 0.36.16
0.37.23 -> 0.37.26
0.38.8 -> 0.38.20
2023-10-20 07:11:56 +02:00
renovate[bot]
3288c64b00
chore(deps): update rust crate regex to 1.10.2 2023-10-16 16:33:17 +00:00