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

As a user, I would like to mirror images by architecture #1786

Open
lubosmj opened this issue Oct 2, 2024 · 5 comments
Open

As a user, I would like to mirror images by architecture #1786

lubosmj opened this issue Oct 2, 2024 · 5 comments

Comments

@lubosmj
Copy link
Member

lubosmj commented Oct 2, 2024

Provide users with the option to sync only the relevant manifests they are concerned with, rather than all manifests from a manifest list. Users working with a single architecture should avoid unnecessary synchronization of irrelevant data. This scenario is particularly useful for Flatpak images.

This is not a duplicate of #1563.

@ipanova
Copy link
Member

ipanova commented Oct 2, 2024

how flatpak images are different from any other images that were built for a specific arch?

@lubosmj
Copy link
Member Author

lubosmj commented Oct 3, 2024

They are not different. I heard from Katello that this feature would be very useful for flatpak workflows. At the end of the day, standard container image workflows will benefit from it as well.

@ipanova
Copy link
Member

ipanova commented Oct 3, 2024

I don't think it's a good idea to have partially synced manifest list. It will introduce additional complexity to already very complex sync pipeline we have. To compare this to push workflow, one cannot push just partial manifest list.

If you really insist on this, then rest of arches can be synced with on-demand policy, so layers are not downloaded however objects like manifest, layers are still created and saved in db. Config layer will be downloaded anyway. I, however, do not fancy that idea since it anyway adds additional complexity in the logic, but this approach would be the middle ground.

@lubosmj
Copy link
Member Author

lubosmj commented Oct 7, 2024

When it comes to partially synced manifest lists, what are we going to do with corrupted manifests or manifests larger than 4MB?

@ipanova
Copy link
Member

ipanova commented Oct 7, 2024

whole manifest list will be skipped.
see the description of the issue #648

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Not Started
Development

No branches or pull requests

2 participants