镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-06 22:46:47 +00:00
btrfs only commit when job succeeded
这个提交包含在:
@@ -20,8 +20,9 @@ class BtrfsHook(JobHook):
|
|||||||
def before_job(self, *args, **kwargs):
|
def before_job(self, *args, **kwargs):
|
||||||
self._create_working_snapshot()
|
self._create_working_snapshot()
|
||||||
|
|
||||||
def after_job(self, *args, **kwargs):
|
def after_job(self, status=None, *args, **kwargs):
|
||||||
self._commit_changes()
|
if status == "success":
|
||||||
|
self._commit_changes()
|
||||||
|
|
||||||
def _ensure_subvolume(self):
|
def _ensure_subvolume(self):
|
||||||
# print(self.service_dir)
|
# print(self.service_dir)
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户