Skip to content

Repository Modules version behavior #10

Open

Description

@Jaykul

The repository modules need to be updated before #9 can be done.

Each FindModule should have:
-MinimumVersion aliased to Version for compatibility with Import-Module
-RequiredVersion

Note: RequiredVersion is the parameter we have now (it won't find or download versions which are newer, which is a bug).

This will require writing greater than or equals tests in the repositories. Note that for OData-based repositories (the NuGet module) we have to not add the version to the $filters, and instead filter the results afterward (because OData can't do version math, as far as I can tell).

These must work flawlessly:

  • NuGet
  • File (same parsing code as NuGet)
  • Folder

The GitHub repo is rather broken at the moment. I'd consider it abandonware for now. If we can fix it later we will, but it currently ignores the version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions