aboutsummaryrefslogtreecommitdiffstats
path: root/remote/sbb-remote
diff options
context:
space:
mode:
Diffstat (limited to 'remote/sbb-remote')
-rwxr-xr-xremote/sbb-remote10
1 files changed, 8 insertions, 2 deletions
diff --git a/remote/sbb-remote b/remote/sbb-remote
index cabb8d1..ace4fb9 100755
--- a/remote/sbb-remote
+++ b/remote/sbb-remote
@@ -41,7 +41,7 @@ import time
import tomllib
import urllib.request
-VERSION = "0.10.0"
+VERSION = "0.11.0"
DEFAULTS = {
"state_dir": "/var/lib/sb-builder",
"repo_dir": "/var/lib/sbopkg/SBo-danix",
@@ -155,6 +155,12 @@ def kind_publish(cfg, args):
return ["sb-publish"], {}
+def kind_rebuild_tree(cfg, args):
+ if args:
+ raise Error("rebuild-tree takes no arguments")
+ return ["slackrepo_setup_SBo-danix.sh"], {}
+
+
def _pkgmap(cfg):
"""{package: category/package} of the repo."""
return {os.path.basename(d): os.path.relpath(d, cfg["repo_dir"])
@@ -216,7 +222,7 @@ def _self_job(kind):
KINDS = {"sbpull": kind_sbpull, "sbshadow": kind_sbshadow,
- "slackrepo": kind_slackrepo, "publish": kind_publish,
+ "slackrepo": kind_slackrepo, "publish": kind_publish, "rebuild-tree": kind_rebuild_tree,
**{k: _self_job(k) for k in ("hint-update", "hint-new", "fix-current")}}