paketo-buildpacks / libpak

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

Add support for architecture selection during updating of buildpack dependencies #306

Closed dmikusa closed 7 months ago

dmikusa commented 7 months ago

Summary

The update-buildpack-dependency too doesn't match correctly with the introduction of dependency architectures. This includes architecture as a consideration when filtering the dependencies to pick what is updated. A dependency now needs to match both the ID and ARCH.

This is presently pulling the architecture from the PURL as it's the only currently reliable spot to get it. In the future, when all of the buildpacks have switched to it, we should pull from the arch field.

Use Cases

Multi-arch support.

Checklist