Skip to content

assertOldVersionOn/assertNotUpdatedOn can't handle computed versions #539

Description

@lunagl

This check performs a simple string match against the target branch version of the changed file to detect whether the the package is not already updated.

Unfortunately, this fails as soon as the file does not contain the entire version string verbatim, seen for example with buck2 (log).
Here, the final version is computed by prepending unstable- to the version number stored in hashes.json. Therefore nixpkgs-update fails to find the combined version string in hashes.json and does not update the package.

Similar to #346

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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