Add distro definitions and install steps for package installation.
Review Request #13465 — Created Dec. 27, 2023 and submitted
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.
Summary | ID |
---|---|
0de0c043ebb7ba8874d478a0445b037c9f7870d0 |
Description | From | Last Updated |
---|---|---|
Typo in description "distributinos". |
maubin | |
'typing.TYPE_CHECKING' imported but unused Column: 1 Error code: F401 |
reviewbot | |
'typing.Callable' imported but unused Column: 1 Error code: F401 |
reviewbot | |
'os' imported but unused Column: 1 Error code: F401 |
reviewbot | |
'platform' imported but unused Column: 1 Error code: F401 |
reviewbot | |
're' imported but unused Column: 1 Error code: F401 |
reviewbot | |
'subprocess' imported but unused Column: 1 Error code: F401 |
reviewbot | |
'sys' imported but unused Column: 1 Error code: F401 |
reviewbot | |
'tempfile' imported but unused Column: 1 Error code: F401 |
reviewbot | |
'typing.Any' imported but unused Column: 1 Error code: F401 |
reviewbot | |
'typing.Dict' imported but unused Column: 1 Error code: F401 |
reviewbot | |
'gettext.ngettext' imported but unused Column: 1 Error code: F401 |
reviewbot | |
Typo "withi" |
maubin |
- Change Summary:
-
Removed unused imports.
- Commits:
-
Summary ID 08e7449b23085a966c631aab2f77dd1ade9b72f9 378aa19567f2177b5c38c2b6b4a97a2f9d4819da
Checks run (2 succeeded)
- Change Summary:
-
- Updated for new install state, particularly for version information.
- Improved the descriptions for each install step.
- Commits:
-
Summary ID 378aa19567f2177b5c38c2b6b4a97a2f9d4819da 695c6077938c0726a5cbe42dfc5abb730325c3fe
- Change Summary:
-
Removed an unused import.
- Commits:
-
Summary ID 695c6077938c0726a5cbe42dfc5abb730325c3fe 57f55b8d997537fe24e1df735cdd72e0a3d5420d
Checks run (2 succeeded)
- Change Summary:
-
Updated distro definitions to match the new install steps.
- Commits:
-
Summary ID 57f55b8d997537fe24e1df735cdd72e0a3d5420d 3862d322d7e35e601d8ff00a80c598192d0b0008
Checks run (2 succeeded)
- Change Summary:
-
Fixed typos.
- Description:
-
The new
rbinstall.distro_info
module contains definitions for all the~ Linux distributinos that are supported by the installer. This defines ~ 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. - Commits:
-
Summary ID 3862d322d7e35e601d8ff00a80c598192d0b0008 0de0c043ebb7ba8874d478a0445b037c9f7870d0