Use custom duration syntax for config variables #331

Open
opened 2022-12-30 14:52:37 +01:00 by Jef Roosens · 0 comments

Vieter takes a duration for multiple config variables, be it the maximum age of logs or builder images. Some of these variables take different units, yet they all know take a integer. This can be confusing.

I want to introduce a simple syntax of the form 15d 14h 25m 4s, so users can specify a duration using a general syntax that explicitely defines what the value conveys.

Vieter takes a duration for multiple config variables, be it the maximum age of logs or builder images. Some of these variables take different units, yet they all know take a integer. This can be confusing. I want to introduce a simple syntax of the form `15d 14h 25m 4s`, so users can specify a duration using a general syntax that explicitely defines what the value conveys.
Jef Roosens added the
enhancement
label 2022-12-30 14:52:37 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
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: vieter-v/vieter#331
There is no content yet.