-
Notifications
You must be signed in to change notification settings - Fork 293
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
Fix project.toml build env to match spec #1479
Conversation
Signed-off-by: Joe Kutner <jpkutner@gmail.com>
Although I agree with this change, this may be considered a breaking change. I'd want to take a deeper look into the reasoning for the change, it's potential impact and mitigation strategies. |
As discussed in the WG we cannot make this change directly since this is an end-user breaking change and the current implementation is mimicked by other platforms like kpack as well. If we do change it, we should support both the current and the future version of this key. |
@jromero I would prefer if we soften that warning. Since this is an end user change that we inadvertently implemented in both pack and kpack I would prefer we keep this key around at least until project descriptor 0.3. It would be a disservice if we broke users without warning between different versions of pack without a proper migration plan. If we do plan on emitting a deprecation warning, we should also include the pack version where it will be deprecated. I do think however we are in a tricky situation because we implemented a version of the project descriptor 0.2 in the state that it was in Summer 2021 and this spec change was not made until March 2022. In the future I believe we should have a strict policy about not implementing spec related changes before they are released. |
…ct.toml Signed-off-by: Joe Kutner <jpkutner@gmail.com>
95ece35
to
71021c7
Compare
Codecov Report
@@ Coverage Diff @@
## main #1479 +/- ##
==========================================
- Coverage 81.29% 81.26% -0.03%
==========================================
Files 154 154
Lines 10014 10018 +4
==========================================
Hits 8140 8140
- Misses 1393 1397 +4
Partials 481 481
Flags with carried forward coverage won't be shown. Click here to find out more. |
Signed-off-by: Joe Kutner <jpkutner@gmail.com>
@jromero can you give this a look-see? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Summary
Change the parsing of
project.toml
'sio.buildpack.build.env
to match the project descriptor spechttps://cloud-native.slack.com/archives/C033DV9EBDF/p1657116095577129
Output
Before
After
Documentation