Skip to content

Commit 663e2c8

Browse files
committed
Updates board discovery
1 parent a2fcba4 commit 663e2c8

File tree

8 files changed

+45
-173
lines changed

8 files changed

+45
-173
lines changed

.licenses/go/github.com/arduino/board-discovery.dep.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
---
22
name: github.com/arduino/board-discovery
3-
version: v0.0.0-20211020061712-fd83c2e3c908
3+
version: v0.0.0-20240827085220-72502b54d271
44
type: go
5-
summary: 'Package discovery keeps an updated list of the devices connected to the
6-
computer, via serial ports or found in the network Usage: monitor := discovery.New(time.Millisecond)
7-
ctx, _ := context.WithTimeout(context.Background(), 10*time.Second) monitor.Start(ctx)
8-
time.Sleep(10 * time.Second) fmt.Println(monitor.Serial()) fmt.Println(monitor.Network())
9-
Output: map[/dev/ttyACM0:0x2341/0x8036] map[192.168.1.107:YunShield] You may also
10-
decide to subscribe to the Events channel of the Monitor: monitor := discovery.New(time.Millisecond)
11-
ctx, _ := context.WithTimeout(context.Background(), 10*time.Second) monitor.Start(ctx)
12-
for ev := range monitor.Events { fmt.Println(ev) } Output: {add 0x2341/0x8036 <nil>}
13-
{add <nil> YunShield}'
5+
summary: Package discovery keeps an updated list of the devices connected to the computer,
6+
via serial ports or found in the network
147
homepage: https://pkg.go.dev/github.com/arduino/board-discovery
158
license: gpl-2.0-or-later
169
licenses:

.licenses/go/github.com/juju/errors.dep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: github.com/juju/errors
3-
version: v0.0.0-20210818161939-5560c4c073ff
3+
version: v1.0.0
44
type: go
55
summary: Package errors provides an easy way to annotate errors without losing the
66
original error context.

.licenses/go/github.com/miekg/dns.dep.yml

Lines changed: 21 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,32 @@
11
---
22
name: github.com/miekg/dns
3-
version: v1.1.43
3+
version: v1.1.62
44
type: go
55
summary: Package dns implements a full featured interface to the Domain Name System.
66
homepage: https://pkg.go.dev/github.com/miekg/dns
77
license: bsd-3-clause
88
licenses:
99
- sources: LICENSE
10-
text: |
11-
Copyright (c) 2009 The Go Authors. All rights reserved.
12-
13-
Redistribution and use in source and binary forms, with or without
14-
modification, are permitted provided that the following conditions are
15-
met:
16-
17-
* Redistributions of source code must retain the above copyright
18-
notice, this list of conditions and the following disclaimer.
19-
* Redistributions in binary form must reproduce the above
20-
copyright notice, this list of conditions and the following disclaimer
21-
in the documentation and/or other materials provided with the
22-
distribution.
23-
* Neither the name of Google Inc. nor the names of its
24-
contributors may be used to endorse or promote products derived from
25-
this software without specific prior written permission.
26-
27-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
29-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
30-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
31-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
32-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
33-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
34-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
35-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
36-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38-
39-
As this is fork of the official Go code the same license applies.
40-
Extensions of the original work are copyright (c) 2011 Miek Gieben
10+
text: "BSD 3-Clause License\n\nCopyright (c) 2009, The Go Authors. Extensions copyright
11+
(c) 2011, Miek Gieben. \nAll rights reserved.\n\nRedistribution and use in source
12+
and binary forms, with or without\nmodification, are permitted provided that the
13+
following conditions are met:\n\n1. Redistributions of source code must retain
14+
the above copyright notice, this\n list of conditions and the following disclaimer.\n\n2.
15+
Redistributions in binary form must reproduce the above copyright notice,\n this
16+
list of conditions and the following disclaimer in the documentation\n and/or
17+
other materials provided with the distribution.\n\n3. Neither the name of the
18+
copyright holder nor the names of its\n contributors may be used to endorse
19+
or promote products derived from\n this software without specific prior written
20+
permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21+
\"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22+
THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23+
ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR
24+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES
25+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES;
26+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON
27+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING
28+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE,
29+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"
4130
- sources: COPYRIGHT
4231
text: |
4332
Copyright 2009 The Go Authors. All rights reserved. Use of this source code

.licenses/go/go.bug.st/serial.v1.dep.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

.licenses/go/go.bug.st/serial.v1/unixutils.dep.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

.licenses/go/go.bug.st/serial.v1/enumerator.dep.yml renamed to .licenses/go/go.bug.st/serial/enumerator.dep.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
name: go.bug.st/serial.v1/enumerator
3-
version: v0.0.0-20191202182710-24a6610f0541
2+
name: go.bug.st/serial/enumerator
3+
version: v1.6.2
44
type: go
55
summary: Package enumerator is a golang cross-platform library for USB serial port
66
discovery.
7-
homepage: https://pkg.go.dev/go.bug.st/serial.v1/enumerator
7+
homepage: https://pkg.go.dev/go.bug.st/serial/enumerator
88
license: bsd-3-clause
99
licenses:
10-
- sources: serial.v1@v0.0.0-20191202182710-24a6610f0541/LICENSE
10+
- sources: serial@v1.6.2/LICENSE
1111
text: |2+
1212
13-
Copyright (c) 2014-2020, Cristian Maglie.
13+
Copyright (c) 2014-2023, Cristian Maglie.
1414
All rights reserved.
1515
1616
Redistribution and use in source and binary forms, with or without
@@ -42,9 +42,10 @@ licenses:
4242
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
4343
POSSIBILITY OF SUCH DAMAGE.
4444
45-
- sources: serial.v1@v0.0.0-20191202182710-24a6610f0541/README.md
45+
- sources: serial@v1.6.2/README.md
4646
text: |-
47-
The software is release under a BSD 3-clause license
47+
The software is release under a [BSD 3-clause license]
4848
49-
https://github.com/bugst/go-serial/blob/v1/LICENSE
49+
[contributors]: https://github.com/bugst/go-serial/graphs/contributors
50+
[BSD 3-clause license]: https://github.com/bugst/go-serial/blob/master/LICENSE
5051
notices: []

go.mod

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ require (
2727

2828
require (
2929
github.com/Microsoft/go-winio v0.6.1 // indirect
30-
github.com/arduino/board-discovery v0.0.0-20211020061712-fd83c2e3c908 // indirect
30+
github.com/arduino/board-discovery v0.0.0-20240827085220-72502b54d271 // indirect
3131
github.com/arduino/go-properties-orderedmap v1.7.1 // indirect
3232
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect
3333
github.com/cmaglie/pb v1.0.27 // indirect
@@ -46,15 +46,15 @@ require (
4646
github.com/inconshreveable/mousetrap v1.1.0 // indirect
4747
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
4848
github.com/josharian/intern v1.0.0 // indirect
49-
github.com/juju/errors v0.0.0-20210818161939-5560c4c073ff // indirect
49+
github.com/juju/errors v1.0.0 // indirect
5050
github.com/kevinburke/ssh_config v1.2.0 // indirect
5151
github.com/leonelquinteros/gotext v1.4.0 // indirect
5252
github.com/magiconair/properties v1.8.7 // indirect
5353
github.com/mailru/easyjson v0.7.7 // indirect
5454
github.com/mattn/go-colorable v0.1.13 // indirect
5555
github.com/mattn/go-isatty v0.0.17 // indirect
5656
github.com/mattn/go-runewidth v0.0.13 // indirect
57-
github.com/miekg/dns v1.1.43 // indirect
57+
github.com/miekg/dns v1.1.62 // indirect
5858
github.com/mitchellh/go-homedir v1.1.0 // indirect
5959
github.com/mitchellh/mapstructure v1.5.0 // indirect
6060
github.com/oleksandr/bonjour v0.0.0-20210301155756-30f43c61b915 // indirect
@@ -78,7 +78,6 @@ require (
7878
github.com/xanzy/ssh-agent v0.3.3 // indirect
7979
go.bug.st/downloader/v2 v2.1.1 // indirect
8080
go.bug.st/relaxed-semver v0.9.0 // indirect
81-
go.bug.st/serial.v1 v0.0.0-20191202182710-24a6610f0541 // indirect
8281
go.uber.org/multierr v1.11.0 // indirect
8382
golang.org/x/exp v0.0.0-20240823005443-9b4947da3948 // indirect
8483
golang.org/x/mod v0.20.0 // indirect

0 commit comments

Comments
 (0)