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

Removes leading slash from paths, to normalize expressions #32

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

codefromthecrypt
Copy link
Contributor

Paketo images have a mix of layers where some are prefixed with '/' and others aren't. This normalizes to the default ( no prefix ).

$ build/car_darwin_arm64/car --created-by-pattern='Application Slice: .*' -tvvf springcloud/spring-cloud-kubernetes-discoveryserver:3.1.0https://index.docker.io/v2/springcloud/spring-cloud-kubernetes-discoveryserver/manifests/3.1.0 platform=linux/amd64 totalLayerSize: 161698415
https://index.docker.io/v2/springcloud/spring-cloud-kubernetes-discoveryserver/blobs/sha256:7c10de33d911ff562f520769e3c09f1971e6f498981752aedea649c3a190024d size=58360080
CreatedBy: Application Slice: 1
-rw-r--r--	173763	Jan  1 08:00:01	workspace/BOOT-INF/lib/HdrHistogram-2.1.12.jar
-rw-r--r--	29779	Jan  1 08:00:01	workspace/BOOT-INF/lib/LatencyUtils-2.0.3.jar
--snip--

Paketo images have a mix of layers where some are prefixed with '/' and
others aren't. This normalizes to the default ( no prefix ).

Signed-off-by: Adrian Cole <[email protected]>
@codefromthecrypt codefromthecrypt merged commit 099c540 into master Feb 22, 2024
4 checks passed
@codefromthecrypt codefromthecrypt deleted the fix-leading-slash branch February 22, 2024 02:23
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.

1 participant