Skip to content

Remove useless go.mod files in repo / Fix dependabot alerts #2100

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 5 commits into from
Mar 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions .licenses/go/github.com/gizak/termui/v3.dep.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .licenses/go/github.com/gizak/termui/v3/drawille.dep.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .licenses/go/github.com/gizak/termui/v3/widgets.dep.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .licenses/go/github.com/mitchellh/go-wordwrap.dep.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .licenses/go/github.com/nsf/termbox-go.dep.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/crypto/blowfish.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/crypto/blowfish
version: v0.0.0-20210921155107-089bfa567519
version: v0.7.0
type: go
summary: Package blowfish implements Bruce Schneier's Blowfish encryption algorithm.
homepage: https://pkg.go.dev/golang.org/x/crypto/blowfish
license: bsd-3-clause
licenses:
- sources: crypto@v0.0.0-20210921155107-089bfa567519/LICENSE
- sources: crypto@v0.7.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.0.0-20210921155107-089bfa567519/PATENTS
- sources: crypto@v0.7.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/crypto/cast5.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/crypto/cast5
version: v0.0.0-20210921155107-089bfa567519
version: v0.7.0
type: go
summary: Package cast5 implements CAST5, as defined in RFC 2144.
homepage: https://pkg.go.dev/golang.org/x/crypto/cast5
license: bsd-3-clause
licenses:
- sources: crypto@v0.0.0-20210921155107-089bfa567519/LICENSE
- sources: crypto@v0.7.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.0.0-20210921155107-089bfa567519/PATENTS
- sources: crypto@v0.7.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/crypto/ed25519.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/crypto/ed25519
version: v0.0.0-20210921155107-089bfa567519
version: v0.7.0
type: go
summary: Package ed25519 implements the Ed25519 signature algorithm.
homepage: https://pkg.go.dev/golang.org/x/crypto/ed25519
license: bsd-3-clause
licenses:
- sources: crypto@v0.0.0-20210921155107-089bfa567519/LICENSE
- sources: crypto@v0.7.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.0.0-20210921155107-089bfa567519/PATENTS
- sources: crypto@v0.7.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
---
name: golang.org/x/sys/internal/unsafeheader
version: v0.0.0-20220722155257-8c9f86f7a55f
name: golang.org/x/crypto/internal/alias
version: v0.7.0
type: go
summary: Package unsafeheader contains header declarations for the Go runtime's slice
and string implementations.
homepage: https://pkg.go.dev/golang.org/x/sys/internal/unsafeheader
summary: Package alias implements memory aliasing tests.
homepage: https://pkg.go.dev/golang.org/x/crypto/internal/alias
license: bsd-3-clause
licenses:
- sources: sys@v0.0.0-20220722155257-8c9f86f7a55f/LICENSE
- sources: crypto@v0.7.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -36,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: sys@v0.0.0-20220722155257-8c9f86f7a55f/PATENTS
- sources: crypto@v0.7.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/crypto/openpgp.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/crypto/openpgp
version: v0.0.0-20210921155107-089bfa567519
version: v0.7.0
type: go
summary: Package openpgp implements high level operations on OpenPGP messages.
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp
license: bsd-3-clause
licenses:
- sources: crypto@v0.0.0-20210921155107-089bfa567519/LICENSE
- sources: crypto@v0.7.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.0.0-20210921155107-089bfa567519/PATENTS
- sources: crypto@v0.7.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/crypto/openpgp/armor.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/crypto/openpgp/armor
version: v0.0.0-20210921155107-089bfa567519
version: v0.7.0
type: go
summary: Package armor implements OpenPGP ASCII Armor, see RFC 4880.
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp/armor
license: bsd-3-clause
licenses:
- sources: crypto@v0.0.0-20210921155107-089bfa567519/LICENSE
- sources: crypto@v0.7.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.0.0-20210921155107-089bfa567519/PATENTS
- sources: crypto@v0.7.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/crypto/openpgp/elgamal.dep.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
name: golang.org/x/crypto/openpgp/elgamal
version: v0.0.0-20210921155107-089bfa567519
version: v0.7.0
type: go
summary: Package elgamal implements ElGamal encryption, suitable for OpenPGP, as specified
in "A Public-Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms,"
IEEE Transactions on Information Theory, v.
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp/elgamal
license: bsd-3-clause
licenses:
- sources: crypto@v0.0.0-20210921155107-089bfa567519/LICENSE
- sources: crypto@v0.7.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -37,7 +37,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.0.0-20210921155107-089bfa567519/PATENTS
- sources: crypto@v0.7.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/crypto/openpgp/errors.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/crypto/openpgp/errors
version: v0.0.0-20210921155107-089bfa567519
version: v0.7.0
type: go
summary: Package errors contains common error types for the OpenPGP packages.
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp/errors
license: bsd-3-clause
licenses:
- sources: crypto@v0.0.0-20210921155107-089bfa567519/LICENSE
- sources: crypto@v0.7.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.0.0-20210921155107-089bfa567519/PATENTS
- sources: crypto@v0.7.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/crypto/openpgp/packet.dep.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: golang.org/x/crypto/openpgp/packet
version: v0.0.0-20210921155107-089bfa567519
version: v0.7.0
type: go
summary: Package packet implements parsing and serialization of OpenPGP packets, as
specified in RFC 4880.
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp/packet
license: bsd-3-clause
licenses:
- sources: crypto@v0.0.0-20210921155107-089bfa567519/LICENSE
- sources: crypto@v0.7.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -36,7 +36,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.0.0-20210921155107-089bfa567519/PATENTS
- sources: crypto@v0.7.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/crypto/openpgp/s2k.dep.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: golang.org/x/crypto/openpgp/s2k
version: v0.0.0-20210921155107-089bfa567519
version: v0.7.0
type: go
summary: Package s2k implements the various OpenPGP string-to-key transforms as specified
in RFC 4800 section 3.7.1.
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp/s2k
license: bsd-3-clause
licenses:
- sources: crypto@v0.0.0-20210921155107-089bfa567519/LICENSE
- sources: crypto@v0.7.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -36,7 +36,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.0.0-20210921155107-089bfa567519/PATENTS
- sources: crypto@v0.7.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/crypto/ssh.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/crypto/ssh
version: v0.0.0-20210921155107-089bfa567519
version: v0.7.0
type: go
summary: Package ssh implements an SSH client and server.
homepage: https://pkg.go.dev/golang.org/x/crypto/ssh
license: bsd-3-clause
licenses:
- sources: crypto@v0.0.0-20210921155107-089bfa567519/LICENSE
- sources: crypto@v0.7.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.0.0-20210921155107-089bfa567519/PATENTS
- sources: crypto@v0.7.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/crypto/ssh/agent.dep.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: golang.org/x/crypto/ssh/agent
version: v0.0.0-20210921155107-089bfa567519
version: v0.7.0
type: go
summary: Package agent implements the ssh-agent protocol, and provides both a client
and a server.
homepage: https://pkg.go.dev/golang.org/x/crypto/ssh/agent
license: bsd-3-clause
licenses:
- sources: crypto@v0.0.0-20210921155107-089bfa567519/LICENSE
- sources: crypto@v0.7.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -36,7 +36,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.0.0-20210921155107-089bfa567519/PATENTS
- sources: crypto@v0.7.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/crypto/ssh/internal/bcrypt_pbkdf
version: v0.0.0-20210921155107-089bfa567519
version: v0.7.0
type: go
summary: Package bcrypt_pbkdf implements bcrypt_pbkdf(3) from OpenBSD.
homepage: https://pkg.go.dev/golang.org/x/crypto/ssh/internal/bcrypt_pbkdf
license: bsd-3-clause
licenses:
- sources: crypto@v0.0.0-20210921155107-089bfa567519/LICENSE
- sources: crypto@v0.7.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.0.0-20210921155107-089bfa567519/PATENTS
- sources: crypto@v0.7.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/crypto/ssh/knownhosts.dep.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
name: golang.org/x/crypto/ssh/knownhosts
version: v0.0.0-20210921155107-089bfa567519
version: v0.7.0
type: go
summary: Package knownhosts implements a parser for the OpenSSH known_hosts host key
database, and provides utility functions for writing OpenSSH compliant known_hosts
files.
homepage: https://pkg.go.dev/golang.org/x/crypto/ssh/knownhosts
license: bsd-3-clause
licenses:
- sources: crypto@v0.0.0-20210921155107-089bfa567519/LICENSE
- sources: crypto@v0.7.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -37,7 +37,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.0.0-20210921155107-089bfa567519/PATENTS
- sources: crypto@v0.7.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/net/context.dep.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: golang.org/x/net/context
version: v0.0.0-20220722155237-a158d28d115b
version: v0.8.0
type: go
summary: Package context defines the Context type, which carries deadlines, cancelation
signals, and other request-scoped values across API boundaries and between processes.
homepage: https://pkg.go.dev/golang.org/x/net/context
license: bsd-3-clause
licenses:
- sources: net@v0.0.0-20220722155237-a158d28d115b/LICENSE
- sources: net@v0.8.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -36,7 +36,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: net@v0.0.0-20220722155237-a158d28d115b/PATENTS
- sources: net@v0.8.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/net/http2.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/net/http2
version: v0.0.0-20220722155237-a158d28d115b
version: v0.8.0
type: go
summary: Package http2 implements the HTTP/2 protocol.
homepage: https://pkg.go.dev/golang.org/x/net/http2
license: bsd-3-clause
licenses:
- sources: net@v0.0.0-20220722155237-a158d28d115b/LICENSE
- sources: net@v0.8.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: net@v0.0.0-20220722155237-a158d28d115b/PATENTS
- sources: net@v0.8.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/net/internal/socks.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/net/internal/socks
version: v0.0.0-20220722155237-a158d28d115b
version: v0.8.0
type: go
summary: Package socks provides a SOCKS version 5 client implementation.
homepage: https://pkg.go.dev/golang.org/x/net/internal/socks
license: bsd-3-clause
licenses:
- sources: net@v0.0.0-20220722155237-a158d28d115b/LICENSE
- sources: net@v0.8.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: net@v0.0.0-20220722155237-a158d28d115b/PATENTS
- sources: net@v0.8.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/net/internal/timeseries.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/net/internal/timeseries
version: v0.0.0-20220722155237-a158d28d115b
version: v0.8.0
type: go
summary: Package timeseries implements a time series structure for stats collection.
homepage: https://pkg.go.dev/golang.org/x/net/internal/timeseries
license: bsd-3-clause
licenses:
- sources: net@v0.0.0-20220722155237-a158d28d115b/LICENSE
- sources: net@v0.8.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: net@v0.0.0-20220722155237-a158d28d115b/PATENTS
- sources: net@v0.8.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/net/proxy.dep.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: golang.org/x/net/proxy
version: v0.0.0-20220722155237-a158d28d115b
version: v0.8.0
type: go
summary: Package proxy provides support for a variety of protocols to proxy network
data.
homepage: https://pkg.go.dev/golang.org/x/net/proxy
license: bsd-3-clause
licenses:
- sources: net@v0.0.0-20220722155237-a158d28d115b/LICENSE
- sources: net@v0.8.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -36,7 +36,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: net@v0.0.0-20220722155237-a158d28d115b/PATENTS
- sources: net@v0.8.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/net/trace.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/net/trace
version: v0.0.0-20220722155237-a158d28d115b
version: v0.8.0
type: go
summary: Package trace implements tracing of requests and long-lived objects.
homepage: https://pkg.go.dev/golang.org/x/net/trace
license: bsd-3-clause
licenses:
- sources: net@v0.0.0-20220722155237-a158d28d115b/LICENSE
- sources: net@v0.8.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: net@v0.0.0-20220722155237-a158d28d115b/PATENTS
- sources: net@v0.8.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/sys/unix.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/sys/unix
version: v0.0.0-20220722155257-8c9f86f7a55f
version: v0.6.0
type: go
summary: Package unix contains an interface to the low-level operating system primitives.
homepage: https://pkg.go.dev/golang.org/x/sys/unix
license: bsd-3-clause
licenses:
- sources: sys@v0.0.0-20220722155257-8c9f86f7a55f/LICENSE
- sources: sys@v0.6.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: sys@v0.0.0-20220722155257-8c9f86f7a55f/PATENTS
- sources: sys@v0.6.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
9 changes: 2 additions & 7 deletions .licenses/go/golang.org/x/term.dep.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: golang.org/x/term
version: v0.0.0-20210927222741-03fcf44c2211
version: v0.6.0
type: go
summary: Package term provides support functions for dealing with terminals, as commonly
found on UNIX systems.
@@ -60,9 +60,4 @@ licenses:
infringement, or inducement of patent infringement, then any patent
rights granted to you under this License for this implementation of Go
shall terminate as of the date such litigation is filed.
notices:
- sources: AUTHORS
text: |-
# This source code refers to The Go Authors for copyright purposes.
# The master list of authors is in the main Go distribution,
# visible at http://tip.golang.org/AUTHORS.
notices: []
6 changes: 3 additions & 3 deletions .licenses/go/golang.org/x/text/runes.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/text/runes
version: v0.4.0
version: v0.8.0
type: go
summary: Package runes provide transforms for UTF-8 encoded text.
homepage: https://pkg.go.dev/golang.org/x/text/runes
license: bsd-3-clause
licenses:
- sources: text@v0.4.0/LICENSE
- sources: text@v0.8.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: text@v0.4.0/PATENTS
- sources: text@v0.8.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
30 changes: 0 additions & 30 deletions arduino/discovery/discovery_client/go.mod

