You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2026. It is now read-only.
I created a new asset, somewhere in it there was an accidental tab entered, which the system complained about.
Now our default option is "abort" in case of a yaml error, which I think is terrible, in this case and all others.
It can always happen that somebody enters a format error, or misses a field, or does any other mistake, and the assumption that then the natural way to handle this is "abort the whole thing" is wrong.
I propose to at least change it to "continue (e)diting asset", because as far as I experienced myself and observed in others, the normal situation is that people want to fix a mistake.
Here the situation in which I observed the behavior, command and everything:
(onyo) tkadelka in ~/inventory on git:master
❱ onyo new -t desktop_dell_optiplex_5050 -d <censored> --edit 1 !
ERROR: Invalid YAML in /var/folders/bt/wtd0rhk11rz_3fb6qq1qhx880000gp/T/onyo_5c175i2x.yaml:
while scanning for the next token
found character '\t' that cannot start any token
in "/var/folders/bt/wtd0rhk11rz_3fb6qq1qhx880000gp/T/onyo_5c175i2x.yaml", line 16, column 6
Continue (e)diting asset, (s)kip asset or (a)bort command)? [Default: a] e
I created a new asset, somewhere in it there was an accidental tab entered, which the system complained about.
Now our default option is "abort" in case of a yaml error, which I think is terrible, in this case and all others.
It can always happen that somebody enters a format error, or misses a field, or does any other mistake, and the assumption that then the natural way to handle this is "abort the whole thing" is wrong.
I propose to at least change it to "continue (e)diting asset", because as far as I experienced myself and observed in others, the normal situation is that people want to fix a mistake.
Here the situation in which I observed the behavior, command and everything: