Print out a warning message when the current buildpack used for staging is a different version
than the version of the buildpack used for the last successful staging.
The buildpacks need to be the same buildpack (i.e. have the same language
value in their manifest.yml files.) for the version check to apply.
Write the version of the current buildpack used for staging and the language (language
value in its manifest.yml file) to a metadata file (BUILDPACK_METADATA)
in the buildpack app cache directory.
Deprecated
This repo has been deprecated in favor of https://github.com/cloudfoundry/libbuildpack
compile extensions
A library which provides extra functions and overrides for Cloud Foundry Buildpack compile scripts.
This is included a git submodule in all the official Cloud Foundry buildpacks.
check_stack_support
Print out a lovely error message when the current
stackis not supported by the buildpack.Usage
download_dependency
Translates the URL given in
ARGV[0]by matching the URL to a corresponding entry inmanifest.ymland downloads the translated file withcurl.Usage
is_cached
Returns an exit status of
0if the current buildpack is a cached buildpack.Usage
default_version_for
Returns the default version in the manifest (if specified) for a given dependency
Usage
check_buildpack_version
Print out a warning message when the current buildpack used for staging is a different version than the version of the buildpack used for the last successful staging.
languagevalue in theirmanifest.ymlfiles.) for the version check to apply.store_buildpack_metadata
Write the version of the current buildpack used for staging and the language (
languagevalue in itsmanifest.ymlfile) to a metadata file (BUILDPACK_METADATA) in the buildpack app cache directory.