heroku / cnb-shim

This is a shim to run old buildpacks as Cloud Native Buildpacks
MIT License
1 stars 0 forks source link

Switch the default `stacks` list to the wildcard stack #73

Closed edmorley closed 6 months ago

edmorley commented 1 year ago

Currently if the URL doesn't specify a stacks list via the stacks parameter, cnb-shim uses a default value like: https://github.com/heroku/cnb-shim/blob/81f6a88f9678ece00b42c1994cfd299cca3851ee/server/main.go#L85

This default value is:

We should consider switching it to the wildcard/any stack, *, which permits all stacks.

However, the any stack feature requires Buildpack API 0.5+: https://github.com/buildpacks/spec/releases/tag/buildpack%2Fv0.5

...but cnb-shim is still using Buildpack API 0.4, so switching the default stacks list is blocked on #69.

edmorley commented 6 months ago

Wontfix is cnb-shim is EOL.