Skip to content

Commit 863774d

Browse files
mdelillokardolus
authored andcommitted
Switch import paths to code.cloudfoundry.org
[#158148883] CLI uses `github.com/cloudfoundry-incubator` as import rather than `code.cloudfoundry` Signed-off-by: Guillermo Kardolus <gkardolus@pivotal.io>
1 parent 1c5b5bc commit 863774d

Some content is hidden

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

81 files changed

+136
-136
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ifndef VERSION
1010
VERSION = dev
1111
endif
1212

13-
GOFLAGS := -o $(DEST) -ldflags "-X github.com/cloudfoundry-incubator/credhub-cli/version.Version=${VERSION}"
13+
GOFLAGS := -o $(DEST) -ldflags "-X code.cloudfoundry.org/credhub-cli/version.Version=${VERSION}"
1414

1515
all: test clean build
1616

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# <div align="center"><img src="https://raw.githubusercontent.com/cloudfoundry-incubator/credhub/master/docs/images/logo.png" alt="CredHub"></div>
22

33
[![slack.cloudfoundry.org](https://slack.cloudfoundry.org/badge.svg)](https://slack.cloudfoundry.org)
4-
[![GoDoc](https://godoc.org/github.com/golang/gddo?status.svg)](http://godoc.org/github.com/cloudfoundry-incubator/credhub-cli/credhub)
4+
[![GoDoc](https://godoc.org/github.com/golang/gddo?status.svg)](http://godoc.org/code.cloudfoundry.org/credhub-cli/credhub)
55

66
CredHub manages credentials like passwords, certificates, certificate authorities, ssh keys, rsa keys and arbitrary values (strings and JSON blobs). CredHub provides a CLI and API to get, set, generate and securely store such credentials.
77

88
* [CredHub Tracker](https://www.pivotaltracker.com/n/projects/1977341)
99

1010
See additional repos for more info:
1111

12-
* [credhub](https://github.com/cloudfoundry-incubator/credhub) : CredHub server code
12+
* [credhub](https://code.cloudfoundry.org/credhub) : CredHub server code
1313
* [credhub-acceptance-tests](https://github.com/cloudfoundry-incubator/credhub-acceptance-tests) : Integration tests
1414
* [credhub-release](https://github.com/pivotal-cf/credhub-release) : BOSH release of CredHub server
1515

@@ -31,7 +31,7 @@ Download and install the desired release from the [release page](https://github.
3131

3232
### Go Client
3333

34-
This repository contains a Go client library that can be used independently of the CredHub CLI. Documentation for this library can be found [here](https://godoc.org/github.com/cloudfoundry-incubator/credhub-cli/credhub).
34+
This repository contains a Go client library that can be used independently of the CredHub CLI. Documentation for this library can be found [here](https://godoc.org/code.cloudfoundry.org/credhub-cli/credhub).
3535

3636

3737
### Usage:

commands/api.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import (
55

66
"net/url"
77

8-
"github.com/cloudfoundry-incubator/credhub-cli/config"
9-
"github.com/cloudfoundry-incubator/credhub-cli/credhub"
10-
"github.com/cloudfoundry-incubator/credhub-cli/credhub/server"
11-
"github.com/cloudfoundry-incubator/credhub-cli/errors"
12-
"github.com/cloudfoundry-incubator/credhub-cli/util"
8+
"code.cloudfoundry.org/credhub-cli/config"
9+
"code.cloudfoundry.org/credhub-cli/credhub"
10+
"code.cloudfoundry.org/credhub-cli/credhub/server"
11+
"code.cloudfoundry.org/credhub-cli/errors"
12+
"code.cloudfoundry.org/credhub-cli/util"
1313
"github.com/fatih/color"
1414
)
1515

commands/api_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"net/http"
66
"os"
77

8-
"github.com/cloudfoundry-incubator/credhub-cli/config"
8+
"code.cloudfoundry.org/credhub-cli/config"
99
. "github.com/onsi/ginkgo"
1010
. "github.com/onsi/gomega"
1111
. "github.com/onsi/gomega/gbytes"

commands/bulk_regenerate_test.go

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

6-
"github.com/cloudfoundry-incubator/credhub-cli/commands"
6+
"code.cloudfoundry.org/credhub-cli/commands"
77
. "github.com/onsi/ginkgo"
88
. "github.com/onsi/gomega"
99
. "github.com/onsi/gomega/gbytes"

commands/client_credentials_auth_test.go

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

6-
"github.com/cloudfoundry-incubator/credhub-cli/config"
6+
"code.cloudfoundry.org/credhub-cli/config"
77
. "github.com/onsi/ginkgo"
88
. "github.com/onsi/gomega"
99
. "github.com/onsi/gomega/gbytes"

commands/commands.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package commands
22

33
import (
4-
"github.com/cloudfoundry-incubator/credhub-cli/config"
5-
"github.com/cloudfoundry-incubator/credhub-cli/credhub"
4+
"code.cloudfoundry.org/credhub-cli/config"
5+
"code.cloudfoundry.org/credhub-cli/credhub"
66
)
77

88
type CredhubCommand struct {

commands/commands_suite_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import (
2020

2121
"path/filepath"
2222

23-
"github.com/cloudfoundry-incubator/credhub-cli/config"
24-
test_util "github.com/cloudfoundry-incubator/credhub-cli/test"
23+
"code.cloudfoundry.org/credhub-cli/config"
24+
test_util "code.cloudfoundry.org/credhub-cli/test"
2525
)
2626

2727
const TIMESTAMP = `2016-01-01T12:00:00Z`
@@ -112,7 +112,7 @@ var _ = AfterEach(func() {
112112
})
113113

114114
var _ = SynchronizedBeforeSuite(func() []byte {
115-
executable_path, err := Build("github.com/cloudfoundry-incubator/credhub-cli", "-ldflags", "-X github.com/cloudfoundry-incubator/credhub-cli/version.Version=test-version")
115+
executable_path, err := Build("code.cloudfoundry.org/credhub-cli", "-ldflags", "-X code.cloudfoundry.org/credhub-cli/version.Version=test-version")
116116
Expect(err).NotTo(HaveOccurred())
117117
return []byte(executable_path)
118118
}, func(data []byte) {

commands/delete_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
"runtime"
77

8-
"github.com/cloudfoundry-incubator/credhub-cli/config"
8+
"code.cloudfoundry.org/credhub-cli/config"
99
. "github.com/onsi/ginkgo"
1010
. "github.com/onsi/gomega"
1111
. "github.com/onsi/gomega/gbytes"

commands/export.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"fmt"
55
"io/ioutil"
66

7-
"github.com/cloudfoundry-incubator/credhub-cli/config"
8-
"github.com/cloudfoundry-incubator/credhub-cli/credhub/credentials"
9-
"github.com/cloudfoundry-incubator/credhub-cli/models"
7+
"code.cloudfoundry.org/credhub-cli/config"
8+
"code.cloudfoundry.org/credhub-cli/credhub/credentials"
9+
"code.cloudfoundry.org/credhub-cli/models"
1010
)
1111

1212
type ExportCommand struct {

0 commit comments

Comments
 (0)