Commit ec027a7
Add support for Pluggable Discoveries (#1333)
* [skip changelog] Add DiscoveryManager to PackageManager
* Add loading of PluggableDiscoveries when loading a platform release
* Added compatibility layer for non-pluggable platforms
* Implemented board list with discoveries
* Implemented discovery loading after initialization
* Implemented board watch with discoveries
* Fix load discoveries tests
* Fix some issues with board list watcher
* Fix FindToolsRequiredFromPlatformRelease not returning discoveries
* Enhanced handling of some discoveries states
* Fix PackageManager reset
* Add function to convert discovery.Port to rpc.Port
* Moved reference argument parsing to new package
* Fix functions docstrings
* Remove duplicated code to initialize Sketch path
* Add property conversion for platform not supporting pluggable discovery
* Fix board list watch not working
* Fix crash when converting Port to rpc struct
* Add generic Port argument
* Change gRPC upload functions to use new Port message
* Add support for upload user fields
* Fix upload unit tests
* Fix code naming issues
* Added builtin:mdns-discovery
* Do not panic if discovery tool is not installed
* Implemented port/protocol detection at CLI startup time
* Perform 1200bps-touch only on serial ports
* Added missing properties for pluggable upload
* Correctly implemented 'board list' timeout option
* Updated mdns-discovery to 0.9.2
* Add documentation
* Add board properties to board list command and gRPC function
* Fix documentation and code comments
Co-authored-by: per1234 <accounts@perglass.com>
* Fix crash when attempting upload without specifying port address
* Fix unit tests
* Update go-properties-orderedmap to fix discovery properties issues
* Fix more documentation
Co-authored-by: per1234 <accounts@perglass.com>
* Clarify pluggable discovery specification
* More documentation fixes
* Add upload_port properties docs in platform specification
* Change links from pluggable discovery RFC to official docs
* Add more upload mock integration tests
* Fix integration tests
* Change property to declare pluggable discoveries
* Change property to declare pluggable discoveries
* Fix documentation
Co-authored-by: per1234 <accounts@perglass.com>
* Fix loading of platform not supporting pluggable discovery
* Fix more documentation
Co-authored-by: per1234 <accounts@perglass.com>
* Add pluggable discovery states documentation
* Enhanced handling of pluggable discoveries states
* Discoveries processes are now killed if the HELLO command fails
* Add pluggable discovery logging
* Enhanced handling of failing pluggable discoveries
* Fix pluggable discoveries parallelization
* Discoveries event channels are now created when start sync is called
* Cached ports are now reset on discovery stop
* Renamed ListSync methods to ListCachedPorts
* Pluggable discovery upload user fields are now limited to 50 chars
* Fix i18n strings
* Fix failing integration tests
* Fix i18n data
* Fix integration tests again
* [skip changelog] Internationalize strings added for pluggable discovery support (#1384)
* Update docs/pluggable-discovery-specification.md
Co-authored-by: per1234 <accounts@perglass.com>
* Fix failing workflows
* Updated upload-mock tests for generation
* Added a lot of mock upload test (also with programmer option)
* test_upload_mock: Handle '{' and '}' in recipes
* network ota: autoconvert network_patter from legacy
* Automatically add port detection properties for network discovery
* Slightly improved 'board list' text output
* Default 'board list' timeout to 1s
* Added some code review fixes
* Added unit test for legacy-package conversion to pluggable discovery
Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
Co-authored-by: per1234 <accounts@perglass.com>1 parent 3aceff5 commit ec027a7
File tree
75 files changed
+13916
-6213
lines changed- arduino
- cores/packagemanager
- testdata/data_dir_1/packages/esp8266/hardware/esp8266
- 2.4.2
- 3.0.2
- discovery
- discovery_client
- discoverymanager
- client_example
- cli
- arguments
- board
- burnbootloader
- compile
- core
- debug
- upload
- commands
- board
- daemon
- term_example
- upload
- docsgen
- docs
- img
- i18n
- data
- rpc/cc/arduino/cli
- commands/v1
- debug/v1
- monitor/v1
- settings/v1
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
75 files changed
+13916
-6213
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
320 | 321 | | |
321 | 322 | | |
322 | 323 | | |
323 | | - | |
| 324 | + | |
324 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
325 | 329 | | |
326 | 330 | | |
327 | 331 | | |
| |||
337 | 341 | | |
338 | 342 | | |
339 | 343 | | |
340 | | - | |
341 | | - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
342 | 349 | | |
343 | 350 | | |
344 | 351 | | |
| |||
349 | 356 | | |
350 | 357 | | |
351 | 358 | | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
352 | 362 | | |
353 | 363 | | |
354 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
355 | 424 | | |
356 | 425 | | |
357 | 426 | | |
| |||
388 | 457 | | |
389 | 458 | | |
390 | 459 | | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | 460 | | |
398 | 461 | | |
399 | 462 | | |
| |||
412 | 475 | | |
413 | 476 | | |
414 | 477 | | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
415 | 484 | | |
416 | 485 | | |
417 | 486 | | |
| |||
468 | 537 | | |
469 | 538 | | |
470 | 539 | | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
471 | 556 | | |
472 | 557 | | |
473 | 558 | | |
| |||
587 | 672 | | |
588 | 673 | | |
589 | 674 | | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
0 commit comments