Skip to content

Generate output for project/build health in machine-readable format #1094

@Nava2

Description

@Nava2

Describe the solution you'd like
New output format for projectHealth and buildHealth.

In order to support features like Github Checks, we need the ability to see line-numbers and other metadata associated with files specifically.

In order to reduce the feature request, if we generated errorformat outputs, we could hook into tools like @reviewdog/reviewdog.

Describe alternatives you've considered

I wrote up a github action with a python script to parse the buildHealth.txt file for outputs: https://github.com/Nava2/dependency-analysis-reviewdog-action. This works OK, but it is brittle and prone to errors as the formats change.

Another, better example than errorformat is probably using sarif (Link)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededsponsorableYou can sponsor me to work on this issue!

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions