| ▲ | procone an hour ago | ||||||||||||||||||||||||||||
YAML is a nightmare fuel spec. In its quest to make markup "human readable", it has created countless footguns. I honestly prefer XML at this point. | |||||||||||||||||||||||||||||
| ▲ | doix 4 minutes ago | parent | next [-] | ||||||||||||||||||||||||||||
Yeah, the YAMLification of everything kinda killed my ability to understand "everything". Previously, if you knew the Linux userland well, I felt like you could figure anything out with enough digging. Take CI for example, it was Jenkins and it ran a csh/bash/zsh whatever script and captured the output. Nice and simple (even if the scripts sometimes got insane). GitHub actions is nothing like that. Weird home grown extensions to YAML with their own idiosyncrasies and dynamically pulling in plugins from god knows where. You can't just take a workflow and execute it locally like you could with a bash script. | |||||||||||||||||||||||||||||
| ▲ | anonymars an hour ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
In a similar vein, JSON's lack of comments makes me marvel at how consistently JavaScript seems to choose the worse option. I'm oh so glad it found its way into config files | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | hbn 25 minutes ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
I never figured out how the hell to write YAML and I definitely won't now that I trust the AI to do a better job than me. It's so unintuitive. Every time I've tried in the past, something as simple as making a value a list had some nonsense expectations. I can't wrap my head around how that spec got any traction and wasn't laughed off the face of the earth the first time it was looked at by someone who didn't create it. | |||||||||||||||||||||||||||||
| ▲ | fmbb an hour ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
It’s find for actions and workflows as long as you do no interpolation and logic. Better move as much of that as possible into your own scripts. And your scripts can be portable between forges, and even run locally! | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | cgannett an hour ago | parent | prev [-] | ||||||||||||||||||||||||||||
And thus procone spoketh the truth. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||