Remove rb-site's global site variable.

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

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.

Commits

Files