FEDORA-EPEL-2019-4eb904f9c5 created by onosek 2 months ago for Fedora EPEL 6
stable

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 the 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.

Port to libmodulemd 2 API

rpkg will now use libmodulemd library version 2 instead of version 1.

module-overview allows filtering by owner

Adds additional arguments to command fedpkg module-overview:

  • --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, a build can be skipped in container-build command, to update just buildconfig for autorebuilds.

Show nvr in container-build

After the build is created with container-build, build's nvr is listed on output.

Different 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.

Do not delete files related to gating on import

When rhpkg import is used, it will delete files that are not used in the imported SRPM but are tracked in git. Now there is an exception for gating.yaml also tests/ subdirectory - these files are kept.

In Container-build add --build-release argument

Add support for a new --build-release argument to the container-build sub-command. This allows users to specify a specific "Release" value to OSBS for the build's Name-Version-Release.

Allow some arguments for container-build together

For rhpkg container-build command allow --signing-intent together with --repo-url. --compose-id is still restricted to be used with these arguments.

Ignore error when adding exclude patterns

Creates a .git/info directory if is missing during clone of a remote repository. Then exclude file can be updated.

Custom handler for koji watch_tasks

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.

Fix clone --branches

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 dir.

Make gitbuildhash work for windows builds

The requests are structured differently to rpm builds, so we need to look at the different field to extract URL.

Change Logs

  • 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)
  • Different import --offline command behavior - #445, rhbz#1175262 (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)
This update has been submitted for testing by onosek. 2 months ago
This update's test gating status has been changed to 'waiting'. 2 months ago
This update's test gating status has been changed to 'ignored'. 2 months ago
This update has been pushed to testing. 2 months ago
This update can be pushed to stable now if the maintainer wishes 2 months ago
This update has been submitted for stable by bodhi. 2 months ago
This update has been pushed to stable. 2 months ago

Please login to add feedback.

Metadata
Type
enhancement
Severity
medium
Karma
0
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
14 days
Dates
submitted
2 months ago
in testing
2 months ago
in stable
2 months ago
BZ#1733862 fedpkg clone fails in _add_git_excludes() method
0
0

Automated Test Results