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

Flatten buildpack package is move to be experimental #1783

Merged
merged 3 commits into from
Jun 20, 2023

Conversation

jjbustamante
Copy link
Member

Summary

After our working group meeting today (05/25/2023) some concerns were raised with breaking the distribution spec flattening a buildpack package. This pull request is wrapping the functionality to be under the experimetal mode, it means, users will need to enable the experimental mode in order to see the new flags. Also, a warning message is display to end users. The idea is to do not block the feature for being released but still have the open conversation with the community in how the spec is being broke.

Output

Before

--flatten, --depth and flatten-exclude flags were added to be available with the pack buildpack package command.

After

The flags were hidden if experimental mode is not enabled

Screenshot 2023-05-25 at 5 32 35 PM

They will be only available when experimental mode is enabled
Screenshot 2023-05-25 at 5 32 44 PM

Documentation

  • Should this change be documented?
    • Yes, see #___
    • No

Related

Resolves #1595

…ll need how it affects the distribution spec

Signed-off-by: Juan Bustamante <jbustamante@vmware.com>
@jjbustamante jjbustamante requested review from a team as code owners May 25, 2023 22:35
@github-actions github-actions bot added this to the 0.30.0 milestone May 25, 2023
@github-actions github-actions bot added the type/enhancement Issue that requests a new feature or improvement. label May 25, 2023
Copy link
Member

@natalieparellano natalieparellano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! I left some nits...

Co-authored-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Juan Bustamante <jbustamante@vmware.com>
@jjbustamante
Copy link
Member Author

@dfreilich , @hone , @jkutner

Can I have some eyes or this PR merge?

@jjbustamante jjbustamante force-pushed the enhancement/flatten-buildpackage-experimental branch from ad71c5c to f5e7be2 Compare June 6, 2023 17:21
@github-actions github-actions bot added type/chore Issue that requests non-user facing changes. and removed type/chore Issue that requests non-user facing changes. labels Jun 6, 2023
@jjbustamante jjbustamante force-pushed the enhancement/flatten-buildpackage-experimental branch from 253b060 to d2be746 Compare June 7, 2023 18:20
Adding test case for warning message

Signed-off-by: Juan Bustamante <jbustamante@vmware.com>
@jjbustamante jjbustamante force-pushed the enhancement/flatten-buildpackage-experimental branch from d2be746 to 37747ef Compare June 7, 2023 19:33
@github-actions github-actions bot removed the type/chore Issue that requests non-user facing changes. label Jun 7, 2023
Copy link
Member

@dfreilich dfreilich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit, but I'll approve it right when it's in ☺️

internal/commands/buildpack_package.go Show resolved Hide resolved
@jjbustamante
Copy link
Member Author

Small nit, but I'll approve it right when it's in ☺️

@dfreilich thanks for your feedback. We already have a TIP message to guide users, it is shown like this:

Screenshot 2023-06-15 at 8 37 47 AM

@jkutner jkutner merged commit 5a61950 into main Jun 20, 2023
@jkutner jkutner deleted the enhancement/flatten-buildpackage-experimental branch June 20, 2023 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flatten feature type/enhancement Issue that requests a new feature or improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Layer compression/flattening
4 participants