-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Labels
Description
Contribution
- I'd be willing to implement this feature (contributing guide)
Describe the user story
When implementing minimumReleaseAge, the current state of the repository might not conform to that setting.
For example:
- A package
packagewas updated in the repository - That package version was uploaded 1 day ago
- The repository sets
minimumReleaseAgeto 7 days
In this situation, we have these workarounds:
- Downgrade
package - Wait for 6 days
- Add a
minimumReleaseAgeExcludeforpackage - Reduce the
minimumReleaseAge
Describe the solution you'd like
Instead, it would be better if we could allow the current state of the repository (but not future states) to be spared using minimumReleaseAgeExclude.
minimumReleaseAgeExclude:
- [email protected]This way, no need to downgrade a package, no need to wait for a week, no need to exclude future versions (which we want minimumReleaseAgeExclude to be enforced on) and no need to reduce minimumReleaseAge.
Describe the drawbacks of your solution
No response
Describe alternatives you've considered
- Downgrade
package - Wait for 6 days
- Add a
minimumReleaseAgeExcludeforpackage - Reduce the
minimumReleaseAge
StefanWallin, sresch4b, Ecksters, haltcase, dotboris and 6 more