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

[skip-changelog] Use LoadSketch in upload function and return rpc.Port in GetPort #2297

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

MatteoPologruto
Copy link
Contributor

@MatteoPologruto MatteoPologruto commented Sep 6, 2023

Please check if the PR fulfills these requirements

See how to contribute

  • 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)
  • configuration.schema.json updated if new parameters are added.

What kind of change does this PR introduce?

No changes, the gRPC interface is used to avoid accessing arduino package directly.

Does this PR introduce a breaking change, and is titled accordingly?

No

Other information

Related to #1948

@MatteoPologruto MatteoPologruto added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Sep 6, 2023
@MatteoPologruto MatteoPologruto self-assigned this Sep 6, 2023
@MatteoPologruto MatteoPologruto merged commit d106a67 into arduino:master Sep 6, 2023
91 checks passed
@MatteoPologruto MatteoPologruto deleted the return-rpc-port branch September 6, 2023 09:55
cmaglie pushed a commit to cmaglie/arduino-cli that referenced this pull request Sep 8, 2023
…Port` in `GetPort` (arduino#2297)

* Change GetPort's returned type to rpc.Port

* Use LoadSketch in runUploadCommand
cmaglie added a commit that referenced this pull request Sep 11, 2023
…#2304 (#2305)

* Add support for default build profile (#2203)

* Add support for default profile to compile command

* Add support for default profiles to upload command

* Add TestCompileWithDefaultProfile to integration tests

* Get the profile's FQBN if it's not already specified in the request

* Update documentation regarding sketch projects

* Added integration tests for all default_profile cases

* Reverted old sketch_with_profile test

---------

Co-authored-by: Cristian Maglie <[email protected]>

* [skip-changelog] Use `LoadSketch` in upload function and return `rpc.Port` in `GetPort` (#2297)

* Change GetPort's returned type to rpc.Port

* Use LoadSketch in runUploadCommand

---------

Co-authored-by: MatteoPologruto <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants