Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@joshwlewis
Copy link
Member

@joshwlewis joshwlewis commented Feb 22, 2024

As noted in #788, working with buildpacks that still have [[stacks]] in buildpack.toml can cause some trouble. While [[stacks]] is deprecated in Buildpack API 0.10, it is still supported: https://github.com/buildpacks/spec/blob/buildpack/v0.10/buildpack.md#buildpacktoml-toml-stacks-array.

This PR re-introduces support for serializing a buildpack.toml with [[stacks]] in it. However, Stack remains unused within libcnb, and thus the validation and parsing is weaker. I would expect Stack to be removed again in Buildpack API 0.11. This change is mostly to facilitate upgrades.

@joshwlewis joshwlewis requested a review from a team as a code owner February 22, 2024 18:37
@joshwlewis joshwlewis changed the title Reintroduce Stacks, with weak validation Reintroduce Stack, with weak validation Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants