开源改变世界

fork 中的操作失败 #2045

推推 grbl 3年前 (2023-01-31) 268次浏览
打开
jepler 打开了这个问题 2022 年 9 月 17 日 · 0 条评论

注释

fork 中的操作失败 #2045
成员

我在叉子上遇到了令人惊讶的操作失败。这是在为#1953构建分支时,但可能普遍适用。

失败是:

+ git config --global --add safe.directory /__w/linuxcnc/linuxcnc
+ debian/configure
+ debian/update-dch-from-git
successfully configured for 'uspace-Debian-unstable'..
egrep: warning: egrep is obsolescent; using grep -E
no annotated tags found, not even unsigned
no annotated tags found, not even unsigned
fatal: ..: '..' is outside repository at '/__w/linuxcnc/linuxcnc'

完整日志位于https://github.com/jepler/linuxcnc/actions/runs/3070102780/jobs/4959488545,但这些 URL 不是长期持久的。

我不太明白发生了什么,只是事情开始出错,因为我的叉子里面没有标签。

在 CircuitPython 中,我们通过在 CI 期间从规范回购中明确获取标签来解决 github 的这个怪癖(即叉子没有可靠的标签),这就像git fetch --tags https://github.com/linuxcnc/linuxcnc

免费注册 在 GitHub 上加入此对话。已有帐户? 登录评论
标签
还没有
项目

还没有

发展

没有分支机构或拉取请求

1名参加者
fork 中的操作失败 #2045

喜欢 (0)