From f4bbd3e048ec5e6badff96954c897a74ed9ef360 Mon Sep 17 00:00:00 2001 From: Simon de Vlieger Date: Mon, 31 Mar 2025 12:34:24 +0200 Subject: [PATCH] import: move bib files to correct path Moves the files imported from `bootc-image-builder` directly under `pkg` so they can be imported in reverse. Also fix up any import paths at the same time. Signed-off-by: Simon de Vlieger --- {bib/pkg => pkg}/progress/export_test.go | 0 {bib/pkg => pkg}/progress/progress.go | 0 {bib/pkg => pkg}/progress/progress_test.go | 2 +- {bib/pkg => pkg}/progress/syncwriter.go | 0 {bib/pkg => pkg}/progress/syncwriter_test.go | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) rename {bib/pkg => pkg}/progress/export_test.go (100%) rename {bib/pkg => pkg}/progress/progress.go (100%) rename {bib/pkg => pkg}/progress/progress_test.go (99%) rename {bib/pkg => pkg}/progress/syncwriter.go (100%) rename {bib/pkg => pkg}/progress/syncwriter_test.go (92%) diff --git a/bib/pkg/progress/export_test.go b/pkg/progress/export_test.go similarity index 100% rename from bib/pkg/progress/export_test.go rename to pkg/progress/export_test.go diff --git a/bib/pkg/progress/progress.go b/pkg/progress/progress.go similarity index 100% rename from bib/pkg/progress/progress.go rename to pkg/progress/progress.go diff --git a/bib/pkg/progress/progress_test.go b/pkg/progress/progress_test.go similarity index 99% rename from bib/pkg/progress/progress_test.go rename to pkg/progress/progress_test.go index f1621c7..a8d551a 100644 --- a/bib/pkg/progress/progress_test.go +++ b/pkg/progress/progress_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/osbuild/bootc-image-builder/bib/pkg/progress" + "github.com/osbuild/image-builder-cli/pkg/progress" ) func TestProgressNew(t *testing.T) { diff --git a/bib/pkg/progress/syncwriter.go b/pkg/progress/syncwriter.go similarity index 100% rename from bib/pkg/progress/syncwriter.go rename to pkg/progress/syncwriter.go diff --git a/bib/pkg/progress/syncwriter_test.go b/pkg/progress/syncwriter_test.go similarity index 92% rename from bib/pkg/progress/syncwriter_test.go rename to pkg/progress/syncwriter_test.go index 32c3757..bf2daf1 100644 --- a/bib/pkg/progress/syncwriter_test.go +++ b/pkg/progress/syncwriter_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/osbuild/bootc-image-builder/bib/pkg/progress" + "github.com/osbuild/image-builder-cli/pkg/progress" ) func TestSyncWriter(t *testing.T) {