Skip to content

pull: utmpdump iso-8601 format

Sami Kerola util-linux 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6utmpdump: use always UTC-0 timezone in textual outputlogin-utils/utmpdump.c+3 -31 reply
2/6libcommon: add ISO_8601_GMTIME that will print UTC-0 timestampsinclude/timeutils.h lib/timeutils.c+14 -30 replies
3/6utmpdump: use iso-8601 timestamp format with subsecond accuracylogin-utils/Makemodule.am login-utils/utmpdump.c+38 -262 replies
4/6tests: fix utmpdump timestamps to be in iso formattests/expected/utmp/utmpdump-totxt tests/expected/utmp/utmpdump-totxt-ipv6 tests/ts/utmp/txt-a +6 more+81 -440 replies
5/6tests: remove utmpdump localization go-aroundtests/ts/utmp/utmpdump-circle tests/ts/utmp/utmpdump-tobin tests/ts/utmp/utmpdump-tobin-ipv6 +2 more+0 -102 replies
6/6tests: utmpdump add subsecond accuracy testtests/expected/utmp/utmpdump-subsecond tests/ts/utmp/subsec tests/ts/utmp/utmpdump-subsecond+42 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] pull: utmpdump iso-8601 format

Hello.

This pull request is re-implementation of iso-8601 timestamp format in textual output using timeutils Karel made available as libcommon timeutils functions. The earlier submission was based on my version of timeutils, that were not merged.

----------------------------------------------------------------
The following changes since commit 7f787ced5d401ccd56a82bb2b1202f1ea7164783:
libblkid: don't check nonnull attributes for NULL [-Wnonnull-compare] (2016-06-14 14:39:16 +0200)
are available in the git repository at:
git://github.com/kerolasa/lelux-utiliteetit.git utmpdump
for you to fetch changes up to 9997c0b13fffe7d198e7d056e4279727c2b0b3ad:
tests: utmpdump add subsecond accuracy test (2016-06-20 21:31:18 +0100)
----------------------------------------------------------------

Sami Kerola (6):
utmpdump: use always UTC-0 timezone in textual output
libcommon: add ISO_8601_GMTIME that will print UTC-0 timestamps
utmpdump: use iso-8601 timestamp format with subsecond accuracy
tests: fix utmpdump timestamps to be in iso format
tests: remove utmpdump localization go-around
tests: utmpdump add subsecond accuracy test

 include/timeutils.h                     |  3 +-
 lib/timeutils.c                         | 14 ++++++--
 login-utils/Makemodule.am               |  1 +
 login-utils/utmpdump.c                  | 63 +++++++++++++++++++--------------
 tests/expected/utmp/utmpdump-subsecond  |  5 +++
 tests/expected/utmp/utmpdump-totxt      | 20 +++++------
 tests/expected/utmp/utmpdump-totxt-ipv6 |  4 +--
 tests/ts/utmp/subsec                    |  3 ++
 tests/ts/utmp/txt-a                     | 38 ++++++++++----------
 tests/ts/utmp/txt-a-old                 | 19 ++++++++++
 tests/ts/utmp/txt-b                     | 20 +++++------
 tests/ts/utmp/txt-b-old                 | 10 ++++++
 tests/ts/utmp/txt-ipv6                  |  4 +--
 tests/ts/utmp/txt-ipv6-old              |  2 ++
 tests/ts/utmp/utmpdump-circle           | 10 ++++--
 tests/ts/utmp/utmpdump-subsecond        | 34 ++++++++++++++++++
 tests/ts/utmp/utmpdump-tobin            |  2 --
 tests/ts/utmp/utmpdump-tobin-ipv6       |  2 --
 tests/ts/utmp/utmpdump-totxt            |  2 --
 tests/ts/utmp/utmpdump-totxt-ipv6       |  2 --
 20 files changed, 175 insertions(+), 83 deletions(-)
 create mode 100644 tests/expected/utmp/utmpdump-subsecond
 create mode 100644 tests/ts/utmp/subsec
 create mode 100644 tests/ts/utmp/txt-a-old
 create mode 100644 tests/ts/utmp/txt-b-old
 create mode 100644 tests/ts/utmp/txt-ipv6-old
 create mode 100755 tests/ts/utmp/utmpdump-subsecond
Signature · 1 line
2.9.0