Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support tools that don't have versions #2133

Open
suzuki-shunsuke opened this issue Jul 26, 2023 · 0 comments
Open

Support tools that don't have versions #2133

suzuki-shunsuke opened this issue Jul 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@suzuki-shunsuke
Copy link
Member

Feature Overview

This issue came from here.

Support tools that don't have versions.

Why is the feature needed?

Some tools doesn't have versions.

For example, trunk is expected to install a wrapper script in PATH, but this script doesn't have versions.

https://get.trunk.io

aqua assumes that packages have versions for now, so aqua doesn't support these tools officially.
Of course you can install these tools by custom Registries, but standard Registry doesn't accept these tools.

The issue of these tools is that even if these tools are updated aqua can't update them.
We also consider the checksum verification.

How to reproduce the issue

No response

Workaround

There are two workarounds.

  1. Install these tools by custom Registries
  2. Install these tools outside of aqua

Custom Registries require Policy, so it's a little bothersome.

2 is the recommendation way for now, but I understand users aren't satisfied.
It's ideal to manage tools by aqua as much as possible.

Example Code

packages:
  - type: http
    name: trunk-io/cli-wrapper
    url: https://get.trunk.io
    versioning: false # New field
    format: raw
    files:
      - name: trunk
    supported_envs:
      - darwin
      - amd64

Added a new filed versioning, but I'm not sure if this field is really necessary.

Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant