-
-
Notifications
You must be signed in to change notification settings - Fork 390
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
GetPlatform
called via gRPC does not force to update the indices
#1529
Labels
topic: code
Related to content of the project itself
topic: gRPC
Related to the gRPC interface
type: enhancement
Proposed improvement
Milestone
Comments
During the init i do get an error about missing index (but just ignore it):
|
Clean |
per1234
added
topic: code
Related to content of the project itself
topic: gRPC
Related to the gRPC interface
type: imperfection
Perceived defect in any part of project
labels
Nov 19, 2021
|
umbynos
added
type: enhancement
Proposed improvement
and removed
type: imperfection
Perceived defect in any part of project
labels
Feb 2, 2023
6 tasks
cmaglie
added a commit
to cmaglie/arduino-cli
that referenced
this issue
Mar 23, 2023
6 tasks
cmaglie
added a commit
to cmaglie/arduino-cli
that referenced
this issue
Apr 14, 2023
cmaglie
added a commit
to cmaglie/arduino-cli
that referenced
this issue
May 12, 2023
cmaglie
added a commit
to cmaglie/arduino-cli
that referenced
this issue
Jun 16, 2023
cmaglie
added a commit
that referenced
this issue
Jun 16, 2023
* Created core.PlatformList implementaion follow gRPC naming Previously it was named GetPlatforms with a different return type than the one defined in gRPC API .proto files. * Added test for #1529 * Perform first-update automatically in gRPC Init * Made cli.instance.Create function private * Extract function to compute index file name * Auto-download 3rd party indexes as part of the Init
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
topic: gRPC
Related to the gRPC interface
type: enhancement
Proposed improvement
Bug Report
Current behavior
Call
GetPlatform
withall=true
on a clean system does not force to update the indices.Expected behavior
It forces the update (exactly as it's done if calling via command-line
core list --all
Environment
arduino-cli version
): 0.19.2 commit 6a6f50aeAdditional context
Looking into the source code i can't see any difference except missing
instance.CreateAndInit()
call.In my case i do call create + init requests before requesting the subscriptions.
PS. Using custom
data
path in config file (not sure if it makes a difference)The text was updated successfully, but these errors were encountered: