Kazumi
Kazumi copied to clipboard
add webDav Migrate
这个实现非常漂亮
但是我忘记了严重的问题,当使用者在多个平台上安装了不同版本的 kazumi 时,我们会遇到大混乱
这似乎没有什么恰当的解决方法,我们是否要回滚 #1245
我也没有好的想法 或许可以强制更新(但对于用户太不友好)
还是先回滚上一个pr吧 这个就先设置为草案吧
还有一个bug被回滚了 updateCollectibles() 中 await update('collectchanges'); 与 downloadCollectChanges() 中 collectChanges.tmp 文件名不一样
这是由 git 生成的完整回滚,这个错误应该之前就存在,这个错误之前是否导致了什么问题。
这个bug会导致collectchanges下载失败,但是追番界面没有失败提示
**2025-08-28 22:36:23.957820**
webDav download collect changes failed DioException [bad response]: null
Error: Not Found
**2025-08-28 22:36:23.961767**
webDav get collectibles from file failed PathNotFoundException: Cannot open file, path = '/home/float/.local/share/kazumi/webdavTemp/collectChanges.tmp' (OS Error: 没有那个文件或目录, errno = 2)
**2025-08-28 22:53:47.119217**
webDav download collect changes failed DioException [bad response]: null
Error: Not Found
**2025-08-28 22:53:55.624141**
webDav get collectibles from file failed PathNotFoundException: Cannot open file, path = '/home/float/.local/share/kazumi/webdavTemp/collectChanges.tmp' (OS Error: 没有那个文件或目录, errno = 2)
我在 #1245 中修复了这个bug
有兴趣重新提交只包含此修复的 pr 吗