Merge branch 'auto-update' into join
This commit is contained in:
commit
c2f94ac76c
6 files changed
+381
-7
No files matched your search
+3
-2
@@ -55,7 +55,8 @@ Hooks (the agent tool calls these): sisi tick | prompt | watch | gate
|
||||
Your own rules, models table and retro log live in ~/.local/share/sisi ($SISI_DATA, else $XDG_DATA_HOME/sisi), a git repository;
|
||||
a project's rules live in its .sisi/rules.md. Settings: "core" in
|
||||
its config.json (gate, meter, direct_calls, direct_extension, rules_lines, rules_chars, organize_after,
|
||||
research_days, shell_workers, enforce, worker_minutes, retro_minutes, disk_free_percent, disk_drop_percent, checkouts)."""
|
||||
research_days, shell_workers, enforce, worker_minutes, retro_minutes, disk_free_percent, disk_drop_percent, checkouts,
|
||||
auto_update, update_hours, update_url)."""
|
||||
|
||||
|
||||
def main(argv):
|
||||
@@ -86,7 +87,7 @@ def main(argv):
|
||||
if cmd in ("install", "uninstall", "release", "update", "rollback", "doctor"):
|
||||
from . import install
|
||||
cmd == "release" and models.sync_shared()
|
||||
return getattr(install, cmd)()
|
||||
return install.update(auto="--auto" in args) if cmd == "update" else getattr(install, cmd)()
|
||||
if cmd in ("rulebook", "version"):
|
||||
print(rules.build_rulebook() if cmd == "rulebook" else store.read(os.path.join(store.ROOT, "VERSION")).strip())
|
||||
return 0
|
||||
|
||||
Reference in new issue
Block a user