barbican/doc/source/contributor/dependencies.rst
Takashi Kajinami e41b60d73d doc: Use dnf instead of yum
The yum command has been replaced by the dnf command in recent releases
of Fedora-based distributions. Use the native command instead of
the alias kept for compatibility.

Also fix a few descriptions for quite old releases.

Change-Id: Ieb9090347a4d1e18ca98c6374cafc7ad66a4b5d7
2025-01-07 23:11:35 +09:00

1.1 KiB

Adding/Updating Dependencies

Adding new Dependency

If you need to add a new dependency to Barbican, you must edit a few things:

  1. Add the package name (and minimum version if applicable) to the requirements.txt file in the root directory.

    Note

    All dependencies and their version specifiers must come from the OpenStack global requirements repository.

  2. We support deployment on CentOS Stream 9, so you should check CentOS Stream

    + EPEL 9 yum repos to figure out the name of the rpm package that provides the package you're adding. Add this package name as a dependency in rpmbuild/SPECS/barbican.spec.

  3. If there is no package available in CentOS or EPEL, or if the latest available package's version is lower than the minimum required version we must build an rpm for it ourselves. Add a line to rpmbuild/package_dependencies.sh so that jenkins will build an rpm using fpm and upload it to the cloudkeep yum repo.