Add support for installing packages using a variety of methods.
Review Request #13464 — Created Dec. 27, 2023 and submitted
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.
Summary | ID |
---|---|
43bdc609d3ea98d546a9ba0c297ada8d7095dbd6 |
- Change Summary:
-
Removed unused imports.
- Commits:
-
Summary ID d957a0effb1e0f2a7437eecfbca27dc4577506fa 6460ff24a4fdd29c1e2992ba00dfb306e6adc0c1
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Change Summary:
-
- Added dry-run and arbitrary
run()
argument support for install methods. - Remote pyscript installs now output a simulated
curl <URL> | python
command.
- Added dry-run and arbitrary
- Commits:
-
Summary ID 6460ff24a4fdd29c1e2992ba00dfb306e6adc0c1 aef213fb171d5ea16585765e04884630e7edcc21