Skip to content

Implement verbose toggle from godot repo#1364

Merged
dsnopek merged 1 commit intogodotengine:masterfrom
Repiteo:non-verbose
Apr 17, 2024
Merged

Implement verbose toggle from godot repo#1364
dsnopek merged 1 commit intogodotengine:masterfrom
Repiteo:non-verbose

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
@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