-
Notifications
You must be signed in to change notification settings - Fork 1
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
CONSIDER having attach-and-watch install platforms if needed #62
Comments
In this case what you are seeing being auto-installed are the just the internal tools |
That makes sense, and it's no big deal for sure. The status quo does have
some arguments in favor:
The status quo does mirror other similar systems. (Some do auto-install,
like npx, but that's a bit of an outlier; "npm run" does require "npm
install" for example.)
The status quo keeps the operation local only (at least as far as ardi is
concerned) so when you're flashing arduinos on an airplane flight*, it
doesn't surprise you by trying to download something. (Though I gather
arduino-cli will assume it has network available as needed?)
* I may or may not have done this. Recommended only when everyone in your
line of sight knows you!
…On Sat, Jul 10, 2021, 10:15 PM Rob Gonnella ***@***.***> wrote:
In this case what you are seeing being auto-installed are the just the
internal tools arduino-cli uses for auto-discovery, and the index files
for platforms and libraries. This is out of the control of ardi as it's
managed by arduino-cli; however, I've noticed that arduino-cli does not
re-download the tools if they already exist in the data directory. As for
user defined project platforms and libraries, I'd rather keep it simple for
now and let the user run install when needed. I'll keep this issue open
though as I may revisit this later.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACEKC6QAIF5WHS4NWRBAUDTXESFNANCNFSM475PES6A>
.
|
Ha!! I bet that got a look or two from flight attendants! |
Running
ardi attach-and-watch
seems to install libraries if needed, but if a platform isn't installed, there's an error:Of course this is trivially remedied with a run of
ardi install
but it would be nifty forattach-and-watch
to just Do The Sensible Thing on a machine that hadn't previously been install-ed.(Of course, it should avoid pinging the network if things are installed, because it might be used offline.)
The text was updated successfully, but these errors were encountered: