Skip to content

Add user-agent property to gRPC client #790

Closed
@cmaglie

Description

@cmaglie

Is your feature request related to a problem? Please describe.
This feature request is related to this new feature of the arduno-cli: arduino/arduino-cli#1640
arduino-cli now passes a new ARDUINO_USER_AGENT env variable to all the tools used to compile and upload. In particular, while running as a daemon arduino-cli will pass also the name of the client using the daemon instance (in our case it will be ArduinoIDE), for example:

ARDUINO_USER_AGENT=arduino-cli/0.21.0 ArduinoIDE/2.0.0-rc3

Describe the solution you'd like
Since gRPC already supports passing the user-agent, I'd like this option to be set to ArduinoIDE/<version>, like ArudinoIDE/2.0.0-rc3

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions