Ticket created by ~quf on ~sircmpwn/git.sr.ht
On a valid request of the
DELETE /api/repos/:name
API endpoint, the response has the headerContent-Type: application/json
. The response body is an empty string, which does not parse as JSON.Perhaps the request could return an empty JSON object
{}
instead?It's not a big deal, but maybe this will save someone else a minute of debugging.
Ticket created by ~quf on ~sircmpwn/git.sr.ht
Steps to reproduce:
- Create a git repository that contains a build manifest.
- Create a commit with a message that contains a single quote
'
.- Push the commit to
git.sr.ht
, initiating an automatic build.Expected behaviour:
- The build note contains a single quote.
Actual behaviour:
- The build note contains
'
.Example: https://builds.sr.ht/~quf/job/198747
Ticket created by ~quf on ~sircmpwn/builds.sr.ht
This fails builds with secret PGP keys.
Suggested patch for images/alpine/genimg:
54c54 < sudo syslinux tzdata haveged bash --- > sudo syslinux tzdata haveged bash gnupg