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

Fix/start stop message format #432

Merged
merged 2 commits into from
Nov 15, 2024
Merged

Fix/start stop message format #432

merged 2 commits into from
Nov 15, 2024

Conversation

jardon
Copy link
Member

@jardon jardon commented Nov 15, 2024

this includes two changes:

  1. add %s to starting/stopping messages
  2. silence stdout for non-captureoutput dbox commands.

the second change cleans up the output of the command output which in the case of starting/stopping, silences the distrobox printing the container name for no good reason. this can be dropped or split out if requested.

./apx noble stop
 INFO  Stopping subsystem noble…
 INFO  Stopped subsystem.
./apx noble start
 INFO  Starting subsystem noble…
 INFO  Started subsystem.

closes #431

@jardon
Copy link
Member Author

jardon commented Nov 15, 2024

i could also just remove the vars from the cmdr.info statements all together instead. either way works for me.

@jardon
Copy link
Member Author

jardon commented Nov 15, 2024

i dont think i like the mismatch of "container" and "subsystem name"

Copy link
Member

@kbdharun kbdharun left a comment

Choose a reason for hiding this comment

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

LGTM, yeah we could probably rename the container strings with subsystem instead. Let me know if you are performing the change, will lock the component on Weblate.

- remove name from started/stopped message
- updated en starting/stopping strings to include subsystem name
@jardon jardon force-pushed the fix/start-stop-message-format branch from f3ee223 to 461147d Compare November 15, 2024 14:29
@jardon
Copy link
Member Author

jardon commented Nov 15, 2024

@kbdharun i updated the strings to say subsystem instead. you good with it?

@jardon jardon merged commit f03e090 into main Nov 15, 2024
4 checks passed
@jardon jardon deleted the fix/start-stop-message-format branch November 15, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

start/stop subsystem message formatting doesnt include %s for name.
3 participants