flake8
-
rbinstall/tests/test_install_methods.py (Diff revision 1) -
rbinstall/tests/test_install_methods.py (Diff revision 1) 'rbinstall.errors.InstallerError' imported but unused Column: 1 Error code: F401
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
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 |
rbinstall/tests/test_install_methods.py (Diff revision 1) |
---|
rbinstall/tests/test_install_methods.py (Diff revision 1) |
---|
'rbinstall.errors.InstallerError' imported but unused Column: 1 Error code: F401
Removed unused imports.
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+1832 -2) |
run()
argument support for install methods.curl <URL> | python
command.Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+2016 -2) |
rbinstall/install_methods.py (Diff revision 3) |
---|
'typing.Optional' imported but unused Column: 1 Error code: F401
Removed an unused import.
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 4 (+2016 -2) |