Add a wizard for managing the installation of Review Board.

Review Request #13477 — Created Jan. 3, 2024 and submitted — Latest diff uploaded

Information

rbinstall
master

Reviewers

The new wizard walks the user through installing Review Board via the
following steps:

  1. Showing an overview of the install process, along with the system and
    target version information, and confirming before moving on.

  2. Displays details on the Site vs. Install Directories, asks the user
    for the install location for the virtualenv, and validates the path.

  3. Shows the commands that will be run and then prompts for confirmation
    before installing.

  4. Performs the install, streaming results and showing progress.

  5. Asks the user if they want to create a new sitedir or import one, and
    walks the user through those choices.

  6. If requested, executes rb-site install to help the user install the
    site.

  7. Finishes up with a success or error result, and any further steps
    that may be needed.

This makes the install process very simple, and gives users just enough
information to make the right choices.

Right now, the wizard is not invoked. That will be handled in the next
change.

Extensively tested the wizard in both interactive and unattended modes.
Tested validation and error handling, and different install state for
installation options. Completed several installs.

Diff Revision 2 (Latest)

orig
1
2

Commits

First Last Summary ID Author
Add a wizard for managing the installation of Review Board.
The new wizard walks the user through installing Review Board via the following steps: 1. Showing an overview of the install process, along with the system and target version information, and confirming before moving on. 2. Displays details on the Site vs. Install Directories, asks the user for the install location for the virtualenv, and validates the path. 3. Shows the commands that will be run and then prompts for confirmation before installing. 4. Performs the install, streaming results and showing progress. 5. Asks the user if they want to create a new sitedir or import one, and walks the user through those choices. 6. If requested, executes `rb-site install` to help the user install the site. 7. Finishes up with a success or error result, and any further steps that may be needed. This makes the install process very simple, and gives users just enough information to make the right choices. Right now, the wizard is not invoked. That will be handled in the next change.
828b3770c9e9302a5c7472ad4a371a23b51c9982 Christian Hammond
rbinstall/process.py
rbinstall/wizard.py
Loading...