michalvavrik commented on PR #6269:
URL: https://github.com/apache/camel-k/pull/6269#issuecomment-3266139719

   Should be fixed, the `make lint` command is now passing for me. When I 
resolved git auth config issue, I kept getting:
   
   ```
   mvavrik@fedora:~/sources/camel-k$ make lint
   GOBIN=/home/mvavrik/sources/camel-k/bin go install 
github.com/golangci/golangci-lint/cmd/[email protected]
   go: downloading github.com/tdakkota/asciicheck v0.4.0
   
../../go/pkg/mod/github.com/golangci/[email protected]/pkg/golinters/asciicheck/asciicheck.go:4:2:
 reading github.com/tdakkota/asciicheck/go.mod at revision v0.4.0: git 
ls-remote -q origin in 
/home/mvavrik/go/pkg/mod/cache/vcs/e91413ff76cb95901df8e2d834855d07c617befa58b5014bc6cd6fd1148034dd:
 exit status 128:
        ERROR: Repository not found.
        fatal: Could not read from remote repository.
        
        Please make sure you have the correct access rights
        and the repository exists.
   make: *** [Makefile:742: golangci-lint] Error 1
   ```
   
   so I had to resolve to:
   
   ```
   curl -sSfL 
https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh 
-s -- -b /home/mvavrik/sources/camel-k/bin v1.64.5
   ```
   
   and dropping `GOBIN=$(LOCALBIN) go install 
github.com/golangci/golangci-lint/cmd/golangci-lint@$(LINTER_VERSION)`.
   
   At least now I have a motivation to look into 
https://github.com/apache/camel-k/issues/6122 so that I understand my issue 
better, it is most likely in my setup.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to