-
-
Notifications
You must be signed in to change notification settings - Fork 404
Add support for Pluggable Discoveries #1333
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
Merged
Merged
Changes from 69 commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
386740b
[skip changelog] Add DiscoveryManager to PackageManager
silvanocerza ebca55f
Add loading of PluggableDiscoveries when loading a platform release
silvanocerza 7cf3215
Added compatibility layer for non-pluggable platforms
cmaglie f442b1a
Implemented board list with discoveries
silvanocerza dd6a8fc
Implemented discovery loading after initialization
cmaglie f07775a
Implemented board watch with discoveries
silvanocerza e80869b
Fix load discoveries tests
silvanocerza 23bab36
Fix some issues with board list watcher
silvanocerza 3b4bd38
Fix FindToolsRequiredFromPlatformRelease not returning discoveries
silvanocerza 47b84f5
Enhanced handling of some discoveries states
silvanocerza b32749f
Fix PackageManager reset
silvanocerza 0d2add4
Add function to convert discovery.Port to rpc.Port
silvanocerza 8bb84b2
Moved reference argument parsing to new package
silvanocerza 3ff8287
Fix functions docstrings
silvanocerza ec3dfbc
Remove duplicated code to initialize Sketch path
silvanocerza fb934e5
Add property conversion for platform not supporting pluggable discovery
silvanocerza 38c4325
Fix board list watch not working
silvanocerza a3007fe
Fix crash when converting Port to rpc struct
silvanocerza 2d69063
Add generic Port argument
silvanocerza 7e6dfca
Change gRPC upload functions to use new Port message
silvanocerza e6c33ea
Add support for upload user fields
silvanocerza 4a586d9
Fix upload unit tests
silvanocerza 67ae164
Fix code naming issues
silvanocerza ddf1603
Added builtin:mdns-discovery
cmaglie ea61dca
Do not panic if discovery tool is not installed
cmaglie d255c3d
Implemented port/protocol detection at CLI startup time
silvanocerza 18777b2
Perform 1200bps-touch only on serial ports
cmaglie 709db6f
Added missing properties for pluggable upload
cmaglie 322ce23
Correctly implemented 'board list' timeout option
silvanocerza 4fc7857
Updated mdns-discovery to 0.9.2
cmaglie 77a40fd
Add documentation
silvanocerza f8ac21d
Add board properties to board list command and gRPC function
silvanocerza 5ecf4d8
Fix documentation and code comments
silvanocerza c8fb6e4
Fix crash when attempting upload without specifying port address
silvanocerza 2a7d3d2
Fix unit tests
silvanocerza 015aea3
Update go-properties-orderedmap to fix discovery properties issues
silvanocerza 33f8848
Fix more documentation
silvanocerza bd68d5e
Clarify pluggable discovery specification
silvanocerza 69c6812
More documentation fixes
silvanocerza aec9695
Add upload_port properties docs in platform specification
silvanocerza ed318af
Change links from pluggable discovery RFC to official docs
silvanocerza 95b69fa
Add more upload mock integration tests
silvanocerza 3e3fcd2
Fix integration tests
silvanocerza b7d594f
Change property to declare pluggable discoveries
silvanocerza 763ce6f
Change property to declare pluggable discoveries
silvanocerza ae3a497
Fix documentation
silvanocerza 3f484ed
Fix loading of platform not supporting pluggable discovery
silvanocerza be9e879
Fix more documentation
silvanocerza 225c123
Add pluggable discovery states documentation
silvanocerza 569429d
Enhanced handling of pluggable discoveries states
silvanocerza a0f2aee
Discoveries processes are now killed if the HELLO command fails
silvanocerza 2624785
Add pluggable discovery logging
silvanocerza 2a555ff
Enhanced handling of failing pluggable discoveries
silvanocerza 71dcc0e
Fix pluggable discoveries parallelization
silvanocerza a0a6371
Discoveries event channels are now created when start sync is called
silvanocerza cfc7aa4
Cached ports are now reset on discovery stop
silvanocerza 2a34f7d
Renamed ListSync methods to ListCachedPorts
silvanocerza 85607d6
Pluggable discovery upload user fields are now limited to 50 chars
silvanocerza a5be354
Fix i18n strings
silvanocerza e68e4e0
Fix failing integration tests
silvanocerza eef60aa
Fix i18n data
silvanocerza f8814bc
Fix integration tests again
silvanocerza 5aa1f1d
[skip changelog] Internationalize strings added for pluggable discove…
per1234 9941402
Update docs/pluggable-discovery-specification.md
silvanocerza 53e1d25
Fix failing workflows
silvanocerza 9a355b7
Updated upload-mock tests for generation
cmaglie 41db8b5
Added a lot of mock upload test (also with programmer option)
cmaglie b322874
test_upload_mock: Handle '{' and '}' in recipes
cmaglie d7a576c
network ota: autoconvert network_patter from legacy
cmaglie 3c10109
Automatically add port detection properties for network discovery
cmaglie e6ee163
Slightly improved 'board list' text output
cmaglie 75c7fef
Default 'board list' timeout to 1s
cmaglie c100e14
Added some code review fixes
cmaglie 40943b1
Added unit test for legacy-package conversion to pluggable discovery
cmaglie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.