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

Redirect URL override messages to STDERR #1631

Merged
merged 2 commits into from
Aug 26, 2024

Conversation

bwarden
Copy link
Member

@bwarden bwarden commented Aug 26, 2024

Previously, these messages were printed to STDOUT:
Overriding version and content URLs with...
Overriding content URL with...
Overriding version URL with...

But especially with --quiet, the output to STDOUT should be strictly the requested data. So print these as warnings instead.

Fix tests to match this change. Also eliminate some uses of wc -l that don't help. Take advantage of lines array to count bundles.

@bwarden bwarden force-pushed the fix-real_content-tests branch 4 times, most recently from f91a1e8 to 294863a Compare August 26, 2024 18:27
@bwarden bwarden changed the title Fixup bundle counting in real_content test library Redirect URL override messages to STDERR Aug 26, 2024
@bwarden bwarden marked this pull request as ready for review August 26, 2024 18:40
@bwarden bwarden requested a review from bryteise August 26, 2024 18:40
@bwarden bwarden marked this pull request as draft August 26, 2024 18:44
Previously, these messages were printed to STDOUT:
Overriding version and content URLs with...
Overriding content URL with...
Overriding version URL with...

But especially with --quiet, the output to STDOUT should be strictly the
requested data. So print these as warnings instead.
Eliminate some uses of wc -l that don't help. Take advantage of lines
array to count bundles.
Separate STDERR messages from $output and ${lines[@]} that are used for
bundles.
@bwarden bwarden marked this pull request as ready for review August 26, 2024 20:24
@bwarden bwarden merged commit b1bbef0 into clearlinux:master Aug 26, 2024
15 checks passed
@bwarden bwarden deleted the fix-real_content-tests branch August 26, 2024 20:25
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.

2 participants