Skip to content

wheels packages install command does not install packages and conflicts with documentation #2610

@zainforbjs

Description

@zainforbjs

Describe the bug

Using the command:

wheels packages install <package-name>

always results in the following error:

No git or extension dependencies to install
Image

However, the command:

wheels packages add <package-name>

works correctly and installs the package successfully.


Documentation inconsistency

There are currently two different documentation sources describing package installation using different commands:

wheels packages install

Documentation:
https://packages.wheels.dev/

wheels packages add

Documentation:
https://guides.wheels.dev/v4-0-0-snapshot/digging-deeper/packages/

The issue is that:

  • install is documented as the installation command
  • but install does not actually install packages
  • while add performs the expected installation behavior

To Reproduce

Steps to reproduce the behavior:

  1. Run:
wheels packages install <package-name>
  1. Observe the error:
No git or extension dependencies to install
  1. Run:
wheels packages add <package-name>
  1. Observe that:
    • package installs successfully
    • package is downloaded correctly

Expected behavior

The command:

wheels packages install <package-name>

should:

  • download and install the package
  • place it in the expected vendor/package-name location
  • behave as documented

OR

The documentation should clearly indicate that add is the correct command to use.


Actual behavior

  • install command does not install packages
  • unrelated dependency message is shown
  • add performs the actual installation behavior instead

Related Links


Desktop

  • OS: Any
  • Wheels CLI Version: 4.0-SNAPSHOT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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