#335 $TERM turns into unknown inside sudo, but only on builds 6 months ago

Ticket created by ~dxld on ~sircmpwn/builds.sr.ht

In one of my builds I noticed this tput error:

tput: unknown terminal "unknown"

Which seems strange as builds uses TERM=dumb AFAIK. Turns out wrapping in sudo is what makes this happen. Repro: https://builds.sr.ht/~dxld/job/1075689

I would just report this bug to Debian, but I can't reproduce this on my bookworm workstation. Here I get

$ TERM=dumb sudo sh -c 'echo $TERM'` 

Any ideas what's going on?


#170 Option to only deploy from a specific branch 6 months ago

Comment by ~dxld on ~sircmpwn/builds.sr.ht

git.sr.ht can now pass along GIT_REF to the build environment. This can be closed, see https://man.sr.ht/builds.sr.ht/#gitsrht

Side note: "complete-build" seems undocumented, perhaps it should be?

#136 Update password promt is dismissed by auth errors 7 months ago

Ticket created by ~dxld on ~emersion/goguma

When the chat.sr.ht access token expires an "Authentication failed" error pops up with an "Update password" button, but this is (too) quickly dismissed by "Authentication required" and "Authentication needed to bind to bouncer network errors" forcing the user to hunt for the button.

Happy button hunting,

#276 Notes of builds submitted by git.sr.ht are escaped too much 3 years ago

Comment by ~dxld on ~sircmpwn/git.sr.ht

I just ran into this too, so +1.

#282 Build log mangles CR LF sequences 3 years ago

Ticket created by ~dxld on ~sircmpwn/builds.sr.ht

When a build uses CR LF as a line ending sequence, visually the newline is doubled up in the build log.

See for example: https://builds.sr.ht/~dxld/job/208225

Makes me wonder how more general terminal escape sequences are currently being dealt with?