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

Add dependency constraint metadata to buildpack.toml #286

Closed
sophiewigmore opened this issue May 12, 2021 · 0 comments · Fixed by #292
Closed

Add dependency constraint metadata to buildpack.toml #286

sophiewigmore opened this issue May 12, 2021 · 0 comments · Fixed by #292
Assignees

Comments

@sophiewigmore
Copy link
Member

In issue paketo-buildpacks/packit#140, @ryanmoran outlined a full plan to manage dependency updates in a more transparent manner using the dependency server. We are breaking that issue down into workable pieces.

For this initiative, we are going to implement this work in the Node.js language family first, before we roll out the changes to every buildpack. This issue is to add the constraint metadata fields to the buildpack.toml for the node-engine buildpack.

As described in paketo-buildpacks/packit#140 the format should look like:

[[metadata.dependency-constraints]]
  id = "noder"
  constraint = "12.*"
  patches = 2

[[metadata.dependency-constraints]]
  id = "node"
  constraint = "14.*"
  patches = 2

[[metadata.dependency-constraints]]
  id = "node"
  constraint = "15.*"
  patches = 2

[[metadata.dependency-constraints]]
  id = "node"
  constraint = "16.*"
  patches = 2

This will eventually get used by our automation to keep the versions in the buildpack.toml up to date. Please refer to paketo-buildpacks/packit#140 for more information on this schema.

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 a pull request may close this issue.

1 participant