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

Fixes #32359 - Entitlement report generation now shows all entitlements by default. #9942

Merged
merged 1 commit into from Dec 6, 2023

Conversation

qcjames53
Copy link
Contributor

Modified gitignore to exclude .yardoc directory.

This PR changes entitlement report generation via API to by default select 'no limit' in the 'Days from Now' field. This streamlines report generation in hammer, as requiring the 'Days from Now' field previously felt unnecessarily verbose. This PR also adds .yardoc/ to the gitignore; a few Phoenix members were encountering this directory and it seemed easy to just add this here.

Testing steps:

  1. Using hammer, run hammer report-template list to get the ids for your Foreman instance's report templates. Note the id of Subscription - Entitlement Report and insert where needed in the following steps.
  2. Run hammer report-template generate --id <id> --report-format yaml. There should be no errors.
  3. Run 'hammer report-template generate --id --report-format yaml --inputs "Days from Now"="120"` to ensure the existing inputs for this report template still function.

…ts by default.

Modified gitignore to exclude .yardoc directory.
Copy link
Contributor

@ianballou ianballou left a comment

Choose a reason for hiding this comment

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

Works well!

@ianballou ianballou merged commit a869ca4 into theforeman:develop Dec 6, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants