-
-
Notifications
You must be signed in to change notification settings - Fork 398
fix core list --all
sometimes crashing
#1519
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
Conversation
Apparently the problem is still present when using indexes not perfectly compliant with specs (e.g. https://raw.githubusercontent.com/keyboardio/ArduinoCore-GD32-Keyboardio/main/package_gd32_index.json) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Umberto!
0a47106
to
9c4c0c9
Compare
9c4c0c9
to
36567b4
Compare
Please check if the PR fulfills these requirements
before creating one)
our contributing guidelines
UPGRADING.md
has been updated with a migration guide (for breaking changes)bug fix
I discovered that sometimes some residue can be left behind, after a
core uninstall
, for example:tree ~/.arduino15/packages/ /home/umberto/.arduino15/packages/ ├── attiny │ └── hardware │ └── avr
The package manager tries to load it as a package and this results in a dirty environment, which causes the cli to crash when running
core list --all
further details in #1434
a package with empty tools and platform is now not considered by the package manager
closes #1434
titled accordingly?
nope
See how to contribute