Display policy time units in bkctld status output #52

Open
opened 2021-11-05 15:15:07 +01:00 by whirigoyen · 2 comments
Owner

The current output of bkctld status $jail is :

$jail_name ON $port 2/1 $IP

I suggest to change it to :

$jail_name ON $port 2d/1m $IP

This precision avoids confusion between the two retention periods (d last days, and 1st day of m last month).

The echo to change is in lib/bkctld-status line 21.

The current output of `bkctld status $jail` is : `$jail_name ON $port 2/1 $IP` I suggest to change it to : `$jail_name ON $port 2d/1m $IP` This precision avoids confusion between the two retention periods (d last days, and 1st day of m last month). The `echo` to change is in `lib/bkctld-status` line 21.
Author
Owner

Brice proposes to display the time unit in a column header instead of inline.

This seems more standard and would keep output parsing simple.

Brice proposes to display the time unit in a column header instead of inline. This seems more standard and would keep output parsing simple.
Author
Owner

Jérémy L. suggested to add an option --no-header for backward compatibility.

Jérémy L. suggested to add an option --no-header for backward compatibility.
mtrossevin added the
enhancement
bkctld
labels 2023-11-28 18:00:26 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: evolix/evobackup#52
No description provided.