]> git.proxmox.com Git - proxmox-mini-journalreader.git/log
proxmox-mini-journalreader.git
5 years agoadd error to usage and move exit there
Thomas Lamprecht [Tue, 14 May 2019 11:01:29 +0000 (11:01 +0000)]
add error to usage and move exit there

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoget_timestamp: use fact that unsigned underflow is defined
Thomas Lamprecht [Tue, 14 May 2019 10:48:23 +0000 (10:48 +0000)]
get_timestamp: use fact that unsigned underflow is defined

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agobuffer should be exactly 4k big, fix off-by-one
Thomas Lamprecht [Tue, 14 May 2019 10:46:50 +0000 (10:46 +0000)]
buffer should be exactly 4k big, fix off-by-one

as the last byte never got really touched this may not do much, but
if we employ such opimizations then we should do so correctly.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agomove variables only used in a single function in said function
Thomas Lamprecht [Tue, 14 May 2019 10:46:15 +0000 (10:46 +0000)]
move variables only used in a single function in said function

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agorename convert_argument to arg_to_uint64
Thomas Lamprecht [Tue, 14 May 2019 10:22:56 +0000 (10:22 +0000)]
rename convert_argument to arg_to_uint64

and make it static and move it nearer to it's use

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agochange indentation to 4 spaces per level
Thomas Lamprecht [Tue, 14 May 2019 09:41:56 +0000 (09:41 +0000)]
change indentation to 4 spaces per level

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agofixup rename
Thomas Lamprecht [Tue, 14 May 2019 09:40:49 +0000 (09:40 +0000)]
fixup rename

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agobuildsys: allow to build source package
Thomas Lamprecht [Tue, 14 May 2019 09:32:03 +0000 (09:32 +0000)]
buildsys: allow to build source package

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agobuildsys: add upload target
Thomas Lamprecht [Tue, 14 May 2019 09:31:32 +0000 (09:31 +0000)]
buildsys: add upload target

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agobuildsys: do not hardcode build directory name
Thomas Lamprecht [Tue, 14 May 2019 09:16:32 +0000 (09:16 +0000)]
buildsys: do not hardcode build directory name

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agobuildsys: use dpkg-dev make helpers for version and arch
Thomas Lamprecht [Tue, 14 May 2019 09:15:37 +0000 (09:15 +0000)]
buildsys: use dpkg-dev make helpers for version and arch

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agorename to mini-journalreader
Thomas Lamprecht [Tue, 14 May 2019 09:11:44 +0000 (09:11 +0000)]
rename to mini-journalreader

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agobuildsys: add dinstall target
Thomas Lamprecht [Tue, 14 May 2019 08:27:20 +0000 (08:27 +0000)]
buildsys: add dinstall target

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agobuildsys: fix building all target
Thomas Lamprecht [Tue, 14 May 2019 08:27:07 +0000 (08:27 +0000)]
buildsys: fix building all target

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoinital commit for journalreader
Dominik Csapak [Mon, 13 May 2019 12:49:18 +0000 (14:49 +0200)]
inital commit for journalreader

provides a minimalistic binary to show the journal content
shows a cursor after and before the output

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>