rpkg 1.59 Release Notes¶
Released on September 10, 2019
rpkg works with Python 2.6, 2.7, 3.6 and 3.7.
What’s new in rpkg 1.59¶
Add commands for interacting with Koji side-tag plugin¶
Add commands for interacting with Koji side-tag plugin
There is a Koji plugin that can create, list and remove side-tags. This patch adds support for a commands to do that.
It is used like this:
$ rpkg request-side-tag [--base-tag=FOO] $ rpkg list-side-tags [--mine|--user=LOGIN] [--base-tag=FOO] $ rpkg remove-side-tag TAG
The base tag is used as a parent of the new side tag. If not given, rpkg will find build tag of current target and use it.
The plugin creates both tag and target (with the same name), so the output of rpkg contains a suggestion on how to submit builds to the new target.
libmodulemd 2 API¶
rpkg will now user
libmodulemd library version 2 instead of version 1.
module-overview allows filtering by owner¶
- Adds additional arguments to command
--owner- param is added to mbs query and shows only builds of that owner
--mine- use current Kerberos user (or system username if Kerberos is not present) for filtering.
Arguments are mutually exclusive.
Add option to skip build for container-build¶
With this option, build can be skipped in
to update just buildconfig for autorebuilds.
Show nvr in
After build is created with
container-build, build’s nvr is listed
import --offline command behavior¶
*pkg import --offline didn’t update source and .gitignore files.
Modified incorrect output about uploaded sources. Offline mode now does
everything but uploading sources into lookaside cache.
Add support for a new
--build-release argument to the
sub-command. This allows users to specify a specific “Release” value to OSBS
for the build’s Name-Version-Release.
Allow some arguments for
rhpkg container-build command allow
--signing-intent together with
--compose-id is still restricted to be used with these
Ignore error when adding exclude patterns¶
.git/info directory if is missing during
clone of a remote
exclude file can be updated.
Custom handler for
Output text during rhpkg/fedpkg build process states that there is a watch_task subcommand. When koji_cli library is imported in rhpkg/fedpkg tool, it shows that command is named rhpkg/fedpkg watch_task instead of brew/koji watch_task. Custom handler replaces the internal one inside koji_cli library. Additional fix in rhpkg is needed after this change is released.
When cloning with the
--branches option we first clone a bare repo
locally, then clone each branch from that bare repo. Avoid adding an
excludes file to the temporary bare repo (which fails because we pass
the wrong path to the git dir). Add an excludes file to each branch
gitbuildhash work for windows builds¶
The requests are structured differently to rpm builds, so we need to look at different field to extract URL.
Add option to skip build for container-build (rcerven)
Sorting imports (onosek)
Ignore error when adding exclude patterns - rhbz#1733862 (onosek)
Path to lookaside repo fix (onosek)
Add commands for interacting with Koji side-tag plugin - #329 (lsedlar)
Do not delete files related to gating on import (onosek)
Support integer values in the optional module-build arguments (mprahl)
container-build: add –build-release argument (kdreyer)
Allow some arguments for container-build together (onosek)
git-changelog: Fix running on Python 3 (onosek)
Port to libmodulemd 2 API (lsedlar)
Module-overview allows filtering by owner - #325 (onosek)
Show nvr in container-build (onosek)
Custom handler for koji watch_tasks - rhbz#1570921 (onosek)
Unittests for clone command (onosek)
Fix clone –branches - rhbz#1707223 (tmz)
Make gitbuildhash work for windows builds (lsedlar)