Debian Codegraph @

upstream/debian-unstable/man5/dnf4-transaction-json.5

raw
1 .\" Man page generated from reStructuredText
2 .\" by the Docutils 0.22.2 manpage writer.
3 .
4 .
5 .nr rst2man-indent-level 0
6 .
7 .de1 rstReportMargin
8 \\$1 \\n[an-margin]
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
11 -
12 \\n[rst2man-indent0]
13 \\n[rst2man-indent1]
14 \\n[rst2man-indent2]
15 ..
16 .de1 INDENT
17 .\" .rstReportMargin pre:
18 . RS \\$1
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
22 ..
23 .de UNINDENT
24 . RE
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
30 ..
31 .TH "DNF4-TRANSACTION-JSON" "5" "Oct 24, 2025" "4.24.0" "DNF"
32 .SH NAME
33 dnf4-transaction-json \- DNF Stored Transaction JSON
34 .sp
35 The stored transaction format is considered unstable and may change in an
36 incompatible way at any time. It will work if the same version of dnf is used
37 to store and replay (or between versions as long as it stays the same).
38 .SH TOP-LEVEL OBJECT
39 .INDENT 0.0
40 .TP
41 .B \fBversion\fP
42 Type: string
43 .sp
44 The version of the stored transaction format, in the form \fBMAJOR.MINOR\fP\&.
45 .sp
46 \fBMAJOR\fP version denotes backwards incompatible changes (old dnf won\(aqt work with
47 new transaction JSON).
48 .sp
49 \fBMINOR\fP version denotes extending the format without breaking backwards
50 compatibility (old dnf can work with new transaction JSON).
51 .TP
52 .B \fBrpms\fP
53 Type: an array of rpm objects
54 .sp
55 A list of RPM packages in the transaction.
56 .TP
57 .B \fBgroups\fP
58 Type: an array of group objects
59 .sp
60 A list of groups in the transaction.
61 .TP
62 .B \fBenvironments\fP
63 Type: an array of group objects
64 .sp
65 A list of environment groups in the transaction.
66 .UNINDENT
67 .SH RPM OBJECT
68 .INDENT 0.0
69 .TP
70 .B \fBaction\fP
71 Type: string
72 .sp
73 Possible values: \fBDowngrade, Downgraded, Install, Obsoleted, Reason Change, Reinstall, Reinstalled, Removed, Upgrade, Upgraded\fP
74 .sp
75 The action performed on the package in the transaction.
76 .TP
77 .B \fBnevra\fP
78 Type: string
79 .sp
80 \fBNEVRA\fP (\fBname\-epoch:version\-release.arch\fP) of the package.
81 .TP
82 .B \fBreason\fP
83 Type: string
84 .sp
85 Possible values: \fBdependency, clean, group, unknown, user, weak\-dependency\fP
86 .sp
87 The reason why the package was pulled into the transaction.
88 .TP
89 .B \fBrepo_id\fP
90 Type: string
91 .sp
92 The id of the repository this package is coming from. Note repository ids are defined in the local repository configuration and may differ between systems.
93 .UNINDENT
94 .SH GROUP OBJECT
95 .INDENT 0.0
96 .TP
97 .B \fBaction\fP
98 Type: string
99 .sp
100 Possible values: \fBInstall, Upgrade, Removed\fP
101 .sp
102 The action performed on the group in the transaction.
103 .TP
104 .B \fBid\fP
105 Type: string
106 .sp
107 The id of the group.
108 .TP
109 .B \fBpackage_types\fP
110 Type: string
111 .sp
112 Possible values: \fBconditional, default, mandatory, optional\fP
113 .sp
114 The types of packages in the group that will be installed. Valid only for
115 the \fBInstall\fP action.
116 .TP
117 .B \fBpackages\fP
118 Type: an array of group\-package objects
119 .sp
120 The packages belonging to the group in the transaction.
121 .UNINDENT
122 .SH ENVIRONMENT OBJECT
123 .INDENT 0.0
124 .TP
125 .B \fBaction\fP
126 Type: string
127 .sp
128 Possible values: \fBInstall, Upgrade, Removed\fP
129 .sp
130 The action performed on the environment group in the transaction.
131 .TP
132 .B \fBid\fP
133 Type: string
134 .sp
135 The id of the environment group.
136 .TP
137 .B \fBpackage_types\fP
138 Type: string
139 .sp
140 Possible values: \fBconditional, default, mandatory, optional\fP
141 .sp
142 The types of packages in the environment group that will be installed.
143 Valid only for the \fBInstall\fP action.
144 .TP
145 .B \fBgroup\fP
146 Type: an array of environment\-group objects
147 .sp
148 The groups belonging to the environment in the transaction.
149 .UNINDENT
150 .SH GROUP-PACKAGE OBJECT
151 .INDENT 0.0
152 .TP
153 .B \fBinstalled\fP
154 Type: boolean
155 .sp
156 Whether the package is considered installed as part of the group.
157 .TP
158 .B \fBname\fP
159 Type: string
160 .sp
161 The name of the package.
162 .TP
163 .B \fBpackage_type\fP
164 Type: string
165 .sp
166 Possible values: \fBconditional, default, mandatory, optional\fP
167 .sp
168 The type of the package in the group.
169 .UNINDENT
170 .SH ENVIRONMENT-GROUP OBJECT
171 .INDENT 0.0
172 .TP
173 .B \fBgroup_type\fP
174 Type: string
175 .sp
176 Possible values: \fBmandatory, optional\fP
177 .sp
178 The type of the group in the environment.
179 .TP
180 .B \fBid\fP
181 Type: string
182 .sp
183 The id of the group.
184 .TP
185 .B \fBinstalled\fP
186 Type: boolean
187 .sp
188 Whether the group is considered installed as part of the environment.
189 .UNINDENT
190 .SH Author
191 See AUTHORS in DNF source distribution.
192 .SH Copyright
193 2012-2020, Red Hat, Licensed under GPLv2+
194 .\" End of generated man page.