Skip to content

Commit

Permalink
bump (go-pivnet): import v7 everywhere
Browse files Browse the repository at this point in the history
dependabot is not bumping major versions so I am doing it manually
  • Loading branch information
crhntr committed May 11, 2023
1 parent 22c58df commit c31f2f4
Show file tree
Hide file tree
Showing 17 changed files with 1,194 additions and 23 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ require (
github.com/onsi/gomega v1.18.1
github.com/opencontainers/image-spec v1.0.3-0.20220303224323-02efb9a75ee1
github.com/pivotal-cf-experimental/gomegamatchers v0.0.0-20180326192815-e36bfcc98c3a
github.com/pivotal-cf/go-pivnet/v2 v2.0.11
github.com/pivotal-cf/go-pivnet/v7 v7.0.2
github.com/pivotal-cf/jhanda v0.0.0-20200619200912-8de8eb943a43
github.com/pivotal-cf/om v0.0.0-20211027143906-30b10602e528
github.com/pkg/errors v0.9.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -616,9 +616,9 @@ github.com/pierrec/lz4 v2.6.0+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi
github.com/pivotal-cf-experimental/gomegamatchers v0.0.0-20180326192815-e36bfcc98c3a h1:K20a2viyp6kZgY41ESLne0eOXyY9DarmwA4q6zQ686w=
github.com/pivotal-cf-experimental/gomegamatchers v0.0.0-20180326192815-e36bfcc98c3a/go.mod h1:HdFegZwXOoRNyrqaOX6FC1zMkbA2k1/ktb2anj1E0K8=
github.com/pivotal-cf/go-pivnet v1.0.3/go.mod h1:rvEzWli4NJQhX7Z3z0DiEQXsPwC+uE//eIKcpl7S1as=
github.com/pivotal-cf/go-pivnet/v2 v2.0.11 h1:6tzC4zOr7acFPevfP32+8rEU567JlDobqiIejFf8aOc=
github.com/pivotal-cf/go-pivnet/v2 v2.0.11/go.mod h1:Ormn4YO2MooU40LNFwECoLd8XZFwbRcysET+OAn7FLg=
github.com/pivotal-cf/go-pivnet/v6 v6.0.2/go.mod h1:ymI4gZvp8lf3GNaf1Re+JRV18zU0w8TLBDQB/t8SaFs=
github.com/pivotal-cf/go-pivnet/v7 v7.0.2 h1:8IYUIXmFEJpuTSIuOM5K4z0tJLPULDPpKJfn+wWLhqk=
github.com/pivotal-cf/go-pivnet/v7 v7.0.2/go.mod h1:h868WmuLUuavwNHoC6FyGI3hK/6rP3/HCmM8sYLuC8c=
github.com/pivotal-cf/jhanda v0.0.0-20200619200912-8de8eb943a43 h1:SYEUxVbqz3U7pJP/tlaXaD08w0rZVuPvCFRodnw/TLY=
github.com/pivotal-cf/jhanda v0.0.0-20200619200912-8de8eb943a43/go.mod h1:UXciri1Yqno0IdXxEzwMF91nnwYMPoN95goHWxVtWq8=
github.com/pivotal-cf/om v0.0.0-20211027143906-30b10602e528 h1:XYJJ3cozlyyEs9IhoQLA2ZE9GpT4qrtM8V9FhXF4PqY=
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/fakes/pivnet_product_files_service.go

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

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

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

20 changes: 11 additions & 9 deletions internal/commands/fakes/pivnet_releases_service.go

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

2 changes: 1 addition & 1 deletion internal/commands/fakes/pivnet_user_groups_service.go

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

6 changes: 3 additions & 3 deletions internal/commands/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (

"github.com/Masterminds/semver"
"github.com/go-git/go-billy/v5"
"github.com/pivotal-cf/go-pivnet/v2"
"github.com/pivotal-cf/go-pivnet/v2/logshim"
"github.com/pivotal-cf/go-pivnet/v7"
"github.com/pivotal-cf/go-pivnet/v7/logshim"
"github.com/pivotal-cf/jhanda"
"gopkg.in/yaml.v2"

Expand All @@ -28,7 +28,7 @@ const (

//counterfeiter:generate -o ./fakes/pivnet_releases_service.go --fake-name PivnetReleasesService . PivnetReleasesService
type PivnetReleasesService interface {
List(productSlug string) ([]pivnet.Release, error)
List(productSlug string, _ ...pivnet.QueryParameter) ([]pivnet.Release, error)
Update(productSlug string, release pivnet.Release) (pivnet.Release, error)
}

Expand Down
8 changes: 4 additions & 4 deletions internal/commands/publish_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/Masterminds/semver"
"github.com/go-git/go-billy/v5"
"github.com/go-git/go-billy/v5/memfs"
"github.com/pivotal-cf/go-pivnet/v2"
"github.com/pivotal-cf/go-pivnet/v7"

"github.com/pivotal-cf/kiln/internal/commands"
commandsFakes "github.com/pivotal-cf/kiln/internal/commands/fakes"
Expand Down Expand Up @@ -394,11 +394,11 @@ pre_ga_user_groups:

Context("during the ga window", func() {
const (
version20OslFileID = 42
version21OslFileID = 43
version20OslFileID = 42
version21OslFileID = 43
version21OsmPartOneFileId = 44
version21OsmPartTwoFileId = 45
version20OsmFileId = 46
version20OsmFileId = 46
)
var (
args []string
Expand Down
124 changes: 124 additions & 0 deletions pkg/notes/fakes/historic_kilnfile.go

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

Loading

0 comments on commit c31f2f4

Please sign in to comment.