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

Implement verbose toggle from godot repo #1364

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

Repiteo
Copy link
Contributor

@Repiteo Repiteo commented Jan 18, 2024

Brings over the verbose environment variable from the main godot repo. Much like the main repo, it's disabled by default & enabling it will output logs identical to how they currently output. By leaving verbosity disabled, the outputs are significantly trimmed down, which causes a very real performance boost in certain environments (eg: running the build command via a VSCode task). Verbosity is enabled for GitHub Actions, both to mirror the godot repo & because those should be giving explicit output.

@Repiteo Repiteo requested review from a team as code owners January 18, 2024 20:35
@Calinou Calinou added the enhancement This is an enhancement on the current functionality label Jan 18, 2024
Copy link
Collaborator

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

I'm personally in support of doing this, however:

  1. It would be nice to copy-paste the no_verbose() function from Godot, so that we can easily keep Godot and godot-cpp in sync in the future
  2. This needs to be rebased - there are conflicts now

@dsnopek dsnopek added the topic:buildsystem Related to the buildsystem or CI setup label Apr 9, 2024
@Repiteo
Copy link
Contributor Author

Repiteo commented Apr 10, 2024

Rebased & reimplemented! The function is 99% the same, with the exception of just grabbing sys from the existing import instead of passing it as an argument

Copy link
Collaborator

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks great to me :-)

@dsnopek dsnopek merged commit 9ff49b7 into godotengine:master Apr 17, 2024
12 checks passed
@dsnopek
Copy link
Collaborator

dsnopek commented Apr 17, 2024

Cherry-picked for 4.1 in PR #1441

@Repiteo Repiteo deleted the non-verbose branch April 17, 2024 16:05
@dsnopek
Copy link
Collaborator

dsnopek commented Apr 17, 2024

Cherry-picked for 4.2 in PR #1442

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an enhancement on the current functionality topic:buildsystem Related to the buildsystem or CI setup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants