Skip to content

Commit

Permalink
Fix absolute references
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasHeimann committed Aug 24, 2022
1 parent 58a32fa commit 26bac8c
Show file tree
Hide file tree
Showing 2,192 changed files with 9,191 additions and 9,191 deletions.
Binary file modified .github/cf_example.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ View our [CLI v6 & v7 & v8 Versioning and Support Policy](https://github.com/clo
If you have any questions, ask away on the #cli channel in [our Slack
community](https://slack.cloudfoundry.org/) and the
[cf-dev](https://lists.cloudfoundry.org/archives/list/cf-dev@lists.cloudfoundry.org/)
mailing list, or [open a GitHub issue](https://github.com/cloudfoundry/cli/issues/new).
mailing list, or [open a GitHub issue](https://github.com/cloudfoundry/cli/issues/new).
You can follow our development progress
on [Core CF CLI Pivotal Tracker](https://www.pivotaltracker.com/n/projects/892938).

Expand Down Expand Up @@ -80,7 +80,7 @@ Check out our [community contributed CLI plugins](https://plugins.cloudfoundry.o
* .cfignore used in `cf push` must be in UTF-8 encoding for CLI to interpret correctly. ([issue #281](https://github.com/cloudfoundry/cli/issues/281#issuecomment-65315518))
* On Linux, when encountering message "bash: .cf: No such file or directory", ensure that you're using the [correct binary or installer for your architecture](https://askubuntu.com/questions/133389/no-such-file-or-directory-but-the-file-exists).
* X-Cf-Warnings are printed through the `stdout`, if that's an inconvenience you could set `CF_RAISE_ERROR_ON_WARNINGS` and in that case warnings will be printed through the `stderr`. See [X-Cf-Warnings printed through stdout issue](https://github.com/cloudfoundry/cli/issues/2164)
* False negative message for user org creation. CLI v7.0 and CLI v7.1 non-admin users with the user-org-creation feature flag enabled will experience a failure when running cf create-org. The command will explicitly fail attempting to grant the user an org-manager role. However, it actually succeeds because the user would have an org-manager role granted to them via CAPI and therefore be able to access their org. This issue is resolved as of CLI v7.2. See [Inconsistent v2/v3 behavior around creating new orgs + assigning roles](https://github.com/cloudfoundry/cloud_controller_ng/issues/1879).
* False negative message for user org creation. CLI v7.0 and CLI v7.1 non-admin users with the user-org-creation feature flag enabled will experience a failure when running cf create-org. The command will explicitly fail attempting to grant the user an org-manager role. However, it actually succeeds because the user would have an org-manager role granted to them via CAPI and therefore be able to access their org. This issue is resolved as of CLI v7.2. See [Inconsistent v2/v3 behavior around creating new orgs + assigning roles](https://github.com/cloudfoundry/cloud_controller_ng/issues/1879).

## Filing Issues & Feature Requests

Expand All @@ -97,6 +97,6 @@ information follow:
* [The CF CLI plugin development guide](https://github.com/cloudfoundry/cli/tree/master/plugin/plugin_examples)
* [The official plugins repository](https://plugins.cloudfoundry.org/)

When importing the plugin code use `import "code.cloudfoundry.org/cli/plugin"`.
When importing the plugin code use `import "github.com/LukasHeimann/cloudfoundrycli/v8/plugin"`.
Older plugins that import `github.com/cloudfoundry/cli/plugin` will still work
as long they vendor the plugins directory.
2 changes: 1 addition & 1 deletion actor/actionerror/duplicate_service_error_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package actionerror_test

import (
"code.cloudfoundry.org/cli/actor/actionerror"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
2 changes: 1 addition & 1 deletion actor/actionerror/duplicate_service_plan_error_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package actionerror_test

import (
"code.cloudfoundry.org/cli/actor/actionerror"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
2 changes: 1 addition & 1 deletion actor/actionerror/enrich_api_errors.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package actionerror

import "code.cloudfoundry.org/cli/api/cloudcontroller/ccerror"
import "github.com/LukasHeimann/cloudfoundrycli/v8/api/cloudcontroller/ccerror"

func EnrichAPIErrors(e error) error {
switch err := e.(type) {
Expand Down
4 changes: 2 additions & 2 deletions actor/actionerror/enrich_api_errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package actionerror_test
import (
"errors"

"code.cloudfoundry.org/cli/api/cloudcontroller/ccerror"
"github.com/LukasHeimann/cloudfoundrycli/v8/api/cloudcontroller/ccerror"

"code.cloudfoundry.org/cli/actor/actionerror"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion actor/actionerror/package_not_found_in_app_error_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package actionerror_test

import (
"code.cloudfoundry.org/cli/actor/actionerror"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
2 changes: 1 addition & 1 deletion actor/actionerror/route_not_found_error_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package actionerror_test

import (
"code.cloudfoundry.org/cli/actor/actionerror"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package actionerror
import (
"fmt"

"code.cloudfoundry.org/cli/api/cloudcontroller/ccv3/constant"
"github.com/LukasHeimann/cloudfoundrycli/v8/api/cloudcontroller/ccv3/constant"
)

// SecurityGroupNotBoundToSpaceError is returned when a requested security group is
Expand Down
2 changes: 1 addition & 1 deletion actor/actionerror/service_instance_type_error.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package actionerror
import (
"fmt"

"code.cloudfoundry.org/cli/resources"
"github.com/LukasHeimann/cloudfoundrycli/v8/resources"
)

type ServiceInstanceTypeError struct {
Expand Down
2 changes: 1 addition & 1 deletion actor/actionerror/service_not_found_error_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package actionerror_test

import (
"code.cloudfoundry.org/cli/actor/actionerror"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
2 changes: 1 addition & 1 deletion actor/actionerror/service_offering_name_ambiguity_error.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package actionerror

import "code.cloudfoundry.org/cli/api/cloudcontroller/ccerror"
import "github.com/LukasHeimann/cloudfoundrycli/v8/api/cloudcontroller/ccerror"

type ServiceOfferingNameAmbiguityError struct {
ccerror.ServiceOfferingNameAmbiguityError
Expand Down
2 changes: 1 addition & 1 deletion actor/actionerror/service_plan_not_found_error_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package actionerror_test
import (
"fmt"

"code.cloudfoundry.org/cli/actor/actionerror"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
2 changes: 1 addition & 1 deletion actor/actionerror/space_not_found_error_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package actionerror_test

import (
"code.cloudfoundry.org/cli/actor/actionerror"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
2 changes: 1 addition & 1 deletion actor/actionerror/user_not_found.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package actionerror
import (
"fmt"

"code.cloudfoundry.org/cli/api/cloudcontroller/ccv3/constant"
"github.com/LukasHeimann/cloudfoundrycli/v8/api/cloudcontroller/ccv3/constant"
)

// UserNotFoundError is an error wrapper that represents the case
Expand Down

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.

4 changes: 2 additions & 2 deletions actor/cfnetworkingaction/cloud_controller_client.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cfnetworkingaction

import (
"code.cloudfoundry.org/cli/api/cloudcontroller/ccv3"
"code.cloudfoundry.org/cli/resources"
"github.com/LukasHeimann/cloudfoundrycli/v8/api/cloudcontroller/ccv3"
"github.com/LukasHeimann/cloudfoundrycli/v8/resources"
)

//go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 . CloudControllerClient
Expand Down
12 changes: 6 additions & 6 deletions actor/cfnetworkingaction/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ package cfnetworkingaction

import (
"code.cloudfoundry.org/cfnetworking-cli-api/cfnetworking/cfnetv1"
"code.cloudfoundry.org/cli/actor/actionerror"
"code.cloudfoundry.org/cli/api/cloudcontroller/ccv3"
"code.cloudfoundry.org/cli/api/cloudcontroller/ccv3/constant"
"code.cloudfoundry.org/cli/resources"
"code.cloudfoundry.org/cli/util/batcher"
"code.cloudfoundry.org/cli/util/lookuptable"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
"github.com/LukasHeimann/cloudfoundrycli/v8/api/cloudcontroller/ccv3"
"github.com/LukasHeimann/cloudfoundrycli/v8/api/cloudcontroller/ccv3/constant"
"github.com/LukasHeimann/cloudfoundrycli/v8/resources"
"github.com/LukasHeimann/cloudfoundrycli/v8/util/batcher"
"github.com/LukasHeimann/cloudfoundrycli/v8/util/lookuptable"
)

type Policy struct {
Expand Down
14 changes: 7 additions & 7 deletions actor/cfnetworkingaction/policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import (
"errors"
"fmt"

"code.cloudfoundry.org/cli/api/cloudcontroller/ccv3"
"code.cloudfoundry.org/cli/api/cloudcontroller/ccv3/constant"
"code.cloudfoundry.org/cli/resources"
"code.cloudfoundry.org/cli/util/batcher"
"github.com/LukasHeimann/cloudfoundrycli/v8/api/cloudcontroller/ccv3"
"github.com/LukasHeimann/cloudfoundrycli/v8/api/cloudcontroller/ccv3/constant"
"github.com/LukasHeimann/cloudfoundrycli/v8/resources"
"github.com/LukasHeimann/cloudfoundrycli/v8/util/batcher"

"code.cloudfoundry.org/cfnetworking-cli-api/cfnetworking/cfnetv1"
"code.cloudfoundry.org/cli/actor/actionerror"
. "code.cloudfoundry.org/cli/actor/cfnetworkingaction"
"code.cloudfoundry.org/cli/actor/cfnetworkingaction/cfnetworkingactionfakes"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
. "github.com/LukasHeimann/cloudfoundrycli/v8/actor/cfnetworkingaction"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/cfnetworkingaction/cfnetworkingactionfakes"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
2 changes: 1 addition & 1 deletion actor/pluginaction/checksum.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package pluginaction

import "code.cloudfoundry.org/cli/util/configv3"
import "github.com/LukasHeimann/cloudfoundrycli/v8/util/configv3"

func (actor Actor) ValidateFileChecksum(path string, checksum string) bool {
plugin := configv3.Plugin{Location: path}
Expand Down
4 changes: 2 additions & 2 deletions actor/pluginaction/checksum_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"io/ioutil"
"os"

. "code.cloudfoundry.org/cli/actor/pluginaction"
"code.cloudfoundry.org/cli/actor/pluginaction/pluginactionfakes"
. "github.com/LukasHeimann/cloudfoundrycli/v8/actor/pluginaction"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/pluginaction/pluginactionfakes"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
2 changes: 1 addition & 1 deletion actor/pluginaction/config.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package pluginaction

import "code.cloudfoundry.org/cli/util/configv3"
import "github.com/LukasHeimann/cloudfoundrycli/v8/util/configv3"

//go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 . Config

Expand Down
8 changes: 4 additions & 4 deletions actor/pluginaction/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (

"github.com/blang/semver"

"code.cloudfoundry.org/cli/actor/actionerror"
"code.cloudfoundry.org/cli/api/plugin"
"code.cloudfoundry.org/cli/util/configv3"
"code.cloudfoundry.org/cli/util/generic"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
"github.com/LukasHeimann/cloudfoundrycli/v8/api/plugin"
"github.com/LukasHeimann/cloudfoundrycli/v8/util/configv3"
"github.com/LukasHeimann/cloudfoundrycli/v8/util/generic"
"code.cloudfoundry.org/gofileutils/fileutils"
)

Expand Down
14 changes: 7 additions & 7 deletions actor/pluginaction/install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (
"os"
"path/filepath"

"code.cloudfoundry.org/cli/actor/actionerror"
. "code.cloudfoundry.org/cli/actor/pluginaction"
"code.cloudfoundry.org/cli/actor/pluginaction/pluginactionfakes"
"code.cloudfoundry.org/cli/api/plugin"
"code.cloudfoundry.org/cli/api/plugin/pluginfakes"
"code.cloudfoundry.org/cli/util/configv3"
"code.cloudfoundry.org/cli/util/generic"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
. "github.com/LukasHeimann/cloudfoundrycli/v8/actor/pluginaction"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/pluginaction/pluginactionfakes"
"github.com/LukasHeimann/cloudfoundrycli/v8/api/plugin"
"github.com/LukasHeimann/cloudfoundrycli/v8/api/plugin/pluginfakes"
"github.com/LukasHeimann/cloudfoundrycli/v8/util/configv3"
"github.com/LukasHeimann/cloudfoundrycli/v8/util/generic"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
6 changes: 3 additions & 3 deletions actor/pluginaction/install_unix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"os"
"path/filepath"

. "code.cloudfoundry.org/cli/actor/pluginaction"
"code.cloudfoundry.org/cli/actor/pluginaction/pluginactionfakes"
"code.cloudfoundry.org/cli/util/configv3"
. "github.com/LukasHeimann/cloudfoundrycli/v8/actor/pluginaction"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/pluginaction/pluginactionfakes"
"github.com/LukasHeimann/cloudfoundrycli/v8/util/configv3"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
4 changes: 2 additions & 2 deletions actor/pluginaction/install_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"io/ioutil"
"os"

. "code.cloudfoundry.org/cli/actor/pluginaction"
"code.cloudfoundry.org/cli/actor/pluginaction/pluginactionfakes"
. "github.com/LukasHeimann/cloudfoundrycli/v8/actor/pluginaction"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/pluginaction/pluginactionfakes"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
2 changes: 1 addition & 1 deletion actor/pluginaction/list.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package pluginaction

import (
"code.cloudfoundry.org/cli/actor/actionerror"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
"github.com/blang/semver"
)

Expand Down
10 changes: 5 additions & 5 deletions actor/pluginaction/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package pluginaction_test
import (
"errors"

"code.cloudfoundry.org/cli/actor/actionerror"
. "code.cloudfoundry.org/cli/actor/pluginaction"
"code.cloudfoundry.org/cli/actor/pluginaction/pluginactionfakes"
"code.cloudfoundry.org/cli/api/plugin"
"code.cloudfoundry.org/cli/util/configv3"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
. "github.com/LukasHeimann/cloudfoundrycli/v8/actor/pluginaction"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/pluginaction/pluginactionfakes"
"github.com/LukasHeimann/cloudfoundrycli/v8/api/plugin"
"github.com/LukasHeimann/cloudfoundrycli/v8/util/configv3"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
2 changes: 1 addition & 1 deletion actor/pluginaction/plugin_client.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package pluginaction

import "code.cloudfoundry.org/cli/api/plugin"
import "github.com/LukasHeimann/cloudfoundrycli/v8/api/plugin"

//go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 . PluginClient

Expand Down
6 changes: 3 additions & 3 deletions actor/pluginaction/plugin_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package pluginaction
import (
"runtime"

"code.cloudfoundry.org/cli/actor/actionerror"
"code.cloudfoundry.org/cli/util/configv3"
"code.cloudfoundry.org/cli/util/generic"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
"github.com/LukasHeimann/cloudfoundrycli/v8/util/configv3"
"github.com/LukasHeimann/cloudfoundrycli/v8/util/generic"
)

type PluginInfo struct {
Expand Down
10 changes: 5 additions & 5 deletions actor/pluginaction/plugin_info_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package pluginaction_test
import (
"errors"

"code.cloudfoundry.org/cli/actor/actionerror"
. "code.cloudfoundry.org/cli/actor/pluginaction"
"code.cloudfoundry.org/cli/actor/pluginaction/pluginactionfakes"
"code.cloudfoundry.org/cli/api/plugin"
"code.cloudfoundry.org/cli/util/configv3"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
. "github.com/LukasHeimann/cloudfoundrycli/v8/actor/pluginaction"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/pluginaction/pluginactionfakes"
"github.com/LukasHeimann/cloudfoundrycli/v8/api/plugin"
"github.com/LukasHeimann/cloudfoundrycli/v8/util/configv3"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
4 changes: 2 additions & 2 deletions actor/pluginaction/plugin_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"strings"

"code.cloudfoundry.org/cli/actor/actionerror"
"code.cloudfoundry.org/cli/util/configv3"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
"github.com/LukasHeimann/cloudfoundrycli/v8/util/configv3"
)

func (actor Actor) AddPluginRepository(repoName string, repoURL string) error {
Expand Down
10 changes: 5 additions & 5 deletions actor/pluginaction/plugin_repository_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"errors"
"strings"

"code.cloudfoundry.org/cli/actor/actionerror"
. "code.cloudfoundry.org/cli/actor/pluginaction"
"code.cloudfoundry.org/cli/actor/pluginaction/pluginactionfakes"
"code.cloudfoundry.org/cli/api/plugin"
"code.cloudfoundry.org/cli/util/configv3"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/actionerror"
. "github.com/LukasHeimann/cloudfoundrycli/v8/actor/pluginaction"
"github.com/LukasHeimann/cloudfoundrycli/v8/actor/pluginaction/pluginactionfakes"
"github.com/LukasHeimann/cloudfoundrycli/v8/api/plugin"
"github.com/LukasHeimann/cloudfoundrycli/v8/util/configv3"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
Loading

0 comments on commit 26bac8c

Please sign in to comment.