-
-
Notifications
You must be signed in to change notification settings - Fork 122
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 marler8997/zigup #9473
Conversation
[marler8997/zigup](https://github.com/marler8997/zigup): Download and manage zig compilers ```console $ aqua g -i marler8997/zigup ``` ## How to confirm if this package works well Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well. Please confirm if this package works well yourself as much as possible. Command and output ```console $ ``` If files such as configuration file are needed, please share them. ``` ``` Reference -
Thank you for your contribution! |
Hmm. $ zigup master
install directory '/Users/shunsukesuzuki/zig'
mkdir '/Users/shunsukesuzuki/zig'
rm -rf '/Users/shunsukesuzuki/zig/0.11.0-dev.1481+4c1168418.installing'
mkdir '/Users/shunsukesuzuki/zig/0.11.0-dev.1481+4c1168418.installing'
downloading 'https://ziglang.org/builds/zig-macos-aarch64-0.11.0-dev.1481+4c1168418.tar.xz' to '/Users/shunsukesuzuki/zig/0.11.0-dev.1481+4c1168418.installing/zig-macos-aarch64-0.11.0-dev.1481+4c1168418.tar.xz'
[RUN] tar xf /Users/shunsukesuzuki/zig/0.11.0-dev.1481+4c1168418.installing/zig-macos-aarch64-0.11.0-dev.1481+4c1168418.tar.xz -C /Users/shunsukesuzuki/zig/0.11.0-dev.1481+4c1168418.installing
rm -rf '/Users/shunsukesuzuki/zig/0.11.0-dev.1481+4c1168418.installing/zig-macos-aarch64-0.11.0-dev.1481+4c1168418.tar.xz'
mv '/Users/shunsukesuzuki/zig/0.11.0-dev.1481+4c1168418.installing/zig-macos-aarch64-0.11.0-dev.1481+4c1168418' '/Users/shunsukesuzuki/zig/0.11.0-dev.1481+4c1168418.installing/files'
mv '/Users/shunsukesuzuki/zig/0.11.0-dev.1481+4c1168418.installing' '/Users/shunsukesuzuki/zig/0.11.0-dev.1481+4c1168418'
ln -s '0.11.0-dev.1481+4c1168418' '/Users/shunsukesuzuki/zig/master'
error: path-link '/Users/shunsukesuzuki/.local/share/aquaproj-aqua/pkgs/github_release/github.com/marler8997/zigup/v2022_08_25/zigup.macos-latest-aarch64.zip/zig' is lower priority in PATH than '/Users/shunsukesuzuki/.local/share/aquaproj-aqua/bin/zig'
$ echo $?
1
|
Thank you for modifying my PR. |
Thank you. I removed zig then another error occured. $ rm /Users/shunsukesuzuki/.local/share/aquaproj-aqua/bin/zig
$ zigup master
install directory '/Users/shunsukesuzuki/zig'
mkdir '/Users/shunsukesuzuki/zig'
compiler '/Users/shunsukesuzuki/zig/0.11.0-dev.1499+23b7d2889' already installed
symlink '/Users/shunsukesuzuki/zig/master' already points to '0.11.0-dev.1499+23b7d2889'
error: the path link '/Users/shunsukesuzuki/.local/share/aquaproj-aqua/pkgs/github_release/github.com/marler8997/zigup/v2022_08_25/zigup.macos-latest-aarch64.zip/zig' is not in PATH --
$ tree /Users/shunsukesuzuki/.local/share/aquaproj-aqua/pkgs/github_release/github.com/marler8997/zigup/v2022_08_25/zigup.macos-latest-aarch64.zip
/Users/shunsukesuzuki/.local/share/aquaproj-aqua/pkgs/github_release/github.com/marler8997/zigup/v2022_08_25/zigup.macos-latest-aarch64.zip
└── zigup |
The error can be reproduced even if zigup is run directly without aqua. $ /Users/shunsukesuzuki/.local/share/aquaproj-aqua/pkgs/github_release/github.com/marler8997/zigup/v2022_08_25/zigup.macos-latest-aarch64.zip/zigup master
install directory '/Users/shunsukesuzuki/zig'
mkdir '/Users/shunsukesuzuki/zig'
compiler '/Users/shunsukesuzuki/zig/0.11.0-dev.1499+23b7d2889' already installed
symlink '/Users/shunsukesuzuki/zig/master' already points to '0.11.0-dev.1499+23b7d2889'
error: the path link '/Users/shunsukesuzuki/.local/share/aquaproj-aqua/pkgs/github_release/github.com/marler8997/zigup/v2022_08_25/zigup.macos-latest-aarch64.zip/zig' is not in PATH This error occurs if the executable binary |
Hmm. Probably aqua can't support zigup, because the executable binary aqua doesn't install executable binaries in PATH, because aqua has to change tool versions dynamically. |
@suzuki-shunsuke |
marler8997/zigup: Download and manage zig compilers
$ aqua g -i marler8997/zigup
How to confirm if this package works well
Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well. Please confirm if this package works well yourself as much as possible.
Command and output
$ zigup master
If files such as configuration file are needed, please share them.
Reference