Skip to content

Commit

Permalink
Renames module
Browse files Browse the repository at this point in the history
- cloudfoundry/packit -> paketo-buildpacks/packit
  • Loading branch information
Ryan Moran committed May 11, 2020
1 parent b9da674 commit e013f83
Show file tree
Hide file tree
Showing 59 changed files with 91 additions and 93 deletions.
2 changes: 1 addition & 1 deletion build.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"

"github.com/BurntSushi/toml"
"github.com/cloudfoundry/packit/internal"
"github.com/paketo-buildpacks/packit/internal"
)

// BuildContext provides the contextual details that are made available by the
Expand Down
6 changes: 3 additions & 3 deletions build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (
"path/filepath"
"testing"

"github.com/cloudfoundry/packit"
"github.com/cloudfoundry/packit/fakes"
"github.com/paketo-buildpacks/packit"
"github.com/paketo-buildpacks/packit/fakes"
"github.com/sclevine/spec"

. "github.com/cloudfoundry/packit/matchers"
. "github.com/onsi/gomega"
. "github.com/paketo-buildpacks/packit/matchers"
)

func testBuild(t *testing.T, context spec.G, it spec.S) {
Expand Down
2 changes: 1 addition & 1 deletion cargo/buildpack_parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/cloudfoundry/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo"
"github.com/sclevine/spec"

. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions cargo/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (
"testing"
"time"

"github.com/cloudfoundry/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo"
"github.com/sclevine/spec"

. "github.com/cloudfoundry/packit/matchers"
. "github.com/onsi/gomega"
. "github.com/paketo-buildpacks/packit/matchers"
)

func testConfig(t *testing.T, context spec.G, it spec.S) {
Expand Down
2 changes: 1 addition & 1 deletion cargo/dependency_cacher.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"path/filepath"
"strings"

"github.com/cloudfoundry/packit/scribe"
"github.com/paketo-buildpacks/packit/scribe"
)

//go:generate faux --interface Downloader --output fakes/downloader.go
Expand Down
6 changes: 3 additions & 3 deletions cargo/dependency_cacher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"strings"
"testing"

"github.com/cloudfoundry/packit/cargo"
"github.com/cloudfoundry/packit/cargo/fakes"
"github.com/cloudfoundry/packit/scribe"
"github.com/paketo-buildpacks/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo/fakes"
"github.com/paketo-buildpacks/packit/scribe"
"github.com/sclevine/spec"

. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion cargo/directory_duplicator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"path/filepath"
"testing"

"github.com/cloudfoundry/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo"
"github.com/sclevine/spec"

. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion cargo/fakes/executable.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package fakes
import (
"sync"

"github.com/cloudfoundry/packit/pexec"
"github.com/paketo-buildpacks/packit/pexec"
)

type Executable struct {
Expand Down
4 changes: 2 additions & 2 deletions cargo/file_bundler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"path/filepath"
"testing"

"github.com/cloudfoundry/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo"
"github.com/sclevine/spec"

. "github.com/cloudfoundry/packit/matchers"
. "github.com/onsi/gomega"
. "github.com/paketo-buildpacks/packit/matchers"
)

func testFileBundler(t *testing.T, context spec.G, it spec.S) {
Expand Down
2 changes: 1 addition & 1 deletion cargo/jam/commands/fakes/buildpack_inspector.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package fakes
import (
"sync"

"github.com/cloudfoundry/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo"
)

type BuildpackInspector struct {
Expand Down
2 changes: 1 addition & 1 deletion cargo/jam/commands/fakes/config_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package fakes
import (
"sync"

"github.com/cloudfoundry/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo"
)

type ConfigParser struct {
Expand Down
2 changes: 1 addition & 1 deletion cargo/jam/commands/fakes/dependency_cacher.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package fakes
import (
"sync"

"github.com/cloudfoundry/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo"
)

type DependencyCacher struct {
Expand Down
2 changes: 1 addition & 1 deletion cargo/jam/commands/fakes/file_bundler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package fakes
import (
"sync"

"github.com/cloudfoundry/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo"
)

type FileBundler struct {
Expand Down
2 changes: 1 addition & 1 deletion cargo/jam/commands/fakes/formatter.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package fakes
import (
"sync"

"github.com/cloudfoundry/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo"
)

type Formatter struct {
Expand Down
2 changes: 1 addition & 1 deletion cargo/jam/commands/fakes/tar_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package fakes
import (
"sync"

"github.com/cloudfoundry/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo"
)

type TarBuilder struct {
Expand Down
2 changes: 1 addition & 1 deletion cargo/jam/commands/pack.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"path/filepath"
"strings"

"github.com/cloudfoundry/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo"
)

//go:generate faux --interface ConfigParser --output fakes/config_parser.go
Expand Down
6 changes: 3 additions & 3 deletions cargo/jam/commands/pack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"testing"
"time"

"github.com/cloudfoundry/packit/cargo"
"github.com/cloudfoundry/packit/cargo/jam/commands"
"github.com/cloudfoundry/packit/cargo/jam/commands/fakes"
"github.com/paketo-buildpacks/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo/jam/commands"
"github.com/paketo-buildpacks/packit/cargo/jam/commands/fakes"
"github.com/sclevine/spec"

. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion cargo/jam/commands/summarize.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"flag"
"fmt"

"github.com/cloudfoundry/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo"
)

//go:generate faux --interface BuildpackInspector --output fakes/buildpack_inspector.go
Expand Down
6 changes: 3 additions & 3 deletions cargo/jam/commands/summarize_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"errors"
"testing"

"github.com/cloudfoundry/packit/cargo"
"github.com/cloudfoundry/packit/cargo/jam/commands"
"github.com/cloudfoundry/packit/cargo/jam/commands/fakes"
"github.com/paketo-buildpacks/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo/jam/commands"
"github.com/paketo-buildpacks/packit/cargo/jam/commands/fakes"
"github.com/sclevine/spec"

. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion cargo/jam/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestUnitJam(t *testing.T) {
err error
)

path, err = gexec.Build("github.com/cloudfoundry/packit/cargo/jam")
path, err = gexec.Build("github.com/paketo-buildpacks/packit/cargo/jam")
Expect(err).NotTo(HaveOccurred())
})

Expand Down
2 changes: 1 addition & 1 deletion cargo/jam/internal/buildpack_inspector.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"os"
"path/filepath"

"github.com/cloudfoundry/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo"
)

type BuildpackInspector struct{}
Expand Down
4 changes: 2 additions & 2 deletions cargo/jam/internal/buildpack_inspector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"os"
"testing"

"github.com/cloudfoundry/packit/cargo"
"github.com/cloudfoundry/packit/cargo/jam/internal"
"github.com/paketo-buildpacks/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo/jam/internal"
"github.com/sclevine/spec"

. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion cargo/jam/internal/formatter.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"

"github.com/Masterminds/semver"
"github.com/cloudfoundry/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo"
)

type Formatter struct {
Expand Down
4 changes: 2 additions & 2 deletions cargo/jam/internal/formatter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"bytes"
"testing"

"github.com/cloudfoundry/packit/cargo"
"github.com/cloudfoundry/packit/cargo/jam/internal"
"github.com/paketo-buildpacks/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo/jam/internal"
"github.com/sclevine/spec"

. "github.com/onsi/gomega"
Expand Down
10 changes: 5 additions & 5 deletions cargo/jam/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"fmt"
"os"

"github.com/cloudfoundry/packit/cargo"
"github.com/cloudfoundry/packit/cargo/jam/commands"
"github.com/cloudfoundry/packit/cargo/jam/internal"
"github.com/cloudfoundry/packit/pexec"
"github.com/cloudfoundry/packit/scribe"
"github.com/paketo-buildpacks/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo/jam/commands"
"github.com/paketo-buildpacks/packit/cargo/jam/internal"
"github.com/paketo-buildpacks/packit/pexec"
"github.com/paketo-buildpacks/packit/scribe"
)

type Command interface {
Expand Down
4 changes: 2 additions & 2 deletions cargo/jam/pack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ import (

"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
"github.com/paketo-buildpacks/packit/cargo"
"github.com/sclevine/spec"

"github.com/cloudfoundry/packit/cargo"
. "github.com/cloudfoundry/packit/matchers"
. "github.com/onsi/gomega"
. "github.com/paketo-buildpacks/packit/matchers"
)

func testPack(t *testing.T, context spec.G, it spec.S) {
Expand Down
4 changes: 2 additions & 2 deletions cargo/pre_packager.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package cargo
import (
"io"

"github.com/cloudfoundry/packit/pexec"
"github.com/cloudfoundry/packit/scribe"
"github.com/paketo-buildpacks/packit/pexec"
"github.com/paketo-buildpacks/packit/scribe"
)

//go:generate faux --interface Executable --output fakes/executable.go
Expand Down
8 changes: 4 additions & 4 deletions cargo/pre_packager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"bytes"
"testing"

"github.com/cloudfoundry/packit/cargo"
"github.com/cloudfoundry/packit/cargo/fakes"
"github.com/cloudfoundry/packit/pexec"
"github.com/cloudfoundry/packit/scribe"
"github.com/paketo-buildpacks/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo/fakes"
"github.com/paketo-buildpacks/packit/pexec"
"github.com/paketo-buildpacks/packit/scribe"
"github.com/sclevine/spec"

. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion cargo/tar_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"sort"
"time"

"github.com/cloudfoundry/packit/scribe"
"github.com/paketo-buildpacks/packit/scribe"
)

type TarBuilder struct {
Expand Down
4 changes: 2 additions & 2 deletions cargo/tar_builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"testing"
"time"

"github.com/cloudfoundry/packit/cargo"
"github.com/cloudfoundry/packit/scribe"
"github.com/paketo-buildpacks/packit/cargo"
"github.com/paketo-buildpacks/packit/scribe"
"github.com/sclevine/spec"

. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion cargo/transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"path/filepath"
"testing"

"github.com/cloudfoundry/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo"
"github.com/sclevine/spec"

. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion cargo/validated_reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"testing"

"github.com/cloudfoundry/packit/cargo"
"github.com/paketo-buildpacks/packit/cargo"
"github.com/sclevine/spec"

. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion detect.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"

"github.com/BurntSushi/toml"
"github.com/cloudfoundry/packit/internal"
"github.com/paketo-buildpacks/packit/internal"
)

// Fail is a sentinal value that can be used to indicate a failure to detect
Expand Down
8 changes: 4 additions & 4 deletions detect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import (
"path/filepath"
"testing"

"github.com/cloudfoundry/packit"
"github.com/cloudfoundry/packit/fakes"
"github.com/cloudfoundry/packit/internal"
"github.com/paketo-buildpacks/packit"
"github.com/paketo-buildpacks/packit/fakes"
"github.com/paketo-buildpacks/packit/internal"
"github.com/sclevine/spec"

. "github.com/cloudfoundry/packit/matchers"
. "github.com/onsi/gomega"
. "github.com/paketo-buildpacks/packit/matchers"
)

func testDetect(t *testing.T, context spec.G, it spec.S) {
Expand Down
4 changes: 2 additions & 2 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
// "os"
// "path/filepath"
//
// "github.com/cloudfoundry/packit"
// "github.com/paketo-buildpacks/packit"
// )
//
// func main() {
Expand Down Expand Up @@ -97,7 +97,7 @@
// package main
//
// import (
// "github.com/cloudfoundry/packit"
// "github.com/paketo-buildpacks/packit"
// )
//
// func main() {
Expand Down
2 changes: 1 addition & 1 deletion environment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package packit_test
import (
"testing"

"github.com/cloudfoundry/packit"
"github.com/paketo-buildpacks/packit"
"github.com/sclevine/spec"

. "github.com/onsi/gomega"
Expand Down
Loading

0 comments on commit e013f83

Please sign in to comment.