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

Saving a report doesn't work when passing two catalogs into the CLI #37

Closed
natemccurdy opened this issue Sep 2, 2020 · 8 comments
Closed

Comments

@natemccurdy
Copy link

When using the --output_report flag and passing in two catalogs, a report doesn't get saved.

For example, this does not write a report.json:

puppet catalog diff catalog-a.json catalog-b.json --output_report=report.json

Looks like the problem is that the code responsible for writing a report only exists in the conditional branch for retrieving a catalog remotely:
https://github.com/camptocamp/puppet-catalog-diff/blob/v2.3.0/lib/puppet/face/catalog/diff.rb#L182-L187

@stale
Copy link

stale bot commented Apr 19, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Apr 19, 2021
@natemccurdy
Copy link
Author

Just chiming in to the stale bot doesn't eat this issue. This is still a problem.

@stale stale bot removed the wontfix This will not be worked on label Apr 19, 2021
@stale
Copy link

stale bot commented Jun 18, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jun 18, 2021
@natemccurdy
Copy link
Author

natemccurdy commented Jun 18, 2021

<insert activity here>

@stale stale bot removed the wontfix This will not be worked on label Jun 18, 2021
@raphink
Copy link
Member

raphink commented Jun 21, 2021

Hehe, don't mind the bot, he's not that much of a bad boy (though it could be controlled with some kind of ignore label) 😁

@raphink
Copy link
Member

raphink commented Jun 21, 2021

Ah, there was an issue open to implement it in the bot probot/stale#110

But the bot closed it 🤣

@natemccurdy
Copy link
Author

Rather than continuing this fight with a bot, I decided to just fix the problem myself :)
Here's a proposed fix: #50

@raphink
Copy link
Member

raphink commented Jun 21, 2021

This bit is actually useful 😃

@raphink raphink closed this as completed Jun 21, 2021
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

No branches or pull requests

2 participants