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

Include list of mixins used in porter explain and simplify explain output #1741

Merged
merged 2 commits into from
Aug 26, 2021

Conversation

carolynvs
Copy link
Member

@carolynvs carolynvs commented Aug 25, 2021

What does this change

  • Include list of mixins used in porter explain
    List just the names of the mixins in the output for porter explain. I'm not using the term mixin in the table output because we don't expect consumers of bundles to know what they are.
  • Do not print "No x defined" in explain output
    As we keep adding more sections to the explain output, these "No x defined" placeholders make the output longer and cluttered. Let's just focus on what's in the bundle.

What issue does it fix

This is shameless demo driven development. 😝 So you can quickly see “this bundle uses helm and terraform and thankfully isn’t using exec”. My KubeCon talk is about how porter is not only safer than curl | bash, but that it gives you more info. So you can see “oh it only uses stuff that I think are okay” without having to … you know READ the darn thing.

Notes for the reviewer

Cannot be merged until #1739 is merged. You can skip reviewing the first commit.

Checklist

  • Unit Tests
  • Documentation
  • Schema (porter.yaml)

@carolynvs carolynvs marked this pull request as ready for review August 26, 2021 16:40
Copy link
Member

@vdice vdice left a comment

Choose a reason for hiding this comment

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

LGTM

List just the names of the mixins in the output for porter explain. I'm
not using the term mixin in the table output because we don't expect
consumers of bundles to know what they are.

Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
As we keep adding more sections to the explain output, these "No x
defined" placeholders make the output longer and cluttered. Let's just
focus on what's in the bundle.

Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
@carolynvs carolynvs merged commit 534f3c6 into getporter:release/v1 Aug 26, 2021
@carolynvs carolynvs deleted the print-mixins-used branch August 26, 2021 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants