paketo-buildpacks / libpak

An opinionated extension to the libcnb Cloud Native Buildpack Library
Apache License 2.0
15 stars 17 forks source link

Fixes caching by accounting for dep_date at metadata root level #309

Closed pivotal-david-osullivan closed 6 months ago

pivotal-david-osullivan commented 7 months ago

Summary

Some buildpacks store layer metadata in a dependency field, others do not. Previously, the fix for deprecation_date handling/comparison only accounted for the first scenario. This PR handles the date being at the root level of the layer metadata map.

Use Cases

Checklist