An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Sync repo
Liang Ding2b43ca8565e4
diff --git a/kernel/go.mod b/kernel/go.modindex bbfb277637..36572f2be3 100644--- a/kernel/go.mod+++ b/kernel/go.mod@@ -40,7 +40,7 @@ require (github.com/qiniu/go-sdk/v7 v7.13.0github.com/radovskyb/watcher v1.0.7github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06- github.com/siyuan-note/dejavu v0.0.0-20220701140638-8a5e71a78da8+ github.com/siyuan-note/dejavu v0.0.0-20220701153731-39df4b1f8468github.com/siyuan-note/encryption v0.0.0-20220612074546-f1dd94fe8676github.com/siyuan-note/eventbus v0.0.0-20220624162334-ca7c06dc771fgithub.com/siyuan-note/filelock v0.0.0-20220616063212-74cfba0754eediff --git a/kernel/go.sum b/kernel/go.sumindex 1f99c6c5db..7c25292920 100644--- a/kernel/go.sum+++ b/kernel/go.sum@@ -421,8 +421,8 @@ github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJgithub.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw=github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=-github.com/siyuan-note/dejavu v0.0.0-20220701140638-8a5e71a78da8 h1:gjdC/CrG5ri15krGtSUofi5cT+dkf3ahcI/x9zKVrJ0=-github.com/siyuan-note/dejavu v0.0.0-20220701140638-8a5e71a78da8/go.mod h1:0t+TpAdsrrv+6LkhDlJY2Gl92CQexgp8KWOBp5Ah9kU=+github.com/siyuan-note/dejavu v0.0.0-20220701153731-39df4b1f8468 h1:AvVwCzes0VJDME2YhTjYkRTnhGbGJ8FcGA0IY/QnFdU=+github.com/siyuan-note/dejavu v0.0.0-20220701153731-39df4b1f8468/go.mod h1:0t+TpAdsrrv+6LkhDlJY2Gl92CQexgp8KWOBp5Ah9kU=github.com/siyuan-note/encryption v0.0.0-20220612074546-f1dd94fe8676 h1:QB9TjJQFhXhZ6dAtPpY02DlzHAQm1C+WqZq6OadG8mI=github.com/siyuan-note/encryption v0.0.0-20220612074546-f1dd94fe8676/go.mod h1:H8fyqqAbp9XreANjeSbc72zEdFfKTXYN34tc1TjZwtw=github.com/siyuan-note/eventbus v0.0.0-20220624162334-ca7c06dc771f h1:JMobMNZ7AqaKKyEK+WeWFhix/2TDQXgPZDajU00IybU=diff --git a/kernel/model/sync.go b/kernel/model/sync.goindex 6758838b7a..885a4e4a58 100644--- a/kernel/model/sync.go+++ b/kernel/model/sync.go@@ -137,11 +137,11 @@ func SyncData(boot, exit, byHand bool) {indexRepoBeforeCloudSync()// 同步数据仓库 https://github.com/siyuan-note/siyuan/issues/5142- if syncRepoErr := syncRepo(); nil != syncRepoErr {- util.LogErrorf("sync repo failed: %s", syncRepoErr)- }+ //if syncRepoErr := syncRepo(); nil != syncRepoErr {+ // util.LogErrorf("sync repo failed: %s", syncRepoErr)+ //}- return // TODO: 测试+ //return // TODO: 测试WaitForWritingFiles()writingDataLock.Lock()