You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: