Skip to content

云端同步 syncignore 未生效导致误删文件 #5497

Closed
@88250

Description

@88250
Member

来自 @Zuoqiu-Yingyi 提供的重现步骤:

  1. 设备 A 重置快照仓库, 其 syncignore 为空文件
  2. 设备 A 新建一个云端同步目录 D 并同步
  3. 设备 B 重置快照仓库, 其 syncignore 设置为忽略 widgets 目录下的一个子目录, 类似这种 widgets/题头图/**/*
  4. 设备 B 选择云端同步目录 D 并同步
  5. 设备 A 进行一次同步, 发现设备 B 的 syncignore 被同步过来了, 同时设备 A widgets/题头图/**/ 目录下的内容被移除了, 且 history 里面没有备份

Activity

added this to the 2.1.3 milestone on Jul 22, 2022
self-assigned this
on Jul 22, 2022
changed the title [-]云端同步 `syncignore` 未生效导致删除文件[/-] [+]云端同步 `syncignore` 未生效导致误删文件[/+] on Jul 22, 2022
assigned and unassigned on Jul 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250

      Issue actions

        云端同步 `syncignore` 未生效导致误删文件 · Issue #5497 · siyuan-note/siyuan