stable

fedpkg-1.37-1.fc28 and rpkg-1.58-2.fc28

FEDORA-2019-e4359dc92a created by onosek 5 years ago for Fedora 28

Release of rpkg+fedpkg contains enhancements and fixes as well. Described are mostly more significant enhancements and fixes.

rpkg

Improvements for scratch module builds

  • Allow module-build-watch to exit when a scratch build completes.
  • Add scratch status to module-build-info output.
  • Add scratch module build sub-commands and updates for handling custom modulemd file and SRPMs.
  • Add tests for scratch module builds and adjust existing tests for new scratch option.
  • Allow custom SRPMs with local module builds for consistency with module scratch builds.

Allow passing arguments to "mbs-manager build_module_locally".

It is now possible to build modules offline without any external infrastructure using the MBS. This is done by passing --offline and -r/--repository flags to mbs-manager and the list of repositories for the base module.

Remove the ability to parse a module's branch

Remove the ability to parse a module's branch automatically to determine the base module stream override.

This functionality was moved to MBS directly instead of having rpkg do it: PR#1176

Permit setting arbitrary rpm macros during build

Added argument --define to pass custom macros to rpmbuild. May be specified multiple times. Applicable to commands: compile, install, local, prep, srpm, verify-files.

Ignore files in a cloned repository

Git will ignore automatically generated files. Ignored patterns can be specified in rhpkg/fedpkg config. Patterns are applied in .git/info/exclude file only when repository is cloned. And changes are valid only for local repository.

Pass specific arguments to "mock"

In mockbuild:

  • Pass --enable-network to "mock" command.
  • Pass --disablerepo and --enablerepo to "mock" command. Both arguments can be used multiple times.

Added "depth" argument to "git clone"

Added --depth argument for git clone command. It creates a shallow clone with a history truncated to the specified number of commits. Cloning mostly applies with single branch (with argument --branch).

Watch multiple module builds

Code is written to be able to watch multiple module builds just after submitting a module build. Command module-build-watch also accepts command line arguments (multiple build_id) to watch specified builds.

Show module build links in output from command module-build

If not watch module build, show build links in order to be easy to link to module build in Web browser.

Add the ability to configure multiple regex expressions

Add the ability to configure multiple regex expressions for base_module_stream_regex_from_branch.

Add "retire" command supporting both packages and modules

There was previously a retire command in fedpkg supporting only packages. This brings the retire command into rpkg with added support for a module-specific dead.module marker file.

Import srpm without uploading sources

Add new argument --offline for command import. Files won't be uploaded to lookaside cache.

Ignore any specified profile when finding the Flatpak build target

The source module for a Flatpak build can be specified as something like flatpak-runtime:28/sdk to indicate that the Flatpak is built from the "sdk" profile of the flatpak-runtime module. This should be ignored when looking up module builds to find the platform stream and build target.

Added update-docs script

Script (doc/update-docs.sh) that updates html documentation git repository on Pagure. And unify it with fedpkg version of the script.

fedpkg

This release requires rpkg >= 1.58.

Ignore files in a cloned repository

Git will ignore automatically generated files. Ignored patterns can be specified in config. Initial patterns were added. Patterns are applied in .git/info/exclude file only when repository is cloned. And changes are valid only for local repository.

Enable shell completion for module scratch builds

  • Add custom SRPM shell completion with local module builds.
  • Add missing shell completion options for local module builds.
  • Require SRPMs to be specified individually using multiple --srpm SRPM options.
  • Enable completion of modulemd file path by yaml extension.

Show hint when Pagure token expires

When Pagure token is expired, hint is added in commands fedpkg request-repo and fedpkg request-branch to keep user informed how to renew the token.

Include possible distprefix in "--define dist" for Forge-based packages

In forge based packages, and most notably all Golang packages, dist tag are computed by a lua script in order to generate a snapshot date and shortcommit.

This patch passes the computed %{?distprefix} in dist to take into account the specificity of Forge based packages.

Other small fixes

  • Make fedpkg update output a report after success.
  • Fix fedpkg update --bugs detection.
  • The retire command is now included in rpkg, supporting both packages and modules.

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2019-e4359dc92a

This update has been submitted for testing by onosek.

5 years ago

This update has been pushed to testing.

5 years ago

onosek edited this update.

5 years ago

This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes

5 years ago

onosek edited this update.

New build(s):

  • rpkg-1.58-2.fc28

Removed build(s):

  • rpkg-1.58-1.fc28

Karma has been reset.

5 years ago

This update has been submitted for testing by onosek.

5 years ago
User Icon onosek commented & provided feedback 5 years ago

rpkg-1.58-1 was replaced by rpkg-1.58-2, which brings fix for #1707223.

This update has been pushed to testing.

5 years ago

This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes

5 years ago

This update has been submitted for batched by onosek.

5 years ago

This update has been submitted for stable by onosek.

5 years ago

This update has been pushed to stable.

5 years ago

Please login to add feedback.

Metadata
Type
enhancement
Severity
medium
Karma
0
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
disabled
Dates
submitted
5 years ago
in testing
5 years ago
in stable
5 years ago
modified
5 years ago
BZ#1175262 Import without uploading sources
0
0
BZ#1679365 pkg_resources.DistributionNotFound: PyGObject
0
0
BZ#1707223 fedpkg co --branches fails with 1.37
0
0

Automated Test Results

Test Cases

0 0 Test Case build from distgit with mock
0 0 Test Case clone distgit repository
0 0 Test Case download upstream sources
0 0 Test Case scratch build from distgit