Debian Codegraph @

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

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