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 formatting package versions (e.g. trim prefix) #1341

Open
suzuki-shunsuke opened this issue Oct 24, 2022 · 0 comments
Open

Support formatting package versions (e.g. trim prefix) #1341

suzuki-shunsuke opened this issue Oct 24, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@suzuki-shunsuke
Copy link
Member

Feature Overview

Support formatting the package versions.

For example, trim the prefix kustomize/ from kubernetes-sigs/kustomize version.

AS IS

- name: kubernetes-sigs/kustomize@kustomize/v4.5.7

TO BE

- name: kubernetes-sigs/kustomize@v4.5.7

Even if a repository has multiple types of assets, we can (should) distinguish them by package name, so we can format the version string.

We have to consider Renovate configuration.

https://github.com/aquaproj/aqua-renovate-config/blob/e4f1e791eb56a11dda3335ef94d07b9fa7152761/default.json#L87-L96

And we have to consider the compatibility. We have to support old version string.

Why is the feature needed?

Please explain the problem you want to solve.

aquaproj/aqua-registry#7317 (comment)

Does the feature include Breaking Changes?

Example Code

command and configuration

$ aqua g kubernetes-sigs/kustomize
- name: kubernetes-sigs/kustomize@v4.5.7

registry.yaml

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