summaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-23 01:43:22 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-23 01:43:22 +0100
commitbbd3803ef7fb7132868680652d024a4b89353e43 (patch)
tree4683071dd2e4d550f5badc838e4694085e24a746 /src/frontend
parent84df9e9070477c3d3a7f2067edeb3f14f82560ed (diff)
prepare for API documentation
Diffstat (limited to 'src/frontend')
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py14
-rw-r--r--src/frontend/gui/sisyphus-gui.py8
2 files changed, 11 insertions, 11 deletions
diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py
index 8e6ec04..34ce260 100755
--- a/src/frontend/cli/sisyphus-cli.py
+++ b/src/frontend/cli/sisyphus-cli.py
@@ -135,10 +135,10 @@ def install(pkgname: List[str],
sisyphus install -e --nodeps vivaldi\n
"""
if ebuild:
- sisyphus.binpkgsrcinst.start(
+ sisyphus.binpkgsrc_inst.start(
pkgname, ebuild=True, gfx_ui=False, oneshot=oneshot, nodeps=nodeps)
else:
- sisyphus.binpkgsrcinst.start(
+ sisyphus.binpkgsrc_inst.start(
pkgname, ebuild=False, gfx_ui=False, oneshot=oneshot, nodeps=nodeps)
@@ -165,10 +165,10 @@ def uninstall(pkgname: List[str], force: bool = typer.Option(False, "--force", "
sisyphus uninstall openrc -f # this will succeed, but the system will no longer boot\n
"""
if force:
- sisyphus.binpkgsrcunst.start(
+ sisyphus.binpkgsrc_unst.start(
pkgname, depclean=False, gfx_ui=False, unmerge=True)
else:
- sisyphus.binpkgsrcunst.start(
+ sisyphus.binpkgsrc_unst.start(
pkgname, depclean=True, gfx_ui=False, unmerge=False)
@@ -186,7 +186,7 @@ def autoremove():
* Examples:\n
sisyphus autoremove\n
"""
- sisyphus.binpkgsrcautorm.start(gfx_ui=False)
+ sisyphus.binpkgsrc_cln.start(gfx_ui=False)
@app.command("autoclean")
@@ -233,9 +233,9 @@ def upgrade(
sisyphus upgrade -e\n
"""
if ebuild:
- sisyphus.binpkgsrcupgd.start(ebuild=True, gfx_ui=False)
+ sisyphus.binpkgsrc_upg.start(ebuild=True, gfx_ui=False)
else:
- sisyphus.binpkgsrcupgd.start(ebuild=False, gfx_ui=False)
+ sisyphus.binpkgsrc_upg.start(ebuild=False, gfx_ui=False)
@app.command("spmsync")
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index b86561e..8fc62b8 100644
--- a/src/frontend/gui/sisyphus-gui.py
+++ b/src/frontend/gui/sisyphus-gui.py
@@ -461,7 +461,7 @@ class MainWorker(QtCore.QObject):
def startInstall(self):
self.started.emit()
pkgname = Sisyphus.pkgname
- sisyphus.binpkgsrcinst.start(
+ sisyphus.binpkgsrc_inst.start(
pkgname, ebuild=False, gfx_ui=True, oneshot=False, nodeps=False)
self.finished.emit()
@@ -469,20 +469,20 @@ class MainWorker(QtCore.QObject):
def startUninstall(self):
self.started.emit()
pkgname = Sisyphus.pkgname
- sisyphus.binpkgsrcunst.start(
+ sisyphus.binpkgsrc_unst.start(
pkgname, depclean=True, gfx_ui=True, unmerge=False)
self.finished.emit()
@QtCore.pyqtSlot()
def startUpgrade(self):
self.started.emit()
- sisyphus.binpkgsrcupgd.start(ebuild=False, gfx_ui=True)
+ sisyphus.binpkgsrc_upg.start(ebuild=False, gfx_ui=True)
self.finished.emit()
@QtCore.pyqtSlot()
def startAutoremove(self):
self.started.emit()
- sisyphus.binpkgsrcautorm.start(gfx_ui=True)
+ sisyphus.binpkgsrc_cln.start(gfx_ui=True)
self.finished.emit()