Skip to content

Commit

Permalink
Merge pull request kubernetes#1845 from saschagrunert/go-github
Browse files Browse the repository at this point in the history
Update go-github to v33.0.0
  • Loading branch information
k8s-ci-robot authored Jan 13, 2021
2 parents 5d2c1e2 + 2d323f2 commit ce6512e
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/go-git/go-git/v5 v5.2.0
github.com/golang/protobuf v1.4.3
github.com/google/go-containerregistry v0.2.1
github.com/google/go-github/v29 v29.0.3
github.com/google/go-github/v33 v33.0.0
github.com/google/uuid v1.1.2
github.com/maxbrunsfeld/counterfeiter/v6 v6.3.0
github.com/mitchellh/mapstructure v1.4.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,8 @@ github.com/google/go-containerregistry v0.2.1 h1:LLZgLTDguTVJ9eEHh/zTtr347CpFhH6
github.com/google/go-containerregistry v0.2.1/go.mod h1:Ts3Wioz1r5ayWx8sS6vLcWltWcM1aqFjd/eVrkFhrWM=
github.com/google/go-github/v29 v29.0.3 h1:IktKCTwU//aFHnpA+2SLIi7Oo9uhAzgsdZNbcAqhgdc=
github.com/google/go-github/v29 v29.0.3/go.mod h1:CHKiKKPHJ0REzfwc14QMklvtHwCveD0PxlMjLlzAM5E=
github.com/google/go-github/v33 v33.0.0 h1:qAf9yP0qc54ufQxzwv+u9H0tiVOnPJxo0lI/JXqw3ZM=
github.com/google/go-github/v33 v33.0.0/go.mod h1:GMdDnVZY/2TsWgp/lkYnpSAh6TrzhANBBwm6k6TTEXg=
github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk=
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
github.com/google/gofuzz v0.0.0-20161122191042-44d81051d367/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI=
Expand Down
4 changes: 2 additions & 2 deletions pkg/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"path/filepath"
"strings"

"github.com/google/go-github/v29/github"
"github.com/google/go-github/v33/github"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"golang.org/x/oauth2"
Expand Down Expand Up @@ -584,7 +584,7 @@ func (g *GitHub) DownloadReleaseAssets(owner, repo string, releaseTags []string,
return finalErr
}

func (g *GitHub) downloadAssetsParallel(assets []github.ReleaseAsset, owner, repo, releaseDir string) (finalErr error) {
func (g *GitHub) downloadAssetsParallel(assets []*github.ReleaseAsset, owner, repo, releaseDir string) (finalErr error) {
errChan := make(chan error, len(assets))
for i := range assets {
asset := assets[i]
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/github_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"
"testing"

gogithub "github.com/google/go-github/v29/github"
gogithub "github.com/google/go-github/v33/github"
"github.com/stretchr/testify/require"

"k8s.io/release/pkg/git"
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/githubfakes/fake_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/github/internal/retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package internal
import (
"time"

"github.com/google/go-github/v29/github"
"github.com/google/go-github/v33/github"
"github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/github/internal/retry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"testing"
"time"

"github.com/google/go-github/v29/github"
"github.com/google/go-github/v33/github"
"github.com/sirupsen/logrus"
"k8s.io/release/pkg/github/internal"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/record.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"path/filepath"
"sync"

"github.com/google/go-github/v29/github"
"github.com/google/go-github/v33/github"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/replay.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"path/filepath"
"sync"

"github.com/google/go-github/v29/github"
"github.com/google/go-github/v33/github"
)

func NewReplayer(replayDir string) Client {
Expand Down
2 changes: 1 addition & 1 deletion pkg/kubepkg/kubepkg.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"time"

"github.com/blang/semver"
gogithub "github.com/google/go-github/v29/github"
gogithub "github.com/google/go-github/v33/github"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"

Expand Down
2 changes: 1 addition & 1 deletion pkg/kubepkg/kubepkgfakes/fake_impl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/notes/notes.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"strings"
"sync"

gogithub "github.com/google/go-github/v29/github"
gogithub "github.com/google/go-github/v33/github"
"github.com/nozzle/throttler"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion pkg/notes/notes_gatherer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"testing"
"time"

"github.com/google/go-github/v29/github"
"github.com/google/go-github/v33/github"
"github.com/sirupsen/logrus"
"k8s.io/release/pkg/git"
"k8s.io/release/pkg/github/githubfakes"
Expand Down

0 comments on commit ce6512e

Please sign in to comment.