mbed-cli offers no progress indicator for 'update'

Created on 23 May 2016  路  11Comments  路  Source: ARMmbed/mbed-cli

Users would benefit from a progress indicator when calling mbed-cli update.

enhancement future

All 11 comments

+1

We need progress bar. The user experience is not great atm.

Nice feature, but low priority right now.

In addition:
Running 'mbed new xxx ' on git bash console shows no info at all until process finishes.

Can you try -v to any command and see if that's working for you?

Running with -v does show lots of info.
It would be nice to have some of the output displayed by default.

I would vote that -v should be the default and then add -q to revert that.

Detecting the progress from Git (or hg) output might be too complex so it won't probably pay off for spending time on it. I'm actually not sure they will tell you how long it is going to take.

Here is good evidence on why we need a bar with progress indicator: https://github.com/ARMmbed/mbed-cli/issues/367

Our colleague Xiao based in Shanghai is seeing mbed CLI being stuck (network there is really slow)

I don't know if it is relevant, but I was having the same problem - seemingly forever mbed add's. So much so that I killed and restarted them several times. Then i used the -vv as per the above suggestion and progress was much much faster (before I got 1 MB downloaded of the mbed-dev repo in about 45 minutes, after it took about 3 minutes to get to 3.2MB. It is big so it will take a while, but it is moving. And for that matter - with the -vv option, once it gets going it DOES give a status bar with progress indicated and estimated time. THanks!

I will commit

@tweety9999 @BruceBuckland @SeppoTakalo PR #593 introduces this. Please try it out and let me know.

Now implemented and available in the official versions of Mbed CLI

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wdwalker picture wdwalker  路  10Comments

SeppoTakalo picture SeppoTakalo  路  10Comments

masoudr picture masoudr  路  3Comments

yennster picture yennster  路  8Comments

t3k5g picture t3k5g  路  4Comments