Comments (6)
I'm also facing this issue.
Interestingly if I set always_keep_download = yes
it doesn't complain, so I think the flag check is botched and does the reverse of what it actually should.
from asdf.
Warning was introduced in this commit but I guess condition is incorrect, it's triggered when both always_keep_download
in .asdfrc
isn't set to yes
and --keep-download
isn't provided, together with download directory missing.
from asdf.
@Mellbourn Hello there! 👋
I also have this issue, I am not using a .asdfrc
but rather a .tool-versions
and I am getting this warning on CI only, from the action asdf-vm/actions/install@v2
. I guess it could be related.
Will the PR be merged "soon" ? 😅
from asdf.
Looking at the current code, it does indeed look like the test is "reversed", but in the sense that the existing test needed to be inverted (and the clauses rearranged) in 19515ed, but wasn't. Probably just a simple brain fart. 🙂
asdf/lib/functions/installs.bash
Lines 237 to 246 in ccdd47d
Basically, the current logic is "if not should-keep, (if exists, delete, else, warn)" but needs to be "if should-keep, (if not exists, warn), else (if exists, delete)". I just put together PR #1756, which should hopefully fix things.
from asdf.
I've also faced this issue after adding the zsh-adf-direnv plugin for zsh. It is the same message and it showed up the first time I ran terminal after installing it, but I've managed to install sqlite (which is what I wanted to install with asdf) through asdf without the message and it didn't show up the next times I opened terminal.
Environment:
OS: Pop!_OS 22.04 LTS x86_64
Shell: zsh 5.8.1
BASH version: 5.1.16(1)-release
asdf version: v0.14.0-ccdd47d
from asdf.
I also experience this behaviour with asdf v0.14.0-ccdd47d.
from asdf.
Related Issues (20)
- Allow running tools from one another without passing `ASDF_DATA_DIR` around
- Add the ability to track which versions are in use HOT 1
- bug: The terminal in VS Code cannot find the ruby version installed by asdf (again) HOT 2
- bug: tool installed in global nodejs are not available in project with a different nodejs version HOT 3
- It is recommended to add a -g parameter to the install command.
- The startup guide doesn't mention how to set the PATH HOT 1
- bug: Sporadic X Plugin Not Installed Errors - ASDF Install
- bug: `No version is set for command shasum` on Mac
- Support version requirements in tool-versions
- bug: ASDF_DEFAULT_TOOL_VERSIONS_FILENAME env variable works so wired HOT 1
- Add command line flag that prevents `asdf install` from ascending to parent directories
- bug: AUR package wants to use python but does not find any preset version
- bug: ASDF_DEBUG: unbound variable HOT 1
- bug: No times executable found for ruby 3.3.0 HOT 3
- Install should have `--local` and `--global` optional flags
- Completion that supports split subcommands(plugin-add -> plugin add)
- Better version management HOT 1
- bug: always_keep_download has a wrong warning logic HOT 2
- Print a line mentioning what plugin/version is currently being installed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asdf.