coreeng / corectl

CLI for the CECG Core Platform https://www.cecg.io/core-platform/
https://www.cecg.io/core-platform/
Apache License 2.0
1 stars 1 forks source link

Some depedancies are private #57

Open dark0dave opened 2 days ago

dark0dave commented 2 days ago

github.com/coreeng/developer-platform/pkg v0.26.5 :eyes:

pkg/cmdutil/userio/input_source_switch.go:6:2: reading github.com/coreeng/developer-platform/pkg/go.mod at revision pkg/v0.26.5: git ls-remote -q origin in go/1.23.2/packages/pkg/mod/cache/vcs/9c7bf936cb685cfc5ade47e0569cf8f3fd08ae70bdc5e47f4d849c247e7b737f: exit status 128:
        fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
pkg/application/create.go:18:2: reading github.com/coreeng/developer-platform/pkg/go.mod at revision pkg/v0.26.5: git ls-remote -q origin in mise/installs/go/1.23.2/packages/pkg/mod/cache/vcs/9c7bf936cb685cfc5ade47e0569cf8f3fd08ae70bdc5e47f4d849c247e7b737f: exit status 128:
        fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
pkg/application/create.go:19:2: reading github.com/coreeng/developer-platform/pkg/go.mod at revision pkg/v0.26.5: git ls-remote -q origin in /home/x/.local/share/mise/installs/go/1.23.2/packages/pkg/mod/cache/vcs/9c7bf936cb685cfc5ade47e0569cf8f3fd08ae70bdc5e47f4d849c247e7b737f: exit status 128:
        fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
pkg/application/create.go:20:2: reading github.com/coreeng/developer-platform/pkg/go.mod at revision pkg/v0.26.5: git ls-remote -q origin in mise/installs/go/1.23.2/packages/pkg/mod/cache/vcs/9c7bf936cb685cfc5ade47e0569cf8f3fd08ae70bdc5e47f4d849c247e7b737f: exit status 128:
        fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
make: *** [Makefile:24: build] Error 1
dark0dave commented 2 days ago

This is fixable by appending your $HOME/.gitconfig file with:

If your using ssh, like a sane person:

[url "git@github.com:"]
    insteadOf = git://github.com/
    insteadOf = https://github.com/