Skip to content

Commit

Permalink
Updated a bunch of libraries (#168)
Browse files Browse the repository at this point in the history
* Updated a bunch of libraries

* Upgrade go version to 1.23

* Upgrade go.bug.st/serial

* Updated mockery test

* Updated arduino-cli again to remove other deps

in particular to board-discovery that had a link to the really old go.bug.st/serial.v1.
  • Loading branch information
cmaglie authored Oct 1, 2024
1 parent 0229c3f commit 5a10fda
Show file tree
Hide file tree
Showing 67 changed files with 2,663 additions and 1,500 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-dependencies-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Check Dependencies

env:
# See: https://github.com/actions/setup-go/tree/v2#readme
GO_VERSION: "1.19"
GO_VERSION: "1.23"

# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-go-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Go

env:
# See: https://github.com/actions/setup-go/tree/v2#readme
GO_VERSION: "1.19"
GO_VERSION: "1.23"

# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
on:
Expand Down
6 changes: 6 additions & 0 deletions .licensed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ reviewed:
- golang.org/x/crypto/curve25519
- google.golang.org/protobuf/encoding/protojson
- google.golang.org/protobuf/internal/encoding/json
- github.com/klauspost/compress
- github.com/klauspost/compress/fse
- github.com/klauspost/compress/huff0
- github.com/klauspost/compress/internal/cpuinfo
- github.com/klauspost/compress/internal/snapref
- github.com/klauspost/compress/zstd

# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-dependencies/AGPL-3.0/.licensed.yml
allowed:
Expand Down
6 changes: 3 additions & 3 deletions .licenses/go/github.com/arduino/arduino-cli/arduino.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/arduino/arduino-cli/arduino
version: v0.0.0-20221116144942-76251df9241a
version: v0.0.0-20240927141754-d9dd4ba1ed71
type: go
summary:
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino
license: gpl-3.0
licenses:
- sources: [email protected]20221116144942-76251df9241a/LICENSE.txt
- sources: [email protected]20240927141754-d9dd4ba1ed71/LICENSE.txt
text: |2
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -682,7 +682,7 @@ licenses:
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
- sources: [email protected]20221116144942-76251df9241a/README.md
- sources: [email protected]20240927141754-d9dd4ba1ed71/README.md
text: |-
Arduino CLI is licensed under the [GPL 3.0] license.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/arduino/arduino-cli/arduino/cores
version: v0.0.0-20221116144942-76251df9241a
version: v0.0.0-20240927141754-d9dd4ba1ed71
type: go
summary:
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/cores
license: gpl-3.0
licenses:
- sources: [email protected]20221116144942-76251df9241a/LICENSE.txt
- sources: [email protected]20240927141754-d9dd4ba1ed71/LICENSE.txt
text: |2
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -682,7 +682,7 @@ licenses:
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
- sources: [email protected]20221116144942-76251df9241a/README.md
- sources: [email protected]20240927141754-d9dd4ba1ed71/README.md
text: |-
Arduino CLI is licensed under the [GPL 3.0] license.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/arduino/arduino-cli/arduino/cores/packageindex
version: v0.0.0-20221116144942-76251df9241a
version: v0.0.0-20240927141754-d9dd4ba1ed71
type: go
summary:
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/cores/packageindex
license: gpl-3.0
licenses:
- sources: [email protected]20221116144942-76251df9241a/LICENSE.txt
- sources: [email protected]20240927141754-d9dd4ba1ed71/LICENSE.txt
text: |2
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -682,7 +682,7 @@ licenses:
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
- sources: [email protected]20221116144942-76251df9241a/README.md
- sources: [email protected]20240927141754-d9dd4ba1ed71/README.md
text: |-
Arduino CLI is licensed under the [GPL 3.0] license.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/arduino/arduino-cli/arduino/cores/packagemanager
version: v0.0.0-20221116144942-76251df9241a
version: v0.0.0-20240927141754-d9dd4ba1ed71
type: go
summary:
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/cores/packagemanager
license: gpl-3.0
licenses:
- sources: [email protected]20221116144942-76251df9241a/LICENSE.txt
- sources: [email protected]20240927141754-d9dd4ba1ed71/LICENSE.txt
text: |2
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -682,7 +682,7 @@ licenses:
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
- sources: [email protected]20221116144942-76251df9241a/README.md
- sources: [email protected]20240927141754-d9dd4ba1ed71/README.md
text: |-
Arduino CLI is licensed under the [GPL 3.0] license.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/arduino/arduino-cli/arduino/discovery
version: v0.0.0-20221116144942-76251df9241a
version: v0.0.0-20240927141754-d9dd4ba1ed71
type: go
summary:
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/discovery
license: gpl-3.0
licenses:
- sources: [email protected]20221116144942-76251df9241a/LICENSE.txt
- sources: [email protected]20240927141754-d9dd4ba1ed71/LICENSE.txt
text: |2
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -682,7 +682,7 @@ licenses:
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
- sources: [email protected]20221116144942-76251df9241a/README.md
- sources: [email protected]20240927141754-d9dd4ba1ed71/README.md
text: |-
Arduino CLI is licensed under the [GPL 3.0] license.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/arduino/arduino-cli/arduino/discovery/discoverymanager
version: v0.0.0-20221116144942-76251df9241a
version: v0.0.0-20240927141754-d9dd4ba1ed71
type: go
summary:
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/discovery/discoverymanager
license: gpl-3.0
licenses:
- sources: [email protected]20221116144942-76251df9241a/LICENSE.txt
- sources: [email protected]20240927141754-d9dd4ba1ed71/LICENSE.txt
text: |2
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -682,7 +682,7 @@ licenses:
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
- sources: [email protected]20221116144942-76251df9241a/README.md
- sources: [email protected]20240927141754-d9dd4ba1ed71/README.md
text: |-
Arduino CLI is licensed under the [GPL 3.0] license.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/arduino/arduino-cli/arduino/globals
version: v0.0.0-20221116144942-76251df9241a
version: v0.0.0-20240927141754-d9dd4ba1ed71
type: go
summary:
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/globals
license: gpl-3.0
licenses:
- sources: [email protected]20221116144942-76251df9241a/LICENSE.txt
- sources: [email protected]20240927141754-d9dd4ba1ed71/LICENSE.txt
text: |2
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -682,7 +682,7 @@ licenses:
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
- sources: [email protected]20221116144942-76251df9241a/README.md
- sources: [email protected]20240927141754-d9dd4ba1ed71/README.md
text: |-
Arduino CLI is licensed under the [GPL 3.0] license.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/arduino/arduino-cli/arduino/httpclient
version: v0.0.0-20221116144942-76251df9241a
version: v0.0.0-20240927141754-d9dd4ba1ed71
type: go
summary:
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/httpclient
license: gpl-3.0
licenses:
- sources: [email protected]20221116144942-76251df9241a/LICENSE.txt
- sources: [email protected]20240927141754-d9dd4ba1ed71/LICENSE.txt
text: |2
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -682,7 +682,7 @@ licenses:
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
- sources: [email protected]20221116144942-76251df9241a/README.md
- sources: [email protected]20240927141754-d9dd4ba1ed71/README.md
text: |-
Arduino CLI is licensed under the [GPL 3.0] license.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/arduino/arduino-cli/arduino/libraries
version: v0.0.0-20221116144942-76251df9241a
version: v0.0.0-20240927141754-d9dd4ba1ed71
type: go
summary:
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/libraries
license: gpl-3.0
licenses:
- sources: [email protected]20221116144942-76251df9241a/LICENSE.txt
- sources: [email protected]20240927141754-d9dd4ba1ed71/LICENSE.txt
text: |2
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -682,7 +682,7 @@ licenses:
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
- sources: [email protected]20221116144942-76251df9241a/README.md
- sources: [email protected]20240927141754-d9dd4ba1ed71/README.md
text: |-
Arduino CLI is licensed under the [GPL 3.0] license.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/arduino/arduino-cli/arduino/libraries/librariesindex
version: v0.0.0-20221116144942-76251df9241a
version: v0.0.0-20240927141754-d9dd4ba1ed71
type: go
summary:
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/libraries/librariesindex
license: gpl-3.0
licenses:
- sources: [email protected]20221116144942-76251df9241a/LICENSE.txt
- sources: [email protected]20240927141754-d9dd4ba1ed71/LICENSE.txt
text: |2
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -682,7 +682,7 @@ licenses:
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
- sources: [email protected]20221116144942-76251df9241a/README.md
- sources: [email protected]20240927141754-d9dd4ba1ed71/README.md
text: |-
Arduino CLI is licensed under the [GPL 3.0] license.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/arduino/arduino-cli/arduino/libraries/librariesmanager
version: v0.0.0-20221116144942-76251df9241a
version: v0.0.0-20240927141754-d9dd4ba1ed71
type: go
summary:
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/libraries/librariesmanager
license: gpl-3.0
licenses:
- sources: [email protected]20221116144942-76251df9241a/LICENSE.txt
- sources: [email protected]20240927141754-d9dd4ba1ed71/LICENSE.txt
text: |2
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -682,7 +682,7 @@ licenses:
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
- sources: [email protected]20221116144942-76251df9241a/README.md
- sources: [email protected]20240927141754-d9dd4ba1ed71/README.md
text: |-
Arduino CLI is licensed under the [GPL 3.0] license.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/arduino/arduino-cli/arduino/resources
version: v0.0.0-20221116144942-76251df9241a
version: v0.0.0-20240927141754-d9dd4ba1ed71
type: go
summary:
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/resources
license: gpl-3.0
licenses:
- sources: [email protected]20221116144942-76251df9241a/LICENSE.txt
- sources: [email protected]20240927141754-d9dd4ba1ed71/LICENSE.txt
text: |2
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -682,7 +682,7 @@ licenses:
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
- sources: [email protected]20221116144942-76251df9241a/README.md
- sources: [email protected]20240927141754-d9dd4ba1ed71/README.md
text: |-
Arduino CLI is licensed under the [GPL 3.0] license.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/arduino/arduino-cli/arduino/security
version: v0.0.0-20221116144942-76251df9241a
version: v0.0.0-20240927141754-d9dd4ba1ed71
type: go
summary:
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/security
license: gpl-3.0
licenses:
- sources: [email protected]20221116144942-76251df9241a/LICENSE.txt
- sources: [email protected]20240927141754-d9dd4ba1ed71/LICENSE.txt
text: |2
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -682,7 +682,7 @@ licenses:
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
- sources: [email protected]20221116144942-76251df9241a/README.md
- sources: [email protected]20240927141754-d9dd4ba1ed71/README.md
text: |-
Arduino CLI is licensed under the [GPL 3.0] license.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/arduino/arduino-cli/arduino/serialutils
version: v0.0.0-20221116144942-76251df9241a
version: v0.0.0-20240927141754-d9dd4ba1ed71
type: go
summary:
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/serialutils
license: gpl-3.0
licenses:
- sources: [email protected]20221116144942-76251df9241a/LICENSE.txt
- sources: [email protected]20240927141754-d9dd4ba1ed71/LICENSE.txt
text: |2
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -682,7 +682,7 @@ licenses:
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
- sources: [email protected]20221116144942-76251df9241a/README.md
- sources: [email protected]20240927141754-d9dd4ba1ed71/README.md
text: |-
Arduino CLI is licensed under the [GPL 3.0] license.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/arduino/arduino-cli/arduino/sketch
version: v0.0.0-20221116144942-76251df9241a
version: v0.0.0-20240927141754-d9dd4ba1ed71
type: go
summary:
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/sketch
license: gpl-3.0
licenses:
- sources: [email protected]20221116144942-76251df9241a/LICENSE.txt
- sources: [email protected]20240927141754-d9dd4ba1ed71/LICENSE.txt
text: |2
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -682,7 +682,7 @@ licenses:
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
- sources: [email protected]20221116144942-76251df9241a/README.md
- sources: [email protected]20240927141754-d9dd4ba1ed71/README.md
text: |-
Arduino CLI is licensed under the [GPL 3.0] license.
Expand Down
Loading

0 comments on commit 5a10fda

Please sign in to comment.