All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- n/a
2.49.0 - 2024-11-08
- Introduced
VMIPushItem.cloud_info
attribute
2.48.1 - 2024-11-06
- Fixed handling of date and version fields within
CLOUD_IMAGES
2.48.0 - 2024-11-01
- Introduced
CLOUD_IMAGES
support instaged
source
- Fixed crashes on serializing some fields in
pushsource-ls
command
2.47.2 - 2024-09-05
- Fixed certain
AmiPushItem
fields wrongly treated as mandatory bypub
andstaged
sources
2.47.1 - 2024-08-21
- Fixed handling of missing fields in
clouds.json
2.47.0 - 2024-08-13
pub
source now supports tasks with attachedclouds.json
2.46.1 - 2024-08-07
- Added
wait_exist
call on paths iterated inStagedSource
- fixed outdated badges in README
2.46.0 - 2024-05-20
- Retry brew requests
2.45.0 - 2024-05-10
- Introduced
ProductId
class - Added parsing ProductID certificate to
ProductIdPushItem
2.44.0 - 2024-04-08
- Introduced
VMIPushItem.marketplace_name
- Added support for ART/rhcos koji builds
2.43.1 - 2024-02-29
- Fixed compatibility with python older than 3.8 (importlib)
2.43.0 - 2024-02-28
- Introduced
VMIPushItem.marketplace_title
,VMIPushItem.marketplace_title_template
2.42.0 - 2024-02-22
- Introduced
AmiPushItem.access_endpoint_url
2.41.0 - 2023-11-29
- Added complete support for HTTP Errata tool client
2.40.0 - 2023-09-20
errata
no longer crashes if Kerberos credentials are not provided
2.39.0 - 2023-09-13
boot_mode
is now populated forAmiPushItem
2.38.0 - 2023-09-11
- Introduced
ContainerImagePushItem.product_name
attribute
2.37.0 - 2023-09-05
- Introduced
VMIPushItem.boot_mode
and associatedBootMode
enum
2.36.0 - 2023-08-30
- container_image_items attribute for OperatorManifestPushItem model
- More labels available on container images
2.35.0 - 2023-08-16
- Introduced
AmiPushItem.uefi_support
attribute
2.34.0 - 2023-07-27
src
attribute in container and operator push items is now unset
2.33.0 - 2023-05-23
- Introduced
KojiBuildInfo.id
attribute
2.32.0 - 2023-05-15
- Updated pull spec in
ContainerImagePushItem
with unique tag
2.31.0 - 2023-04-24
errata
backend now supports virtual machine images
2.30.0 - 2023-03-16
- Introduced many
AmiPushItem
fields in support of AWS Marketplace
2.29.0 - 2023-03-14
- Introduced
OperatorManifestPushItem.related_images
2.28.0 - 2023-03-09
- Introduced
AmiPushItem.public_image
2.27.0 - 2023-03-01
- Introduced
ErratumPushItem.container_list
2.26.0 - 2023-02-21
- File polling for
staged
source has been moved outside of this library
2.25.0 - 2023-02-09
- Introduced new source backend -
pub
that is used for extracting push items from Pub service koji
backend now supports loading VM images
- Avoided a spurious INFO log message from
staged
backend
- Python 2 is no longer supported
2.24.0 - 2023-01-17
- New push item classes related to Azure virtual machine images:
VHDPushItem
,VMIPushItem
,VMIRelease
.
- Fixed file polling in
staged
source to wait for propagation of recent changes
2.23.5 - 2023-01-05
- Fixed compatibility with older
attrs
versions
2.23.4 - 2022-12-06
- Fixed polling for item source existence to be only done for file sources
2.23.3 - 2022-10-20
- fixed inspect method for containers
2.23.2 - 2022-10-06
- tolerate 404 response when inspecting containers push items
2.23.1 - 2022-09-01
- Fixed
registry
source sometimes raising an unwarrantedConnectionError
when discovering available manifest types
2.23.0 - 2022-08-31
registry
source now supports list-only tags
2.22.4 - 2022-08-03
- Fixed compatibility with attrs>=22.1.0
2.22.3 - 2022-07-13
- Fix not displaying warning log when file polling is disabled
2.22.2 - 2022-07-12
- Fix the file polling feature to also poll in the Koji source
- Fix the file polling feature to poll the correct number of times
2.22.1 - 2022-06-29
- Fix the file polling feature in 2.22.0 sometimes polling the same item more than once.
2.22.0 - 2022-06-24
- Introduced a semi-hidden feature which may be used to poll for availability of push item files on locally mounted storage prior to yield.
2.21.0 - 2022-06-08
- New values supported for AMIs in
staged
source.type
may now usemarketplace
;volume
may now usegp3
orio2
.
2.20.0 - 2022-05-19
- Introduced
CGWPushItem
andCGW
directory on staged source.
2.19.0 - 2022-05-03
- Reduced memory usage by caching duplicate values on
PushItem
instances.
2.18.2 - 2022-04-06
registry
: extended incomplete authentication fix from 2.18.1.
2.18.1 - 2022-03-30
registry
: fixed authentication with certain container image registries.
2.18.0 - 2022-03-18
- Introduced new backends to load a single file: "file", "rpm" and others.
- Introduced
pushsource-ls
command.
2.17.0 - 2022-03-16
- Introduced entry points mechanism to assist with registration of custom backends.
2.16.0 - 2022-03-10
- Added a workaround for a python2 strptime thread-safety bug.
- Introduced
DirectoryPushItem
class forRAW
content.
2.15.0 - 2022-03-08
- All
PushItem
classes are now slotted, for reduced memory usage.
2.14.0 - 2022-02-01
- Introduced
FilePushItem.display_order
attribute.
2.13.4 - 2022-01-20
registry
: fixed usage with source images and schema1-only images.errata
: improved logging in one modulemd error case.
2.13.3 - 2021-12-06
- Fixed a crash when mixing
get_partial
with backends accepting aurl
(e.g. staged).
2.13.2 - 2021-12-03
- Ensure that
registry
source produces manifest pull specs for all manifest types
2.13.1 - 2021-11-24
- Fixed a crash in
registry
source when authentication is used
2.13.0 - 2021-11-08
- Introduced
registry
source for accessing images from a container image registry.
2.12.0 - 2021-10-18
- Mitigate spurious timeout error by using
as_completed_with_timeout_reset
2.11.0 - 2021-09-15
ErrataSource
now uses HTTPS when performing XML-RPC calls to Errata Tool. Previously, HTTP was used.
2.10.3 - 2021-08-27
- Fixed
KojiSource
crash bug introduced in 2.10.2.
2.10.2 - 2021-08-26
- Added a workaround for a thread-safety issue in pyasn1 in some legacy environments.
2.10.1 - 2021-08-11
- Added a missing dependency declaration on
scandir
for Python versions older than 3.5.
2.10.0 - 2021-08-10
- Internally created executors are now named for improved metrics and debuggability.
- Library no longer has a hard dependency on Python bindings to
rpm
, if RPM-related functionality is not used.
2.9.0 - 2021-07-05
Source
instances now supportwith
statements to ensure that resources are freed when no longer required.
2.8.0 - 2021-06-25
- Added
build_info
attribute to push items. - Added
module_build
attribute to RPM push items. - Added
rpm_filter_arch
parameter to errata source, to select a subset of RPMs by architecture. - Added
ModuleMdSourcePushItem
class. Source modulemd documents are now represented by this class rather thanModuleMdPushItem
. - Added many classes for container-related content, supported by
koji
anderrata
sources.
errata
source now producesModuleMdSourcePushItem
where applicable, and respects FTP paths from Errata Tool for these items.errata
source is now available for general use and is no longer marked as a technical preview.
2.7.0 - 2021-06-10
- Fix usage of
errata
source when the an Errata Tool URL includes a path component. - When Errata Tool requests push of a module which cannot be found in koji, this is now raised as an error rather than ignored.
- Added
module_filter_filename
parameter to koji source, to select only a subset of modulemd files from a build (e.g. limit to certain arches).
- On
ErratumPushItem
, thetype
attribute will now be automatically converted from legacy values found in the wild such as "RHBA", "RHSA". Values are now also validated. ModuleMdPushItem.name
now uses the NSVCA of a module rather than the filename of a loaded modulemd file, when this metadata is available.errata
source now includes FTP paths in thedest
field of generated push items, where applicable.
2.6.0 - 2021-05-27
- Added
Source.reset
to restore default state of library, intended for testing.
- Fix keyword arguments leaking between subsequent calls to a source prepared using
Source.get_partial
.
2.5.0 - 2021-03-02
- Added optional field
billing_codes
to the AMI staged push item schema and model.
2.4.0 - 2020-12-11
- Fix missing
reboot_suggested
field in erratum pkglist schema and model. The field was formerly permitted in the top-level erratum schema only, which was incorrect.
2.3.0 - 2020-11-23
- Fix too strict schema on staging metadata for FILES: "description" field is permitted to be an empty string.
2.2.0 - 2020-11-19
- On
ErratumPushItem
, thefrom_
attribute is now available under the preferred name offrom
. Since this clashes with the python keyword of the same name, thefrom_
name will remain available indefinitely.
2.1.0 - 2020-11-12
- References to unsupported
DOCKER
,CHANNEL_DUMPS
content types in staging metadata files will no longer cause a validation error. - The
id
field within erratum reference objects may now be provided as an integer (it will be converted to a string). - The
name
field within erratum pkglist objects is now optional, defaulting to a blank string.
2.0.0 - 2020-11-04
- Added some user-friendly logs when advisory or staged metadata fails validation.
- Removed support for obsolete "channel dump" push items:
ChannelDumpPushItem
class was removed (backwards-incompatible API change)CHANNEL_DUMPS
directory in staging areas should no longer be used (will generate a warning)
1.2.0 - 2020-07-06
- Introduced
PushItem.with_checksums
method for calculating checksums.
1.1.0 - 2020-06-23
- Fix too strict schema on erratum references; id and title are allowed to be null.
- Fix crash on Python 2 if using
get_partial
andregister_backend
together
- Improved log message details in some cases of error
- Initial stable release of project