cloudfoundry / cloudfoundry/cli

cf revision - see details on a specific app revision

Open
#1,959 7 comments 1 reaction 1 assignee View on GitHub

@a-b is already working on this.

Since Oct 1, 2024.

product-improvement
Dominant language
Go
Stars
1.9k
Forks
990
Avg merge
1d 7h
Merged PRs (30d)
8

Description

Please provide details on the following items. Failure to do so may result in deletion of your feature request.

What's the user value of this feature request?
There is a ‘cf revisions’ command to get a list of past revisions with some information about the revision. There are details about the revision that are left out of the table that would be helpful to see in some cases.

Who is the functionality for?
Application developers and operators making decisions about revisions to rollback to
Triage/troubleshooting cases where folks want to see what changes have been made to an app

How often will this functionality be used by the user?
How often will they use this feature?

Who else is affected by the change?
This is a new command and does not introduce breaking changes

Is your feature request related to a problem? Please describe.
Currently detailed information about revisions can be found, but thru different api endpoints, it is not possible to see/evaluate revision details in a single view.

Describe the solution you'd like
A cli command to specify an app and revision that returns details about that revision

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
We considered adding more columns in the revisions command, but much of what this command tells you seems to fit into different use-cases than the 'show me my revisions so I can choose one to rollback to quickly'

Additional context
Add any other context or screenshots about the feature request here.

$ cf revision dora -revision 4
Showing revision 4 for app dora in org abby / space dodo as admin...

revision  status            description            deployable   revision GUID:                        created on
4         deployed(active)  new droplet deployed   true         585bc3c1-3743-497d-88b0-403ad6b56d16  2020-03-01T01:33:58Z

Revision Labels:
environment: production
tmc.cloud.vmware.com/creator:myvmware306_vmware-hol.com
type: data

Revision Annotations:
cody: "app dev", "415-300-3000", "data services"

----------

Droplet GUID:
585bc3c1-3743-497d-88b0-403ad6b56d16

Application Environment Variables:
potato: fried
karen: o
ASPNETCORE_ENVIRONMENT: Development

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.