Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 24 Jun 04:44
Immutable release. Only release title and notes can be modified.
v1.2.0
a1ec7ff

What's Changed

  • docs: add RPM public signing key by @jfut in #5
  • docs: update README DNF command examples by @jfut in #6
  • feat: switch repo commands to name-first actions by @jfut in #7
  • feat: show settings from global and repo commands by @jfut in #8
  • feat: add per-repository gpgcheck overrides by @jfut in #9

⚠️Breaking Changes

Repository configuration commands now use repo NAME ... syntax.

The old repo show NAME, repo set NAME ..., and repo unset NAME ... commands have been replaced with name-first repository commands.

  • dnf-anyrepo repo show NAME has been replaced with dnf-anyrepo repo NAME
  • dnf-anyrepo repo set NAME KEY VALUE has been replaced with dnf-anyrepo repo NAME set KEY VALUE
  • dnf-anyrepo repo unset NAME KEY has been replaced with dnf-anyrepo repo NAME unset KEY

Global settings are now shown with dnf-anyrepo global instead of dnf-anyrepo global show.

  • dnf-anyrepo global show has been replaced with dnf-anyrepo global

AnyRepo now enables RPM signature checking by default.

The packaged /etc/yum.repos.d/anyrepo.repo now sets gpgcheck = 1 instead of gpgcheck = 0. Unsigned RPMs are rejected by DNF unless signature checking is disabled for that repository.

For repositories that publish unsigned RPMs, explicitly disable gpgcheck:

dnf-anyrepo repo firehol set gpgcheck 0

Examples:

dnf-anyrepo global

dnf-anyrepo repo prec
dnf-anyrepo repo prec set minimum_release_age 1d
dnf-anyrepo repo prec unset minimum_release_age

dnf-anyrepo repo firehol set gpgcheck 0
dnf-anyrepo repo firehol unset gpgcheck

The output of dnf-anyrepo list and dnf-anyrepo repo NAME has also changed. list now includes a GPGCHECK column, and repo NAME shows configured repository settings instead of cached release metadata.

Full Changelog: v1.1.0...v1.2.0