-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Proposal: selector for applications to be installed #441
Comments
Thank you for your proposal. |
I ran into this with trying to use with github actions. I want to pass it |
Even if Or as a workaround, you can rename $ mv aqua.ci.yaml aqua.yaml
If Lazy Install has an issue, please create a new issue. |
I've designed the specification based on your proposal.
And I've created the pull request. #1336 Noteaqua should be simple, so we should be careful to add features, especially adding command line options and fields in SpecificationAdd the optional field e.g. ---
registries:
- type: standard
ref: v3.79.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: suzuki-shunsuke/[email protected]
tags:
- test
- foo
- name: suzuki-shunsuke/[email protected]
- name: cli/[email protected]
tags:
- bar
- foo And add the following command line options to the commands
$ aqua i # Install suzuki-shunsuke/[email protected]
$ aqua i -t test # Install suzuki-shunsuke/[email protected]
$ aqua i --ignore-tags # Install suzuki-shunsuke/[email protected] and suzuki-shunsuke/[email protected] and cli/[email protected]
$ aqua i -t foo,bar # Install suzuki-shunsuke/[email protected] and cli/[email protected]
$ aqua i --exclude-tags test # Install suzuki-shunsuke/[email protected] and cli/[email protected]
$ aqua i --exclude-tags test -t foo # Install cli/[email protected] Note that symbolic links of all packages are created regardless tags, so that you can execute all tools by Lazy Install and assure that tools are managed by aqua. |
@sheldonhull @uesyn Sorry to bother you, but do you have any opinion to the proposal? #441 (comment) Thanks |
Your proporsal is exactly what I have wanted! I think |
I'm excited to try this. It will be at least 1 week minimum before I can try the prerelease. I am thankful for your effort on this and will definitely get back to you regardless. I'm leveraging aqua as the setup for my go tooling in github actions so this will cut down the wasted installs and simplify things greatly. I need to write up a blog post on hours I'm using with devcontainers and chezmoi. I can setup my full dev environment from scratch now in a min or so. so much better and easier to contribute to than asdf. Even if the yaml gets big I can see this scaling. Only a few minor things remaining and I'd say it's a near flawless experience 🥂 |
Sorry for late reply.
Thank you for your feedback.
SpecificationAdd the optional field e.g. ---
registries:
- type: standard
ref: v3.79.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: suzuki-shunsuke/[email protected]
tags:
- test
- foo
- name: suzuki-shunsuke/[email protected]
- name: cli/[email protected]
tags:
- bar
- foo And add the following command line options to the commands
$ aqua i # Install suzuki-shunsuke/[email protected] and suzuki-shunsuke/[email protected] and cli/[email protected]
$ aqua i -t test # Install suzuki-shunsuke/[email protected]
$ aqua i -t foo,bar # Install suzuki-shunsuke/[email protected] and cli/[email protected]
$ aqua i --exclude-tags test # Install suzuki-shunsuke/[email protected] and cli/[email protected]
$ aqua i --exclude-tags test -t foo # Install cli/[email protected] Note that symbolic links of all packages are created regardless tags, so that you can execute all tools by Lazy Install and assure that tools are managed by aqua. |
Thank you. I'm looking forward to your feedback and blog post! |
Published the prerelease version v1.22.0-1. |
Thank you! |
Document: aquaproj/aquaproj.github.io#203 TODO: Add the description.
|
I'll release this feature this week (Tuesday or Wednesday). |
Released. https://github.com/aquaproj/aqua/releases/tag/v1.23.0 |
Published the document. https://aquaproj.github.io/docs/tutorial-extras/package-tag I'll really appreciate if you share your usecase and how you use this feature for other users. |
I use aqua to bootstrap my deveopment environment which be cleaned up periodically.
I don't want take a time to bootstrap, so I install applications in advance which I want to use them immediately, but I install the others lazily.
To achieve this, I have two
aqua.yaml
files, one is to be used to install in advance, another is to be used to install lazily.Then, I use AQUA_GLOBAL_CONFIG to merge them.
If aqua would be able to select applications to be installed, I can manage applications in one configuration file, and I don't have to use AQUA_GLOBAL_CONFIG to merge it.
However, I also understand that this is not a common situation.
So, If there are a lot of usecases to select applications to install like I do, I would like you to consider it.
In this Issue, I would like to collect many such use cases.
The text was updated successfully, but these errors were encountered: