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.
2.27.0 - 2023-03-01
- Added container_list attribute to Erratum model
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