Skip to content

ModuleFast adds trailing zeros to version numbers #3

Closed

Description

@o-l-a-v

Reproduce

Install SetBIOS which in PowerShellGallery has version 1.0.

What happens

ModuleFast creates a folder 1.0.0, instead of 1.0.

This is a problem because

  • ModuleFast installs duplicate on top of what is already installed by PowerShellGet or PackageManagement.
  • Sorting on [System.Version], 1.0.0 counts as newer/higher than 1.0.

Expected behavior

ModuleFast does not modify version number from PowerShellGallery.

Screenshot

image

First folder 1.0 was installed by PackageManagement\Save-Package, 1.0.0 was installed using ModuleFast.

Activity

  1. JustinGrote commented on Apr 20, 2023

    @JustinGrote
    Owner

    @o-l-a-v sorry for the delay, I observed this too. It has to do with the very complicated logic we need to do to reconcile both the legacy .NET version syntax and the new semantic versioning syntax.

  2. self-assigned this
    on Apr 20, 2023
  3. JustinGrote commented on Dec 15, 2023

    @JustinGrote
    Owner

    Should be fixed by #11

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions