Skip to content

Enhancements to version listing in dpm #11

@dasormeter

Description

@dasormeter

Principles

  • Should always show what is installed first
  • Coloring is not sufficient to distinguish installed/uninstalled due to people who are color blind.
  • Have a separate section that lists "Available versions to install"
  • Order by semantic version

Out of scope

How to handle "active" version, particularly for the cases

  • When running dpm outside of the context of a particular project
  • When using DPM_SDK_VERSION env var override
  • When there is no sdk version defined your project file

Possible Solutions

Listing of all installed versions (unchanged)

> dpm versions
   3.4.0-rc2
   3.4.7
 * 3.4.8

Listing of installed -- and available but not yet installed -- at once

> dpm versions --all
(installed)
   3.4.0-rc2
   3.4.7
 * 3.4.8

(available)
   3.4.4
   3.4.5
   3.4.6
   3.4.9

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