You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional info: I am a noob with respect to git (and crawlab). I followed the basic tutorial to create a spider and then tried to upload it to a git repo. I got an error message that I can't quite recall but it said something along the lines that the repo already had content (no idea where that would have come from). Anyways, I had to merge my spide into the repo and got another error that merging with independent histories was not allowed. So I overrode that and then the merge worked. So maybe that has something to do with the issue. On the other hand, gitlab shows there is just one branch and it is called "main". So it shouldn't be too difficult to find this one branch...
To Reproduce
Steps to reproduce the behavior:
Set up git repo
provide credentials
pull
See error
Expected behavior
Files get gownloaded from git repo
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered:
Describe the bug
Trying to pull files from gitlab repo. Crawlab tries to connect, slows massively down. In the console I get this:
/go/pkg/mod/github.com/crawlab-team/[email protected]/trace.go:13 github.com/crawlab-team/go-trace.TraceError() /go/pkg/mod/github.com/crawlab-team/[email protected]/git.go:505 github.com/crawlab-team/crawlab-vcs.(*GitClient).GetCurrentBranchRef() /go/pkg/mod/github.com/crawlab-team/[email protected]/git.go:983 github.com/crawlab-team/crawlab-vcs.(*GitClient).isRemoteChanged() 2024/10/19 15:04:00 info [SpiderAdminService] finished sync git /go/pkg/mod/github.com/crawlab-team/[email protected]/git.go:687 github.com/crawlab-team/crawlab-vcs.(*GitClient).IsRemoteChanged() /go/pkg/mod/github.com/crawlab-team/[email protected]/spider/admin/service.go:296 github.com/crawlab-team/crawlab-core/spider/admin.(*Service).syncGitOne() /go/pkg/mod/github.com/crawlab-team/[email protected]/spider/admin/service.go:266 github.com/crawlab-team/crawlab-core/spider/admin.(*Service).syncGit.func2() /usr/local/go/src/runtime/asm_amd64.s:1571 runtime.goexit() unable to get current branch /go/pkg/mod/github.com/crawlab-team/[email protected]/trace.go:13 github.com/crawlab-team/go-trace.TraceError() /go/pkg/mod/github.com/crawlab-team/[email protected]/git.go:505 github.com/crawlab-team/crawlab-vcs.(*GitClient).GetCurrentBranchRef() /go/pkg/mod/github.com/crawlab-team/[email protected]/git.go:983 github.com/crawlab-team/crawlab-vcs.(*GitClient).isRemoteChanged() /go/pkg/mod/github.com/crawlab-team/[email protected]/git.go:687 github.com/crawlab-team/crawlab-vcs.(*GitClient).IsRemoteChanged() /go/pkg/mod/github.com/crawlab-team/[email protected]/spider/admin/service.go:296 github.com/crawlab-team/crawlab-core/spider/admin.(*Service).syncGitOne() /go/pkg/mod/github.com/crawlab-team/[email protected]/spider/admin/service.go:266 github.com/crawlab-team/crawlab-core/spider/admin.(*Service).syncGit.func2() /usr/local/go/src/runtime/asm_amd64.s:1571 runtime.goexit()
Additional info: I am a noob with respect to git (and crawlab). I followed the basic tutorial to create a spider and then tried to upload it to a git repo. I got an error message that I can't quite recall but it said something along the lines that the repo already had content (no idea where that would have come from). Anyways, I had to merge my spide into the repo and got another error that merging with independent histories was not allowed. So I overrode that and then the merge worked. So maybe that has something to do with the issue. On the other hand, gitlab shows there is just one branch and it is called "main". So it shouldn't be too difficult to find this one branch...
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Files get gownloaded from git repo
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: