Comments (3)
服务端ssh解析AGIT_FLOW环境变量时有bug,测试后会在下周发布窗口发布,在这之前请使用 http 协议
from git-repo-go.
经验证昨天的发布已经解决此问题。感谢 @junwchina 的报告。
from git-repo-go.
使用 git pr -vv
能够复现,应该是 git-lfs 在 SSH 协议认证和推送上的问题。我们团队开发 git-lfs 服务端特性的同学会帮助看下。
$ GIT_TRACE=1 GIT_TRACE_PACKET=1 git pr -vv
...
09:08:09.111199 git.c:742 trace: exec: git-lfs pre-push ssh [email protected]:gotgit/gotgit/git-lfs-test.git
09:08:09.111894 run-command.c:668 trace: run_command: git-lfs pre-push ssh [email protected]:gotgit/gotgit/git-lfs-test.git
09:08:09.125115 trace git-lfs: exec: git 'version'
09:08:09.148006 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' 'HEAD' '--symbolic-full-name' 'HEAD'
09:08:09.163391 trace git-lfs: exec: git 'config' '-l'
09:08:09.171766 trace git-lfs: pre-push: refs/heads/jx/ssh-protocol 77adac519753891c0c3d7bffe4ff72ec90dcbcab refs/for/master/jx/ssh-protocol 0000000000000000000000000000000000000000
09:08:09.948407 trace git-lfs: tq: running as batched queue, batch size of 100
09:08:09.948642 trace git-lfs: run_command: git rev-list --objects --ignore-missing --not --remotes=ssh --stdin --
09:08:09.960441 trace git-lfs: tq: sending batch of size 1
09:08:09.960687 trace git-lfs: run_command: sh -c ssh -o SendEnv=AGIT_FLOW -- [email protected] 'git-lfs-authenticate gotgit/gotgit/git-lfs-test.git upload'
09:08:10.567195 trace git-lfs: ssh: [email protected] failed, error: invalid character '0' after top-level value, message: (try: 0/6)
09:08:10.567336 trace git-lfs: run_command: sh -c ssh -o SendEnv=AGIT_FLOW -- [email protected] 'git-lfs-authenticate gotgit/gotgit/git-lfs-test.git upload'
09:08:11.339378 trace git-lfs: ssh: [email protected] failed, error: invalid character '0' after top-level value, message: (try: 1/6)
09:08:11.339472 trace git-lfs: run_command: sh -c ssh -o SendEnv=AGIT_FLOW -- [email protected] 'git-lfs-authenticate gotgit/gotgit/git-lfs-test.git upload'
09:08:12.267201 trace git-lfs: ssh: [email protected] failed, error: invalid character '0' after top-level value, message: (try: 2/6)
09:08:12.267309 trace git-lfs: run_command: sh -c ssh -o SendEnv=AGIT_FLOW -- [email protected] 'git-lfs-authenticate gotgit/gotgit/git-lfs-test.git upload'
09:08:13.059273 trace git-lfs: ssh: [email protected] failed, error: invalid character '0' after top-level value, message: (try: 3/6)
09:08:13.059384 trace git-lfs: run_command: sh -c ssh -o SendEnv=AGIT_FLOW -- [email protected] 'git-lfs-authenticate gotgit/gotgit/git-lfs-test.git upload'
09:08:13.714400 trace git-lfs: ssh: [email protected] failed, error: invalid character '0' after top-level value, message: (try: 4/6)
09:08:13.714468 trace git-lfs: run_command: sh -c ssh -o SendEnv=AGIT_FLOW -- [email protected] 'git-lfs-authenticate gotgit/gotgit/git-lfs-test.git upload'
09:08:14.405591 trace git-lfs: ssh: [email protected] failed, error: invalid character '0' after top-level value, message: (try: 5/6)
batch request: invalid character '0' after top-level value
Uploading LFS objects: 0% (0/1), 0 B | 0 B/s, done.
error: failed to push some refs to 'codeup.aliyun.com:gotgit/gotgit/git-lfs-test.git'
09:08:14.408263 pkt-line.c:80 packet: push> 0000
from git-repo-go.
Related Issues (20)
- 有没有办法简单地是用本地的manifeset.xml来初始化呢? HOT 3
- 不兼容m1 pro 吗? HOT 2
- 该项目还在维护吗? HOT 1
- git pr的时候启动本地文本编辑器错误
- Not all commands from `repo` implemented in `git-repo-go` HOT 2
- git pr can not deal with shell variable expansion correctly HOT 3
- Feature request: Add github api create merge request HOT 4
- 不兼容google 的 repo工具格式,所以下载谷歌的开源代码是下载不下来 HOT 1
- Received HTTP code 500 from proxy after CONNECT HOT 1
- FATAL: cannot find repodir or git: 'abandon' is not a git command. See 'git --help'. HOT 1
- got bad ssh_info error HOT 1
- git pr --change xxx 不能推送已存在的PR HOT 1
- Recursive manifest includes use the wrong base path
- Use testing.T.TempDir in the tests HOT 1
- git repo upload 404? HOT 2
- manifest.xml 中 include 的相对路径计算有问题。 HOT 4
- 更改了default.xml文件,该如何更新整个repo?
- 打开推送评审模式后应该如何推送PR HOT 3
- windows系统 linkfile属性有些问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-repo-go.