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

zarf package create . -f typo => misleading error message #2659

Open
JoeHCQ1 opened this issue Jun 24, 2024 · 1 comment
Open

zarf package create . -f typo => misleading error message #2659

JoeHCQ1 opened this issue Jun 24, 2024 · 1 comment
Labels
enhancement ✨ New feature or request good first issue 🥇 Good for newcomers

Comments

@JoeHCQ1
Copy link

JoeHCQ1 commented Jun 24, 2024

Environment

Device and OS: Sys76 Laptop (PopOS)
App/package versions: Zarf 0.35.0
Kubernetes distro being used: k3d
Other:

Steps to reproduce

  1. Clone a working UDS package such as the mattermost package.
  2. From the root directory, attempt to package it with a typo in your -f value: zarf package create . -f stream (should be upstream)

Expected result

The error message tells me that the value after the -f flag is invalid.

Actual Result

The error message tells me the problem is in my zarf.yaml file.

Visual Proof (screenshots, videos, text, etc)

image

Severity/Priority

Low, but I think it's not benign as an unclear error may lead someone to stop experimenting with the application and so hurt adoption.

Additional Context

Add any other context or screenshots about the technical debt here.

@JoeHCQ1 JoeHCQ1 changed the title zarf package . -f typo => misleading error message zarf package create . -f typo => misleading error message Jun 24, 2024
@AustinAbro321
Copy link
Contributor

I agree with this as I've also been confused in a similar way in the past. Likely Compose Components should return an error if there are no compatible components.

@AustinAbro321 AustinAbro321 added enhancement ✨ New feature or request good first issue 🥇 Good for newcomers and removed possible-bug 🐛 labels Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request good first issue 🥇 Good for newcomers
Projects
Status: No status
Development

No branches or pull requests

2 participants