-
Notifications
You must be signed in to change notification settings - Fork 928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add buildpack details to cf7 app summary #1971
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: Piyali Banerjee <pbanerjee@pivotal.io> Co-authored-by: Connor Braa <cbraa@pivotal.io>
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/173716617 The labels on this github issue will be updated when the story is started. |
In the case of multi-buildpack, it seems only one buildpack populates the `detect_output` field. However, after talking with the original authors of the PR, it seems that `buildpack_name` in the default provided buildpacks in this case. This gives us a better separation between the `buildpack names:` and `buildpacks` fields. [#173716617](https://www.pivotaltracker.com/story/show/173716617) Co-authored-by: Sebastian Vidrio <svidrio@pivotal.io>
nickjameswebb
added a commit
that referenced
this pull request
Aug 18, 2020
- Code is mostly from this PR #1971. PR was from before branching strategy so it wasn't easy to merge into v7 - Info from CAPI buildpacks endpoint is put into a table, no more cli opinion on what to show [#173716617](https://www.pivotaltracker.com/story/show/173716617) Co-authored-by: Steve Taylor <staylor@pivotal.io>
staylor14
added a commit
that referenced
this pull request
Aug 19, 2020
- Code is mostly from this PR #1971. PR was from before branching strategy so it wasn't easy to merge into v7 - Info from CAPI buildpacks endpoint is put into a table, no more cli opinion on what to show [#173716617](https://www.pivotaltracker.com/story/show/173716617) Co-authored-by: Steve Taylor <staylor@pivotal.io>
JenGoldstrich
pushed a commit
that referenced
this pull request
Aug 20, 2020
- Code is mostly from this PR #1971. PR was from before branching strategy so it wasn't easy to merge into v7 - Info from CAPI buildpacks endpoint is put into a table, no more cli opinion on what to show [#173716617](https://www.pivotaltracker.com/story/show/173716617) Co-authored-by: Steve Taylor <staylor@pivotal.io>
I believe this functionality was covered in this commit 528d0ff as such I am closing this, please let me know if this has been closed in error, Thanks, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Co-authored-by: Piyali Banerjee pbanerjee@pivotal.io
Co-authored-by: Connor Braa cbraa@pivotal.io
Thank you for contributing to the CF CLI! Please read the following:
If your contribution falls under a company CLA but your membership is not public, expect delays while we confirm.
Does this PR modify CLI v6 or v7?
v7
Please see the contribution doc above or review Architecture Guide.
Description of the Change and Value of PR
The app summary command sometimes lists buildpack names hardcoded in the buildpacks themselves (i.e.: "python" for any python buildpack). Since these names may be different from the user-provided names (for Custom Buildpacks), this may be confusing for users. This PR includes some additions to the buildpacks info in the app summary output to include the user-provided buildpack names as well as the buildpack versions if available. We kept the original
buildpacks
field the same in case other scripts rely on that already.Slack discussion with CLI team: https://cloudfoundry.slack.com/archives/C032824SM/p1593561984360700
Why Should This Be In Core?
Explain why this functionality should be in the cf CLI, as opposed to a plugin.
Having detailed buildpack information in the app summary output is valuable in general for debugging purposes, as well as for ensuring the correct buildpacks were used to build the app.
Applicable Issues
List any applicable Github Issues here
How Urgent Is The Change?
Is the change urgent? If so, explain why it is time-sensitive.
No.
Other Relevant Parties
Who else is affected by the change?