Use custom duration syntax for config variables #331

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

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
This repository is archived. You cannot comment on issues.
No milestone
No project
No assignees
1 participant
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
No description provided.