Skip to content

minimumReleaseAgeExclude: Add support for version range #9985

@NatoBoram

Description

@NatoBoram

Contribution

Describe the user story

When implementing minimumReleaseAge, the current state of the repository might not conform to that setting.

For example:

  • A package package was updated in the repository
  • That package version was uploaded 1 day ago
  • The repository sets minimumReleaseAge to 7 days

In this situation, we have these workarounds:

  • Downgrade package
  • Wait for 6 days
  • Add a minimumReleaseAgeExclude for package
  • 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 minimumReleaseAgeExclude for package
  • Reduce the minimumReleaseAge

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions