Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion cmd/download_publishers.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/italia/publiccode-crawler/v4/common"
"github.com/spf13/cobra"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)

const publisherDownloadTimeout = 30 * time.Second
Expand Down
2 changes: 1 addition & 1 deletion cmd/download_publishers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"time"

"github.com/italia/publiccode-crawler/v4/common"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)

func TestPublisherDownloadClientSetsTimeout(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion common/publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"

internalURL "github.com/italia/publiccode-crawler/v4/internal"
"gopkg.in/yaml.v2"
"go.yaml.in/yaml/v3"
)

var fileReaderInject = os.ReadFile
Expand Down
2 changes: 1 addition & 1 deletion git/repo_activity.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/italia/publiccode-crawler/v4/common"
"github.com/italia/publiccode-crawler/v4/git/vitality"
log "github.com/sirupsen/logrus"
yaml "gopkg.in/yaml.v2"
yaml "go.yaml.in/yaml/v3"
)

// RangesData contains the data loaded from vitality-ranges.yml.
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ require (
github.com/spf13/viper v1.21.0
github.com/stretchr/testify v1.12.1
gitlab.com/gitlab-org/api/client-go v1.46.0
go.yaml.in/yaml/v3 v3.0.5
golang.org/x/oauth2 v0.37.0
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.1
)

require (
Expand Down Expand Up @@ -65,7 +64,6 @@ require (
github.com/subosito/gotenv v1.6.0 // indirect
github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
go.yaml.in/yaml/v3 v3.0.5 // indirect
golang.org/x/crypto v0.57.0 // indirect
golang.org/x/net v0.59.0 // indirect
golang.org/x/sys v0.48.0 // indirect
Expand Down
1 change: 0 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME=
gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
Loading