Skip to content

feat: support minimum release age #571

@iloveitaly

Description

@iloveitaly
  • default minimum release age will solve a lot of annoying problems: enabling node GPG verification, lack of pre-compiled binaries for recently released py versions, better security posture in general. We want to enable this by default but allow users to easily override it in their applications.
  • need to allow the user to customize minimum_release_age setting within their application
    • this needs to be respected when running latest to resolve a version within the host mise logic
    • this is hard to test since we would need to (a) customize the min age value passed to the host mise which is isolated from the config of the application and (b) hard to test with static data since the latest values are always changing + aging.
    • this only causes a failure if the latest value is contained in a lockfile. If latest or another unpinned version is specified, the logic works just fine.
  • if an exact version is specified, that should bypass all date filtering logic
    • all resolution runs through a mise latest call right now. latest does not short-circuit when an exact date is provided
  • need integration tests for this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions