Push items: errata¶
- class pushsource.ErratumPushItem[source]¶
A
PushItem
representing a single erratum (also known as “advisory”).Note that many fields on erratum objects which appear to be numeric are instead represented as strings (‘release’ and ‘pushcount’ being two examples).
Attributes:
build()
[inherited]build_info()
[inherited]dest()
[inherited]md5sum()
[inherited]name()
[inherited]origin()
[inherited]sha256sum()
[inherited]signing_key()
[inherited]src()
[inherited]state()
[inherited]from()
- reboot_suggested¶
True if rebooting host machine is recommended after installing this advisory.
Warning
The intended usage of this field is unclear.
In practice, tools such as yum are instead consuming the
reboot_suggested
field fromErratumPackage
.- Type:
- references¶
A list of references associated with the advisory.
- Type:
- pkglist¶
A list of package collections associated with the advisory.
- Type:
- container_list¶
A list of container images associated with the advisory.
Example of the list:
"container_list": [ { "openshift4/ose-local-storage-rhel7-operator-metadata": { "digest": "sha256:2321a7d13d9fa53f05437663cf2dc217d15f3cda4b67076c941b10f0491cf9d7", "images": { "s390x": { "digest": "sha256:05649a19718fde131372c761d359302ccbe81f9744d2893ac4c826b05d670206" }, "ppc64le": { "digest": "sha256:06d1c5e4fa6a5d1ff868388f3feadf193d04128b62d1181e37fe4ab8ecda27e1" }, "x86_64": { "digest": "sha256:c2e3030306f71b94cbffe2d16fcebe6e14f2842ae26789926bcf1afeeecb5859" } } } }
- from_¶
Contact email address for the owner of the advisory.
Note that the canonical name for this attribute is
from
. As this clashes with a Python keyword, in most contexts the attribute is also available as an alias,from_
. Where possible, the canonical namefrom
should be preferred.- Type:
- version¶
Advisory version. Starts counting at “1”, and some systems require updating the version whenever an advisory is modified.
- Type:
- updated¶
Timestamp of the last update to this advisory.
Typically of the form ‘2019-12-31 06:54:41 UTC’, but this is not enforced.
- Type:
- class pushsource.ErratumReference[source]¶
A reference within a
references()
list.Attributes:
- class pushsource.ErratumPackageCollection[source]¶
A collection of packages found within an
pkglist()
.A non-modular advisory typically contains only a single collection, while modular advisories typically contain one collection per module.
Attributes:
- name¶
A name for this collection. The collection name has no specific meaning, but must be unique within an advisory.
- Type:
- packages¶
List of packages within this collection.
- Type:
- short¶
An alternative name for this collection. In practice, this field is typically blank.
- Type:
- module¶
An
ErratumModule
defining the module this entry is associated with, if any.- Type:
- class pushsource.ErratumPackage[source]¶
A package (RPM) entry within a
pkglist()
.Attributes:
- src¶
Filename of the source RPM from which this RPM was built; equal to
filename()
for the source RPM itself.- Type:
- reboot_suggested¶
True if rebooting host machine is recommended after installing this package.
- Type: