-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/go: generate: be more informative/verbose #67471
Comments
One option could be to put that information into a |
I don't think JSON output is appropriate. The consumer is always a human, never a machine. |
Why does -x not lead to appropriate output? |
It tells me neither the package nor file on whose behalf a command is being executed, nor the timing of the commands, which would be helpful to understand why my generators are conspicuously slow. |
I think |
Build and test seem like things that you want to parse in your CI system so that you can present a fancy dashboard UI, but CI systems don't generally run |
Hm, we shouldn't add |
#69487 does not duplicate nor replace this issue, but it does overlap. Note that I would still find |
Running
go generate ./...
can take a while in a large project, but it is not easy to know why. It doesn't print a summary of what commands it ran, and neither -x nor -v lead to intelligible output. It would be nice if -v would print additional logging of the start and end time of each command, along with the location of the directive that triggered it, in a format such as this:@matloob
The text was updated successfully, but these errors were encountered: