gana2188 / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

gcloud components update runs a long time. Should include in the message that you will back up sdk and the size to warn the user #61

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

------------
What steps will reproduce the problem?
------------

1) run "gcloud components update"

------------
What is the expected output? What do you see instead?
------------

It shows:
>gcloud components update

The following components will be updated:
    ---------------------------------------------------------
    | Cloud SDK Core Libraries        | 2014.07.21 | < 1 MB |
    | Cloud Storage Command Line Tool |        4.4 | 2.1 MB |
    ---------------------------------------------------------

Do you want to continue (Y/n)?  y

Creating update staging area...

------------
What is the output of 'gcloud info'?
------------

It runs a long time.

------------
Please provide any additional information below.
------------

When I look at the staging area I see:

>du -sh "\tmp\google-cloud-sdk.staging"
197M    \tmp\google-cloud-sdk.staging

It appears that it backs up the existing sdk and that takes a long time.

Thanks

Original issue reported on code.google.com by fed...@gmail.com on 24 Jul 2014 at 6:24

GoogleCodeExporter commented 9 years ago
We're working on ways to improve the update time.

Original comment by jasm...@google.com on 14 Aug 2014 at 1:58

GoogleCodeExporter commented 9 years ago

Original comment by rdayal@google.com on 27 Aug 2014 at 1:40

GoogleCodeExporter commented 9 years ago
Is it correct to take hours and hours, despite being so small files like this 
example?

---------------------------------------------------------
    | Cloud SDK Core Libraries        | 2014.07.21 | < 1 MB |
    | Cloud Storage Command Line Tool |        4.4 | 2.1 MB |
    ---------------------------------------------------------

Original comment by ivanetec...@gmail.com on 19 Nov 2014 at 8:26