Daniel Hofstetter
fee9b5fe43
last: adapt to API change in uucore::utmpx
2025-09-17 14:29:06 +02:00
Tuomas Tynkkynen
fd69cc2230
nologin: Add tool
2025-09-14 18:58:46 +03:00
Sylvestre Ledru
d7a5151ec8
Merge pull request #349 from cakebaker/dmesg_use_parse_datetime_from_workspace
...
dmesg: use `parse_datetime` from workspace
2025-08-08 11:40:25 +02:00
Daniel Hofstetter
cb25413e54
clippy: fix warnings from collapsible_if lint
2025-08-08 11:19:00 +02:00
Daniel Hofstetter
4366804267
clippy: fix "hiding a lifetime" warning
...
from mismatched_lifetime_syntaxes lint
2025-08-08 11:08:47 +02:00
Daniel Hofstetter
40ba3e9caa
dmesg: sort deps in Cargo.toml alphabetically
2025-08-01 16:30:01 +02:00
Daniel Hofstetter
cad8482bd4
dmesg: use parse_datetime from workspace
2025-08-01 16:25:03 +02:00
Sebastian Bentmar Holgersson
b5d6d188bf
feat(last): add --since and --until ( #342 )
...
* feat(last): add --since and --until
* clean up clap slightly
* fix clippy
* test(last): add tests for --since and --until
* refactor(last): resolve review comments
* test(last): set cfg for since and until to unix
* remove unnecessary comment
* move parse_time_value below uumain
* minor cleanup
* fix ci issues
2025-08-01 16:12:39 +02:00
renovate[bot]
1d654ece6c
fix(deps): update rust crate parse_datetime to 0.11.0
2025-08-01 10:42:31 +00:00
Sylvestre Ledru
d5ecd7ed74
Merge pull request #283 from cakebaker/use_let_else_instead_of_match
...
bin/util-linux.rs: use `let`/`else` instead of `match`
2025-07-30 10:31:41 +02:00
Sylvestre Ledru
c8a5770118
Merge pull request #304 from cakebaker/mesg_move_uu_app_to_bottom
...
mesg: move `uu_app()` to bottom of file
2025-07-30 10:31:14 +02:00
Daniel Hofstetter
12b1e3d6e9
clippy: fix warnings from uninlined_format_args
2025-06-27 11:51:13 +02:00
renovate[bot]
07c7f43787
fix(deps): update rust crate parse_datetime to 0.10.0
2025-05-26 23:15:18 +00:00
Daniel Hofstetter
184b2c8f1e
mesg: adapt to API changes in nix
2025-05-23 10:52:10 +02:00
Sylvestre Ledru
cb0f551a76
Merge pull request #305 from cakebaker/mcookie_dont_use_option_for_max_size
...
mcookie: don't use `Option` for `max_size`
2025-05-10 09:14:35 +02:00
Daniel Hofstetter
4d4daf820c
mcookie: don't use Option for max_size
2025-05-10 07:51:30 +02:00
Lionel Mendes
55c8ee013b
last: fix some hostnames are not shown properly with --hostname option issue 212 ( #246 )
...
* last: fix not all hostnames are shown in the last column with --hostlast option
* last: fix not all hostnames are shown in the last column with --hostlast option
* Added test case related to the hostlast option in last command.
* Change binary input fixture name for last command and Fix format source code.
* feat: add macOS platform & update tests for compatibility
* fix: correct formatting in platform and test files for macOS compatibility
* fix: format
* fix: correct variable name and improve test output handling
2025-05-08 17:32:25 +02:00
Daniel Hofstetter
48bdb19283
mesg: move uu_app() to bottom of file
2025-05-08 16:51:39 +02:00
Reagan Bohan
1dcb5524e2
Implement uuidgen
...
Implement uuidgen as a wrapper over the `uuid` crate.
2025-05-02 11:53:04 +00:00
renovate[bot]
33f104dc41
fix(deps): update rust crate parse_datetime to 0.9.0
2025-04-25 12:31:04 +00:00
Daniel Hofstetter
437e95d991
lslocks: add missing newline
2025-04-22 11:53:51 +02:00
Koutheir Attouchi
c9df39b261
Implemented lslocks.
2025-04-21 21:04:12 -04:00
Alexandra
a402b5e3a5
mcookie: fix max size option
2025-04-08 20:10:21 +02:00
chalice19
7254ab6238
mcookie: generate cookie even if specified file doesn't exist ( #285 )
...
* mcookie: don't quit if specified file doesn't exist
* mcookie: add test
* minor fixes
* minor fix
* formatted
---------
Co-authored-by: Alexandra <aspasparagus@gmail.com >
2025-04-08 15:05:17 +02:00
Quang
f24471694c
mcookie: read from stdin if file is - ( #279 )
...
* read from stdin
* Update mcookie.rs
* test
* fmt
* Update mcookie.rs
* Update mcookie.rs
2025-04-05 17:03:13 +02:00
Daniel Hofstetter
41aace5d7c
bin/util-linux.rs: use let/else instead of match
2025-04-05 15:20:04 +02:00
Sylvestre Ledru
fac8a0b9e3
Merge pull request #253 from mdcssw/main
...
Implemented `lsipc`
2025-04-01 08:28:00 +02:00
Quang
0113e301e8
mcookie - fix providing /dev/random or /dev/urandom as file leads to infinite loop ( #274 )
...
* Update mcookie.rs
* edit doc
* fmt
* fix for unix and non-unix build
* add test case
* refactor
* fmt
* fix
2025-03-31 09:54:28 +02:00
Quang
36b3af044c
mcookie: add support for human-readable sizes with -m option ( #268 )
...
* Create size.rs
* parse max size from human-readable strings
* tests for human-readable strings
* fmt
* fix failed tests and edge cases
* fix fmt
* cpr & license
* use usimpleerror
* fmt
2025-03-31 09:26:49 +02:00
Koutheir Attouchi
9bb2bb369e
Implemented lsipc.
2025-03-28 17:13:27 -04:00
Koutheir Attouchi
31795f2729
Implemented chcpu.
2025-03-20 11:21:51 -04:00
Koutheir Attouchi
b66945dee8
Configure command line parsing.
2025-03-20 11:21:13 -04:00
alxndrv
a7e9f39c40
Implement mcookie
2025-03-18 19:50:06 +02:00
Sylvestre Ledru
bf18cb6f62
Merge pull request #252 from cakebaker/add_renice
...
Add `renice`
2025-03-13 11:44:36 +01:00
Daniel Hofstetter
e9d1600bc4
Add renice
...
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org >
2025-03-12 10:05:26 +01:00
Daniel Hofstetter
4540ea792f
blockdev: remove unnecessary unsafe blocks
2025-03-12 09:31:55 +01:00
Tuomas Tynkkynen
c8aa5a6b57
mesg: Add tool
2025-03-09 02:13:47 +02:00
Daniel Hofstetter
0554e8cdfe
Merge pull request #231 from alxndrv/add-lslocks
...
Add partial implementation of `lslocks`
2025-02-24 14:23:06 +01:00
Alexandre Macabies
8a7b23d4eb
lscpu: Add option --bytes
...
Fixes #17 .
2025-02-22 17:16:15 +01:00
alxndrv
ee14c44540
lslocks: Small code cleanup
2025-02-21 18:20:53 +02:00
alxndrv
9dd6bc1391
lslocks: Print output in a table format similar to the original
2025-02-20 18:13:45 +02:00
alxndrv
c2b189ff53
lslocks: Implement parsing of /proc/locks
2025-02-18 19:19:39 +02:00
alxndrv
c2571cb6fa
lslocks: Set up lslocks entry point
2025-02-18 16:18:49 +02:00
Daniel Hofstetter
68706fbb63
lscpu: simplify signature of CpuInfo::new()
2025-02-17 16:51:13 +01:00
Daniel Hofstetter
d9b6f13b4f
Merge pull request #220 from alxndrv/lscpu-read-vulns
...
`lscpu`: Read CPU information from `sysfs`
2025-02-17 16:40:03 +01:00
Andrey Aleksandrov
748bbf845e
Update src/uu/lscpu/src/sysfs.rs
...
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com >
2025-02-17 17:34:16 +02:00
alxndrv
3180b89522
lscpu: Fix minor issues from review
2025-02-17 16:40:08 +02:00
renovate[bot]
62291c6726
fix(deps): update rust crate parse_datetime to 0.8.0
2025-02-17 11:12:57 +00:00
Daniel Hofstetter
93de68e70c
Merge pull request #216 from Foorack/lsmem
...
Improve `lsmem`
2025-02-15 16:10:03 +01:00
Foorack
088c023d5c
lsmem: Remove unnecessary allow(dead_code)
2025-02-15 10:47:27 +01:00