From fb0337cb4d23752c045d20056287f44040479dc5 Mon Sep 17 00:00:00 2001 From: Daniel Mikusa Date: Mon, 14 Aug 2023 12:54:55 -0400 Subject: [PATCH] Upgrade to libpak v2 alpha.1 release Signed-off-by: Daniel Mikusa --- commands/dependency_update_build_image.go | 2 +- commands/dependency_update_build_module.go | 2 +- commands/dependency_update_lifecycle.go | 2 +- commands/dependency_update_package.go | 2 +- commands/package_create.go | 2 +- go.mod | 10 ++++---- go.sum | 28 +++++++++++----------- 7 files changed, 24 insertions(+), 24 deletions(-) diff --git a/commands/dependency_update_build_image.go b/commands/dependency_update_build_image.go index ef9e3cc..08a959f 100644 --- a/commands/dependency_update_build_image.go +++ b/commands/dependency_update_build_image.go @@ -19,7 +19,7 @@ package commands import ( "log" - "github.com/paketo-buildpacks/libpak/carton" + "github.com/paketo-buildpacks/libpak/v2/carton" "github.com/spf13/cobra" ) diff --git a/commands/dependency_update_build_module.go b/commands/dependency_update_build_module.go index ddbef31..b670bd1 100644 --- a/commands/dependency_update_build_module.go +++ b/commands/dependency_update_build_module.go @@ -19,7 +19,7 @@ package commands import ( "log" - "github.com/paketo-buildpacks/libpak/carton" + "github.com/paketo-buildpacks/libpak/v2/carton" "github.com/spf13/cobra" ) diff --git a/commands/dependency_update_lifecycle.go b/commands/dependency_update_lifecycle.go index 6baf3cf..ad9b11a 100644 --- a/commands/dependency_update_lifecycle.go +++ b/commands/dependency_update_lifecycle.go @@ -19,7 +19,7 @@ package commands import ( "log" - "github.com/paketo-buildpacks/libpak/carton" + "github.com/paketo-buildpacks/libpak/v2/carton" "github.com/spf13/cobra" ) diff --git a/commands/dependency_update_package.go b/commands/dependency_update_package.go index 69abde5..1122fb0 100644 --- a/commands/dependency_update_package.go +++ b/commands/dependency_update_package.go @@ -19,7 +19,7 @@ package commands import ( "log" - "github.com/paketo-buildpacks/libpak/carton" + "github.com/paketo-buildpacks/libpak/v2/carton" "github.com/spf13/cobra" ) diff --git a/commands/package_create.go b/commands/package_create.go index 0a78e4b..14f3c95 100644 --- a/commands/package_create.go +++ b/commands/package_create.go @@ -21,7 +21,7 @@ import ( "log" "os" - "github.com/paketo-buildpacks/libpak/carton" + "github.com/paketo-buildpacks/libpak/v2/carton" "github.com/spf13/cobra" ) diff --git a/go.mod b/go.mod index a51472d..ba5e0a7 100644 --- a/go.mod +++ b/go.mod @@ -3,23 +3,23 @@ module github.com/paketo-buildpacks/libpak-tools go 1.20 require ( - github.com/paketo-buildpacks/libpak v1.66.1-0.20230707152440-cd6875914a49 + github.com/paketo-buildpacks/libpak/v2 v2.0.0-alpha.1 github.com/spf13/cobra v1.7.0 ) require ( + dario.cat/mergo v1.0.0 // indirect github.com/BurntSushi/toml v1.3.2 // indirect github.com/Masterminds/semver v1.5.0 // indirect github.com/Masterminds/semver/v3 v3.2.1 // indirect - github.com/buildpacks/libcnb v1.24.1-0.20230717131530-4f8f92a58cca // indirect + github.com/buildpacks/libcnb/v2 v2.0.0-alpha.1 // indirect github.com/creack/pty v1.1.18 // indirect github.com/heroku/color v0.0.6 // indirect - github.com/imdario/mergo v0.3.16 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.19 // indirect github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect - github.com/onsi/gomega v1.27.8 // indirect + github.com/onsi/gomega v1.27.10 // indirect github.com/spf13/pflag v1.0.5 // indirect - golang.org/x/sys v0.10.0 // indirect + golang.org/x/sys v0.11.0 // indirect ) diff --git a/go.sum b/go.sum index 6add675..4cb465a 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,5 @@ +dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= +dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8= github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/CycloneDX/cyclonedx-go v0.7.1 h1:5w1SxjGm9MTMNTuRbEPyw21ObdbaagTWF/KfF0qHTRE= @@ -5,8 +7,8 @@ github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3Q github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= github.com/Masterminds/semver/v3 v3.2.1 h1:RN9w6+7QoMeJVGyfmbcgs28Br8cvmnucEXnY0rYXWg0= github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ= -github.com/buildpacks/libcnb v1.24.1-0.20230717131530-4f8f92a58cca h1:G1uSkl8vEW3zvM4+XeRDY6mETJMRh9wtdIsxdaBKHug= -github.com/buildpacks/libcnb v1.24.1-0.20230717131530-4f8f92a58cca/go.mod h1:01dTIt3kZYQM6qWvvF+/wvPPA1ByaVMBH7pnfMwO9pI= +github.com/buildpacks/libcnb/v2 v2.0.0-alpha.1 h1:Re6ij+R/7CkWsOJUpQU76v5Ki7MTjUpLn0XEzsDbbZE= +github.com/buildpacks/libcnb/v2 v2.0.0-alpha.1/go.mod h1:kqJbwxQrjebmQJQsB6zdR56nM/5vwvQAKwe9/HZgVB0= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY= github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= @@ -15,8 +17,6 @@ github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/heroku/color v0.0.6 h1:UTFFMrmMLFcL3OweqP1lAdp8i1y/9oHqkeHjQ/b/Ny0= github.com/heroku/color v0.0.6/go.mod h1:ZBvOcx7cTF2QKOv4LbmoBtNl5uB17qWxGuzZrsi1wLU= -github.com/imdario/mergo v0.3.16 h1:wwQJbIsHYGMUyLSPrEq1CT16AhnhNJQ51+4fdHUnCl4= -github.com/imdario/mergo v0.3.16/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+hD27ysY= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= @@ -28,10 +28,10 @@ github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APP github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mitchellh/hashstructure/v2 v2.0.2 h1:vGKWl0YJqUNxE8d+h8f6NJLcCJrgbhC4NcD46KavDd4= github.com/mitchellh/hashstructure/v2 v2.0.2/go.mod h1:MG3aRVU/N29oo/V/IhBX8GR/zz4kQkprJgF2EVszyDE= -github.com/onsi/gomega v1.27.8 h1:gegWiwZjBsf2DgiSbf5hpokZ98JVDMcWkUiigk6/KXc= -github.com/onsi/gomega v1.27.8/go.mod h1:2J8vzI/s+2shY9XHRApDkdgPo1TKT7P2u6fXeJKFnNQ= -github.com/paketo-buildpacks/libpak v1.66.1-0.20230707152440-cd6875914a49 h1:t/1JPeLKsBkGCfE09MU3s2Er018NorSuxhBI1Y1IrYE= -github.com/paketo-buildpacks/libpak v1.66.1-0.20230707152440-cd6875914a49/go.mod h1:NQIzZJXFMp8MxVjBjWl6htjCMTcC3oirC4r3NOLQmew= +github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= +github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= +github.com/paketo-buildpacks/libpak/v2 v2.0.0-alpha.1 h1:UiXOPfmK4CGJPL8QOYyodvwCvCl5S6O0TogHBjnr1/c= +github.com/paketo-buildpacks/libpak/v2 v2.0.0-alpha.1/go.mod h1:9jDInmvK5Lfaq3rAxUfwL42kkQbX5NIgLnsfBGtiGp4= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8= @@ -39,16 +39,16 @@ github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= +github.com/stretchr/objx v0.5.1 h1:4VhoImhV/Bm0ToFkXFi8hXNXwpDRZ/ynw3amt82mzq0= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -golang.org/x/net v0.12.0 h1:cfawfvKITfUsFCeJIHJrbSxpeu/E81khclypR0GVT50= +golang.org/x/net v0.14.0 h1:BONx9s002vGdD9umnlX1Po8vOZmrgH34qlHcD1MfK14= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= -golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/text v0.11.0 h1:LAntKIrcmeSKERyiOh0XMV39LXS8IE9UL2yP7+f5ij4= -google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= +golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM= +golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc= +google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=