Skip to content

Commit e8a018d

Browse files
supakeenmvo5
authored andcommitted
imports: get from image-builder
Some packages have been moved to `image-builder-cli`. Add this dependency and move the import paths over. Signed-off-by: Simon de Vlieger <[email protected]>
1 parent b3f6981 commit e8a018d

File tree

15 files changed

+10
-1269
lines changed

15 files changed

+10
-1269
lines changed

bib/cmd/bootc-image-builder/main.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ import (
2929
"github.com/osbuild/bootc-image-builder/bib/internal/buildconfig"
3030
podman_container "github.com/osbuild/bootc-image-builder/bib/internal/container"
3131
"github.com/osbuild/bootc-image-builder/bib/internal/imagetypes"
32-
"github.com/osbuild/bootc-image-builder/bib/internal/setup"
3332
"github.com/osbuild/bootc-image-builder/bib/internal/source"
34-
"github.com/osbuild/bootc-image-builder/bib/internal/util"
35-
"github.com/osbuild/bootc-image-builder/bib/pkg/progress"
33+
34+
"github.com/osbuild/image-builder-cli/pkg/progress"
35+
"github.com/osbuild/image-builder-cli/pkg/setup"
36+
"github.com/osbuild/image-builder-cli/pkg/util"
3637
)
3738

3839
const (

bib/go.mod

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@ require (
66
github.com/BurntSushi/toml v1.5.0
77
github.com/cheggaaa/pb/v3 v3.1.7
88
github.com/hashicorp/go-version v1.7.0
9-
github.com/mattn/go-isatty v0.0.20
9+
github.com/osbuild/image-builder-cli v0.0.0-20250331194259-63bb56e12db3
1010
github.com/osbuild/images v0.129.0
1111
github.com/sirupsen/logrus v1.9.3
1212
github.com/spf13/cobra v1.9.1
1313
github.com/spf13/pflag v1.0.6
1414
github.com/stretchr/testify v1.10.0
1515
golang.org/x/exp v0.0.0-20250103183323-7d7fa50e5329
16-
golang.org/x/sys v0.30.0
1716
gopkg.in/yaml.v3 v3.0.1
1817
)
1918

@@ -78,6 +77,7 @@ require (
7877
github.com/letsencrypt/boulder v0.0.0-20240620165639-de9c06129bec // indirect
7978
github.com/mailru/easyjson v0.7.7 // indirect
8079
github.com/mattn/go-colorable v0.1.14 // indirect
80+
github.com/mattn/go-isatty v0.0.20 // indirect
8181
github.com/mattn/go-runewidth v0.0.16 // indirect
8282
github.com/mattn/go-sqlite3 v1.14.24 // indirect
8383
github.com/miekg/pkcs11 v1.1.1 // indirect
@@ -121,6 +121,7 @@ require (
121121
golang.org/x/crypto v0.33.0 // indirect
122122
golang.org/x/net v0.35.0 // indirect
123123
golang.org/x/sync v0.11.0 // indirect
124+
golang.org/x/sys v0.30.0 // indirect
124125
golang.org/x/term v0.29.0 // indirect
125126
golang.org/x/text v0.22.0 // indirect
126127
google.golang.org/genproto/googleapis/rpc v0.0.0-20250207221924-e9438ea467c6 // indirect

bib/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ github.com/opencontainers/runtime-spec v1.2.0 h1:z97+pHb3uELt/yiAWD691HNHQIF07bE
232232
github.com/opencontainers/runtime-spec v1.2.0/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
233233
github.com/opencontainers/selinux v1.11.1 h1:nHFvthhM0qY8/m+vfhJylliSshm8G1jJ2jDMcgULaH8=
234234
github.com/opencontainers/selinux v1.11.1/go.mod h1:E5dMC3VPuVvVHDYmi78qvhJp8+M586T4DlDRYpFkyec=
235+
github.com/osbuild/image-builder-cli v0.0.0-20250331194259-63bb56e12db3 h1:M3yYunKH4quwJLQrnFo7dEwCTKorafNC+AUqAo7m5Yo=
236+
github.com/osbuild/image-builder-cli v0.0.0-20250331194259-63bb56e12db3/go.mod h1:0sEmiQiMo1ChSuOoeONN0RmsoZbQEvj2mlO2448gC5w=
235237
github.com/osbuild/images v0.129.0 h1:wh9A8BVqPUKZsocEELDnwJzc0bItDKa9MHAoOu4rnC0=
236238
github.com/osbuild/images v0.129.0/go.mod h1:Ag87vmyxooiPQBJEDILbypG8/SRIear75YA78NwLix0=
237239
github.com/ostreedev/ostree-go v0.0.0-20210805093236-719684c64e4f h1:/UDgs8FGMqwnHagNDPGOlts35QkhAZ8by3DR7nMih7M=

bib/internal/container/container.go

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

1010
"golang.org/x/exp/slices"
1111

12-
"github.com/osbuild/bootc-image-builder/bib/internal/util"
12+
"github.com/osbuild/image-builder-cli/pkg/util"
1313
)
1414

1515
// Container is a simpler wrapper around a running podman container.

bib/internal/podmanutil/podmanutils.go

Lines changed: 0 additions & 38 deletions
This file was deleted.

bib/internal/setup/export_test.go

Lines changed: 0 additions & 3 deletions
This file was deleted.

bib/internal/setup/setup.go

Lines changed: 0 additions & 167 deletions
This file was deleted.

bib/internal/setup/setup_test.go

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)