Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

many: update for new reporegistry.New() api (c.f. pr#1179) #4603

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mvo5
Copy link
Contributor

@mvo5 mvo5 commented Feb 6, 2025

This commit updates osbuild-composer for the new API in images for the reporegistry.New(). The main incompatible change is that the /repositories part is not longer automatically added inside the library so we need to add it on the call-site.

This needs osbuild/images#1179

@mvo5 mvo5 force-pushed the update-api-for-images-pr1179 branch from 2839201 to 4c84c2b Compare February 10, 2025 12:08
@mvo5 mvo5 marked this pull request as ready for review February 10, 2025 12:08
@mvo5 mvo5 requested a review from a team as a code owner February 10, 2025 12:08
@mvo5 mvo5 requested review from thozza, schuellerf and supakeen and removed request for a team February 10, 2025 12:08
supakeen
supakeen previously approved these changes Feb 10, 2025
internal/cloudapi/v2/compose_test.go Outdated Show resolved Hide resolved
internal/cloudapi/v2/compose_test.go Outdated Show resolved Hide resolved
internal/cloudapi/v2/v2_test.go Show resolved Hide resolved
thozza
thozza previously approved these changes Feb 11, 2025
Copy link
Member

@thozza thozza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM.

@schuellerf schuellerf force-pushed the update-api-for-images-pr1179 branch from 7b6d19e to c53ac1b Compare February 12, 2025 10:49
mvo5 added 3 commits February 13, 2025 13:34
This commit updates osbuild-composer for the new API in images
for the `reporegistry.New()`. The main incompatible change is
that the `/repositories` part is not longer automatically added
inside the library so we need to add it on the call-site.

This needs osbuild/images#1179
This commit just runs `go vendor` and `git add`s the new content.
It is required because in the previous commit we make use of the
"real" repositories in the `compose_test.go` which mean they need
to get added now (we only pulled in the test repos so far).
@mvo5 mvo5 force-pushed the update-api-for-images-pr1179 branch from c53ac1b to 1c64f80 Compare February 13, 2025 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants