Skip to content

DXE-5074 Installation of 3rd Party commands no longer possible #205

@netzding

Description

@netzding

I just noticed that it is no longer possible to install 3rd party commands like e.g. https://github.com/aalquist/cli-query:

# AKAMAI_CLI_LOG_PATH=/dev/stdout AKAMAI_LOG=debug akamai install https://github.com/aalquist/cli-query.git
[2025-05-02T11:36:08+02:00] DEBUG INSTALL START             command=install
[2025-05-02T11:36:08+02:00] DEBUG Installing package from repository: https://github.com/aalquist/cli-query.git command=install
Attempting to fetch package configuration from https://github.com/aalquist/cli-query.git... [FAIL]
[2025-05-02T11:36:08+02:00] ERROR Failed to read package from github: invalid response status while fetching cli.json: 404 command=install
invalid response status while fetching cli.json: 404
[2025-05-02T11:36:08+02:00] ERROR Error installing package: Package is not available. Supported packages can be found here: https://techdocs.akamai.com/home/page/products-tools-a-z command=install
[2025-05-02T11:36:08+02:00] ERROR INSTALL ERROR: Package is not available. Supported packages can be found here: https://techdocs.akamai.com/home/page/products-tools-a-z command=install

I identified the following line which I suspect to hardcode the git repo lookup to just the akamai github project:
https://github.com/akamai/cli/blob/5f98b044e6e1b4a8cb9b5d566790e2b68f783bb0/pkg/commands/command_install.go#L40C1-L40C86

Is this intentional or is there an alternative way to install the cli-query command

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