Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Suppress download progress

See original GitHub issue

What version of Cloud Foundry and CF CLI are you using?

2.114.0 and 6.37.0+a40009753.2018-05-25

What version of the buildpack you are using?


What did you expect to happen?

When running cf push no download stats without context should be displayed.

What was the actual behavior?

   Installing Nginx
   Downloaded [] to [/tmp]
   NGINX 1.15.0
   WARNING: A version of PHP has been specified in both `composer.json` and `./bp-config/options.json`.
   WARNING: The version defined in `composer.json` will be used.
   Installing PHP
   PHP 7.1.17
   Downloaded [] to [/tmp]
   Downloaded [] to [/tmp]
   Downloaded [] to [/tmp]
     % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                    Dload  Upload   Total   Spent    Left  Speed
     0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
   100   387  100   387    0     0    797      0 --:--:-- --:--:-- --:--:--   799
   -----> Using custom GitHub OAuth token in $COMPOSER_GITHUB_OAUTH_TOKEN
     % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                    Dload  Upload   Total   Spent    Left  Speed
     0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
   100   387  100   387    0     0    905      0 --:--:-- --:--:-- --:--:--   908
   Installing WP-CLI
   Downloaded [] to [/tmp/wp]
   Finished: [2018-07-04 15:33:56.341171]
   Exit status 0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

dmikusacommented, Jul 9, 2018

This is probably coming from here. It’s shelling out to curl for some reason & the download progress looks like that of curl. Easiest fix would be to add -s to curl, but I don’t think there’s any reason to use curl. It would probably make more sense to just use urllib to send the request in Python.

dfreilichcommented, Jul 19, 2019

I’m going to close this, for lack of activity. This issue may not be taken care of in the php-buildpack, but it doesn’t appear to be present in the new php-web-cnb.

Read more comments on GitHub >

github_iconTop Results From Across the Web

disable maven download progress indication
Starting with Maven 3.6.1, Maven now has an option to suppress the transfer progress when downloading/uploading in interactive mode.
Read more >
Stop Firefox from showing Download Progress panel when ...
Disable downloads flyout menu from appearing on new downloads · Open Firefox web browser. · Type about:config in the address bar. · Search...
Read more >
Proposal: Disable download progress in Maven log · Issue ...
Hello, I have discovered the option to disable log lines like this in maven: [INFO] Downloading from some-mirror: ...
Read more >
How to disable the Downloads bar in Chrome
It shows the file that's downloading and its download progress. You can close this bar by clicking the close button at the right...
Read more >
curl hide progress bar output on Linux/Unix shell scripts
Type the command (pass -s option to curl to hide progress bar): $ curl -s https://your-dot-com-domain-name-here/ > /tmp/output.html; Verify it ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found