-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support Buildpack API 0.10 #291
Support Buildpack API 0.10 #291
Conversation
72e4c62
to
0cc9251
Compare
@samj1912 & @dmikusa could you have a look. Should be the last must have for cutting There is more in the 2.0 Milestone, but nothing that reads as "required for |
What's here looks good. I'm still picking through the spec changes, especially the extension images part to make sure we got everything. One thing I don't see is support for extension config. This should have a struct so we can serialize/deserialize it. Probably also a new API in generate.go that allows one to easily add this configuration. I also feel like we should be doing something with the dockerfile generation. The Maybe something similar with the context folders too? https://github.com/buildpacks/spec/blob/main/image_extension.md#context-folders Although, I'm still trying to understand the purpose of those and how they might be used. |
a9890f9
to
1672b79
Compare
@dmikusa support for dockerfiles and extend-config has been added |
Thanks @pbusko! I'm going to do a little testing with this and I'll get back to you soon. In the meantime, when you have a second, can you bump the PR one more time. Thanks |
Co-authored-by: Ralf Pannemans <[email protected]> Signed-off-by: Nicolas Bender <[email protected]>
Co-authored-by: Ralf Pannemans <[email protected]> Signed-off-by: Nicolas Bender <[email protected]>
Co-authored-by: Ralf Pannemans <[email protected]> Signed-off-by: Nicolas Bender <[email protected]>
Signed-off-by: Pavel Busko <[email protected]>
1672b79
to
85dc71d
Compare
@pbusko - FYI, I cut https://github.com/buildpacks/libcnb/releases/tag/v2.0.0-alpha.3 which has this merged. |
@dmikusa is there anything else blocking the |
@pbusko I'm doing some cleanup on issues, and some code review to investigate that. I think we're in pretty good shape though. Off the top of my head, the one area I would like to put a little more effort is to add some convenience around the Dockerfile/extension abstraction. The byte[] we have now is literally the least we can do. I think we can add some more convenience on top of that without too much fuss, maybe a Writer or something to facilitate higher-level interactions. |
Could convenience not easily go into |
Sorry, but I'm going to answer your question with a question. Why rush? |
Looking at how long the branch was open and the hassle a long running branch brings to the table I thought getting rid of it should ideally not be deferred unnecessarily. |
It's OK and not that big of a hassle. The rate of PRs for this project is low. I do want to get v2 shipped, but I want to make sure we take the time to do it right. I also know that we'll need to continue supporting v1 and v2 for a while, so in the grand scheme of things, a little more time to get it right is not a big deal. |
see task list
Fixes #260