Skip to content
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

zowe --show-inputs-only always reporting zowe version as v1 #1689

Closed
ATorrise opened this issue Apr 20, 2023 · 5 comments · Fixed by #2053
Closed

zowe --show-inputs-only always reporting zowe version as v1 #1689

ATorrise opened this issue Apr 20, 2023 · 5 comments · Fixed by #2053
Assignees
Labels
bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases

Comments

@ATorrise
Copy link
Contributor

ATorrise commented Apr 20, 2023

Describe the bug
Flag reports the incorrect version. This flag was not meant to run on just zowe but it actually seems like it does work and is just reporting the wrong output.

Details about the behavior:

  1. Command issued: zowe --show-inputs-only
  2. Expected results:
    image
  3. Actual results:
    image

Describe your environment

  • Zowe CLI version installed (run command zowe --version): 7.13.0
  • Installed plug-ins and their version numbers (run command zowe plugins list --short): no plug-ins
  • Node.js and NPM versions installed (run node --version, npm --version): node: v16.18.0 npm: 8.19.2
  • Environment variables in use:
  • Operating system and version: Windows 10 19.0.45
  • Shell/terminal (bash, cmd, powershell, etc...): bash
  • Daemon mode enabled or disabled: disabled

Additional context

@ATorrise ATorrise added bug Something isn't working new The issue wasn't triaged yet labels Apr 20, 2023
@github-actions
Copy link

Thank you for creating a bug report.
We will investigate the bug and evaluate its impact on the product.
If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.

@zFernand0 zFernand0 changed the title zowe --show-inputs-own always reporting zowe version as v1 zowe --show-inputs-only always reporting zowe version as v1 Apr 21, 2023
@JTonda JTonda added priority-medium Not functioning - next quarter if capacity permits severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases and removed new The issue wasn't triaged yet labels May 17, 2023
@ATorrise
Copy link
Contributor Author

possible routes for fixing this:

  1. remove this option from top level command group as profile information has yet to be loaded and zowe has no way of discerning version
  2. if first option isn't possible, return profileVersion: unknown

@adam-wolfe adam-wolfe mentioned this issue Jan 4, 2024
26 tasks
@ATorrise ATorrise self-assigned this Jan 23, 2024
@ATorrise
Copy link
Contributor Author

@zowe/zowe-cli-administrators thinking it might make sense to change profileVersion to configurationVersion or even just zoweMajorVersion??

@gejohnston
Copy link
Member

This field was used to identify whether the user was using old-school V1 profiles or team configuration (which was introduced in Zowe V2).

Since we will only use a team configuration (ie, we no longer support or recognize V1 profiles in Zowe V3), perhaps we just remove the profileVersion field altogether?

@adam-wolfe adam-wolfe mentioned this issue Feb 26, 2024
23 tasks
@gejohnston
Copy link
Member

Fixed by PR #2073

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants