autonomousapps/dependency-analysis-gradle-plugin

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

Aperta

#1094 aperta il 2 gen 2024

 (5 commenti) (0 reazioni) (0 assegnatari)Kotlin (154 fork)auto 404
enhancementhelp wantedsponsorable

Metriche repository

Star
 (2172 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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)

Guida contributor