Commit Graph

344 Commits

Author SHA1 Message Date
Daniel Hofstetter
dd76c2aff7 Merge pull request #166 from uutils/renovate/clap-4.x-lockfile
chore(deps): update rust crate clap to v4.5.23
2024-12-06 07:07:51 +01:00
renovate[bot]
7febc2c593 chore(deps): update rust crate clap to v4.5.23 2024-12-05 22:59:55 +00:00
Daniel Hofstetter
966c4ee0aa Merge pull request #165 from uutils/renovate/sysinfo-0.x
chore(deps): update rust crate sysinfo to 0.33
2024-12-04 16:22:52 +01:00
renovate[bot]
796d62094e chore(deps): update rust crate sysinfo to 0.33 2024-12-04 14:56:47 +00:00
Daniel Hofstetter
bd1a7cbee2 Merge pull request #164 from uutils/renovate/clap-4.x-lockfile
chore(deps): update rust crate clap to v4.5.22
2024-12-04 07:13:01 +01:00
renovate[bot]
67875f2a34 chore(deps): update rust crate clap to v4.5.22 2024-12-03 22:44:17 +00:00
Daniel Hofstetter
9e087e6ec6 Merge pull request #160 from fuad1502/dmesg-time-format
Add`—time-format` option support for `dmesg`
2024-11-30 16:39:56 +01:00
Fuad Ismail
e965074baf dmesg: avoid using insert for better readability. 2024-11-30 22:15:38 +07:00
Fuad Ismail
f3de668f7f dmesg: add file header. 2024-11-30 22:07:32 +07:00
Fuad Ismail
c3c80c4bcd dmesg: refactor to avoid duplicate code.
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-11-30 22:03:03 +07:00
Fuad Ismail
887e65d0ab tests/dmesg: use stderr_only.
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-11-29 23:28:56 +07:00
Daniel Hofstetter
8909c322cf Merge pull request #163 from uutils/renovate/libc-0.x-lockfile
chore(deps): update rust crate libc to v0.2.167
2024-11-29 15:24:24 +01:00
renovate[bot]
445436f3e6 chore(deps): update rust crate libc to v0.2.167 2024-11-29 14:17:26 +00:00
Fuad Ismail
dff0a8ea0b dmesg: change Record timestamp_us data type to i64. 2024-11-27 16:05:31 +07:00
Fuad Ismail
c4944f4c85 dmesg: remove int to float conversion for adding sign. 2024-11-27 15:59:03 +07:00
Daniel Hofstetter
45235a2cc6 Merge pull request #161 from uutils/renovate/libc-0.x-lockfile
chore(deps): update rust crate libc to v0.2.166
2024-11-27 06:59:23 +01:00
renovate[bot]
a2f41931cc chore(deps): update rust crate libc to v0.2.166 2024-11-27 04:33:21 +00:00
Fuad Ismail
a56b75f7be tests/dmesg: handle added carriage return when fixture is checked out on Windows. 2024-11-27 00:53:44 +07:00
Fuad Ismail
f621687dd6 dmesg: use utmpx to get boot time. 2024-11-27 00:45:13 +07:00
Fuad Ismail
8efc8a01c2 dmesg: support delta time-format. 2024-11-26 23:34:18 +07:00
Fuad Ismail
2669aaae40 dmesg: support reltime time-format. 2024-11-26 23:12:15 +07:00
Daniel Hofstetter
b4d9226525 Merge pull request #162 from uutils/renovate/sysinfo-0.x-lockfile
chore(deps): update rust crate sysinfo to v0.32.1
2024-11-26 16:12:47 +01:00
renovate[bot]
3c86375cb3 chore(deps): update rust crate sysinfo to v0.32.1 2024-11-26 15:07:11 +00:00
Fuad Ismail
c13e2f7b5a dmesg: support iso time-format. 2024-11-26 10:57:45 +07:00
Fuad Ismail
9f665333cf dmesg: corrected fixed boot time value. 2024-11-26 10:56:52 +07:00
Fuad Ismail
a99abce425 dmesg: support ctime & notime time-format. 2024-11-25 19:54:33 +07:00
Fuad Ismail
4c1812f128 tests/dmesg: separate time format tests. 2024-11-25 13:53:12 +07:00
Fuad Ismail
f6826b8249 tests/dmesg: add new line to expected error message. 2024-11-25 13:28:00 +07:00
Fuad Ismail
49bd8ead50 dmesg: parse time-format command line argument. 2024-11-25 13:26:35 +07:00
Fuad Ismail
c893226fe8 dmesg: support normal print with raw time format. 2024-11-25 13:10:30 +07:00
Fuad Ismail
7dc7924915 dmesg: add time-format command arg. 2024-11-25 09:59:52 +07:00
Fuad Ismail
4c7d8f8253 tests/dmesg: add invalid time-format test. 2024-11-24 23:12:26 +07:00
Fuad Ismail
1cc260d414 tests/dmesg: add time-format option test & fixtures. 2024-11-24 22:56:45 +07:00
Daniel Hofstetter
f271489a9f Merge pull request #152 from fuad1502/dmesg
Implement program `dmesg` with support for `--kmsg-file` and `--json` option.
2024-11-18 10:25:32 +01:00
Fuad Ismail
d796cb5224 dmesg: return UResult in Record constructor instead of panic. 2024-11-18 11:52:47 +07:00
Fuad Ismail
df3fb0674d dmesg: use functional approach to read lines. 2024-11-18 11:28:36 +07:00
Daniel Hofstetter
5f61d8592c Merge pull request #134 from uutils/renovate/nix-0.x
chore(deps): update rust crate nix to 0.29
2024-11-17 16:14:25 +01:00
renovate[bot]
332e8e0574 chore(deps): update rust crate nix to 0.29 2024-11-17 15:04:59 +00:00
Daniel Hofstetter
481c957d24 Merge pull request #157 from uutils/renovate/uucore-0.x
chore(deps): update rust crate uucore to 0.0.28
2024-11-17 13:20:06 +01:00
renovate[bot]
50ac99147b chore(deps): update rust crate uucore to 0.0.28 2024-11-17 12:13:42 +00:00
Daniel Hofstetter
1a175d771e Merge pull request #156 from uutils/renovate/serde_json-1.x-lockfile
chore(deps): update rust crate serde_json to v1.0.133
2024-11-17 10:41:26 +01:00
renovate[bot]
148fd50964 chore(deps): update rust crate serde_json to v1.0.133 2024-11-17 04:38:38 +00:00
Fuad Ismail
e5441aa0ba dmesg: add context message to UIoError. 2024-11-17 10:02:11 +07:00
Fuad Ismail
ac6caf17e3 tests/dmesg: add kmsg-file option with nonexistent file test. 2024-11-17 09:56:01 +07:00
Fuad Ismail
395c634c0c dmesg: add about and usage to command. 2024-11-17 00:09:55 +07:00
Fuad Ismail
635c6955c3 dmesg: add help message to -K and -J options. 2024-11-17 00:00:34 +07:00
Fuad Ismail
e321aeefc3 dmesg: add license header. 2024-11-16 23:43:06 +07:00
Daniel Hofstetter
a36a495bda Merge pull request #155 from uutils/renovate/libc-0.x-lockfile
chore(deps): update rust crate libc to v0.2.164
2024-11-16 13:32:17 +01:00
renovate[bot]
dc7ad890b3 chore(deps): update rust crate libc to v0.2.164 2024-11-16 12:23:40 +00:00
Daniel Hofstetter
c44f68617b Merge pull request #154 from uutils/renovate/libc-0.x-lockfile
chore(deps): update rust crate libc to v0.2.163
2024-11-16 11:02:06 +01:00