Skip to content

transform: #270

@jhheider

Description

@jhheider

@mxcl: the transform: key seems like it might be behaving oddly. from the build logs of pkgxdev/pantry#4830:

{ v: "jdk-17.0.1+7", rv: "17.0.1.7" }
{ v: "jdk-17.0.1+8", rv: "17.0.1.8" }
{ v: "jdk-17.0.1+9", rv: "17.0.1.9" }
{ v: "jdk-17.0.1+10", rv: "17.0.1.10" }
{ v: "jdk-17-ga", rv: "17-ga" }
{ v: "jdk-17.0.1+11", rv: "17.0.1.11" }
{ v: "jdk-17.0.1+12", rv: "17.0.1.12" }
{ v: "jdk-17.0.2+1", rv: "17.0.2.1" }
{ v: "jdk-17.0.2+2", rv: "17.0.2.2" }
{ v: "jdk-17.0.1-ga", rv: "17.0.1-ga" }
{ v: "jdk-17.0.2+3", rv: "17.0.2.3" }
{ v: "jdk-17.0.2+4", rv: "17.0.2.4" }
{ v: "jdk-17.0.2+5", rv: "17.0.2.5" }
{ v: "jdk-17.0.2+6", rv: "17.0.2.6" }
{ v: "jdk-17.0.2+7", rv: "17.0.2.7" }

but it seems to be selecting the first one 17.0.1.7 for ^17, rather than 17.0.10.6.

as an aside, should strip: and transform: be mutually exclusive? it looks like they're handled transform > strip, which surprised me, but there's no real reason it should have. as long as version.tag is still preserved, all should be fine. 🤞

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions