Skip to content

Upgrade golang version to 1.22 and upgraded some libraries #2688

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 3 commits into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Upgrade extract library to 4.0.0
  • Loading branch information
cmaglie committed Aug 8, 2024
commit 480d51875852e51c70153a0676c16adece7a255d
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
name: github.com/codeclysm/extract/v3
version: v3.1.1
name: github.com/codeclysm/extract/v4
version: v4.0.0
type: go
summary: Package extract allows to extract archives in zip, tar.gz or tar.bz2 formats
easily.
homepage: https://pkg.go.dev/github.com/codeclysm/extract/v3
homepage: https://pkg.go.dev/github.com/codeclysm/extract/v4
license: mit
licenses:
- sources: LICENSE
Expand Down
2 changes: 1 addition & 1 deletion .licenses/go/github.com/ulikunitz/xz.dep.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: github.com/ulikunitz/xz
version: v0.5.11
version: v0.5.12
type: go
summary: Package xz supports the compression and decompression of xz files.
homepage: https://pkg.go.dev/github.com/ulikunitz/xz
Expand Down
4 changes: 2 additions & 2 deletions .licenses/go/github.com/ulikunitz/xz/internal/hash.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/ulikunitz/xz/internal/hash
version: v0.5.11
version: v0.5.12
type: go
summary: Package hash provides rolling hashes.
homepage: https://pkg.go.dev/github.com/ulikunitz/xz/internal/hash
license: bsd-3-clause
licenses:
- sources: xz@v0.5.11/LICENSE
- sources: xz@v0.5.12/LICENSE
text: |
Copyright (c) 2014-2022 Ulrich Kunitz
All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions .licenses/go/github.com/ulikunitz/xz/internal/xlog.dep.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: github.com/ulikunitz/xz/internal/xlog
version: v0.5.11
version: v0.5.12
type: go
summary: Package xlog provides a simple logging package that allows to disable certain
message categories.
homepage: https://pkg.go.dev/github.com/ulikunitz/xz/internal/xlog
license: bsd-3-clause
licenses:
- sources: xz@v0.5.11/LICENSE
- sources: xz@v0.5.12/LICENSE
text: |
Copyright (c) 2014-2022 Ulrich Kunitz
All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions .licenses/go/github.com/ulikunitz/xz/lzma.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/ulikunitz/xz/lzma
version: v0.5.11
version: v0.5.12
type: go
summary: Package lzma supports the decoding and encoding of LZMA streams.
homepage: https://pkg.go.dev/github.com/ulikunitz/xz/lzma
license: bsd-3-clause
licenses:
- sources: xz@v0.5.11/LICENSE
- sources: xz@v0.5.12/LICENSE
text: |
Copyright (c) 2014-2022 Ulrich Kunitz
All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/arduino/pluggable-discovery-protocol-handler/v2 v2.2.0
github.com/arduino/pluggable-monitor-protocol-handler v0.9.2
github.com/cmaglie/pb v1.0.27
github.com/codeclysm/extract/v3 v3.1.1
github.com/codeclysm/extract/v4 v4.0.0
github.com/djherbis/buffer v1.2.0
github.com/djherbis/nio/v3 v3.0.1
github.com/fatih/color v1.17.0
Expand Down Expand Up @@ -89,7 +89,7 @@ require (
github.com/spf13/cast v1.6.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/ulikunitz/xz v0.5.11 // indirect
github.com/ulikunitz/xz v0.5.12 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ github.com/cmaglie/easyjson v0.8.1 h1:nKQ6Yew57jsoGsuyRJPgm8PSsjbU3eO/uA9BsTu3E/
github.com/cmaglie/easyjson v0.8.1/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
github.com/cmaglie/pb v1.0.27 h1:ynGj8vBXR+dtj4B7Q/W/qGt31771Ux5iFfRQBnwdQiA=
github.com/cmaglie/pb v1.0.27/go.mod h1:GilkKZMXYjBA4NxItWFfO+lwkp59PLHQ+IOW/b/kmZI=
github.com/codeclysm/extract/v3 v3.1.1 h1:iHZtdEAwSTqPrd+1n4jfhr1qBhUWtHlMTjT90+fJVXg=
github.com/codeclysm/extract/v3 v3.1.1/go.mod h1:ZJi80UG2JtfHqJI+lgJSCACttZi++dHxfWuPaMhlOfQ=
github.com/codeclysm/extract/v4 v4.0.0 h1:H87LFsUNaJTu2e/8p/oiuiUsOK/TaPQ5wxsjPnwPEIY=
github.com/codeclysm/extract/v4 v4.0.0/go.mod h1:SFju1lj6as7FvUgalpSct7torJE0zttbJUWtryPRG6s=
github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4=
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/creack/goselect v0.1.2 h1:2DNy14+JPjRBgPzAd1thbQp4BSIihxcBf0IXhQXDRa0=
Expand Down Expand Up @@ -200,8 +200,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8=
github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
github.com/ulikunitz/xz v0.5.12 h1:37Nm15o69RwBkXM0J6A5OlE67RZTfzUxTj8fB3dfcsc=
github.com/ulikunitz/xz v0.5.12/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0=
github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=
github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw=
Expand Down
2 changes: 1 addition & 1 deletion internal/arduino/libraries/librariesmanager/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"github.com/arduino/arduino-cli/internal/arduino/utils"
"github.com/arduino/arduino-cli/internal/i18n"
paths "github.com/arduino/go-paths-helper"
"github.com/codeclysm/extract/v3"
"github.com/codeclysm/extract/v4"
"github.com/go-git/go-git/v5"
"github.com/go-git/go-git/v5/plumbing"
semver "go.bug.st/relaxed-semver"
Expand Down
2 changes: 1 addition & 1 deletion internal/arduino/resources/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"github.com/arduino/arduino-cli/internal/i18n"
rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1"
"github.com/arduino/go-paths-helper"
"github.com/codeclysm/extract/v3"
"github.com/codeclysm/extract/v4"
"github.com/sirupsen/logrus"
"go.bug.st/downloader/v2"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/arduino/resources/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

"github.com/arduino/arduino-cli/internal/i18n"
paths "github.com/arduino/go-paths-helper"
"github.com/codeclysm/extract/v3"
"github.com/codeclysm/extract/v4"
"go.bug.st/cleanup"
)

Expand Down