Skip to content

Conversation

@ariel-miculas
Copy link
Collaborator

Refactor find_manifest_with_tag to use this new function.

@ariel-miculas
Copy link
Collaborator Author

@cgwalters could you please take a look?

Copy link
Collaborator

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

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

Looks sane to me; would be nice to have a unit test but I won't block on that.

Refactor find_manifest_with_tag to use this new function.

Signed-off-by: Ariel Miculas-Trif <amiculas@cisco.com>
…ndex>

The index.json file MUST exist according to the OCI Image Layout Spec
[1], thus read_index should return the ImageIndex directly, there's no
need to wrap it into an Option.

[1] https://github.com/opencontainers/image-spec/blob/main/image-layout.md

Signed-off-by: Ariel Miculas-Trif <amiculas@cisco.com>
@cgwalters cgwalters merged commit 6817b48 into bootc-dev:main Oct 12, 2024
@ariel-miculas
Copy link
Collaborator Author

Thanks, @cgwalters! Is there anything else in the backlog before releasing 0.4? I would have liked to address #27, but I feel like my ideas are too convoluted.

@cgwalters
Copy link
Collaborator

Is there anything else in the backlog before releasing 0.4?

We should probably review #29 right?

ariel-miculas added a commit to ariel-miculas/puzzlefs that referenced this pull request Oct 14, 2024
Now that [1] was merged, we can use find_manifest_descriptor_with_tag
and remove copy-pasted code from ocidir-rs.

[1] bootc-dev/ocidir-rs#28

Signed-off-by: Ariel Miculas-Trif <amiculas@cisco.com>
TacitGlad added a commit to TacitGlad/NewFileSystem that referenced this pull request Mar 5, 2025
Now that [1] was merged, we can use find_manifest_descriptor_with_tag
and remove copy-pasted code from ocidir-rs.

[1] bootc-dev/ocidir-rs#28

Signed-off-by: Ariel Miculas-Trif <amiculas@cisco.com>
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.

2 participants