-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
To clone the project locally, execute 'make build' and get the following error #30512
Comments
Makefile is not modified, project new clone downloaded. |
This is because windows command line has limitation for output. And since Gitea have more and more packages, |
That's the reason. Thank you! |
According to https://stackoverflow.com/questions/3205027/maximum-length-of-command-line-string and https://learn.microsoft.com/en-US/troubleshoot/windows-client/shell-experience/command-line-string-limitation, command length limit is either 32k or 8k (cmd.exe) on Windows. I think we'd need to avoid passing so long command lines to really fix it. |
So instead of passing almost all go files to
|
Wait why are we not already running |
No idea but it seems to have some useless exclusion of certain test files, at least for |
Because there are dependencies also include |
We could alternative pass every known module that has
|
Fixes: #30512 I think this does mean those tools would run on a potential `vendor` directory, but I'm not sure we really support vendoring of dependencies anymore. `release` has a `vendor` prerequisite so likely the source tarballs contain vendor files?
Fixes: go-gitea#30512 I think this does mean those tools would run on a potential `vendor` directory, but I'm not sure we really support vendoring of dependencies anymore. `release` has a `vendor` prerequisite so likely the source tarballs contain vendor files?
Backport #30529 by @silverwind Fixes: #30512 I think this does mean those tools would run on a potential `vendor` directory, but I'm not sure we really support vendoring of dependencies anymore. `release` has a `vendor` prerequisite so likely the source tarballs contain vendor files? Co-authored-by: silverwind <me@silverwind.io>
Fixes: go-gitea/gitea#30512 I think this does mean those tools would run on a potential `vendor` directory, but I'm not sure we really support vendoring of dependencies anymore. `release` has a `vendor` prerequisite so likely the source tarballs contain vendor files? (cherry picked from commit 8e12ef911a1d10dedb03e3127c42ca76f9850aca) Conflicts: - Makefile Manually adjusted the changes. (cherry picked from commit 3918db1)
Fixes: go-gitea/gitea#30512 I think this does mean those tools would run on a potential `vendor` directory, but I'm not sure we really support vendoring of dependencies anymore. `release` has a `vendor` prerequisite so likely the source tarballs contain vendor files? (cherry picked from commit 8e12ef911a1d10dedb03e3127c42ca76f9850aca) Conflicts: - Makefile Manually adjusted the changes.
Fixes: go-gitea/gitea#30512 I think this does mean those tools would run on a potential `vendor` directory, but I'm not sure we really support vendoring of dependencies anymore. `release` has a `vendor` prerequisite so likely the source tarballs contain vendor files? (cherry picked from commit 8e12ef911a1d10dedb03e3127c42ca76f9850aca) Conflicts: - Makefile Manually adjusted the changes. (cherry picked from commit 3918db1)
Description
To clone the project locally, execute 'make build' and get the following error:
Running go generate... no required module provides package code.gitea.i; to add it: go get code.gitea.i make: *** [makefile:782: generate-go] Error 1
Gitea Version
master
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
My running environment:
win10、Git Bash、make 4.2、go 1.22
Database
None
The text was updated successfully, but these errors were encountered: