Remove rb-site's global site variable.

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

Information

Review Board
release-4.0.x

Reviewers

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 ID
Remove rb-site's global site variable.
This remoes 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.
7c619faaf01aee3e9b0ca4acd3427fea7b2c283b
Description From Last Updated

Typo in description: remoes -> removes

daviddavid
david
  1. 
      
  2. Show all issues

    Typo in description: remoes -> removes

  3. 
      
chipx86
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-4.0.x (5bf985f)