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

Add export plugin for JSON #2058

Merged
merged 3 commits into from
May 17, 2023
Merged

Add export plugin for JSON #2058

merged 3 commits into from
May 17, 2023

Conversation

happz
Copy link
Collaborator

@happz happz commented May 6, 2023

Since we already have YAML export, and allow results.json, we can have an export to JSON just as well.

The patch adds it, and since it's almost a copy of YAML or dict export plugins, adds a shared base class for these trivial export plugins.

tmt/export/yaml.py Outdated Show resolved Hide resolved
@lukaszachy
Copy link
Collaborator

Created related issue #2075, no need to stop this on it as even current options are lacking docs.

@lukaszachy lukaszachy added the ready for merge The only missing piece is to do the rebase the current 'main' and let the CI finish. label May 16, 2023
@lukaszachy
Copy link
Collaborator

/packit retest-failed

happz added 3 commits May 17, 2023 15:19
Since we already have YAML export, and allow `results.json`, we can have
an export to JSON just as well.

The patch adds it, and since it's almost a copy of `YAML` or `dict`
export plugins, adds a shared base class for these trivial export
plugins.
@happz happz enabled auto-merge (rebase) May 17, 2023 13:20
@happz happz disabled auto-merge May 17, 2023 13:20
@happz happz enabled auto-merge (squash) May 17, 2023 13:20
@happz happz merged commit 640fd97 into main May 17, 2023
15 checks passed
@happz happz deleted the export-json branch May 17, 2023 15:29
4N0body5 pushed a commit that referenced this pull request May 18, 2023
Since we already have YAML export, and allow `results.json`, we can have
an export to JSON just as well.

The patch adds it, and since it's almost a copy of `YAML` or `dict`
export plugins, adds a shared base class for these trivial export
plugins.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
export ready for merge The only missing piece is to do the rebase the current 'main' and let the CI finish.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants