isusanin / google-cloud-sdk

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

Add more fields in "gcloud preview modules list" #189

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

gcloud preview app modules list

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

Expected: Size, runtime, number of instances and "deployed" in addition to 
current output.

Current: "MODULE", "VERSION", "IS_DEFAULT"

What is the output of 'gcloud info'?

Google Cloud SDK [0.9.71]

Platform: [Linux, x86_64]
Python Version: [2.7.8 (default, Apr 15 2015, 09:26:43)  [GCC 4.9.2 20150212 
(Red Hat 4.9.2-6)]]
Site Packages: [Disabled]

Installation Root: [/opt/google-cloud-sdk]
Installed Components:
  kubectl: []
  app-engine-python: [1.9.24]
  core-nix: [2015.06.02]
  core: [2015.07.24]
  app: [2015.07.24]
  gcloud: [2015.07.24]
  gsutil-nix: [4.12]
  gsutil: [4.13]
  bq: [2.0.18]
  preview: [2015.07.24]
  kubectl-linux-x86_64: [1.0.1]
  app-engine-java: [1.9.24]
  bq-nix: [2.0.18]
System PATH: 
[/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/s
bin:/home/lorenz/bin:/home/lorenz/bin:/opt/go_appengine:/opt/google-cloud-sdk/bi
n:/opt/pdfover:/usr/local/go/bin]
Cloud SDK on PATH: [True]

Installation Properties: [/opt/google-cloud-sdk/properties]
User Config Directory: [/home/lorenz/.config/gcloud]
User Properties: [/home/lorenz/.config/gcloud/properties]
Current Workspace: [None]
Workspace Config Directory: [None]
Workspace Properties: [None]

Account: [lorenz.leutgeb@<censored>]
Project: [coduno]

Current Properties:
  [core]
    project: [<censored>]
    account: [lorenz.leutgeb@<censored>]
    disable_usage_reporting: [True]

Logs Directory: [/home/lorenz/.config/gcloud/logs]
Last Log File: [/home/lorenz/.config/gcloud/logs/2015.08.05/01.13.37.113321.log]

Please provide any additional information below.

I'd like to file a feature request.

The output of `gcloud preview app modules list` shows three columns: "MODULE", 
"VERSION", "IS_DEFAULT".

On the web interface I can also see (screenshot attached) the size, runtime, 
number of instances and "deployed". Please add those fields for gcloud.

Thanks!

Original issue reported on code.google.com by lorenz.l...@gmail.com on 4 Aug 2015 at 10:17

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for this feature request. I filled internal issue (22957997) to add this 
feature.
Will update this bug once it is released.

Original comment by che...@google.com on 5 Aug 2015 at 12:07

GoogleCodeExporter commented 8 years ago
Thank you!

Just to provide a little more context on why I want this (maybe it is a bad 
idea, or could be done in a better way): I want to programmatically delete all 
versions deployed by *me* in the *past* that are not the current *default 
version*. I need the additional fields to filter for *me* and the *past*.

So this would probably be some `gcloud preview app modules delete --version 
...` ranging over `gcloud preview app modules list | grep ... | cut ...`.

Original comment by lorenz.l...@gmail.com on 5 Aug 2015 at 7:59

GoogleCodeExporter commented 8 years ago

Original comment by jsche...@google.com on 14 Mar 2016 at 8:44