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

feat: add iamhsa/pkenv #20287

Merged
merged 1 commit into from
Feb 23, 2024
Merged

feat: add iamhsa/pkenv #20287

merged 1 commit into from
Feb 23, 2024

Conversation

suzuki-shunsuke
Copy link
Member

@suzuki-shunsuke suzuki-shunsuke commented Feb 23, 2024

iamhsa/pkenv: Packer version manager

$ aqua g -i iamhsa/pkenv

⚠️ Note

If you install Packer with pkenv managed by aqua, the directory where Packer is installed is different by pkenv version.
For example, if you install Packer with pkenv 0.5.0 and upgrade pkenv to 0.5.3, you need to install Packer again.

Install Packer 1.10.1 with pkenv 0.5.0.

$ aqua which -v pkenv
0.5.0

$ pkenv install 1.10.1
$ pkenv list          
* 1.10.1 (set by /Users/shunsukesuzuki/.local/share/aquaproj-aqua/pkgs/github_archive/github.com/iamhsa/pkenv/0.5.0/pkenv-0.5.0/version)

Upgrade pkenv to 0.5.3.

$ aqua up pkenv@0.5.3
INFO[0000] updating a package                            aqua_version=2.23.1 env=darwin/arm64 new_version=0.5.3 old_version=0.5.0 package_name=iamhsa/pkenv program=aqua

$ aqua which -v pkenv 
0.5.3

Then Packer installed with pkenv 0.5.0 is unavailable.

$ pkenv list
pkenv: pkenv-list: [ERROR] No versions available. Please install one with: pkenv install

pkenv seems not to be maintained actively.
The last release is about three years ago, so I think there is no problem at the moment.

💡 You can install Packer with aqua too

JFYI

aqua g -i hashicorp/packer

[iamhsa/pkenv](https://github.com/iamhsa/pkenv): Packer version manager
@suzuki-shunsuke suzuki-shunsuke merged commit 92b2cf4 into main Feb 23, 2024
19 checks passed
@suzuki-shunsuke suzuki-shunsuke deleted the feat/iamhsa/pkenv branch February 23, 2024 23:08
@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Feb 23, 2024
@suzuki-shunsuke suzuki-shunsuke linked an issue Feb 23, 2024 that may be closed by this pull request
@suzuki-shunsuke suzuki-shunsuke added this to the v4.140.1 milestone Feb 23, 2024
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
None yet
Development

Successfully merging this pull request may close these issues.

Add iamhsa/pkenv
2 participants