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
Confusing case requirements #2581
Comments
The SDK treats slugs as case-insensitive so the command should not be case-sensitive |
Actually while this is true, you passed an app name, not a slug. Slugs are treated as case-insensitive but app names are sent through a different method which apparently does care about the case-sensitivity. Need to figure out why we care about the case for app name |
Opened a zulip thread here: https://balena.zulipchat.com/#narrow/stream/346007-balena-io.2FbalenaCloud/topic/app.20name.20case-sensitivity |
It seems the CLI is case sensitive when pushing - i.e. 'balena push BarnFin' works whilst 'balena push barnfin' does not, which isn't necessarily an issue, but then the first like of the info says 'building for barnfin' which is in direct conflict with the message above.
I'd suggest first we stick to either case sensitive or not, and then also provide a hint to the user if the application isn't found. We just say 'nope' when we could say 'did you mean BarnFin?' or even 'note: slugs/fleet names are case sensitive'
The text was updated successfully, but these errors were encountered: