Add support for installing packages using a variety of methods.

Review Request #13464 — Created Dec. 27, 2023 and submitted — Latest diff uploaded

Information

rbinstall
master

Reviewers

This introduces an abstraction layer for installing packages using a
variety of methods. This includes:

  • apt-get build-dep
  • apt-get install
  • brew install
  • curl <url> | pythonX.Y
  • pacman
  • pip install ReviewBoard[...]
  • pip install
  • yum install
  • zypper install
  • Arbitrary shell commands

This is all done by running run_install_method() and passing in the
appropriate arguments. It will be used for package installation in an
upcoming change.

Unit tests pass.

Tested each of these with the rest of the upcoming installer changes.

Changes between revision 2 and 3

orig
1
2
3
4

Commits

Summary ID Author
Add support for installing packages using a variety of methods.
This introduces an abstraction layer for installing packages using a variety of methods. This includes: * `apt-get build-dep` * `apt-get install` * `brew install` * `curl <url> | pythonX.Y` * `pacman` * `pip install ReviewBoard[...]` * `pip install` * `yum install` * `zypper install` * Arbitrary shell commands This is all done by running `run_install_method()` and passing in the appropriate arguments. It will be used for package installation in an upcoming change.
6460ff24a4fdd29c1e2992ba00dfb306e6adc0c1 Christian Hammond
Add support for installing packages using a variety of methods.
This introduces an abstraction layer for installing packages using a variety of methods. This includes: * `apt-get build-dep` * `apt-get install` * `brew install` * `curl <url> | pythonX.Y` * `pacman` * `pip install ReviewBoard[...]` * `pip install` * `yum install` * `zypper install` * Arbitrary shell commands This is all done by running `run_install_method()` and passing in the appropriate arguments. It will be used for package installation in an upcoming change.
aef213fb171d5ea16585765e04884630e7edcc21 Christian Hammond
rbinstall/install_methods.py
rbinstall/tests/test_install_methods.py
Loading...