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 all_changed_nodes in json report #34

Merged
merged 1 commit into from
Aug 3, 2020

Conversation

alexjfisher
Copy link
Member

Currently, puppet-catalog-diff-viewer only looks at the nodes in
most_differences to decide which nodes to display as 'with changes'
and 'no changes'. By default, this list is limited to just 10 nodes
with the most differences. Including a complete list of changed nodes
in the json (regardless of --changed_depth) will make fixing
puppet-catalog-diff-viewer much easier.

Currently, `puppet-catalog-diff-viewer` only looks at the nodes in
`most_differences` to decide which nodes to display as 'with changes'
and 'no changes'.  By default, this list is limited to just 10 nodes
with the most differences.  Including a complete list of changed nodes
in the json (regardless of `--changed_depth`) will make fixing
puppet-catalog-diff-viewer much easier.
@raphink
Copy link
Member

raphink commented Aug 3, 2020

Very good idea (though it will require a similar change in the viewer)!

@raphink raphink merged commit b5d0f72 into voxpupuli:master Aug 3, 2020
@raphink raphink added the enhancement New feature or request label Aug 7, 2020
alexjfisher added a commit to alexjfisher/puppet-catalog-diff-viewer that referenced this pull request Oct 23, 2020
`all_changed_nodes` was added to the reports in
voxpupuli/puppet-catalog_diff#34

This change doesn't start using it instead of `most_differences`, but
does fix an issue with the string `all_changed_nodes` being mistaken for
the name of a host with no changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants