renovate
renovate copied to clipboard
`releaseDelay` instead of `stabilityDays`
What would you like Renovate to be able to do?
Get a flexible way to delay looking for new updates as commented here: https://github.com/renovatebot/renovate/issues/12133#issuecomment-943966256
Related issue: https://github.com/renovatebot/renovate/issues/12310
If you have any ideas on how this should be implemented, please tell us here.
The summary mentioned by @rarkins is:
- Rename it to be a bit more generic (e.g. "releaseDelay", but better)
- We retire/migrate stabilityDays
- Define a simple format for duration - or find one which already exists - so that it can be e.g. 1d2h3m. We might find use for such a format elsewhere
Is this a feature you are interested in implementing yourself?
No
We also discussed some new names for the stabilityDays
config option in this issue:
- https://github.com/renovatebot/renovate/issues/12914
The name minimumReleaseAge
from #12914 is maybe more intuitive
The pretty-ms
package converts from milliseconds to human readable string. I think we need to write the opposite, i.e. to convert from human-readable string back to a millisecond duration.
https://www.npmjs.com/package/pretty-ms
Now done: https://github.com/renovatebot/renovate/blob/main/lib/util/pretty-time.ts
Let's do it in a major release when we rename renovate/stability-days
to renovate/minimum-release-age
.