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

Enhancement: additional output formats when comparing archives with baselines #69

Closed
ubiratansoares opened this issue Oct 26, 2023 · 0 comments · Fixed by #78
Closed

Comments

@ubiratansoares
Copy link
Member

Right now, compare will output differences between archives and baselines only to stdout and plain text.

However, it'd useful to have different (structured) formats - eg json- so the output can be post-processed afterward. That would enable an enriched PR decoration for example. On Github Actions:

aaw compare -a app/build/output/release/my.apk -b my.org.product.toml --json > comparison.json

# Convert with tools like https://github.com/haltcase/tablemark-cli or in bash with jq
markdown=$(convert_to_markdown comparison.json) 

gh pr comment ${{ github.event.pull_request.number }} --body "$markdown" --edit-last

In addition, we could output markdown directly.

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

Successfully merging a pull request may close this issue.

1 participant