Red Hat Subscription Management (RHSM) libdnf5/DNF5 plugins written in C++
This repository contains the following plugins:
-
productid(libdnf5 plugin) more information in ./productid/README.md -
rhsm(libdnf5 plugin) TODO -
release(dnf5 plugin) TODO -
reporefresh(dnf5 plugin) TODO
Build Dependencies:
- C++ compiler with C++20 support (GCC)
- CMake (the minimum required version is 3.21)
- libdnf5
- OpenSSL
- jsoncpp
- PkgConf
On Fedora, install the build dependencies with:
$ sudo dnf builddep ./libdnf5-plugins-rhsm.specTesting Dependencies:
- GoogleTest (for unit tests)
- Behave (for integration tests)
On Fedora, install the test dependencies with:
$ pip install behaveTo build plugins, run the following commands:
$ mkdir build
$ cd build
$ cmake ../
$ makeTo run unit tests:
$ make testTo run integration tests:
$ sudo behaveTo install the plugins on the system, run:
$ sudo make installFor more information on testing, see TESTING.md.