> -----Original Message----- > From: Miro Hrončok <mhroncok@xxxxxxxxxx> > Sent: Wednesday, February 15, 2023 5:19 PM > To: Development discussions related to Fedora <devel@xxxxxxxxxxxxxxxxxxxxxxx>; > Kenneth Goldman <kgoldman@xxxxxxxxxx> > Subject: [EXTERNAL] Re: fedpkg: Failed to get repository name from Git url or > pushurl - solved > > On 15. 02. 23 22:48, Kenneth Goldman wrote: > > However, the %Description item has some 'smart quotes', which cut and > > paste as utf-something. fedpkg doesn't like those characters. > > What does "fedpkg doesn't like those characters" actually mean? I don't believe > fedpkg validates the %description and UTF-8 should be totally OK in > %description RPM-wise. > > 1. What did you do? > 2. What did you expect to happen? > 3. What happened instead? fedpkg is definitely parsing the %description, because the error does not occur when I delete the characters. I typed: > fedpkg --release f37 mockbuild I expected a build. What happened was that I got the message in the email subject line, repeating forever: > fedpkg --release f37 mockbuild Failed to get repository name from Git url or pushurl Failed to get ns from Git url or pushurl Failed to get repository name from Git url or pushurl Failed to get ns from Git url or pushurl Failed to get repository name from Git url or pushurl Failed to get ns from Git url or pushurl Failed to get repository name from Git url or pushurl Failed to get ns from Git url or pushurl Someone suggested a different command line (not the one from the tutorial), which helped me debug. I don't know what n-v-r is, but 0x93 came from the web page smart quote. The end quote pastes as 0x94, but the parser doesn't get that far. > fedpkg --release f37 --name hello mockbuild sources file doesn't exist. Source files download skipped. Could not execute mockbuild: Could not query n-v-r of hello: 'utf-8' codec can't decode byte 0x93 in position 259: invalid start byte
<<attachment: smime.p7s>>
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue