!l8rnxDAEOzBxO84I:aos.dev

go-storage-zh

29 Members
2 Servers

Load older messages


SenderMessageTime
22 Sep 2021
@jinny1226:matrix.orgJinny上周的周报需要补一下吗08:46:49
@xuanwo:matrix.org@xuanwo:matrix.org不用啦08:46:58
@xuanwo:matrix.org@xuanwo:matrix.org以后会用新的方式08:47:06
@xuanwo:matrix.org@xuanwo:matrix.orghttps://forum.beyondstorage.io/t/topic/24108:47:16
@xuanwo:matrix.org@xuanwo:matrix.org大家有空的话来看一下这个提案: Proposal: Community Merge08:47:56
@xuanwo:matrix.org@xuanwo:matrix.org zhangjiayu 是 golang 的初学者,首先尝试解决 issue: https://github.com/beyondstorage/go-service-s3/issues/86 09:26:05
@xuanwo:matrix.org@xuanwo:matrix.org有问题的话可以直接在群里问哈~09:26:19
@zhangjiayu:matrix.orgJoey嗯嗯09:26:25
@zhangjiayu:matrix.orgJoey我先看看文档09:26:32
23 Sep 2021
@xuanwo:matrix.org@xuanwo:matrix.org Jinny: 我们 go-service-fs 里面的 evalSymlink 行为是怎么样的? 02:31:00
@xuanwo:matrix.org@xuanwo:matrix.org比如说 /tmp/abc ,/tmp symlink 到 /private/tmp,然后 abc 实际上不存在02:31:31
@xuanwo:matrix.org@xuanwo:matrix.org这个时候会返回什么?02:31:41
@jinny1226:matrix.orgJinny/private/tmp/abc02:32:05
@xuanwo:matrix.org@xuanwo:matrix.orggot02:34:58
@xuanwo:matrix.org@xuanwo:matrix.org
In reply to @jinny1226:matrix.org
/private/tmp/abc
可能需要一点文档
02:37:58
@xuanwo:matrix.org@xuanwo:matrix.org因为我们的 evalSymlink 跟 filepath.EvalSymlinks 的行为是有差异的02:38:13
@xuanwo:matrix.org@xuanwo:matrix.org哦,我看到了,evalSymlinks 调用了 evalSymlink02:38:41
@xuanwo:matrix.org@xuanwo:matrix.orghttps://github.com/beyondstorage/go-service-fs/issues/8202:42:10
@zhangjiayu:matrix.orgJoey我来改这个么02:43:01
@xuanwo:matrix.org@xuanwo:matrix.org
In reply to @zhangjiayu:matrix.org
我来改这个么
你可以先看一下 https://github.com/beyondstorage/go-service-fs/issues/81,这个 fix 比较简单~
02:44:02
@xuanwo:matrix.org@xuanwo:matrix.org
In reply to @zhangjiayu:matrix.org
我来改这个么
* 你可以先看一下 https://github.com/beyondstorage/go-service-fs/issues/81 ,这个 fix 比较简单~
02:44:06
@zhangjiayu:matrix.orgJoey嗯嗯02:44:13
@xuanwo:matrix.org@xuanwo:matrix.org正好能用来熟悉一下 github 的流程02:44:25
@xuanwo:matrix.org@xuanwo:matrix.org * 正好能用来熟悉一下 github 的 PR 流程02:44:30
@jinny1226:matrix.orgJinny初始化是特意用的pathfile.EvalSymlinks(),如果目录本身是不存在的,应该在初始化的时候就返回错误02:46:57
@jinny1226:matrix.orgJinny这样理解对吗02:47:08
@xuanwo:matrix.org@xuanwo:matrix.org有点问题02:47:56
@xuanwo:matrix.org@xuanwo:matrix.org如果 workdir 不存在,go-service-fs 需要把这个目录创建出来02:48:11
@xuanwo:matrix.org@xuanwo:matrix.org这是为什么 newStorager 里面有 MkdirAll 的原因02:48:26
@xuanwo:matrix.org@xuanwo:matrix.org后来是发现用户传进来的 WorkDir 本身可能是一个 symlink,所以需要先 eval,这就引入了我们现在遇到的问题:如果目录不存在, eval 的时候就直接返回错误了02:49:13

Show newer messages


Back to Room ListRoom Version: 6