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

Update CMake to 3.9 #255

Merged
merged 12 commits into from
Oct 23, 2024
Merged

Update CMake to 3.9 #255

merged 12 commits into from
Oct 23, 2024

Conversation

waahm7
Copy link
Contributor

@waahm7 waahm7 commented Oct 18, 2024

See: awslabs/aws-c-common#1159

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

graebm and others added 11 commits August 14, 2024 12:00
**Issue:**
If the external process logged to `stderr` during a normal successful run, the credentials would fail to parse.

This was happening because the credentials-provider would always combine `stderr` and `stdout` by appending `2>&1` to the external command. Then JSON parsing would fail, due to random lines of logging on `stderr` mixing with valid JSON on `stdout`.

**Description of changes:**
Instead of redirecting `stderr` to `stdout`, redirect it to `/dev/null`.

It would be better to capture `stderr` separately, and display it if the external process fails. But `aws_process_run()` doesn't currently capture `stderr`, and would require a rework to do so.
@waahm7 waahm7 enabled auto-merge (squash) October 23, 2024 17:00
@waahm7 waahm7 disabled auto-merge October 23, 2024 17:00
@waahm7 waahm7 merged commit 3982bd7 into main Oct 23, 2024
30 checks passed
@waahm7 waahm7 deleted the update-cmake branch October 23, 2024 17:05
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.25%. Comparing base (48d647b) to head (7bd3883).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #255      +/-   ##
==========================================
- Coverage   80.32%   80.25%   -0.07%     
==========================================
  Files          33       33              
  Lines        6058     6038      -20     
==========================================
- Hits         4866     4846      -20     
  Misses       1192     1192              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

5 participants