Koji 1.32.0 Release notes¶
All changes can be found in the roadmap. Most important changes are listed here.
Migrating from Koji 1.31/1.31.1¶
For details on migrating see Migrating to Koji 1.32
download-tasks has sorted tasks in check closed/not closed tasks
Simple change to have deterministic output
Remove krbLogin API
This call is deprecated for long and should have been replaced by
everywhere. In this case
sslLogin is backed up by GSSAPI.
Add checksum API
We’ve added complete API for computing/storing/querying full file checksums for
individual RPM files. Basic set of checksum types is computed when RPM is
imported into koji (via import or build task). This set is defined in
RPMDefaultChecksums which is md5 and sha256 by default.
All users can query stored checksums via
Handle migrated rpmdb path
RPM db was in recent Fedora’s moved from
/usr/lib/sysimage/rpm. For builds based on that koji was unable to determine
buildroot content correctly resulting in empty buildroot listings.
Use_fast_upload=True as default everywhere
It is seamless change for almost everybody. Fast upload mechanism is here for more than ten years. Clients now has one less call to do (determining if server supports it)
rpmdiff: replace deprecated rpm call
rpmdiff was adapted to current rpm API
Move hub code to site-packages
We’ve moved hub code to site-packages allowing further refactoring. Important is
that _everybody_ needs to fix their
httpd.conf to point to new app location:
- Alias /kojihub /usr/share/koji-hub/kojixmlrpc.py + Alias /kojihub /usr/share/koji-hub/kojiapp.py
Continuing internal refactoring for safer SQL handling.
Fix default archivetypes extensions
Simple fix of default extensions for VHDX compressed images.
unify migration scripts
Merged few older redundant migration scripts.
For plugin writers - this internal method is now deprecated and similar method
koji.db.nextval should be used instead.
Remove DisableGSSAPIProxyDNFallback option on Hub
Deprecated setting finally removed.
replace deprecated distutils
We’ve dropped deprecated distutils.
Add custom_user_metadata to build info for wrapperRPM build type
Recreate timeouted session
Sessions now can have defined lifetime. After that they’ll be marked as
expired still allowing client to reauthenticate and reuse that session.
logout will finally destroy the session with no possibility of
reviving. This change should be seamless for most users. (E.g. builder code
needed no change as it is completely transparent behaviour for pythong client)
Expiration time is not defined anywhere now. It is up to admins to either expire sessions selectively or set up cron job expiring all sessions after some time. If not handled, koji sessions will behave exactly same way as in previous releases.
This is a new behaviour to improve koji’s security.
koji-gc: use history to query trashcan contents
Performance improvement lowering memory usage on the hub.
kojikamid: remove clamav scanner
As ClamAV is no more supported on cygwin, we’re going to drop source and artifcats scanning support for windows build expecting that this scanning should happen outside of koji (or via plugin). We’re not scanning any other artifact type, so it makes more sense to outsource it here also.
Content Generator Changes¶
metadata for koji task id
Metadata format was extended to allow linking to koji task. So new key
metadata['build']['task_id'] is allowed now. For OSBS there is a
compatibility fallback on
Fix auth unit tests
Improve help for call –python option