Updates for Release 2.x (Rename Buildpack to BuildModule for common paths) #265
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Updates for libpak for Extension support.
Use Cases
Where appropriate, updates
buildpack
to bebuildmodule
, buildmodule represents either a buildpack or an extensionThis allows for extensions to have dependencies and share common code with buildpacks for processing them. Metadata between extensions and buildpacks is common, and although it was possible to mostly process extension metadata without renaming the structs/code, it was rapidly becoming confusing as to which paths supported ONLY buildpacks, and which would support both buildpack and extension usage. This change helps to clarify that by having the common paths now be buildmodule rather than buildpack. (So now, if you see extensions calling into Buildpack stuff, you can expect issues!)
This flows out to the libpak commands that are offered via go, to alter their arg that passed the path to buildpack.toml to be a path to buildpack.toml OR extension.toml
The command changes help pipeline-builder make sense when it's calling a command with an extension rather than a buildpack =)
Checklist