On Fri, Oct 17, 2025 at 12:58:08PM +0200, Björn Persson wrote:
> Kevin Fenzi wrote:
> > It uses mutt... 
> > 
> > https://pagure.io/pungi-fedora/blob/main/f/nightly.sh#_230
> 
> Mutt gets the input character encoding from the locale, as every
> program should. And the problem is found on line 4 of nightly.sh:
> 
> export LC_ALL=C
> 
> That means, among other things, "There's nothing but ASCII in our
> locale.", which confirms my first guess. Is that there to work around
> some other bug in some program the script invokes, or is it just
> cargo-culting?

I am not sure. Git history says it came in with the initial commit over
10 years ago. I think thats when pungi was first being deployed, so
perhaps there was some reason, but it doesn't seem to be recorded that I
can see. ;( 

> My second guess was slightly off. It's Mutt that resorts to
> "unknown-8bit" when non-ASCII input appears in the "C" locale.
> 
> The solution is to stop lying to Mutt about the locale. The locale
> should be "en_US.UTF-8" – or possibly "C.UTF-8" if it's necessary to
> work around some bug involving alphabetical sorting or typographical
> quotes or something.

Sure, we can give a try in rawhide.

Amusingly, we call that script with: 

"LANG=en_US.UTF-8 ./nightly.sh"

I filed: https://pagure.io/pungi-fedora/pull-request/1565

> While we're at it, do you also know what program sends the EPEL
> updates-testing reports?

That would be bodhi.
https://github.com/fedora-infra/bodhi

kevin

Attachment: signature.asc
Description: PGP signature

-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to