This file was deleted.

149 changes: 0 additions & 149 deletions arduino/discovery/discovery_client/go.sum

This file was deleted.

97 changes: 12 additions & 85 deletions arduino/discovery/discovery_client/main.go
Original file line number Diff line number Diff line change
@@ -24,12 +24,14 @@ import (

"github.com/arduino/arduino-cli/arduino/discovery"
"github.com/arduino/arduino-cli/arduino/discovery/discoverymanager"
ui "github.com/gizak/termui/v3"
"github.com/gizak/termui/v3/widgets"
"github.com/sirupsen/logrus"
)

func main() {
if len(os.Args) < 2 {
fmt.Println("Please specify at least one discovery.")
os.Exit(1)
}
logrus.SetLevel(logrus.ErrorLevel)
dm := discoverymanager.New()
for _, discCmd := range os.Args[1:] {
@@ -38,98 +40,23 @@ func main() {
}
dm.Start()

activePorts := map[string]*discovery.Port{}
watcher, err := dm.Watch()
if err != nil {
log.Fatalf("failed to start discoveries: %v", err)
}
if err := ui.Init(); err != nil {
log.Fatalf("failed to initialize termui: %v", err)
}
defer ui.Close()

l := widgets.NewList()
l.Title = "List"
l.TextStyle = ui.NewStyle(ui.ColorYellow)
l.WrapText = false
w, h := ui.TerminalDimensions()
l.SetRect(0, 0, w, h)

updateList := func() {
rows := []string{}
rows = append(rows, "Available ports list:")

ids := sort.StringSlice{}
for id := range activePorts {
ids = append(ids, id)
}
ids.Sort()
for _, id := range ids {
port := activePorts[id]
rows = append(rows, fmt.Sprintf("> Address: %s", port.AddressLabel))
rows = append(rows, fmt.Sprintf(" Protocol: %s", port.ProtocolLabel))
for ev := range watcher.Feed() {
port := ev.Port
fmt.Printf("> Port %s\n", ev.Type)
fmt.Printf(" Address: %s\n", port.Address)
fmt.Printf(" Protocol: %s\n", port.Protocol)
if ev.Type == "add" {
keys := port.Properties.Keys()
sort.Strings(keys)
for _, k := range keys {
rows = append(rows, fmt.Sprintf(" %s=%s", k, port.Properties.Get(k)))
fmt.Printf(" %s=%s\n", k, port.Properties.Get(k))
}
}
l.Rows = rows
}
updateList()
ui.Render(l)

previousKey := ""
uiEvents := ui.PollEvents()
out:
for {
select {
case e := <-uiEvents:
switch e.ID {
case "<Resize>":
payload := e.Payload.(ui.Resize)
l.SetRect(0, 0, payload.Width, payload.Height)
ui.Clear()
case "q", "<C-c>":
break out
case "j", "<Down>":
l.ScrollDown()
case "k", "<Up>":
l.ScrollUp()
case "<C-d>":
l.ScrollHalfPageDown()
case "<C-u>":
l.ScrollHalfPageUp()
case "<C-f>":
l.ScrollPageDown()
case "<C-b>":
l.ScrollPageUp()
case "g":
if previousKey == "g" {
l.ScrollTop()
}
case "<Home>":
l.ScrollTop()
case "G", "<End>":
l.ScrollBottom()
}

if previousKey == "g" {
previousKey = ""
} else {
previousKey = e.ID
}

case ev := <-watcher.Feed():
if ev.Type == "add" {
activePorts[ev.Port.Address+"|"+ev.Port.Protocol] = ev.Port
}
if ev.Type == "remove" {
delete(activePorts, ev.Port.Address+"|"+ev.Port.Protocol)
}
updateList()
}

ui.Render(l)
fmt.Println()
}
}
19 changes: 0 additions & 19 deletions client_example/go.mod

This file was deleted.

116 changes: 0 additions & 116 deletions client_example/go.sum

This file was deleted.

84 changes: 0 additions & 84 deletions docsgen/go.mod

This file was deleted.

730 changes: 0 additions & 730 deletions docsgen/go.sum

This file was deleted.

10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -37,8 +37,8 @@ require (
go.bug.st/downloader/v2 v2.1.1
go.bug.st/relaxed-semver v0.9.0
go.bug.st/serial v1.3.2
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
golang.org/x/text v0.4.0
golang.org/x/crypto v0.7.0
golang.org/x/text v0.8.0
google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c
google.golang.org/grpc v1.38.0
google.golang.org/protobuf v1.26.0
@@ -51,7 +51,7 @@ require (
github.com/rogpeppe/go-internal v1.3.0
github.com/xeipuuv/gojsonschema v1.2.0
go.bug.st/testifyjson v1.1.1
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
golang.org/x/term v0.6.0
gopkg.in/yaml.v3 v3.0.1
)

@@ -91,8 +91,8 @@ require (
github.com/xanzy/ssh-agent v0.2.1 // indirect
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
golang.org/x/net v0.8.0 // indirect
golang.org/x/sys v0.6.0 // indirect
gopkg.in/ini.v1 v1.62.0 // indirect
gopkg.in/src-d/go-billy.v4 v4.3.2 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
20 changes: 10 additions & 10 deletions go.sum
Original file line number Diff line number Diff line change
@@ -385,8 +385,8 @@ golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8U
golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 h1:7I4JAnoQBe7ZtJcBaYHi5UtiO8tQHbUSXxL+pnGRANg=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.7.0 h1:AvwMYaRytfdeVt3u6mLaxYtErKYjxA2OXjJ1HHq6t3A=
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
@@ -458,8 +458,8 @@ golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc=
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b h1:PxfKdU9lEEDYjdIzOtC4qFWgkU2rGHdKlKowJSMN9h0=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.8.0 h1:Zrh2ngAOFYneWTAIAPethzeaQLuHwhuBkuV6ZiRnUaQ=
golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@@ -530,20 +530,20 @@ golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f h1:v4INt8xihDGvnrfjMDVXGxw9wrfxYyCjk0KbXjhR55s=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.6.0 h1:clScbb1cHjoCkyRbWwBEUZ5H/tIFu5TAXIqaZD0Gcjw=
golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.4.0 h1:BrVqGRd7+k1DiOgtnFvAkoQEWQvBc25ouMJM6429SFg=
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.8.0 h1:57P1ETyNKtuIjB4SRd15iJxuhj8Gc416Y78H3qgMh68=
golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=