mastodon.sdf.org is part of the decentralized social network powered by Mastodon.
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko

Administered by:

Server stats:

2.7K
active users

Learn more

"If '$arch' is empty, the `rsync` invocation to upload the packages for the current repo targets the wrong directory, resulting in the repositories for all other architectures to be removed."

bash reaps the souls of yet another ops team following an outage entirely prevented in literally any other language.

gitlab.alpinelinux.org/alpine/

main/aports-build: bail out if $arch is empty (26fa920b) · Commits · alpine / aports · GitLabGitLab

@kline Or just… have your shell-based language use set -eu (plus dialect-specific extensions like pipefail) like literally every shell scripting guide recommends. If it breaks existing package scripts then those packages probably shouldn't have been published in the first place

@nytpu you shouldn't need to take positive action to prevent your language system from punishing you for simple mistakes.

My car doesn't explode if I stall it.

The fact that this keeps happening is evidence in itself that the available "solutions" aren't effective

@kline @nytpu True but at the same time it's the kind of thing you can easily lint for with even just grep and there isn't that many languages out there where running commands including with error handling works well and that's typically what you need for most CI/CD kind of stuff.
kline 🏴󠁧󠁢󠁳󠁣󠁴󠁿

@lanodan @nytpu if everyday you stub your toe on a step that's a bit too high, you can put up a sign saying "wonky step" or you can fix the stairs.

It's been a long time where we've put various signs, mitigations, linters, and we're still stumbling on a badly made step.

We need to fix/replace. Yes, it'll be hard work and a lot to do, but better now than in the future when there's even more that needs done.