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

api: use Utils::Curl.curl_args #15935

Merged
merged 2 commits into from
Sep 3, 2023
Merged

api: use Utils::Curl.curl_args #15935

merged 2 commits into from
Sep 3, 2023

Conversation

MikeMcQuaid
Copy link
Member

This sets user-agent nicely and avoids some duplication.

@Bo98
Copy link
Member

Bo98 commented Sep 2, 2023

Looks like this reverts 0b3b54e. LGTM otherwise.

@apainintheneck
Copy link
Contributor

Could probably just modify this line to get the --quiet behavior back though it would affect all uses of curl which might not be what we want.

args << "--silent" unless $stdout.tty?

This sets user-agent nicely and avoids some duplication.
@MikeMcQuaid
Copy link
Member Author

@Bo98 @apainintheneck Good points, have adjusted utils/curl accordingly and this looks like the right behaviour.

@MikeMcQuaid MikeMcQuaid added the critical Critical change which should be shipped as soon as possible. label Sep 3, 2023
@MikeMcQuaid MikeMcQuaid merged commit fc72dfc into Homebrew:master Sep 3, 2023
25 checks passed
@MikeMcQuaid MikeMcQuaid deleted the api_curl_args branch September 3, 2023 13:31
@github-actions github-actions bot added the outdated PR was locked due to age label Oct 4, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
critical Critical change which should be shipped as soon as possible. outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants