Don't show command string again when showing in which folder it runs#5003
Merged
boegel merged 6 commits intoeasybuilders:developfrom Dec 16, 2025
Merged
Don't show command string again when showing in which folder it runs#5003boegel merged 6 commits intoeasybuilders:developfrom
boegel merged 6 commits intoeasybuilders:developfrom
Conversation
Use "shell command" or just "command" or "interactive [shell] command" in all places where it is logged. Additionally log the shortened command in more places like: "Running 'gcc ...' shell command in /tmp/fpp" "Output of 'gcc ...' shell command (stdout only):"
Contributor
Author
|
@boegel Can we get this in for the release? Preferably with the suggestion of having the full command only once. |
Member
|
I've tweaked this a bit. I think it makes sense to only log the shell command being run once, and doing so when it's being run. With the tweaks in 6277a67, here's how it looks now: For very short commands: For longer commands: or I've put the shell command itself on a separate line, indented with a tab (so it stands out a bit, and is easy to copy-paste). I feel that makes the log a whole lot more readable... |
Contributor
Author
|
Great thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow up to:
This should change
To
Shall we remove the duplication in the completed/failed message too?
Then I'd go for:
I.e. show the full command only when the actual run starts and abbreviate otherwise. The part with "command environment of .. will be saved to" will not always be present as it depends on an argument