You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve the behavior when packages' latest versions can't be gotten.
Why is the feature needed?
Currently, aqua g -i sets the string [SET PACKAGE VERSION] when aqua can't get packages' latest versions.
And aqua doesn't treat the version [SET PACKAGE VERSION] as special,
so it fails to install packages.
This behavior confused users.
aqua sets the string [SET PACKAGE VERSION] instead of keeping the version empty in order to realize users that they need to fix versions. So this is not so wrong.
But I think aqua should output the warning and ignore packages whose versions are [SET PACKAGE VERSION].
We decided aqua didn't treat [SET PACKAGE VERSION] as special because maybe [SET PACKAGE VERSION] was correct.
But I rethink it isn't realistic that [SET PACKAGE VERSION] may be correct.
$ aqua iINFO[0000] download and unarchive the package aqua_version=2.15.0 env=darwin/arm64 package_name=cli/cli package_version=v2.37.0 program=aqua registry=standardINFO[0000] download and unarchive the package aqua_version=2.15.0 env=darwin/arm64 package_name=michidk/vscli package_version="[SET PACKAGE VERSION]" program=aqua registry=standardERRO[0000] install the package aqua_version=2.15.0 env=darwin/arm64 error="get the GitHub Release by Tag: GET https://api.github.com/repos/michidk/vscli/releases/tags/%5BSET%20PACKAGE%20VERSION%5D: 404 Not Found []" package_name=michidk/vscli package_version="[SET PACKAGE VERSION]" program=aqua registry=standardDownloading cli/cli v2.37.0 100% |██████████████████████████████████████████████████████████████████| (10/10 MB, 28 MB/s) FATA[0001] aqua failed aqua_version=2.15.0 env=darwin/arm64 error="it failed to install some packages" program=aqua
Workaround
No response
Example Code
No response
Reference
No response
The text was updated successfully, but these errors were encountered:
Feature Overview
Improve the behavior when packages' latest versions can't be gotten.
Why is the feature needed?
Currently,
aqua g -i
sets the string[SET PACKAGE VERSION]
when aqua can't get packages' latest versions.And aqua doesn't treat the version
[SET PACKAGE VERSION]
as special,so it fails to install packages.
This behavior confused users.
aqua sets the string
[SET PACKAGE VERSION]
instead of keeping the version empty in order to realize users that they need to fix versions. So this is not so wrong.But I think aqua should output the warning and ignore packages whose versions are
[SET PACKAGE VERSION]
.We decided aqua didn't treat
[SET PACKAGE VERSION]
as special because maybe[SET PACKAGE VERSION]
was correct.But I rethink it isn't realistic that
[SET PACKAGE VERSION]
may be correct.How to reproduce the issue
aqua info
requiresaqua >= v2.10.0
.aqua.yaml
Command and output.
Workaround
No response
Example Code
No response
Reference
No response
The text was updated successfully, but these errors were encountered: