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

Add more utilities to handle common layer creation scenarios #51

Open
samj1912 opened this issue Apr 14, 2021 · 1 comment
Open

Add more utilities to handle common layer creation scenarios #51

samj1912 opened this issue Apr 14, 2021 · 1 comment
Labels
type:enhancement A general enhancement
Milestone

Comments

@samj1912
Copy link
Member

samj1912 commented Apr 14, 2021

It would be useful to have some handy utilities to compare layer metadata and "reset" layers when they don't match.

For eg. something like this is implemented in libpak via a new layer contributor. Maybe we should consider adding something similar to libcnb as it feels like a fairly common and generic use case.

FWIW the python version of libcnb which heavily borrows ideas and Apis from this go version has some similar utilities for layer metadata comparison, loading the metadata and resetting the layer https://samj1912.github.io/python-libcnb/api/#libcnb._layers.Layer for an idea of what this could look like in libcnb

@samj1912 samj1912 added this to the 2.0 milestone Jun 3, 2022
@dmikusa dmikusa added the type:enhancement A general enhancement label Oct 3, 2023
@loewenstein
Copy link

@samj1912 is this in the 2.0 milestone because it cannot be done in 1.x or because it is a requirement to release 2.0?

cc @dmikusa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants