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

Make the run image Target public #815

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Make the run image Target public #815

merged 1 commit into from
Apr 10, 2024

Commits on Apr 10, 2024

  1. Make the run image Target public

    Previously `ContextTarget` (the type of `DetectContext::target`
    and `BuildContext::target`) was private, so couldn't be used
    by buildpacks migrating from stacks to targets.
    
    It's now been made public, and also renamed to the slightly
    clearer `Target`. Since it wasn't public before, this rename
    isn't a breaking change.
    
    However, that means we now have two `Target`s, since `libcnb-data`
    has a `buildpack::Target`. Since the latter will be much less frequently
    used (and most of the other `buildpack::*` types are prefixed, eg
    `BuildpackId`, `BuildpackVersion` etc), I've renamed the `libcnb-data`
    type to `BuildpackTarget` to disambiguate it.
    edmorley committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    8fa26f2 View commit details
    Browse the repository at this point in the history