Skip to content

Commit 9bcbf3d

Browse files
committed
update known issues
1 parent fafa432 commit 9bcbf3d

File tree

2 files changed

+47
-4
lines changed

2 files changed

+47
-4
lines changed

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ testdir
1313
!.goreleaser.yaml
1414

1515

16-
# Added by cargo
17-
18-
/target
16+
# builds
17+
src-go/git-cross-go
18+
src-rust/git-cross-rust
19+
src-rust/target

TODO.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,46 @@
2424
- [x] Wire test 7 to github CI workflow.
2525
- [x] Implement "cross" command in Rust.
2626
- [x] Implement "cross" command in Golang.
27-
- [x] Update AGENTS.md, specs/ and .specify/ to reflect new implementations.
27+
- [x] Update AGENTS.md, specs/ and .specify/ to reflect new implementations.
28+
29+
## Known Issues (To FIX)
30+
- [ ] on Golang implementation, the use command fails to autodetecd and use real branch. example:
31+
```sh
32+
❯ git cross use bill https://github.com/billimek/k8s-gitops
33+
==> Adding remote bill (https://github.com/billimek/k8s-gitops)...
34+
==> Autodetecting default branch...
35+
==> Detected default branch: main
36+
Error: exit status 128 - fatal: couldn't find remote ref main
37+
```
38+
39+
- [ ] on Golang implementation, the patch comand cant properly use recognized branch, failed example:
40+
```sh
41+
❯ git cross patch khue:/metal deploy/metal
42+
==> Patching khue:/metal to deploy/metal
43+
==> Syncing files to deploy/metal...
44+
Error: rsync failed: exit status 23
45+
Log: {rsync: [sender] change_dir "/Users/p.michalec/Work/gitlab-f5-xc/f5/volterra/ves.io/sre/sre-ai/work/git-cross/testdir/sandbox/.git/cross/worktrees/khue_5a7cd8e3//metal" failed: No such file or directory (2)
46+
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1358) [sender=3.4.1]
47+
sending incremental file list
48+
49+
sent 19 bytes received 12 bytes 62.00 bytes/sec
50+
total size is 0 speedup is 0.00
51+
}
52+
Usage:
53+
git-cross patch [spec] [local_path] [flags]
54+
55+
Flags:
56+
-h, --help help for patch
57+
```
58+
59+
- [ ] on Golang implementation, the patch command dont accept properly the branch name in remote_spec.
60+
```sh
61+
git cross patch khue:main:/metal deploy/metal
62+
==> Patching khue:main:/metal to deploy/metal
63+
==> Syncing files to deploy/metal...
64+
Error: rsync failed: exit status 23
65+
Log: {rsync: [sender] change_dir "/Users/p.michalec/Work/gitlab-f5-xc/f5/volterra/ves.io/sre/sre-ai/work/git-cross/testdir/sandbox/.git/cross/worktrees/khue_5f54dee3/main" failed: No such file or directory (2)
66+
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1358) [sender=3.4.1]
67+
sending incremental file list
68+
69+
```

0 commit comments

Comments
 (0)