• 
      

    Add distro definitions and install steps for package installation.

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

    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.

    Summary ID
    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
    Description From Last Updated

    Typo in description "distributinos".

    maubinmaubin

    'typing.TYPE_CHECKING' imported but unused Column: 1 Error code: F401

    reviewbotreviewbot

    'typing.Callable' imported but unused Column: 1 Error code: F401

    reviewbotreviewbot

    'os' imported but unused Column: 1 Error code: F401

    reviewbotreviewbot

    'platform' imported but unused Column: 1 Error code: F401

    reviewbotreviewbot

    're' imported but unused Column: 1 Error code: F401

    reviewbotreviewbot

    'subprocess' imported but unused Column: 1 Error code: F401

    reviewbotreviewbot

    'sys' imported but unused Column: 1 Error code: F401

    reviewbotreviewbot

    'tempfile' imported but unused Column: 1 Error code: F401

    reviewbotreviewbot

    'typing.Any' imported but unused Column: 1 Error code: F401

    reviewbotreviewbot

    'typing.Dict' imported but unused Column: 1 Error code: F401

    reviewbotreviewbot

    'gettext.ngettext' imported but unused Column: 1 Error code: F401

    reviewbotreviewbot

    Typo "withi"

    maubinmaubin
    Checks run (1 failed, 1 succeeded)
    flake8 failed.
    JSHint passed.

    flake8

    chipx86
    chipx86
    Review request changed
    Change Summary:
    • Updated for new install state, particularly for version information.
    • Improved the descriptions for each install step.
    Commits:
    Summary ID
    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.
    378aa19567f2177b5c38c2b6b4a97a2f9d4819da
    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.
    695c6077938c0726a5cbe42dfc5abb730325c3fe

    Checks run (1 failed, 1 succeeded)

    flake8 failed.
    JSHint passed.

    flake8

    chipx86
    chipx86
    david
    1. Ship It!
    2. 
        
    maubin
    1. 
        
    2. Show all issues

      Typo in description "distributinos".

    3. rbinstall/install_steps.py (Diff revision 5)
       
       
      Show all issues

      Typo "withi"

    4. 
        
    chipx86
    maubin
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (88aefaa)