Add distro definitions and install steps for package installation.

Review Request #13465 — Created Dec. 27, 2023 and submitted — Latest diff uploaded

Information

rbinstall
master

Reviewers

The new rbinstall.distro_info module contains definitions for all the
Linux distributions that are supported by the installer. This defines
the packages and other commands needed to install Review Board and its
dependencies across various versions of Amazon Linux, Arch Linux,
CentOS, Debian, Fedora, openSUSE, RHEL, Rocky Linux, RHEL, and Ubuntu.

The definitions are parsed by functions in rbinstall.install_steps,
which turns them into commands to be run for handling package
installation.

Unit tests exist for all supported distros, in order to help catch any
changes to package installation. These have also all been tested against
Docker-based installs of each distro.

Unit tests pass.

Tested these definitions on all supported Linux distributions.

Diff Revision 5

This is not the most recent revision of the diff. The latest diff is revision 6. See what's changed.

orig
1
2
3
4
5
6

Commits

First Last Summary ID Author
Add distro definitions and install steps for package installation.
The new `rbinstall.distro_info` module contains definitions for all the Linux distributinos that are supported by the installer. This defines the packages and other commands needed to install Review Board and its dependencies across various versions of Amazon Linux, Arch Linux, CentOS, Debian, Fedora, openSUSE, RHEL, Rocky Linux, RHEL, and Ubuntu. The definitions are parsed by functions in `rbinstall.install_steps`, which turns them into commands to be run for handling package installation. Unit tests exist for all supported distros, in order to help catch any changes to package installation. These have also all been tested against Docker-based installs of each distro.
3862d322d7e35e601d8ff00a80c598192d0b0008 Christian Hammond
rbinstall/distro_info.py
rbinstall/install_steps.py
rbinstall/versioning.py
rbinstall/tests/test_install_steps.py
rbinstall/tests/test_versioning.py
Loading...