From e123b0d877493e5b8f7c2c5028f832bb6ab585df Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 11 Nov 2018 15:21:08 +0000 Subject: libsisyphus : * implement first part of hybrid install and hybrid upgrade * for now they'll fallback to binary mode only, even if source dependencies will be found sisyphus-cly : * expose the new functions via sisyphus hybrid-install and sisyphus hybrid-upgrade --- src/frontend/cli/sisyphus-cli.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/frontend') diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index ff68593..3a1623e 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -12,6 +12,11 @@ if "__main__" == __name__: sys.exit("\n" + "Nothing to install, please give at least one package name; quitting" + "\n") else: startInstall(pkgList) + elif "hybrid-install" in sys.argv[1:]: + if not pkgList: + sys.exit("\n" + "Nothing to install, please give at least one package name; quitting" + "\n") + else: + startHybridInstall(pkgList) elif "uninstall" in sys.argv[1:]: if not pkgList: sys.exit("\n" + "Nothing to uninstall, please give at least one package name; quitting" + "\n") @@ -28,6 +33,8 @@ if "__main__" == __name__: startSync() elif "upgrade" in sys.argv[1:]: startUpgrade() + elif "hybrid-upgrade" in sys.argv[1:]: + startHybridUpgrade() elif "search" in sys.argv[1:]: if not pkgList: sys.exit("\n" + "Nothing to search, please give at least one package name; quitting" + "\n") -- cgit v1.2.3