Skip to content

Commit c6f1077

Browse files
authored
[v8] upgrade module to v8 standard go version workflow (#3256)
1 parent c2ccd30 commit c6f1077

File tree

2,265 files changed

+16672
-11792
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,265 files changed

+16672
-11792
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ CF_BUILD_VERSION ?= $$(git describe --tags --abbrev=0)
88
CF_BUILD_SHA ?= $$(git rev-parse --short HEAD)
99
CF_BUILD_DATE ?= $$(date -u +"%Y-%m-%d")
1010
LD_FLAGS_COMMON=-w -s \
11-
-X code.cloudfoundry.org/cli/version.binarySHA=$(CF_BUILD_SHA) \
12-
-X code.cloudfoundry.org/cli/version.binaryBuildDate=$(CF_BUILD_DATE)
11+
-X code.cloudfoundry.org/cli/v8/version.binarySHA=$(CF_BUILD_SHA) \
12+
-X code.cloudfoundry.org/cli/v8/version.binaryBuildDate=$(CF_BUILD_DATE)
1313
LD_FLAGS =$(LD_FLAGS_COMMON) \
14-
-X code.cloudfoundry.org/cli/version.binaryVersion=$(CF_BUILD_VERSION)
14+
-X code.cloudfoundry.org/cli/v8/version.binaryVersion=$(CF_BUILD_VERSION)
1515
LD_FLAGS_LINUX = -extldflags \"-static\" $(LD_FLAGS)
1616
REQUIRED_FOR_STATIC_BINARY =-a -tags "netgo" -installsuffix netgo
1717
GOSRC = $(shell find . -name "*.go" ! -name "*test.go" ! -name "*fake*" ! -path "./integration/*")

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,6 @@ information follow:
9797
* [The CF CLI plugin development guide](https://github.com/cloudfoundry/cli/tree/master/plugin/plugin_examples)
9898
* [The official plugins repository](https://plugins.cloudfoundry.org/)
9999

100-
When importing the plugin code use `import "code.cloudfoundry.org/cli/plugin"`.
100+
When importing the plugin code use `import "code.cloudfoundry.org/cli/v8/plugin"`.
101101
Older plugins that import `github.com/cloudfoundry/cli/plugin` will still work
102102
as long they vendor the plugins directory.

actor/actionerror/duplicate_service_error_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package actionerror_test
22

33
import (
4-
"code.cloudfoundry.org/cli/actor/actionerror"
4+
"code.cloudfoundry.org/cli/v8/actor/actionerror"
55
. "github.com/onsi/ginkgo/v2"
66
. "github.com/onsi/gomega"
77
)

actor/actionerror/duplicate_service_plan_error_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package actionerror_test
22

33
import (
4-
"code.cloudfoundry.org/cli/actor/actionerror"
4+
"code.cloudfoundry.org/cli/v8/actor/actionerror"
55
. "github.com/onsi/ginkgo/v2"
66
. "github.com/onsi/gomega"
77
)

actor/actionerror/enrich_api_errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package actionerror
22

3-
import "code.cloudfoundry.org/cli/api/cloudcontroller/ccerror"
3+
import "code.cloudfoundry.org/cli/v8/api/cloudcontroller/ccerror"
44

55
func EnrichAPIErrors(e error) error {
66
switch err := e.(type) {

actor/actionerror/enrich_api_errors_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package actionerror_test
33
import (
44
"errors"
55

6-
"code.cloudfoundry.org/cli/api/cloudcontroller/ccerror"
6+
"code.cloudfoundry.org/cli/v8/api/cloudcontroller/ccerror"
77

8-
"code.cloudfoundry.org/cli/actor/actionerror"
8+
"code.cloudfoundry.org/cli/v8/actor/actionerror"
99

1010
. "github.com/onsi/ginkgo/v2"
1111
. "github.com/onsi/gomega"

actor/actionerror/package_not_found_in_app_error_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package actionerror_test
22

33
import (
4-
"code.cloudfoundry.org/cli/actor/actionerror"
4+
"code.cloudfoundry.org/cli/v8/actor/actionerror"
55
. "github.com/onsi/ginkgo/v2"
66
. "github.com/onsi/gomega"
77
)

actor/actionerror/route_not_found_error_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package actionerror_test
22

33
import (
4-
"code.cloudfoundry.org/cli/actor/actionerror"
4+
"code.cloudfoundry.org/cli/v8/actor/actionerror"
55
. "github.com/onsi/ginkgo/v2"
66
. "github.com/onsi/gomega"
77
)

actor/actionerror/security_group_not_bound_to_space_error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package actionerror
33
import (
44
"fmt"
55

6-
"code.cloudfoundry.org/cli/api/cloudcontroller/ccv3/constant"
6+
"code.cloudfoundry.org/cli/v8/api/cloudcontroller/ccv3/constant"
77
)
88

99
// SecurityGroupNotBoundToSpaceError is returned when a requested security group is

actor/actionerror/service_instance_type_error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package actionerror
33
import (
44
"fmt"
55

6-
"code.cloudfoundry.org/cli/resources"
6+
"code.cloudfoundry.org/cli/v8/resources"
77
)
88

99
type ServiceInstanceTypeError struct {

0 commit comments

Comments
 (0)