Consolidate basic rb-site setup functionality into setup_rbsite().

Review Request #11410 — Created Jan. 26, 2021 and submitted

Information

Review Board
release-4.0.x

Reviewers

prepare-dev.py makes use of rb-site's internals for some setup, and
needs to do some initialization to get it working. To avoid
prepare-dev.py having to know much about the internals of this code,
this change introduces a new setup_rbsite() function that sets up the
logging and ConsoleUI.

This will shield prepare-dev.py from some upcoming changes to the
console initialization.

Tested both rb-site and prepare-dev.py in Python 2.7 and 3.9.

Summary ID
Consolidate basic rb-site setup functionality into setup_rbsite().
`prepare-dev.py` makes use of `rb-site`'s internals for some setup, and needs to do some initialization to get it working. To avoid `prepare-dev.py` having to know much about the internals of this code, this change introduces a new `setup_rbsite()` function that sets up the logging and `ConsoleUI`. This will shield `prepare-dev.py` from some upcoming changes to the console initialization.
3d22eda4f72c23a172c135129d4ac8faafd69602
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.0.x (3029632)
Loading...