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 6 (Latest)

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.
0de0c043ebb7ba8874d478a0445b037c9f7870d0 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...