Closed balotofi closed 1 year ago
Thank you for letting me know about the difficulty you are experiencing running the tool. I'd be happy to assist you with this issue. Could you please provide me with some additional information?
With this information, I'll be better able to diagnose the issue and provide you with a solution.
so this is the error I'm getting... i tried copying the folders into the path it specified but i just got another error
I see. Try to install import-gitlab-commits
first:
go install github.com/alexandear/import-gitlab-commits@latest
and execute:
import-gitlab-commits
Or run the following command with go run
:
go run github.com/alexandear/import-gitlab-commits@latest
i have the same problem like that. when i run without export it will give this
10:50:35 main.go:14: Error: app run: get current user: get current user: GET https://gitlab.com/users/sign_in: 403 failed to parse unknown error format
when i run with export like export GITLAB_BASE_URL=url export GITLAB_TOKEN="token" export COMMITTER_NAME="name" export COMMITTER_EMAIL="email" go run import-gitlab-commits
it will give error cannot find package "import-gitlab-commits" in: /usr/local/go/src/import-gitlab-commits
@alexandear Thank you for the useful package! Unfortunately, the command from the README didn't work for me, so I had to use go run github.com/alexandear/import-gitlab-commits@latest
to get things running.
Otherwise, I get this error:
./import.sh: line 8: import-gitlab-commits: command not found
Should the README be updated?
@kubk thanks, updated README.
Also, you could extend PATH
with $GOPATH/bin
and import-gitlab-commits
will work:
export PATH=$PATH:$(go env GOPATH)/bin
i installed go (armx64) opened terminal on my mac checked the version to ensure it was working i cd to my go folder and ran the report and run commands