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

html report #1156

Open
LecrisUT opened this issue Dec 14, 2023 · 2 comments
Open

html report #1156

LecrisUT opened this issue Dec 14, 2023 · 2 comments

Comments

@LecrisUT
Copy link

Something like how rpminspect bundles a viewer.html 1 file that converts a json result to a simple web view would be nice.

For context, there is a packit/tmt plan 2 that packagers can use to easily call rpmlint, and we've replicated the rpminspect viewer over there, and it would be nice if we can provide something similar for rpmlint.

Footnotes

  1. https://github.com/rpminspect/rpminspect/blob/main/contrib/viewer.html

  2. https://github.com/packit/tmt-plans/tree/main/plans/rpmlint

@danigm
Copy link
Member

danigm commented Dec 15, 2023

Right now rpmlint doesn't have any output format configuration, the output is done printing directly the errors. A first step could be to add some kind of configuration to output the information in a structured way, for example json, and then we can extend that option to support different formats, json, xml, html

@LecrisUT
Copy link
Author

Indeed, on the backend rpminspect simply exports to json and the viewer.html simply reads it directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants