-
Notifications
You must be signed in to change notification settings - Fork 93
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 --json output to advisory info #1970
Merged
kontura
merged 1 commit into
rpm-software-management:main
from
stewartsmith:advisory-info-json
Jan 14, 2025
Merged
Add --json output to advisory info #1970
kontura
merged 1 commit into
rpm-software-management:main
from
stewartsmith:advisory-info-json
Jan 14, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stewartsmith
force-pushed
the
advisory-info-json
branch
2 times, most recently
from
December 24, 2024 18:46
fce16cc
to
b8d84f5
Compare
kontura
reviewed
Jan 2, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have only a couple really minor simplification notes.
Otherwise this looks good.
Thank you!
Enable --json for 'dnf advisory info'. The same information as would be displayed as text is included in the JSON output. While the libscols code could be adapted to produce JSON as well, without serious reworking of key_value_table (and all callers), the produced JSON is quite weird, so we instead choose to implement the JSON output separately.
stewartsmith
force-pushed
the
advisory-info-json
branch
from
January 13, 2025 19:02
b8d84f5
to
b773a23
Compare
Great, thank you again! |
Merged
via the queue into
rpm-software-management:main
with commit Jan 14, 2025
b35c4ed
17 checks passed
walkerever
pushed a commit
to walkerever/dnf
that referenced
this pull request
Jan 27, 2025
This is a backporting for the feature introduced to dnf5 by the following pull requests: - rpm-software-management/dnf5#1531 - rpm-software-management/dnf5#1970 The feature enables JSON format output for updateinfo command.
walkerever
pushed a commit
to walkerever/dnf
that referenced
this pull request
Jan 27, 2025
This is a backporting for the feature introduced to dnf5 by the following pull requests: - rpm-software-management/dnf5#1531 - rpm-software-management/dnf5#1970 The feature enables JSON format output for updateinfo command.
walkerever
pushed a commit
to walkerever/dnf
that referenced
this pull request
Jan 27, 2025
This is a backporting for the feature introduced to dnf5 by the following pull requests: - rpm-software-management/dnf5#1531 - rpm-software-management/dnf5#1970 The feature enables JSON format output for updateinfo command.
walkerever
pushed a commit
to walkerever/dnf
that referenced
this pull request
Jan 27, 2025
This is a backporting for the feature introduced to dnf5 by the following pull requests: - rpm-software-management/dnf5#1531 - rpm-software-management/dnf5#1970 The feature enables JSON format output for updateinfo command.
walkerever
pushed a commit
to walkerever/dnf
that referenced
this pull request
Jan 27, 2025
This is a backporting for the feature introduced to dnf5 by the following pull requests: - rpm-software-management/dnf5#1531 - rpm-software-management/dnf5#1970 The feature enables JSON format output for updateinfo command.
walkerever
pushed a commit
to walkerever/dnf
that referenced
this pull request
Jan 27, 2025
This is a backporting for the feature introduced to dnf5 by the following pull requests: - rpm-software-management/dnf5#1531 - rpm-software-management/dnf5#1970 The feature enables JSON format output for updateinfo command.
walkerever
pushed a commit
to walkerever/dnf
that referenced
this pull request
Jan 27, 2025
This is a backporting for the feature introduced to dnf5 by the following pull requests: - rpm-software-management/dnf5#1531 - rpm-software-management/dnf5#1970 The feature enables JSON format output for updateinfo command.
walkerever
pushed a commit
to walkerever/dnf
that referenced
this pull request
Jan 27, 2025
This is a backporting for the feature introduced to dnf5 by the following pull requests: - rpm-software-management/dnf5#1531 - rpm-software-management/dnf5#1970 The feature enables JSON format output for updateinfo command.
walkerever
pushed a commit
to walkerever/dnf
that referenced
this pull request
Jan 27, 2025
This is a backporting for the feature introduced to dnf5 by the following pull requests: - rpm-software-management/dnf5#1531 - rpm-software-management/dnf5#1970 The feature enables JSON format output for updateinfo command.
walkerever
pushed a commit
to walkerever/dnf
that referenced
this pull request
Jan 27, 2025
This is a backporting for the feature introduced to dnf5 by the following pull requests: - rpm-software-management/dnf5#1531 - rpm-software-management/dnf5#1970 The feature enables JSON format output for updateinfo command.
walkerever
pushed a commit
to walkerever/dnf
that referenced
this pull request
Jan 27, 2025
This is a backporting for the feature introduced to dnf5 by the following pull requests: - rpm-software-management/dnf5#1531 - rpm-software-management/dnf5#1970 The feature enables JSON format output for updateinfo command.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enable --json for 'dnf advisory info'. The same information as would be displayed as text is included in the JSON output. While the libscols code could be adapted to produce JSON as well, without serious reworking of key_value_table (and all callers), the produced JSON is quite weird, so we instead choose to implement the JSON output separately.
Example output from
dnf5 advisory info --json FEDORA-2024-1ec4cd5fd3
: