~gotmax23/fedrq

v1.0.0 12 days ago .tar.gz browse log

fedrq 1.0.0

First stable release

Added:

- Containerfiles: add experimental UBI 8–based Containerfile
- cli formatters: add `source+requiresmatch` and `source+rm` formatters

Changed:

- Containerfiles: license under `GPL-2.0-or-later`
- doc fedrq.1: use formatting consistent with `man-pages(7)`

Fixed:

- doc: remove broken reference

Removed:

- cli formatters: remove long-deprecated `_DefaultFormatters` class (INTERNAL API)

v0.15.0 a month ago .tar.gz browse log

fedrq 0.15.0

Added:

- backends dnf: add `load_filelists()` implementation. This makes sure that
  systems with `dnf >= 4.19.0` can, for example, use `-L always` to load
  filelists.

Changed:

- doc: revamp and cleanup

Fixed:

- changelogs: fix off-by-one error with `--entry-limit` flag

v0.14.0 2 months ago .tar.gz browse log

fedrq 0.14.0

Added:

- api: add `fedrq.cli.formatters.Formatters.formatters_it()` method
- cli: add `formatters` subcommand to list formatters
- formatters: add `-F multiline`
- formatters: add `-F requiresmatch` and related formatters
- releases: add `--branch=eln` / `--repo=buildroot` repo definition

Changed:

- api: clean up INTERNAL `fedrq.cli.formatters` API

Deprecated:

- api: deprecate standalone `fedrq.repoquery` module

Removed:

- all: drop support for libdnf5 version less than 5.0.12

v0.13.0 3 months ago .tar.gz browse log

fedrq 0.13.0

!!! warning
    The next release will drop support for `libdnf5<5.0.12`

Added:

CLI:

- cli `download` / `download-spec`: mark commands as stable and document
- cli: add new `make-cache` subcommand

---

API:

- backends `Repoquery.resolve_pkg_specs`: add `nevra_forms` argument
- backends `Repoquery.resolve_pkg_specs`: allow more granular `resolve` control
- backends: add `allow_multiple_backends_per_process` argument to `get_backend()`
- backends: make `base` a package instead of a single module

---

contrib:

- Caddyfile: update for 404.html template

---

doc:

- API Summary: add dnf and libdnf5 intersphinx links
- dnf-repoquery-diff: fix inter-doc links
- release_repo: add unstable API warning admonition
- add _archive.md API doc

Changed:

- all: use `metaclass=abc.ABCMeta` instead of inheriting `abc.ABC`
- backends: make `libdnf5.backends.${NAME}.backend` packages instead of single modules
- cli: correct license of changelogs and download.
  They are now `GPL-2.0-or-later` as opposed to `MIT`.
- doc: switch to google docstring style

Fixed:

- fedrq.repoquery: fix type checking
- backends dnf: fix `BaseMaker.set_var()` error typo
- cli whatrequires: fix typo (`Exception: Unrecognized key name: recommend`).

v0.12.0 7 months ago .tar.gz browse log

fedrq 0.12.0

Added:

- whatrequires: add experimental `--extra-exact` argument
- add support for pydantic v2

v0.11.0 7 months ago .tar.gz browse log

fedrq 0.11.0

Added
-----

API:

- backends: add `repo` @property to PackageCompat
- BaseMaker: add `load_changelogs()`; improve `load_filelists()`
- BaseMaker: add `conf` property
- backends: add API for accessing Package changelogs

CLI:

- handle repo ssl client certificates in `download` subcommand
- add `changelog` subcommand

Container images:

- add `@epel` release group to the `rhel9` release configuration in the `ubi9`
  container

General:

- Declare support for Python 3.12

Deprecated
----------

API:

- libdnf5 BaseMaker: deprecate config property

Fixed
-----

- fix `importlib.abc` `DeprecationWarning`.
- improve CLI error handling by erroring out before loading metadata if other
  non-fatal errors have occurred.
- fix help message in `download` subcommand

Removed
-------

API:

- config: remove pydantic validators from public API. These never should have
  been exposed in the first place.

v0.10.0 9 months ago .tar.gz browse log

fedrq 0.10.0

Added:

- add unconditional dependency on python3-rpm
- container - refresh redhat.repo on entrypoint
- add `smartcache=always` config option
- add `--smartcache-always` CLI flag
- add more documentation for the container builds

Changed:

- container - install config file to set `smartcache=always`
- `fedrq.backends.libdnf5.backend.Package` - use libdnf5's getters for
  `debug_name` and `source_debug_name` instead of our copies from dnf4.
  There is still a fallback to the dnf4 versions for libdnf5 < 5.0.12.
- fedrq.spec - favor python3-libdnf5 if dnf5 is installed

Deprecated:

- deprecate support for libdnf5 < 5.0.12 in the libdnf5 backend

Fixed:

- container - make sure cache persistence volume is actually used

Removed:

- remove deprecated `config.get_rq()` function
- drop support for libdnf5 < 5.0.10 in the libdnf5 backend

v0.9.0 9 months ago .tar.gz browse log

fedrq 0.9.0

Added:

- add remote_location formatter
- document CentOS 7 release configuration
- add UBI release configuration
- add Oracle Linux release configuration
- add Rocky Linux release configuration
- add experimental download and download-spec subcommands
- add fedrq [container builds][container builds]
- add @source-repos repo class
- BaseMaker: add enable_source_repos() method
- PackageCompat: add remote_location() method

Changed:

- Remove enabled=1 from built-in fedora repo defs.
  We want all repo to have enabled=0. We control which repos are enabled and
  disabled with repo groups configured in releases.toml.
  This previously led to divergent behavior with the --repo and --enablerepo
  options when querying Fedora releases on Fedora systems and non-Fedora
  systems (e.g. CentOS).

Deprecated:

- deprecate support for libdnf5 < 5.0.10 and raise warnings

Fixed:

- backends libdnf5: don't call rpm.ts.closeDB()

[container builds]: https://git.sr.ht/~gotmax23/fedrq#container-images

v0.8.0 9 months ago .tar.gz browse log

fedrq 0.8.0

Added:

- add --version flag to CLI
- improve repo loading error handling ([#31])
- add CentOS 7 release configuration

Changed:

- `fedrq.config.Release.get_base` - allow omitting `config` arg.
  This previously emitted a deprecation warning ([`efc2828`][efc2828]).
- `ReleaseConfig` - make `repogs` a proper pydantic model field ([`d8cff5a`][d8cff5a]).

Fixed:

- fix Changelog URL in Python/PyPI metadata
- fix typo in help message for `--latest`. Contributed by Sandro (~penguinpee).
- backends - fix MissingBackendError message grammar

New contributors:

Thanks to Sandro (~penguinpee) for your first fedrq contribution!

[#31]: https://todo.sr.ht/~gotmax23/fedrq/31
[efc2828]: https://git.sr.ht/~gotmax23/fedrq/commit/efc2828b75b60fe325429ddff39f9082d7f03b1e
[d8cff5a]: https://git.sr.ht/~gotmax23/fedrq/commit/d8cff5af8696d4c1df8e90cf0d76f9dde09ae45c

v0.7.1 10 months ago .tar.gz browse log

fedrq 0.7.1

Fixed:

- libdnf5: fix downloadsize and size formatters compat.
  This change is needed to maintain compat after [1].

[1]: https://github.com/rpm-software-management/dnf5/commit/766fb3ad8745e42e4d5b73417aa54898e2d0f89f
1 / 2