Skip to content

client: Verify and fix the version comparison done for metadata files #218

@rdimitrov

Description

@rdimitrov

Description:

  • Verify the usage of “less than vs less than or equal to” done for version comparison throughout the code
  • The confusion comes that the spec uses the same text in multiple scenarios that are not the same
  • Meta versions can be equal, but metadata versions probably should not be. For everything other than timestamp, it does not matter. For timestamp, spec always expects to download the latest and use that.
  • For example, it’s normal for the timestamp version to change but still points to the same snapshot version.
  • Note that fixing this implies a change in the specification too.

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