The Wayback Machine - https://web.archive.org/web/20211118005158/https://github.com/arduino/arduino-cli/pull/1537
Skip to content
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

Remove hardcoded builtin tools #1537

Merged
merged 1 commit into from Nov 5, 2021
Merged

Conversation

@silvanocerza
Copy link
Contributor

@silvanocerza silvanocerza commented Nov 4, 2021

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • What kind of change does this PR introduce?

Removes hardcoded builtin package and its tools.

  • What is the current behavior?

Certain tools like ctags, serial-discovery and mdns-discovery belong to the builtin package, that package doesn't exist in the Arduino package_index.json but is hardcoded in the arduino-cli.

Whenever we need to update one of these tools we must create a new release of the Arduino CLI, that's annoying for everyone.

  • What is the new behavior?

builtin package is not hardcoded anymore, the Arduino CLI will assume the package is always present and install all its tools latest releases whenever an internal instance is initialized.

The builtin package will be added in the Arduino package_index.json.

Nope.

  • Other information:

Before merging this we'll have to add the builtin package in the Arduino package_index.json.


See how to contribute

cmaglie
cmaglie approved these changes Nov 5, 2021
@silvanocerza silvanocerza merged commit 8cae880 into master Nov 5, 2021
236 checks passed
Loading
@silvanocerza silvanocerza deleted the scerza/builtin-tools-removal branch Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment