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

feat: Use Arduino CLI v1.1.1 #2576

Merged
merged 2 commits into from
Nov 27, 2024
Merged

feat: Use Arduino CLI v1.1.1 #2576

merged 2 commits into from
Nov 27, 2024

Conversation

giacomocusinato
Copy link
Collaborator

@giacomocusinato giacomocusinato commented Nov 22, 2024

Motivation

  • Use Arduino CLI v1.1.1
  • Use arduino_cli_{version}_proto.zip to generate CLI binding for official releases

Change description

Since arduino/arduino-cli#2673 google profile have been removed from source so the generation script is now fetching proto files from the arduino_cli_{version}_proto.zip file generated for every release as it includes the google proto files, see arduino/arduino-cli#2761

Fetching protos from source is still used if a specific commitsh is provided or is CLI version is 1.1.0, see arduino/arduino-cli#2755
In this case, google proto are fetched separately from arduino_cli_1.1.1_proto.zip and copied to the source folder.

Other information

Reviewer checklist

  • PR addresses a single concern.
  • The PR has no duplicates (please search among the Pull Requests before creating one)
  • PR title and description are properly filled.
  • Docs have been added / updated (for bug fixes / features)

…_{version}_proto.zip`

- Use the CLI release proto.zip to get proto files for production versions of CLI
- Extract the proto files from repo if CLI version is declared as `commitsh` or version is 1.1.0

See arduino/arduino-cli#2761
@giacomocusinato giacomocusinato added type: enhancement Proposed improvement topic: CLI Related to Arduino CLI labels Nov 22, 2024
@giacomocusinato giacomocusinato merged commit de26569 into main Nov 27, 2024
44 checks passed
@giacomocusinato giacomocusinato deleted the use-cli-1.1.1 branch November 27, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: CLI Related to Arduino CLI type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants