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

feat: JSON output for upgrade check #178

Merged
merged 4 commits into from
Dec 20, 2023
Merged

feat: JSON output for upgrade check #178

merged 4 commits into from
Dec 20, 2023

Conversation

matbme
Copy link
Member

@matbme matbme commented Dec 20, 2023

This PR adds a json output for the command abroot upgrade -c when the user specifies the environment variable ABROOT_JSON_OUTPUT. This can be useful by tools such as VSO in order to get a machine-readable package diff.

Slightly unrelated but I also added a check for handling non-OK HTTP status codes when querying the Differ API, whereas before it would crash ABRoot,

@matbme matbme requested a review from mirkobrombin December 20, 2023 15:00
@matbme matbme merged commit 38f34d9 into main Dec 20, 2023
4 checks passed
@matbme matbme deleted the feat/json_out branch December 20, 2023 17:09
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 this pull request may close these issues.

1 participant