Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not load package (github.com/grafana/grafana) #164

Open
alteholz opened this issue Jul 16, 2021 · 2 comments
Open

can not load package (github.com/grafana/grafana) #164

alteholz opened this issue Jul 16, 2021 · 2 comments
Labels

Comments

@alteholz
Copy link

Is there anything I can do here:

$ dh-make-golang github.com/grafana/grafana
2021/07/17 00:38:03 Starting "dh-make-golang v0.4.0 linux/amd64"
2021/07/17 00:38:03 Downloading "github.com/grafana/grafana/..."
2021/07/17 00:39:12 Deleting upstream vendor/ directories
2021/07/17 00:39:12 Determining upstream version number
2021/07/17 00:39:13 Found latest tag "v6.5"
2021/07/17 00:39:13 WARNING: Latest tag "v6.5" is not a valid SemVer version
2021/07/17 00:39:13 INFO: master is ahead of "v6.5" by 7122 commits
2021/07/17 00:39:13 Package version is "6.5"
can't load package: package github.com/grafana/grafana/pkg/macaron: code in directory /tmp/dh-make-golang736672000/src/github.com/grafana/grafana/pkg/macaron expects import "gopkg.in/macaron.v1"
2021/07/17 00:39:16 Could not create a tarball of the upstream source: [go list -f {{.ImportPath}} {{.Name}} github.com/grafana/grafana/...]: exit status 1

@creekorful creekorful added the bug label Aug 2, 2021
@creekorful
Copy link
Member

I think it's related to #135

@anthonyfok anthonyfok changed the title can not load package can not load package (github.com/grafana/grafana) Mar 22, 2024
@anthonyfok
Copy link
Member

The https://github.com/grafana/grafana repository is huge! Takes a long time to git clone, and takes up about 1 GB.

Perhaps modifying the code to use

git clone -b v10.4.1 --depth 1 https://github.com/grafana/grafana.git

or

git fetch --depth 1 origin tag v10.4.1

may be helpful.

See also:

May be a solution to for Bug#871983

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants