Remove rb-site's global site variable.

Review Request #11365 — Created Jan. 12, 2021 and submitted

chipx86
Review Board
release-4.0.x
reviewboard

This removes the global site variable from rb-site, which defines the
site that a command will operate on. Instead of managing this as a
global, it's now passed to Command.run(), which can store and operate
on that.

This improves testability and cleans up the code.

Tested all commands thoroughly.

Summary
Remove rb-site's global site variable.
Description From Last Updated

Typo in description: remoes -> removes

daviddavid
david
  1. 
      
  2. Typo in description: remoes -> removes

  3. 
      
chipx86
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.0.x (5bf985f)
Loading...